Application network management and control method and device, electronic equipment and storage medium

By obtaining user operation behavior data and level information, and personalizing the network connection of the application, the functional abnormalities caused by the application of network control methods in the existing technology are solved, and the dual goals of device battery life and application stability are achieved.

CN119835733APending Publication Date: 2025-04-15BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311329731.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-13
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

In the prior art, network control adopts a one-size-fits-all approach, resulting in abnormal functions of user equipment applications and inability to effectively ensure the battery life of the equipment.

Method used

By obtaining user's operational behavior data and level information for the target application, determining the network control level of the target application, and personalizing the application's network connection according to the network connection disconnection conditions set at the level.

Benefits of technology

It realizes personalized network control of the application, ensuring the battery life of the device while reducing abnormal problems in application functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835733A_ABST
    Figure CN119835733A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and particularly provides an application network management and control method and device, electronic equipment and a storage medium. The application network management and control method comprises the following steps: acquiring operation behavior data of a user for a target application program and level information correspondingly set by the target application program; determining a network control level of the target application program according to the operation behavior data and the level information; acquiring a network connection disconnection condition set corresponding to the network control level; and if it is determined that the network connection disconnection condition is met, disconnecting the network connection of the target application program. Therefore, personalized application network management and control can be carried out on the application program, and the abnormal problem of the application function can be reduced while the endurance of the equipment is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for application network management and control. Background Art

[0002] There are usually a variety of applications installed in user devices. Since a large number of applications are connected to the network 24 / 7, they consume a lot of device power. Therefore, it is usually necessary to manage the network connection of each application.

[0003] Under the existing technology, a one-size-fits-all approach is usually adopted for application network management, that is, disconnecting the network connection of all applications in the user's device.

[0004] However, using this approach often results in malfunctioning of the application on the user's device. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a method, device, electronic device and storage medium for application network management, so as to perform personalized application network management on application programs, thereby ensuring device battery life and reducing abnormal problems of application functions.

[0006] On the one hand, an embodiment of the present application provides a method for application network management and control, the method comprising:

[0007] Obtaining the user's operation behavior data on the target application and the level information of the corresponding settings of the target application;

[0008] Determine the network control level of the target application based on the operation behavior data and level information;

[0009] Get the network disconnection conditions corresponding to the network control level;

[0010] If it is determined that the network connection disconnection condition is met, the network connection of the target application is disconnected.

[0011] In one implementation, before obtaining the user's operation behavior data for the target application and the level information corresponding to the setting of the target application, the method further includes:

[0012] Perform the following steps for each local application:

[0013] Get notification permissions for the app;

[0014] If the notification permission of the application is to prohibit notifications, the network connection of the application will be disconnected;

[0015] If the notification permission of the application is to allow notifications, the application is determined as a target application.

[0016] In one implementation, determining the network control level of the target application according to the operation behavior data and the level information includes:

[0017] If the level information of the target application is empty, the network control level is determined based on the operation behavior data;

[0018] Otherwise, the network control level is determined according to the level information of the target application.

[0019] In one implementation, the operation behavior data includes a notification response time, and determining a network control level based on the operation behavior data includes:

[0020] Get the notification reception time of the target application;

[0021] Get the notification response time of the user's response operation to the notification;

[0022] Determine the notification response time of the target application based on the notification reception time and the notification response time;

[0023] Get the network control level corresponding to the notification response time.

[0024] In one embodiment, the method further comprises:

[0025] Get the notification interaction frequency between the target application and the server;

[0026] If the notification interaction frequency is higher than the set frequency threshold, and the network control level of the target application is lower than the set level threshold, the target application is determined to be an abnormal application;

[0027] Disconnect the target application from the network.

[0028] On the one hand, an embodiment of the present application provides an apparatus for application network management and control, including:

[0029] A first acquisition unit is used to acquire the user's operation behavior data on the target application and the level information of the corresponding setting of the target application;

