Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a network traffic management method according to an embodiment of the present invention, where the method of this embodiment may be applied to control, in a user terminal, a working state of an intelligent link aggregation switch employed in the user terminal. The method of the present embodiment may be performed by a network traffic management device, wherein the device may be implemented by software and/or hardware, and may be generally integrated in a terminal. For example, the terminal in the embodiment of the present application may include terminal devices such as a mobile phone, a tablet computer, a notebook computer, and an intelligent appliance, and an operating system and an application program are loaded in the terminal. The network traffic management method of the embodiment specifically includes:
step S101, obtaining residual flow data of a mobile data network in a terminal;
step S102, adjusting the working state of an intelligent link aggregation switch adopted by a terminal according to the residual flow data;
and S103, controlling the mode of the application program of the terminal accessing the Internet according to the working state of the intelligent link aggregation switch.
Compared with the prior art, the network traffic management method provided in the embodiment of the application obtains the residual traffic data of the mobile data network in the user terminal, adjusts the working state of the intelligent link aggregation switch adopted by the user terminal according to the residual traffic data, and controls the mode that the application program of the user terminal accesses the internet according to the working state of the intelligent link aggregation switch, so that the user traffic can be reasonably distributed to the most needed or most important application program, the technical problem of unreasonable traffic distribution and poor user experience is avoided, and the user internet experience is improved.
In an embodiment, for step S101, the remaining traffic data refers to remaining traffic data used by monthly subscription traffic provided by the network service provider to the user, that is, remaining traffic data before monthly subscription. In one embodiment, the monthly subscription traffic of the user is 10G, the monthly subscription date is 1 month, the traffic data that the user has used before the monthly subscription date is 1 month is 8G, and the remaining traffic data before the monthly subscription date is 2G.
In one embodiment, for step S102, the intelligent link aggregation switch refers to a control switch for controlling whether an application of the user terminal accesses the internet using an intelligent link aggregation technology. In this embodiment, the default of the intelligent link aggregation switch is turned on, and when the remaining traffic data is less than the preset traffic threshold, the intelligent link aggregation switch adopted by the terminal is adjusted to be in a turned-off state. In this embodiment, the intelligent link aggregation technology combines at least two data channels, namely, a WiFi network and a mobile data network, into one channel, so that the user terminal can connect to the internet. Is a technology that allows electronic devices to connect to a Wireless Local Area Network (WLAN), typically using the 2.4G UHF or 5G SHF ISM radio frequency bands. The connection to the wireless lan is typically password protected or may be open so that any device within range of the WLAN can connect, and the WiFi network may be a universal standard using IEEE 802.11 wireless lan or other standard, and the implementation is not limited. The mobile data network includes, but is not limited to, a fourth generation mobile communication technology 4G mobile data network or a fifth generation mobile communication technology 5G mobile data network.
In an embodiment, for step S103, when the remaining traffic data is less than the preset traffic threshold, the intelligent link aggregation switch adopted by the user terminal is adjusted to be in a closed state, at this time, the user terminal controls the at least one application program to access the internet in a manner of refusing to access the internet through the mobile data network and only accessing the internet through Wifi, that is, the user terminal closes the intelligent link aggregation switch of the at least one application program, so that it is avoided that the mobile data traffic of the at least one application program exceeds monthly subscription traffic without being understood by the user, and meanwhile, other more important application programs that are not closed the intelligent link aggregation switch can normally use the mobile data network to access the internet, thereby ensuring the use experience of the user terminal.
Referring to fig. 2, in step S101, the manner of acquiring the remaining traffic data of the mobile data network in the user terminal may include:
step S1011, obtaining the residual flow data before the end of month of the user from the operator corresponding to the user terminal in a short message mode; or
Step S1012, accessing an operator corresponding to the user terminal through the Internet to acquire the residual flow data before the user ends; or
And step S1013, calculating and obtaining the residual flow data before the month end of the user according to the user flow use data through the monitoring software.
In an embodiment, in step S1011, the user terminal may obtain the remaining traffic data before the end of the month of the user from the operator corresponding to the user terminal by using a short message. Taking a china mobile service provider as an example, the user terminal can receive the short message notification of the remaining flow by editing the short message cxll and sending the short message cxll to 10086, and the user terminal can obtain the data of the remaining flow before the end of the month of the user by analyzing and extracting the keywords in the short message notification of the remaining flow.
In an embodiment, in step S1012, the ue may access an operator corresponding to the ue through the internet to obtain remaining traffic data before the user ends. Taking a unicom service provider as an example, the user terminal can enter a unicom operator login interface of the user terminal through a browser, a WeChat public number or a unicom APP, and capture the flow data of the user terminal to obtain the residual flow data before the user finishes the month.
In an embodiment, in step S1013, the user terminal may calculate and obtain the user data of the remaining flow before the month end according to the user terminal flow usage data through third party monitoring software or software carried by the user terminal. Taking the Tencent mobile phone housekeeper as an example, after the user terminal is provided with the Tencent mobile phone housekeeper, daily flow use data can be automatically calculated according to the monthly date set by the user terminal, and the residual flow data before the user ends monthly date can be calculated. In an alternative embodiment, the user terminal is provided with software for monitoring the residual flow data according to the user-defined upper flow limit. In this alternative embodiment, the remaining traffic data is the remaining traffic data that is customized by the user according to the preset rule. The preset rule may be set by referring to an average value or a peak value of daily traffic data in a charging period of the user terminal. For example, according to the average value of daily traffic data in the charging period, the upper limit that the daily traffic data should not exceed is set as a, and the total number of the traffic data that have been used on the day monitored by the user terminal in real time is B, then the remaining traffic data C-a-B can be calculated.
Example two
Fig. 3 is a flowchart of a network traffic management method according to a second embodiment of the present invention. The network traffic management method of the embodiment comprises the following steps:
step S300, setting the application program to be a plurality of different internet levels;
step S301, obtaining the residual flow data of the mobile data network used in the terminal;
step S302, adjusting the working state of the intelligent link aggregation switch of the application programs with different internet levels according to the residual flow data;
and step S303, controlling the mode of the application program of the user terminal accessing the Internet according to the working state of the intelligent link aggregation switch.
In this embodiment, the internet access level is a priority level of an application program accessing the internet by using an intelligent link aggregation technology. In an embodiment, the application program may be set as a first internet level, a second internet level, and a third internet level, and internet priority of the first internet level, the second internet level, and the third internet level is sequentially reduced. Alternatively, step S300 may also be performed between step S301 and step S302.
In an embodiment, for step S300, the setting of the internet level is performed based on the attribute information and/or the traffic information of the application program. In this embodiment, the attribute information of the application includes at least one of function usage information and access right information of the application. In this embodiment, the information on the function use of the application is information on the main function or the main use of the application. The access authority information includes information of the authority type and the number of the application program accessing the terminal system resource. The traffic information refers to traffic information statistical data of an application program accessing the internet in a preset time period.
Referring to fig. 4, in an embodiment, the manner of obtaining the functional usage information of the application program may include:
step S401, extracting function use information from a classification interface or a menu of an application program after accessing an APP market; or
Step S402, extracting functional use information from a download interface or a menu after accessing a portal website of an application program through a browser; or
In step S403, function usage information is obtained by self-setting according to the commonly used function usage that the user knows after using the application.
In this embodiment, the functional usage information of the application includes, but is not limited to, one or more of games, shopping, videos, tools, social interactions, education, news, photos, gourmet, travel, and health.
Referring to fig. 5, in a further embodiment, after acquiring the function and use information of the application program as the attribute information of the application program, the step S300 includes:
step S501, setting application programs belonging to news, social contact and photographing types as a first internet level;
step S502, setting the application program belonging to shopping, health and education types as a second internet level;
step S503, setting other types of application software belonging to games, videos, tools, gourmets, travels, and the like as a third internet level. The internet surfing priority of the first internet surfing level, the second internet surfing level or the third internet surfing level is reduced in sequence.
Referring to fig. 6, in an embodiment, the manner of obtaining the access right information of the application program may include:
step S601, extracting from a download page of an application program after accessing an APP market; or
Step S602, extracting from a download page after accessing a portal website of an application program through a browser; or
Step S603, counting and obtaining while the user installs the application program; or
Step S604, directly obtaining the authority specification of the application program installed in the user terminal.
In an embodiment, the extracting of the access right information of the application program from the download page after accessing the web portal of the application program through the browser may be accessing the APP download website through the browser, retrieving the application program that needs to be graded, and using the right data corresponding to the download page of the retrieved application program as the access right information of the application program. The authority data of the embodiment includes but is not limited to one or more of access to internet position, calling recording software, connecting Wifi, reading and writing contact person data, reading short message data, reading GPS data, calling a camera, modifying system setting and system management.
Referring to fig. 7, in a further embodiment, after obtaining the access right information of the application program as the attribute information of the application program, the step S300 includes setting the internet level of the corresponding application program according to the attribute information defined by the access right information:
step S701, setting an application program with at least one or two authorities of system management and system setting modification as a first internet level;
step S702, setting an application program which at least has one or more of Wifi connection, internet access position access and GPS data reading rights as a second internet level;
step S703, setting an application program having at least one or more of reading and writing contact data, reading short message data, calling recording software, and calling a camera as a third internet level.
In this embodiment, the internet priority of the first internet level, the second internet level, or the third internet level is sequentially reduced.
Referring to fig. 8, in another embodiment, the function usage information and the access right information of the application program are simultaneously obtained as the attribute information, and the corresponding application program is set to a plurality of different internet access levels according to the attribute information defined by the function usage information and the access right information, where the step S300 includes:
step S801, setting application programs which are connected with Wifi and have the authority of accessing the Internet and belong to news and social contact types as a first internet level;
step S802, setting the application program which has the authority of reading GPS data and belongs to the types of health, travel and food as a second internet level;
step S803, setting other types of application software belonging to games, videos, and the like, which have the functions of reading and writing contact person data and calling the camera authority, as a third internet access level.
In this embodiment, the internet priority of the first internet level, the second internet level, or the third internet level is sequentially reduced.
Referring to fig. 9, in an embodiment, the traffic information refers to traffic information statistical data of an application accessing the internet within a preset time period. The preset time period may be one or more months of the traffic charging period, or one or more days within the charging period. The manner of acquiring the traffic information of the application program may include:
step 901, acquiring total flow of the application program accessing the internet in a preset time period as flow information; or
Step S902, acquiring peak flow of an application program accessing the Internet in a preset time period as flow information; or
Step S903, acquiring the number of times that the application program accesses the internet in a preset time period as traffic information.
In an embodiment, for step S901, the total amount of traffic of the application accessing the internet in the preset time period may be: an application, such as WeChat, accesses the Internet over a mobile data network, such as a 4G network, for two months over a billing period, resulting in a total amount of traffic, such as 1G. In another embodiment, the total flow of the application program accessing the internet in the preset time period may also be: an application, for example, QQ, accesses the internet through the WiFi network for one month over the billing period generates a traffic of 200M, and accesses the internet through the mobile data network generates a traffic of 100M, and then the sum of the respective generated traffic of QQ accesses the internet through the WiFi network and the mobile data network is 300M.
In an embodiment, for step S902, the peak traffic of the application accessing the internet in the preset time period may be: applications such as express hands access the internet over a mobile data network, such as a 4G network, for two months over a billing period, resulting in peak traffic, such as 100M/day or 10M/minute. In another embodiment, the peak traffic of the application accessing the internet in the preset time period may also be: applications such as thunderbolt access the internet via WiFi networks and mobile data networks for a month during the billing period, resulting in peak traffic, such as 150M/day or 15M/minute.
In an embodiment, for step S903, the number of times that the application accesses the internet in the preset time period may be: the total number of times an application, such as Taobao, accesses the Internet over a mobile data network, such as a 4G network, for two months over a billing period, such as 100 times. In another embodiment, the number of times that the application program accesses the internet in the preset time period may also be: the total number of times an application, such as kyoton, accesses the internet through the WiFi network and the mobile data network a month over the billing period, such as 60 times. In an alternate embodiment, the number of accesses to the internet may be an average per day.
Referring to fig. 10, in an embodiment, total traffic of the applications accessing the internet in a preset time period is obtained as traffic information, and the corresponding applications are set to a plurality of different internet access levels according to the traffic information, where the step S300 includes:
step S1001, setting an application program with total flow of accessing the Internet exceeding a first preset flow as a first Internet surfing level;
step S1002, setting an application program of the total flow for accessing the Internet between a first preset flow and a second preset flow as a second Internet surfing level;
step S1003, setting the application program with the total flow of accessing the internet less than or equal to the second preset flow as a third internet level.
In this embodiment, the first preset flow rate is 500M or the monthly total flow rate 1/4, and the second preset flow rate is 200 or 1/10. The internet surfing priority of the first internet surfing level, the second internet surfing level or the third internet surfing level is reduced in sequence. The first, second and third preset flow rates of this embodiment are only set as references and are not limited, and the user can flexibly set the actual monthly payment flow rate and the application program usage flow rate.
Referring to fig. 11, in an embodiment, a peak flow of an application accessing the internet in a preset time period is obtained as flow information, and the corresponding application is set to a plurality of different internet access levels according to the flow information, where the step S300 includes:
step S1101, setting an application program with a peak flow rate for accessing the internet exceeding a first preset peak flow rate as a first internet level;
step S1102, setting an application program with peak flow for accessing the Internet between a first preset peak flow and a second preset peak flow as a second Internet surfing level;
step S1103 sets the application program with the peak traffic accessing the internet less than the second preset peak traffic as a third internet level.
The first preset peak flow rate is 50M per day and the second preset peak flow rate is 20M per day. The internet surfing priority of the first internet surfing level, the second internet surfing level or the third internet surfing level is reduced in sequence. The first and second preset peak flow rates of this embodiment are only set as references and are not limited, and the user can flexibly set the peak flow rates according to the actual monthly payment flow rate and the application program usage.
Referring to fig. 12, in an embodiment, the number of times that the application program accesses the internet in a preset time period is obtained as traffic information, and the corresponding application program is set to a plurality of different internet access levels according to the traffic information, where the step S300 includes:
step S1201, setting an application program with the number of times of accessing the Internet exceeding a first preset number of times in a preset time period as a first Internet access level;
step S1202, setting an application program with the number of times of accessing the Internet within a preset time period between a first preset number of times and a second preset number of times as a second Internet surfing level;
in step S1203, the application program with the number of times of accessing the internet in the preset time period less than the second preset number of times is set as a third internet level.
In this embodiment, the preset time period is one or more months of the charging period, the first preset number of times is 100 times, and the second preset number of times is 20 times. The internet surfing priority of the first internet surfing level, the second internet surfing level or the third internet surfing level is reduced in sequence. The first and second preset times are set only as reference and are not limited, and the user can flexibly set according to the actual monthly payment amount and the use times of the application program.
In a further embodiment, referring to fig. 13, the step S302 of adjusting the working states of the intelligent link aggregation switches of the applications at different internet access levels according to the remaining traffic data of the user includes:
step 3021, when the remaining traffic is less than the third threshold, turning off the intelligent link aggregation switch of the application corresponding to the third internet access level;
step 3022, when the remaining traffic data is less than the second threshold, turning off the intelligent link aggregation switch of the application corresponding to the second internet access level;
step 3023, when the remaining traffic is less than the first threshold, turning off the intelligent link aggregation switch of the application corresponding to the first internet access level.
In this embodiment, the third threshold, the second threshold, and the first threshold decrease sequentially, in one embodiment, the third threshold is 1/2 of the total monthly payment flow, the third threshold is 1/4 of the total monthly payment flow, and the first threshold is 1/10 of the total monthly payment flow. In this embodiment, the setting of the third threshold, the second threshold, and the first threshold is only a reference and is not limited, and a user can flexibly set the threshold according to the use requirement of the actual application program. In an alternative embodiment, the number of the thresholds and the number of the internet access levels are not limited to 3, and may be 2 to 5 or more, for example, the number of the thresholds and the number of the internet access levels may be 2, at this time, when the remaining traffic data is less than the second threshold, the intelligent link aggregation switch of the application program corresponding to the second internet access level is turned off, when the remaining traffic data is less than the first threshold, the intelligent link aggregation switch of the application program corresponding to the first internet access level is turned off, and the second threshold is greater than the first threshold.
Compared with the prior art, the network traffic management method provided in this embodiment sets different internet access levels of the application program according to the attribute information and/or the traffic information of the application program, adjusts the intelligent link aggregation switch of the application program of different internet access levels through the acquired user remaining traffic data to control the network permissions of the application program of different internet access levels, and can reasonably allocate the user traffic to the most needed application program, so that the application program of an important level can allocate reasonable usage traffic, the technical problem of unreasonable traffic allocation and poor user experience is avoided, and the user experience of internet access is improved.
EXAMPLE III
Fig. 14 is a schematic flow chart of another network traffic management method provided in the third embodiment of the present application, where the network traffic management method in this embodiment includes:
step 1401, acquiring function use information and access authority information of the application program as attribute information of the application program;
step S1402, obtaining traffic information statistical data of the application program accessing the Internet in a preset time period as traffic information of the application program;
step S1403, setting the internet level of the application program according to the attribute information and/or traffic information of the application program, where the application program can access the internet through an intelligent link aggregation technology;
and step S1404, acquiring the residual flow data of the mobile data network in the terminal. In this embodiment, the remaining traffic refers to the remaining traffic data used by the monthly subscription traffic provided by the network service provider to the user, i.e., the remaining traffic before the end of the month;
step S1405, adjusting the working state of the intelligent link aggregation switch of the application program with different internet levels according to the residual traffic data of the user;
step S1406, acquiring a trigger event for starting the application program;
step S1407, selecting whether to start the intelligent link aggregation switch corresponding to the application program according to the type of the trigger event;
step S1408, if the intelligent link aggregation switch corresponding to the application program is turned on again, the internet level of the corresponding application program is increased.
In this embodiment, the type of the trigger event may be an event for automatically starting the application program in the background or an event for starting the application program by the user, and if the application program is automatically started in the background, the processing is not performed, that is, the state of the intelligent link aggregation switch corresponding to the application program is not adjusted; if the event is that the user starts the application program, judging whether the intelligent link aggregation switch corresponding to the application program is closed or not, if not, processing is not carried out, if the event is closed, providing an intelligent link aggregation switch state adjustment interface to enable the user to select whether the intelligent link aggregation switch of the application program is re-opened or not, and if the intelligent link aggregation switch corresponding to the application program is re-opened, increasing the internet level of the corresponding application program, namely setting the internet level of the corresponding application program to be a more preferred internet level.
In one embodiment, the application is originally set to the third internet-surfing level, and if the user turns on the intelligent link aggregation switch of the application again, the application resets the internet-surfing level of the application to a more preferred internet-surfing level, such as the second or first internet-surfing level. Specifically, the application qq video is preset to a second internet access level according to the attribute information and/or the flow information, and when the remaining flow data is less than a second threshold, the intelligent link aggregation switch of the application corresponding to the second internet access level including the qq video is closed; and if the residual flow is between the first threshold and the second threshold, acquiring a trigger event for starting qq video, wherein the type of the trigger event is an application program starting event of a user, and popping up an intelligent link aggregation switch state adjustment interface at the moment to enable the user to select whether to restart the intelligent link aggregation switch for qq video. If the user does not restart the qq audio and video intelligent link aggregation switch, the qq audio and video is stopped being started, and if the user restarts the qq audio and video intelligent link aggregation switch, the qq audio and video is operated, and the online level of the qq audio and video is reset to be a more preferred online level, such as a first online level.
Compared with the prior art, the embodiment can acquire the function and use information and/or the access authority information of the application program as the attribute information; or acquiring traffic information statistical data of the application program accessing the internet in a preset time period as application program traffic information, and then setting the application program into a plurality of internet levels according to the attribute information and/or the traffic information of the application program. The priority of a plurality of internet access levels is reduced in sequence. When the user sets the internet level through the function and use information, more important things can be better processed by utilizing monthly flow, for example, the internet level set by application software related to work is more preferred, the flow of work can be ensured, and if the internet level set by the application software related to entertainment is more preferred, the user can relax better. When the user sets the internet access level through the access authority information, the working efficiency of the terminal equipment can be better optimized, for example, the internet access level set by the application software for reading the GPS data related authority is more preferred, the taxi driver can be ensured to better distribute monthly payment to the navigation software, and the order receiving efficiency is improved.
Compared with the prior art, the user terminal of the embodiment can better adapt to the habits of the user by setting the internet level through the flow information, for example, the flow generated by the QQ accessing the internet through the mobile data network in one month in the charging period is 800M, which occupies 80% of the monthly flow of the user, the QQ internet level is set to be the highest priority, for example, the first internet level can normally use the QQ function in different stages before the upper limit of the daily flow reaches or before the monthly residual flow is used up, and great convenience is brought to the user.
In addition, the embodiment further adjusts the intelligent link aggregation switch corresponding to the application program according to the trigger event for starting the application program, and increases the internet level of the corresponding application program according to the selection of the user, so that the mode for setting the intelligent link aggregation switch according to the remaining flow is closer to the use habit and the requirement of the user, and the user experience is better.
Example four
Fig. 15 is a schematic structural diagram of a network traffic management device according to a fourth embodiment of the present disclosure, where the device may be implemented by software and/or hardware, and is generally integrated in a terminal, and may adjust an intelligent link aggregation switch of applications at different internet access levels by executing a network traffic management method, so as to control network traffic usage permissions of the applications at different internet access levels.
As shown in fig. 15, the apparatus includes a traffic acquisition module 1501, a switch control module 1502, and a program access module 1503.
The traffic obtaining module 1501 is configured to obtain remaining traffic data of the mobile data network in the user terminal.
The switch control module 1502 is configured to adjust a working state of the intelligent link aggregation switch employed by the user terminal according to the remaining traffic data.
And the program access module 1503 is used for controlling a mode of accessing the internet by the application program of the user terminal according to the working state of the intelligent link aggregation switch.
The network traffic management device provided by the embodiment of the invention can execute the network traffic management method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Optionally, the system further includes a level setting module 1504, configured to set the internet level of the corresponding application according to attribute information defined by the function usage information and/or the access right information. In one embodiment, the application program is set to 2-3 internet levels according to the attribute information and/or the traffic information of the application program. And the internet surfing priorities at the internet surfing levels of 2-3 are reduced in sequence.
Optionally, a function usage information obtaining module 1505 is further included for obtaining function usage information of the application as the attribute information. Optionally, the functional usage information includes one or more of games, shopping, audio-visual, tools, social, educational, news, photographs, food, travel, health.
Optionally, the system further comprises an access right information obtaining module 1506, configured to obtain the access right information of the application as the attribute information. The access authority information comprises one or more authorities of accessing the internet position, calling recording software, connecting Wifi, reading and writing contact person data, reading short message data, reading GPS data, calling a camera, modifying system setting and managing the system.
Optionally, the system further includes a traffic information obtaining module 1507, configured to obtain traffic information statistical data of the internet accessed by the application program in a preset time period as the traffic information, and the level setting module 1504 sets the internet level of the application program according to the traffic information. Optionally, the traffic information statistics include: the method comprises the steps of obtaining one or more of total flow of the application program accessing the internet in a preset time period, peak flow of the application program accessing the internet in the preset time period and the times of the application program accessing the internet in the preset time period.
Optionally, the application program is divided into at least a first internet level and a second internet level, and the internet priority of the first internet level is higher than that of the second internet level. The switch control module 1502 further adjusts the operating state of the intelligent link aggregation switches of the applications at different internet access levels according to the remaining traffic data of the user, specifically, when the remaining traffic data is less than a second threshold, the intelligent link aggregation switch of the application corresponding to the second internet access level is turned off, when the remaining traffic data is less than a first threshold, the intelligent link aggregation switch of the application corresponding to the first internet access level is turned off, and the second threshold is greater than the first threshold. In an alternative embodiment, the first threshold may be set to 0, which means that the application corresponding to the first internet level may access the internet by using the intelligent link aggregation technology before the user runs out of the remaining traffic before the month comes, or before the self-set daily traffic reaches the upper limit.
Optionally, the manner of acquiring the remaining traffic data of the mobile data network in the user terminal by the traffic information acquiring module 1507 includes: and acquiring the residual flow before the monthly balance of the user from an operator corresponding to the user terminal in a short message mode, or acquiring the residual flow before the monthly balance of the user from an operator corresponding to the user terminal accessed by the Internet, or calculating and acquiring the residual flow before the monthly balance of the user according to the user flow use data through monitoring software.
Optionally, the internet level adjustment module 1508 is further included, and is configured to obtain a trigger event for starting the application program, select whether to start the intelligent link aggregation switch corresponding to the application program according to the type of the trigger event, and if the intelligent link aggregation switch corresponding to the application program is restarted, restart the internet level of the corresponding application program.
EXAMPLE five
Fig. 16 is a schematic structural diagram of a device/terminal/server according to a fifth embodiment of the present invention, as shown in fig. 16, the device/terminal/server includes a processor 1602 and a memory 1601, where the number of the processor 1602 in the device/terminal/server may be one or more, and one processor 1602 is taken as an example in fig. 16; the processor 1602 and the memory 1601 in the device/terminal/server may be connected via a bus or other means, and are illustrated as being connected via a bus in fig. 4.
The memory 1601 is a computer-readable storage medium that can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the network traffic management method in the embodiment of the present invention (for example, the traffic acquisition module 1501, the switch control module 1502, and the program access module 1503 in the network traffic management apparatus). The processor 1602 executes various functional applications of the device/terminal/server and data processing by executing software programs, instructions and modules stored in the memory 1601, so as to implement the network traffic management method described above.
The memory 1601 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 1601 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 1601 can further include memory located remotely from the processor 1602, which can be connected to a device/terminal/server over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The present embodiment may further include an input device 1603 and an output device 1604. The input device 1603 is used for receiving input of input numeric or character information and generating key signal input related to user setting and function control of the apparatus/terminal/server. The output device 1604 may include a display device such as a display screen.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDRRAM, SRAM, EDORAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing computer-executable instructions provided in this embodiment of the present application is also provided, and the computer-executable instructions are not limited to the above network traffic management operation, and may also perform related operations in the network traffic management method provided in any embodiment of the present application.
In one embodiment, a storage medium containing computer-executable instructions provided by embodiments of the present application, when executed by a computer processor, is configured to perform a method for network traffic management, the method comprising:
acquiring residual flow data of a mobile data network in a user terminal;
adjusting the working state of an intelligent link aggregation switch adopted by the user terminal according to the residual flow data;
and controlling the mode of the application program of the user terminal accessing the Internet according to the working state of the intelligent link aggregation switch.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the above method operations, and may also perform related operations in the network traffic management method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-only memory (ROM), a Random Access Memory (RAM), a FLASH memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the network traffic management apparatus, each included unit and module are only divided according to functional logic, but are not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Fig. 17 is a schematic structural diagram of another terminal provided in the embodiment of the present application, where the terminal may include: a housing (not shown), a memory 1701, a Central Processing Unit (CPU) 1702 (also called a processor, hereinafter referred to as CPU), a circuit board (not shown), and a power circuit (not shown). The circuit board being arranged around the housing
Inside the space; the CPU 1702 and the memory 1701 are provided on a circuit board; the power supply circuit is used for supplying power to each circuit or device of the terminal; a memory 1701 for storing executable program code; the CPU 1702 runs a computer program corresponding to executable program code by reading the executable program code stored in the memory 1701 to realize the steps of:
acquiring residual flow data of a mobile data network in a user terminal;
adjusting the working state of an intelligent link aggregation switch adopted by the user terminal according to the residual flow data;
and controlling the mode of the application program of the user terminal accessing the Internet according to the working state of the intelligent link aggregation switch.
The terminal further includes: peripheral interfaces 1703, RF (Radio Frequency) circuitry 1705, audio circuitry 1706, speakers 1711, power management chip 1708, input/output (I/O) subsystems 1709, other input/control devices 1710, touch screen 1712, other input/control devices 1710, and external ports 1704, which communicate through one or more communication buses or signal lines 1707.
It should be understood that the illustrated terminal 1700 is only one example of a terminal and that terminal 1700 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail the terminal for network traffic management provided in this embodiment, where the terminal is a mobile phone as an example.
Memory 1701, the memory 1701 may be accessed by the CPU 1702, the peripheral interface 1703, and the like, and the memory 1701 may include high speed random access memory and may also include non-volatile memory such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
Peripheral interface 1703, peripheral interface 1703 may connect input and output peripherals of the device to CPU 1702 and memory 1701.
I/ O subsystems 1709, 1709 may connect input and output peripherals on the device, such as touch screen 1712 and other input/control devices 1710, to peripheral interface 1703. The I/O subsystem 1709 may include a display controller 17091 and one or more input controllers 17092 for controlling other input/control devices 1710. Where one or more input controllers 17092 receive electrical signals from or send electrical signals to other input/control devices 1710, the other input/control devices 1710 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 17092 may be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 1712, wherein the touch screen 1712 is an input interface and an output interface between the user terminal and the user, and outputs the visual images
The visual output may include graphics, text, icons, video, etc., for display to the user.
The display controller 17091 in the I/O subsystem 1709 receives electrical signals from the touch screen 1712 or sends electrical signals to the touch screen 1712. The touch screen 1712 detects a contact on the touch screen, and the display controller 17091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 1712, which may be an icon for running a game, an icon networked to a corresponding network, or the like, i.e., implements a human-computer interaction. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 1705 is mainly used to establish communication between the mobile phone and a wireless network (i.e., a network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. Specifically, the RF circuit 1705 receives and transmits RF signals, which are also referred to as electromagnetic signals, and the RF circuit 1705 converts electrical signals to or from electromagnetic signals and communicates with a communication network and other devices through the electromagnetic signals. The RF circuitry 1705 may include known circuitry for performing these functions, including but not limited to an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 1706 is mainly used to receive audio data from the peripheral interface 1703, convert the audio data into an electric signal, and transmit the electric signal to the speaker 1711.
The speaker 1711 is used to convert the voice signal received by the handset from the wireless network through the RF circuit 1705 into sound and play the sound to the user.
And a power management chip 1708 for supplying power and managing power to the hardware connected to the CPU 1702, the I/O subsystem, and the peripheral interface.
The network traffic management device, the storage medium and the terminal provided in the above embodiments may execute the network traffic management method provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For technical details that are not described in detail in the above embodiments, reference may be made to a network traffic management method provided in any embodiment of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.