[0030] A determination unit, used to determine the network control level of the target application according to the operation behavior data and level information;

[0031] A second acquisition unit is used to acquire a network connection disconnection condition set corresponding to the network control level;

[0032] The disconnection unit is used to disconnect the network connection of the target application if it is determined that the network connection disconnection condition is met.

[0033] In one implementation, the first acquisition unit is further configured to:

[0034] Perform the following steps for each local application:

[0035] Get notification permissions for the app;

[0036] If the notification permission of the application is to prohibit notifications, the network connection of the application will be disconnected;

[0037] If the notification permission of the application is to allow notifications, the application is determined as a target application.

[0038] In one implementation, the determining unit is used to:

[0039] If the level information of the target application is empty, the network control level is determined based on the operation behavior data;

[0040] Otherwise, the network control level is determined according to the level information of the target application.

[0041] In one implementation, the operation behavior data includes a notification response time, and the determining unit is configured to:

[0042] Get the notification reception time of the target application;

[0043] Get the notification response time of the user's response operation to the notification;

[0044] Determine the notification response time of the target application based on the notification reception time and the notification response time;

[0045] Get the network control level corresponding to the notification response time.

[0046] In one embodiment, the disconnection unit is further used for:

[0047] Get the notification interaction frequency between the target application and the server;

[0048] If the notification interaction frequency is higher than the set frequency threshold, and the network control level of the target application is lower than the set level threshold, the target application is determined to be an abnormal application;

[0049] Disconnect the target application from the network.

[0050] On the one hand, an embodiment of the present application provides an electronic device, including:

[0051] Processor; and

[0052] A memory stores computer instructions, wherein the computer instructions are used to cause a processor to execute the steps of a method provided in any of the various optional implementations of application network management and control described above.

[0053] On the one hand, an embodiment of the present application provides a storage medium storing computer instructions, which are used to enable a computer to execute the steps of a method provided in any of the various optional implementation methods of application network management and control described above.

[0054] The method for application network control in the embodiment of the present application includes obtaining the user's operation behavior data for the target application and the level information of the target application; determining the network control level of the target application according to the operation behavior data and the level information; obtaining the network connection disconnection condition corresponding to the network control level; if it is determined that the network connection disconnection condition is met, then disconnecting the network connection of the target application. In this way, the application can be personalized for application network control, which can ensure the battery life of the device and reduce abnormal problems of application functions. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0056] Figure 1 It is a flow chart of a method for application network control in an embodiment of the present application.

[0057] Figure 2 This is an example diagram of an application network management and control process in an embodiment of the present application.

[0058] Figure 3 It is a structural block diagram of a device for application network control in an embodiment of the present application.

[0059] Figure 4 It is a structural schematic diagram of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0060] The technical solution of the present application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described implementation methods are part of the implementation methods of the present application, rather than all of the implementation methods. Based on the implementation methods in the present application, all other implementation methods obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In addition, the technical features involved in the different implementation methods of the present application described below can be combined with each other as long as they do not conflict with each other.

[0061] First, some terms involved in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.

[0062] Terminal device: can be a mobile terminal, a fixed terminal or a portable terminal, such as a mobile phone, a station, a unit, a device, a multimedia computer, a multimedia tablet, an Internet node, a communicator, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a personal communication system device, a personal navigation device, a personal digital assistant, an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a gaming device or any combination thereof, including accessories and peripherals of these devices or any combination thereof. It is also foreseeable that the terminal device can support any type of interface for the user (such as a wearable device), etc.

[0063] Server: It can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, and big data and artificial intelligence platforms.

[0064] Based on the defects of the above-mentioned related technologies, the embodiments of the present application provide a method, device, electronic device and storage medium for application network management, which aim to perform personalized application network management on applications, ensure device battery life and reduce abnormal problems of application functions.

[0065] The embodiment of the present application provides a method for application network control, which can be applied to electronic devices. The present application does not limit the type of electronic devices, which can be any type of device suitable for implementation, such as terminal devices and servers, etc. The present application will not repeat this. The embodiment of the present application is generally applied to the scene where the electronic device is not in a charging state. When the electronic device is in a charging state, application network control may not be performed on the application.

[0066] See also Figure 1 As shown, it is a flowchart of a method for application network control in an embodiment of the present application. Figure 1 The method is described below. The specific implementation process of the method is as follows:

[0067] Step 100: Obtaining the user's operation behavior data for the target application and the level information of the corresponding settings of the target application.

[0068] Among them, there can be at least one target application, and the operation behavior data is the operation behavior data used to determine the user's attention to the target application. For example, the operation behavior data can be the user's notification response time to the target application and the user's operation frequency on the target application. In actual applications, the operation behavior data can be set according to the actual application scenario and is not limited here.

[0069] In one implementation, the user can set the network control level of a specified application or a specified type of application to a specified network control level by configuring the level information. The level information can also be empty, that is, the user does not make specific settings for the level information.

[0070] As an example, the network control level of an instant messaging application is set to a highly expected application through level information configuration. As another example, the network control level of a payment application is set to a highly expected application through level information configuration.

[0071] Furthermore, the application programs can be preliminarily screened through the user's notification authority for the application programs in the electronic device to screen out the target application programs that need to be subject to application network management and control. The notification authority includes allowing notifications and prohibiting notifications.

[0072] In one implementation, the implementation process of step 100 may further include:

[0073] S1001: Obtain notification permission of the application.

[0074] S1002: If the notification permission of the application is to prohibit notifications, disconnect the network connection of the application.

[0075] S1003: If the notification permission of the application is to allow notifications, the application is determined as a target application.

[0076] In this way, notification permissions can be used to identify which applications' network data the user cares about and expects to receive passively, and which applications' network data the user does not care about and does not expect to receive passively. As a result, the network connection of applications that prohibit notifications can be directly disconnected without the need for subsequent application network management and control, and applications that allow notifications can be used as target applications that require subsequent application network management and control.

[0077] Step 101: Determine the network control level of the target application based on the operation behavior data and level information.

[0078] In one implementation, if the level information of the target application is empty, the network control level is determined according to the operation behavior data; otherwise, the network control level is determined according to the level information of the target application.

[0079] As an example, the level information of the target application is determined as the network control level.

[0080] As another example, the network control level included in the level information is determined as the network control level.

[0081] In this way, if the level information is empty, it means that the user has set a specific network control level for the target application. Therefore, the network control level of the target application can be determined by the user's operation behavior data on the target application. Conversely, if the user has set specific level information for the target application in advance, the level information configured by the user will be used as its network control level.

[0082] In one implementation, if the operation behavior data includes a notification response time, the following steps may be used to determine the network control level based on the operation behavior data:

[0083] S1011: Obtain the notification reception time when the target application receives the notification.

[0084] In one implementation, the target application receives a notification sent by the server and stores the notification reception time.

[0085] Optionally, the notification may be any information sent by the server to the target application, such as an instant messaging message and a push message.

[0086] S1012: Obtain the notification response time of the user's response operation to the notification.

[0087] The response operation may be operations such as viewing, replying, and downloading of the notification by the user. The notification response time is the time it takes for the user to respond to the notification.

[0088] As an example, after a user sees that an electronic device (such as a mobile phone) has received a notification, he or she checks the notification immediately or after a period of time. The time it takes to check the notification is the notification response time.

[0089] S1013: Determine the notification response time of the target application according to the notification reception time and the notification response time.

[0090] In one implementation, the difference between the notification response time and the notification reception time is determined to obtain the notification response duration.

[0091] S1014: Obtain the network control level set corresponding to the notification response time.

[0092] In one implementation, a corresponding response time interval is configured in advance for each network control level, and then the network control level corresponding to the response time interval to which the notification response time belongs can be obtained.

[0093] As an example, the network management and control levels include: extremely high expectation application, high expectation application, low expectation application, and extremely low expectation application.

[0094] The response time range for extremely high expectation applications is: notification response time is less than 5 minutes.

[0095] The response time range for high-expectation applications is: notification response time is low, 5-30 minutes.

[0096] The response time range for low-expectation applications is: notification response time is 30-60 minutes.

[0097] The response time range for extremely low expectation applications is: notification response time is longer than 1 hour.

[0098] In this way, when the target application is in the background state, the target application can be personalized and graded according to the user's operation behavior. Furthermore, the user's notification response time to each notification of the target application can be continuously counted, and the current network control level can be updated in real time.

[0099] Step 102: Obtain the network disconnection condition set corresponding to the network control level.

[0100] In one implementation, the network disconnection condition is determined based on the power level of the device.

[0101] As an example, the network disconnection condition for extremely low expectation applications is: the device power is higher than 90%. The network disconnection condition for low expectation applications is: the device power is lower than 90%. The network disconnection condition for high expectation applications is: the device power is lower than 70%. There is no corresponding network disconnection condition for extremely high expectation applications.

[0102] In this way, in any power state, the network connection of the target application with a very low expectation level is directly disconnected, and the number of applications that are prohibited from notification and the target application with a very low expectation level is usually the majority of applications in the electronic device, for example, it may account for 80% of the various applications of the electronic device; and, according to the current power state of the electronic device, the application activity can be limited to the maximum extent, thereby improving the battery life of the device. And, that is, in any power state, the network connection of the target application with a very high expectation level is not disconnected, and its network data is reported and information processed in a timely manner to ensure the activity of the user's commonly used applications, reduce the risk of application function abnormalities, and improve the user experience.

[0103] Furthermore, network disconnection conditions can be set according to the operating state of the electronic device (such as power saving mode and normal mode) and operating scenarios (such as video and audio playback scenarios and game scenarios) to maximize the device's battery life and device application performance. In actual applications, network disconnection conditions can be set according to actual application scenarios and are not limited here.

[0104] Step 103: If it is determined that the network connection disconnection condition is met, the network connection of the target application is disconnected.

[0105] As an example, if it is determined that the device power level meets the network connection disconnection condition corresponding to the target application, the network connection of the target application is disconnected by disconnecting the network socket connection of the target application in the background, thereby limiting the sending and receiving of network data of the target application.

[0106] Furthermore, if the notification interaction frequency between the target application with low user attention (i.e., low network control level) and the server is high, in order to reduce device power consumption, the target application can also be marked as an abnormal application and the network connection of the target application can be disconnected.

[0107] In one implementation, the implementation process of step 103 may further include:

[0108] S1031: Obtain the notification interaction frequency between the target application and the server;

[0109] In one implementation, the number of notification interactions for sending and receiving network data between the target application and the server within each specified unit time (eg, each hour) is counted, and the notification interaction frequency is determined based on the number of notification interactions and the specified unit time.

[0110] S1032: If the notification interaction frequency is higher than the set frequency threshold, and the network control level of the target application is lower than the set level threshold, the target application is determined to be an abnormal application.

[0111] In practical applications, the frequency threshold (eg, 5 times / min) can be set according to the actual application scenario and is not limited here.

[0112] S1033: Disconnect the network connection of the target application.

[0113] Considering that applications that users do not pay much attention to will consume a lot of power if they send and receive data too frequently, the network connection of such applications can be disconnected to ensure the battery life of the device.

[0114] In the embodiment of the present application, the network control level of the target application is determined through the user's operation behavior data on the target application and the level information configured by the user for the target application, and the corresponding network connection disconnection conditions pre-set for different network control levels are obtained, and if the current state of the electronic device meets the corresponding network connection disconnection conditions, the target application is disconnected. In this way, personalized control of the network connection of different target applications is achieved, the abnormal problems of application functions existing in the traditional application network control method are reduced, and the device battery life and user experience are greatly improved.

[0115] See also Figure 2 The figure shows an example diagram of an application network control process. Figure 2 In the example, multiple applications (Application, APP) are installed in the electronic device. The notification permissions of each APP are obtained, and the APP with notification permission to prohibit notification is determined as an application that does not require application network control, and its network connection is directly disconnected through the background of the electronic device, and the APP with notification permission to allow notification is determined as a target application that requires application network control.

[0116] Furthermore, the network control level of each target application is determined based on the user's operation behavior data for each target application and the level information set by the user for each target application. The network control level includes: extremely high expectation application, high expectation application, low expectation application and extremely low expectation application.

[0117] Furthermore, if it is determined that the current battery level of the electronic device is between 90% and 100%, only the network connection of the target application with an extremely low expectation level is disconnected; if the battery level of the electronic device drops to 70% to 90%, the network connection of the target application with a low expectation level is disconnected; if the battery level of the electronic device drops below 70%, the network connection of the target application with a high expectation level is disconnected; and, each target application is monitored through an abnormal monitoring mechanism. If an abnormal application with a low network control level and a high notification interaction frequency is detected, the network connection of the abnormal application is disconnected.

[0118] In the embodiment of the present application, considering that the user's attention to the target application can be determined through the user behavior, the network control level of each target application is determined according to the user behavior, and then different network restrictions are imposed on the target applications with different network control levels, thereby achieving personalized control of the application network, improving the battery life of the device, reducing the risk of functional abnormalities, ensuring the residence of the application, and reducing the problem of abnormal power consumption through the abnormal monitoring mechanism, thereby further improving the battery life of the electronic device.

[0119] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0120] Based on the same inventive concept, an apparatus for application network control is also provided in the embodiment of the present application. Since the principle of solving the problem by the above apparatus and device is similar to that of an application network control method, the implementation of the above apparatus can refer to the implementation of the method, and the repeated parts will not be repeated. The apparatus can be applied to electronic devices. The present application does not limit the type of electronic devices. It can be any type of device suitable for implementation, such as terminal devices and servers, etc., and the present application will not repeat them.

[0121] See also Figure 3 , which is a structural block diagram of an apparatus for applying network control in an embodiment of the present application. In some implementations, the apparatus for applying network control in the example of the present application includes:

[0122] The first acquisition unit 301 is used to acquire the user's operation behavior data for the target application and the level information corresponding to the setting of the target application;

[0123] A determination unit 302, configured to determine a network control level of a target application program according to the operation behavior data and the level information;

[0124] The second acquisition unit 303 is used to acquire the network connection disconnection condition set corresponding to the network control level;

[0125] The disconnection unit 304 is configured to disconnect the network connection of the target application program if it is determined that the network connection disconnection condition is met.

[0126] In one implementation, the first acquiring unit 301 is further configured to:

[0127] Perform the following steps for each local application:

[0128] Get notification permissions for the app;

[0129] If the notification permission of the application is to prohibit notifications, the network connection of the application will be disconnected;

[0130] If the notification permission of the application is to allow notifications, the application is determined as a target application.

[0131] In one implementation, the determining unit 302 is configured to:

[0132] If the level information of the target application is empty, the network control level is determined based on the operation behavior data;

[0133] Otherwise, the network control level is determined according to the level information of the target application.

[0134] In one implementation, the operation behavior data includes a notification response time, and the determination unit 302 is used to:

[0135] Get the notification reception time of the target application;

[0136] Get the notification response time of the user's response operation to the notification;

[0137] Determine the notification response time of the target application based on the notification reception time and the notification response time;

[0138] Get the network control level corresponding to the notification response time.

[0139] In one implementation, the disconnection unit 304 is further configured to:

[0140] Get the notification interaction frequency between the target application and the server;

[0141] If the notification interaction frequency is higher than the set frequency threshold, and the network control level of the target application is lower than the set level threshold, the target application is determined to be an abnormal application;

[0142] Disconnect the target application from the network.

[0143] The method for application network control in the embodiment of the present application includes obtaining the user's operation behavior data for the target application and the level information of the target application; determining the network control level of the target application according to the operation behavior data and the level information; obtaining the network connection disconnection condition corresponding to the network control level; if it is determined that the network connection disconnection condition is met, then disconnecting the network connection of the target application. In this way, the application can be personalized for application network control, which can ensure the battery life of the device and reduce abnormal problems of application functions.

[0144] In an embodiment of the present application, an electronic device is provided, including:

[0145] Processor; and

[0146] The memory stores computer instructions, where the computer instructions are used to enable the processor to execute the method of any of the above embodiments.

[0147] In an embodiment of the present application, a storage medium is provided, which stores computer instructions, and the computer instructions are used to enable a computer to execute a method in any of the above-mentioned embodiments. Figure 4 FIG. 4 is a schematic diagram showing the structure of an electronic device 4000. Figure 4 As shown, the electronic device 4000 includes: a processor 4010 and a memory 4020 , and optionally, may also include a power supply 4030 , a display unit 4040 , and an input unit 4050 .

[0148] Processor 4010 is the control center of electronic device 4000. It connects various components using various interfaces and lines, and performs various functions of electronic device 4000 by running or executing software programs and / or data stored in memory 4020, thereby monitoring electronic device 4000 as a whole.

[0149] In the embodiment of the present application, the processor 4010 executes the various steps in the above embodiment when calling the computer program stored in the memory 4020.

[0150] Optionally, the processor 4010 may include one or more processing units; preferably, the processor 4010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and applications, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 4010. In some embodiments, the processor and the memory may be implemented on a single chip, and in some embodiments, they may also be implemented separately on separate chips.

[0151] The memory 4020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, various applications, etc.; the data storage area may store data created according to the use of the electronic device 4000, etc. In addition, the memory 4020 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices, etc.

[0152] The electronic device 4000 also includes a power source 4030 (such as a battery) for supplying power to various components. The power source can be logically connected to the processor 4010 through a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.

[0153] The display unit 4040 may be used to display information input by the user or information provided to the user and various menus of the electronic device 4000, and in the embodiment of the present application, is mainly used to display the display interface of each application in the electronic device 4000 and objects such as text and pictures displayed in the display interface. The display unit 4040 may include a display panel 4041. The display panel 4041 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0154] The input unit 4050 may be used to receive information such as numbers or characters input by the user. The input unit 4050 may include a touch panel 4051 and other input devices 4052. The touch panel 4051, also known as a touch screen, may collect touch operations of the user on or near it (such as operations of the user using a finger, a stylus, or any other suitable object or accessory on or near the touch panel 4051).

[0155] Specifically, the touch panel 4051 can detect the user's touch operation, detect the signal brought by the touch operation, convert these signals into touch point coordinates, send them to the processor 4010, and receive and execute the command sent by the processor 4010. In addition, the touch panel 4051 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. Other input devices 4052 can include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, a joystick, etc.

[0156] Of course, the touch panel 4051 can cover the display panel 4041. When the touch panel 4051 detects a touch operation on or near it, it is transmitted to the processor 4010 to determine the type of touch event, and then the processor 4010 provides corresponding visual output on the display panel 4041 according to the type of touch event. Figure 4 In the embodiment, the touch panel 4051 and the display panel 4041 are used as two independent components to realize the input and output functions of the electronic device 4000, but in some embodiments, the touch panel 4051 and the display panel 4041 can be integrated to realize the input and output functions of the electronic device 4000.

[0157] The electronic device 4000 may also include one or more sensors, such as a pressure sensor, a gravity acceleration sensor, a proximity light sensor, etc. Of course, according to the needs of specific applications, the electronic device 4000 may also include other components such as a camera. Since these components are not the key components used in the embodiments of the present application, Figure 4It is not shown and will not be described in detail.

[0158] Those skilled in the art will understand that Figure 4 The electronic device is merely an example and does not limit the electronic device, and may include more or less components than those shown in the figure, or may combine certain components, or may include different components.

[0159] For the convenience of description, the above parts are divided into modules (or units) according to their functions and described separately. Of course, when implementing this application, the functions of each module (or unit) can be implemented in the same or multiple software or hardware.

[0160] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the embodiments. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. The obvious changes or modifications derived therefrom are still within the scope of protection created by this application.

Claims

1. A method for application network management and control, characterized in that: The method comprises: Obtaining user operation behavior data for a target application and level information of a corresponding setting of the target application; Determining the network control level of the target application according to the operation behavior data and the level information; Obtain the network connection disconnection condition set corresponding to the network control level; If it is determined that the network connection disconnection condition is met, the network connection of the target application is disconnected.

2. The method according to claim 1, characterized in that: Before obtaining the user's operation behavior data for the target application and the level information of the corresponding setting of the target application, the method further includes: Perform the following steps for each local application: Obtain notification permissions for the application; If the notification permission of the application is to prohibit notifications, disconnecting the network connection of the application; If the notification permission of the application is to allow notifications, the application is determined as the target application.

3. The method according to claim 1 or 2, characterized in that: Determining the network control level of the target application according to the operation behavior data and the level information includes: If the level information of the target application is empty, determining the network control level according to the operation behavior data; Otherwise, the network control level is determined according to the level information of the target application.

4. The method according to claim 3, characterized in that The operation behavior data includes a notification response time, and determining the network control level according to the operation behavior data includes: Obtaining a notification reception time at which the target application receives the notification; Obtaining a notification response time of a user's response operation to the notification; Determining a notification response duration of the target application according to the notification reception time and the notification response time; Obtain the network control level set corresponding to the notification response duration.

5. The method according to claim 1 or 2, characterized in that: The method further comprises: Obtaining the notification interaction frequency between the target application and the server; If the notification interaction frequency is higher than a set frequency threshold, and the network control level of the target application is lower than a set level threshold, determining that the target application is an abnormal application; Disconnect the target application from the network.

6. A device for applying network control, characterized in that: The device comprises: A first acquisition unit, configured to acquire user operation behavior data for a target application and level information corresponding to a setting of the target application; a determination unit, configured to determine a network control level of the target application program according to the operation behavior data and the level information; A second acquisition unit is used to acquire a network connection disconnection condition set corresponding to the network control level; A disconnection unit is used to disconnect the network connection of the target application if it is determined that the network connection disconnection condition is met.

7. The device according to claim 6, characterized in that The first acquisition unit is further used for: Perform the following steps for each local application: Obtain notification permissions for the application; If the notification permission of the application is to prohibit notifications, disconnecting the network connection of the application; If the notification permission of the application is to allow notifications, the application is determined as the target application.

8. The device according to claim 6 or 7, characterized in that The determining unit is used for: If the level information of the target application is empty, determining the network control level according to the operation behavior data; Otherwise, the network control level is determined according to the level information of the target application.

9. The device according to claim 8, characterized in that The operation behavior data includes a notification response time, and the determining unit is used to: Obtaining a notification reception time at which the target application receives the notification; Obtaining a notification response time of a user's response operation to the notification; Determining a notification response duration of the target application according to the notification reception time and the notification response time; Obtain the network control level set corresponding to the notification response duration.

10. The device according to claim 6 or 7, characterized in that The disconnecting unit is also used for: Obtaining the notification interaction frequency between the target application and the server; If the notification interaction frequency is higher than a set frequency threshold, and the network control level of the target application is lower than a set level threshold, determining that the target application is an abnormal application; Disconnect the target application from the network.

11. An electronic device, characterized in that: include: processor; as well as A memory storing computer instructions, wherein the computer instructions are used to enable the processor to execute the method according to any one of claims 1 to 5.

12. A storage medium, characterized in that: Computer instructions are stored, and the computer instructions are used to make a computer execute the method according to any one of claims 1 to 5.