[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2014187258A1 - Traffic control method and apparatus - Google Patents

Traffic control method and apparatus Download PDF

Info

Publication number
WO2014187258A1
WO2014187258A1 PCT/CN2014/077486 CN2014077486W WO2014187258A1 WO 2014187258 A1 WO2014187258 A1 WO 2014187258A1 CN 2014077486 W CN2014077486 W CN 2014077486W WO 2014187258 A1 WO2014187258 A1 WO 2014187258A1
Authority
WO
WIPO (PCT)
Prior art keywords
traffic
network
threshold
terminal
applications
Prior art date
Application number
PCT/CN2014/077486
Other languages
French (fr)
Chinese (zh)
Inventor
桑广莲
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014187258A1 publication Critical patent/WO2014187258A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • H04L12/1435Metric aspects volume-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5006Creating or negotiating SLA contracts, guarantees or penalties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/83Notification aspects
    • H04M15/85Notification aspects characterised by the type of condition triggering a notification
    • H04M15/852Low balance or limit reached
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/88Provision for limiting connection, or expenditure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/88Provision for limiting connection, or expenditure
    • H04M15/888Provision for limiting connection, or expenditure severing connection after predetermined time or data

Definitions

  • a terminal for example, a mobile phone, hereinafter, a mobile phone is taken as an example
  • the mobile phone's Internet traffic is usually linked to the broadband of the home.
  • Users usually choose the X-pack XX (M/month), which exceeds the monthly traffic and then charges X yuan/KB. After the rated traffic is exceeded, the cost of using the Internet traffic is used. It will be very high.
  • the embodiments of the present invention provide a flow control method and apparatus, to at least solve the problem in the related art that requires a user to perform manual operations to control terminal service traffic.
  • a flow control method including: determining whether a network traffic that has been used by a terminal in a time period has exceeded a threshold set by the time period; if the threshold is exceeded, The use of network traffic within the time period of one or more applications in the terminal is limited. Preferably, the limitation of network traffic is cancelled if the current time exceeds the time period.
  • the display manner of the one or more applications is switched from a picture display mode to a text display mode; the automatic update of the one or more applications is turned off; the one or more applications are prohibited from connecting to the network.
  • the threshold includes a first threshold and a second threshold, where the use of network traffic of one or more applications in the terminal is restricted if the first threshold is exceeded; In the case of a second threshold, the network of the terminal is closed.
  • the network traffic is data traffic of a mobile network, and the network is a mobile network.
  • the method further comprises: allowing the mobile network to be used for a portion of the time period.
  • a flow control apparatus including: a determining module, configured to determine whether a network traffic that has been used by a terminal in a time period has exceeded a threshold set by the time period; It is set to limit the use of network traffic during the time period for one or more applications in the terminal if the threshold is exceeded.
  • the device further comprises: a canceling module, configured to cancel the restriction on the network traffic if the current time exceeds the time period.
  • the limiting module is configured to limit usage of network traffic of one or more applications in the terminal, including at least one of: switching a display manner of the one or more applications from a picture display mode to Text display mode; turning off automatic updating of the one or more applications; prohibiting the one or more applications from connecting to the network.
  • the threshold includes a first threshold and a second threshold, and if the first threshold is exceeded, the limiting module is configured to limit usage of network traffic of one or more applications in the terminal; In case the second threshold is exceeded, the limiting module is arranged to close the network of the terminal.
  • the network traffic is data traffic of a mobile network, and the network is a mobile network.
  • the network traffic that the terminal has used in the time period has exceeded the threshold set by the time period; if the threshold value is exceeded, the one or more applications in the terminal are at the time.
  • the use of the network traffic in the segment is limited, and the problem that the user needs to perform manual operations to control the traffic of the terminal service application in the related art is solved, and the terminal automatically controls the application service application traffic to improve the user experience.
  • the terminal may be a mobile terminal (for example, a mobile phone, a tablet, etc.), or may be another type of terminal.
  • FIG. 1 is a flowchart of a flow control method according to an embodiment of the present invention. As shown in FIG. 1, the flow includes the following steps: Step S102: determining that the time period is Whether the network traffic that has been used by the terminal has exceeded the threshold set by the time period; Step S104, if the threshold value is exceeded, limit the use of network traffic in the time period of one or more applications in the terminal. In the related art, the user is required to manually perform operations to limit the traffic.
  • the use of network traffic during the time period of one or more applications in the terminal is restricted, for example, the time period may be one day.
  • the use of network traffic during the time period may be applied to one or more applications in the terminal.
  • the limitation of the line is to solve the problem that the user needs to perform manual operations to control the traffic of the terminal service application in the related art, and the terminal automatically controls the application service traffic, thereby improving the user experience.
  • the terminal may automatically cancel the restriction on the network traffic.
  • the network traffic is restricted.
  • the threshold for determining whether the terminal network traffic needs to be restricted may be set to be different.
  • the manner of limiting is also different.
  • the threshold may include a first threshold and a second threshold.
  • the use of network traffic of one or more applications in the terminal is restricted; if the second threshold is exceeded, the network of the terminal is closed, and the application of the restriction mode is optimized, and the application is improved. user experience.
  • the network traffic is data traffic of the mobile network
  • the network is a mobile network.
  • the terminal can detect whether there is currently available WiFi, and if so, switch the terminal from the mobile network to the WiFi, which can reduce the use of the predetermined service data packet by the terminal, and save network traffic.
  • the terminal may not always be in a state of being connected to the mobile network, and may connect to the mobile network only when needed.
  • the mobile network is allowed to be used within a part of the time period to prevent the terminal from being used.
  • the use of network traffic is caused by the automatic running of programs in the background or the user's misoperation.
  • a flow control device is also provided.
  • the flow control device is used to implement the above method. It has been described in the above embodiments and preferred embodiments, and details are not described herein again.
  • the name of the module in the following device does not constitute a practical limitation of the module.
  • the judging module can be expressed as "set to determine whether the network traffic that the terminal has used in the time period has exceeded the time.
  • the module of the threshold set by the segment the following modules can be implemented in the processor.
  • the judging module can be expressed as "a processor for judging whether the network traffic that the terminal has used in the time period has exceeded The threshold set by this time period, or "a processor, including a judgment module", etc. 2 is a block diagram showing the structure of a flow control device according to an embodiment of the present invention. As shown in FIG. 2, the device 20 includes: a determination module 22 and a restriction module 24. The structure will be described below.
  • the determining module 22 is configured to determine whether the network traffic that the terminal has used in the time period has exceeded a threshold set for the time period; the limiting module 24 is configured to, if the threshold is exceeded, one or more of the terminals The application's use of network traffic during this time period is limited.
  • the device limits the use of the network traffic of the one or more applications in the terminal during the time period, thereby solving the related art.
  • the problem that the user needs to perform manual operations to control the traffic of the terminal service application realizes that the terminal automatically controls the application service traffic and improves the user experience.
  • the flow control device further includes: a canceling module 32, configured to be in a case where the current time exceeds the time period. , remove the restriction on network traffic.
  • the restriction module 24 is configured to limit the use of the network traffic of the one or more applications in the terminal, including at least one of: switching the display manner of the one or more applications from the picture display mode to Text display mode; turn off automatic updating of the one or more applications; prohibit the one or more applications from connecting to the network.
  • the threshold may include a first threshold and a second threshold, and if the first threshold is exceeded, the limiting module 24 is configured to limit the use of network traffic of one or more applications in the terminal; In the event that the second threshold is exceeded, the limit module 24 is configured to shut down the network of the terminal.
  • the user does not need to modify the flow control settings of the Internet-enabled application in the terminal, and provides a unified interface for the user to operate. After that, the flow control settings of all Internet-enabled applications in the terminal are automatically modified.
  • the main contents of the preferred embodiment are as follows: The preferred embodiment provides two setting options for the user: one is daily flow control; the other is monthly flow control, and the following two options are respectively introduced: 1. Daily flow control Setting
  • the traffic distribution time setting includes: working day: such as Monday to Friday; daily fixed opening traffic time: 7:30am-6:30pm daily.
  • the terminal will automatically calculate the allocated daily traffic, automatically detect whether there is WiFi available at the specified time every day, if not, then open the mobile network connection, if there is, then keep the current WiFi connection until no WiFi is available. In the process of using the mobile network, once it is detected that there is currently available WiFi, the user is prompted to switch to the WiFi link. 4. Within the specified time of using the mobile network, if the daily limit has been exceeded, according to the user's settings, open the provincial traffic mode or turn off the mobile network, and restore all the default settings beyond 00:00, which will not affect the normal use the next day. .
  • the provincial traffic mode detects all Internet-related applications, sets them to no-image mode, or disables application background networking or automatic updates.
  • the available WiFi is detected, the terminal automatically turns on WiFi, and the mobile network is closed. In order to ensure normal Internet access, the terminal can close the mobile network.
  • the application is as follows: There is a WiFi available to prompt the user, the user enters the correct password and then closes the mobile network; there is available WiFi, the user's mobile phone's WiFi list has the correct password, and can be connected normally. , turn on WiFi, turn off the mobile network. Second, monthly flow control 1. Users need to set: 1) The upper limit of the monthly traffic usage;
  • Automatic control methods include: 1) Turn off all background data services;
  • Manual setting methods include:
  • FIG. 4 is a schematic diagram of an automatic flow control device according to a preferred embodiment of the present invention.
  • the device includes: a software setting module 42, a flow control module 44, an application management module 46, and a network monitoring module 48.
  • the configuration of the flow control module 44 is the same as that of the restriction module 24 and the cancellation module 32.
  • the functions of the network monitoring module 48 and the determination module 22 are the same. .
  • the software setting module 42 is configured to be responsible for the completion of some human-computer interaction work; the flow control module 44 is configured to be responsible for the completion of the flow control work; the application management module 46 is configured to cooperate with the flow control module 44 to manage each application; Module 48, set to monitor the current available network and traffic usage.
  • the automatic flow control function of the device is realized.
  • 5 is a schematic diagram of a flow automatic control method according to a preferred embodiment of the present invention. As shown in FIG. 5, the working content of the flow control function is as follows: The user starts the traffic management function, and the software setting module 42 first initiates a user operation request, requesting the user. The management function is set.
  • the user can select daily flow control or monthly flow control, and the user's selection is fed back to the software setting module 42 through the user operation module, and the software setting module 42 processes the user's selection result and starts correspondingly.
  • the control function informs the flow control module 44.
  • Network monitoring module 48 implementation content is as follows:
  • the flow control module 44 implements the following content:
  • the flow control module 44 processes the result according to the report reported by the network monitoring module 48.
  • the notification software setting module 42 prompts the user to select the automatic control flow or
  • the application that needs to control the traffic is manually selected, and the user selection result is reported to the flow control module 44.
  • the flow control module 44 performs corresponding processing according to the user selection result, selects to start the plain text mode, or controls the traffic of the corresponding application according to the selection result, or It is to directly shut down the data business.
  • the notification software setting module 42 prompts the user to select an automatic control flow or manually selects an application that needs to control the traffic, and reports the user selection result to the flow control module 44, and the flow control module 44 performs corresponding according to the user selection result. Processing, choose to start the text-only mode, or control the traffic of the corresponding application according to the selection result, or directly close the data service. When the traffic usage reaches the maximum, the data service is turned off. When the available WiFi network is found during use of the mobile network, the notification software setting module 42 asks the user if the network needs to be switched. When the mobile network usage time exceeds the agreed time, but no available WiFi network is found, the user is prompted to continue to use the mobile traffic.
  • the flow control module 44 requests the network monitoring module 48 to provide a corresponding application list to the software setting module 42.
  • the software setting module 42 notifies the flow control of the user selection result.
  • the module 44, the flow control module 44 notifies the application management module 46 of the list of applications that need to be processed according to the result of the user selection.
  • the traffic control module 44 When the traffic usage reaches the maximum value of the day, and the user manually selects some applications that need to limit the traffic, the traffic control module 44 requests the network monitoring module 48 to provide a corresponding application list to the software setting module 42, and the software setting module 42 notifies the traffic of the user selection result.
  • the control module 44, the flow control module 44 notifies the application management module 46 of the list of applications that need to be processed according to the selection result of the user.
  • the traffic control module 44 For daily traffic management, after all operations beyond the current day traffic will exceed 00:00, the traffic control module 44 will notify the application management module 46 to restore all default settings without affecting the normal use of the user the next day.
  • the flow control module 44 For monthly traffic management, after all the settings after the warning value is exceeded and the maximum value is reached, after the end of this month, the flow control module 44 notifies the application management module 46 to restore all default settings without affecting the next month's use.
  • Application Management Module 46 The implementation content is as follows:
  • the application management module 46 When the application management module 46 receives the flow control module 44 to open all the application-only text mode, the processing request completes the operation, and the flow cancellation module is notified of the processing result. 2) When the user selects to manage a part of the application, the application management module 46 processes the application required by the flow control module 44, and after completing the operation, notifies the flow cancellation module of the processing result.
  • the application management module 46 receives the restore all default settings message sent by the flow control module 44, the default settings of all applications are restored for the user.
  • the preferred embodiment implements the automatic flow control function by cooperating with all the above modules, which allows the user to conveniently and quickly control the traffic usage of each application.
  • the above modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, thereby They may be stored in a storage device by a computing device, or they may be fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof may be implemented as a single integrated circuit module.
  • embodiments of the invention are not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
  • INDUSTRIAL APPLICABILITY The technical solution provided by the embodiments of the present invention can be applied to the field of communications, and solves the problem that the user needs to perform manual operations to control the traffic of the terminal service application in the related art, and implements the terminal to automatically control the application service traffic and improve the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed are a traffic control method and apparatus. The method comprises: determining whether a network traffic that has been used by a terminal in a time period exceeds a threshold set for the time period; and if the network traffic exceeds the threshold, restricting use of the network traffic for one or more applications in the terminal within the time period. The present invention solves the problem in the prior art that the user needs to perform manual operation to control the traffic of a terminal service application, enables the terminal to automatically control the traffic of the terminal service application, thereby improving user experience.

Description

流量控制方法及装置 技术领域 本发明涉及通信领域, 具体而言, 涉及流量控制方法及装置。 背景技术 作为一种通讯工具外, 终端 (例如, 手机, 以下以手机为例进行说明) 作为一种 便于携带上网工具被越来越广泛的应用, 而手机的上网流量通常跟家里的宽带包月、 包年的不限流量有所区别, 用户通常会选择 X元包 XX (M/月), 超过包月流量后按 X元/ KB收费的这种方式, 超过额定的流量后, 使用上网流量的费用就会很高。 每月快到月底时, 用户的包月流量还剩不多 (例如 10M以下时), 用户仍有上网 的需求, 用户想看看今天的天气, 用户向知道用户的朋友们今天都说了什么。 用户需 要上网, 可用户担心, 因为现在的网页图片越来越多, 越来越大, 也许随便打开个网 页, 用户剩下的 10M流量就没有了。 相关技术中, 有很多流量控制工具, 但大都是设置流量预警值和流量限制值, 当 达到预警值时和当到达限制值时, 手机会给出提示, 但是并不能满足用户流量控制的 要求, 因为它只是一个友情提醒, 并没有给出解决的办法。 在本月流量不够用的情况 下, 自己为了防止流量超过的时候, 要对各种上网业务模式进行设置, 并在下个月开 始的时候, 再对各种上网业务模式进行再次设置。 这样用户耗时耗力, 降低了用户上 网体验。 针对相关技术中, 对需要用户进行手工操作来对终端业务应用流量进行控制的问 题, 目前尚未提出的解决方案。 发明内容 本发明实施例提供了一种流量控制方法及装置, 以至少解决相关技术中需要用户 进行手工操作来对终端业务流量进行控制的问题。 根据本发明实施例的一个方面, 提供了一种流量控制方法, 包括: 判断在时间段 内终端已经使用的网络流量是否已经超过该时间段所设置的阈值; 在超过阈值的情况 下, 对所述终端中的一个或多个应用的在所述时间段内的网络流量的使用进行限制。 优选地, 在当前时间超过所述时间段的情况下, 取消对网络流量的限制。 优选地,将所述一个或多个应用的显示方式从图片显示模式切换到文字显示模式; 关闭所述一个或多个应用的自动更新; 禁止所述一个或多个应用连接网络。 优选地, 所述阈值包括第一阈值和第二阈值, 在超过所述第一阈值的情况下, 对 所述终端中的一个或多个应用的网络流量的使用进行限制; 在超过所述第二阈值的情 况下, 关闭所述终端的网络。 优选地, 所述网络流量为移动网络的数据流量, 所述网络为移动网络。 优选地, 所述方法还包括: 在所述时间段中的一部分时长内允许使用所述移动网 络。 根据本发明实施例的另一个方面, 提供了一种流量控制装置, 包括: 判断模块, 设置为判断在时间段内终端已经使用的网络流量是否已经超过该时间段所设置的阈 值; 限制模块, 设置为在超过阈值的情况下, 对所述终端中的一个或多个应用的在所 述时间段内的网络流量的使用进行限制。 优选地, 所述装置还包括: 取消模块, 设置为在当前时间超过所述时间段的情况 下, 取消对网络流量的限制。 优选地, 所述限制模块设置为对所述终端中的一个或多个应用的网络流量的使用 进行限制包括以下至少之一: 将所述一个或多个应用的显示方式从图片显示模式切换 到文字显示模式; 关闭所述一个或多个应用的自动更新; 禁止所述一个或多个应用连 接网络。 优选地, 所述阈值包括第一阈值和第二阈值, 在超过第一阈值的情况下, 所述限 制模块设置为对所述终端中的一个或多个应用的网络流量的使用进行限制; 在超过所 述第二阈值的情况下, 所述限制模块设置为关闭所述终端的网络。 优选地, 所述网络流量为移动网络的数据流量, 所述网络为移动网络。 通过本发明实施例, 采用判断在时间段内终端已经使用的网络流量是否已经超过 该时间段所设置的阈值; 在超过阈值的情况下, 对该终端中的一个或多个应用的在该 时间段内的网络流量的使用进行限制, 解决了相关技术中需要用户进行手工操作来对 终端业务应用流量进行控制的问题, 实现了终端自动对应用业务应用流量进行控制, 提高了用户体验。 附图说明 此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在 附图中: 图 1是根据本发明实施例的流量控制方法的流程图; 图 2是根据本发明实施例的流量控制装置的结构框图一; 图 3是根据本发明实施例的流量控制装置的结构框图二; 图 4是根据本发明优选实施例的流量自动控制装置的示意图; 图 5是根据本发明优选实施例的流量自动控制方法的示意图。 具体实施方式 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相 互组合。 下面将参考附图并结合实施例来详细说明本发明。 在以下实施例中, 终端可以是移动终端(例如, 手机、 平板电脑等), 也可以是其 他类型的终端。 终端上运行的操作系统也而已是各种类型的系统, 例如, 目前被广泛 使用的安卓系统, 或者是 Windows操作系统、 iOS系统等, 但是并不限于此。 在本实施例中, 提供了一种流量控制方法, 图 1是根据本发明实施例的流量控制 方法的流程图, 如图 1所示, 该流程包括如下步骤: 步骤 S102,判断在时间段内终端已经使用的网络流量是否已经超过该时间段所设 置的阈值; 步骤 S104, 在超过阈值的情况下, 对终端中的一个或多个应用的在时间段内的网 络流量的使用进行限制。 在相关技术中需要用户手工进行操作来实现对业务流量的限制。 通过上述步骤, 对超过某个时间段设定的流量阈值的情况下, 对终端中的一个或多个应用的在该时间 段内的网络流量的使用进行限制, 例如, 时间段可以是一天, 在该天的网络流量超过 阈值的情况下, 可以对终端中的一个或多个应用的在该时间段内的网络流量的使用进 行限制, 从而解决了相关技术中需要用户进行手工操作来对终端业务应用流量进行控 制的问题, 实现了终端自动对应用业务流量进行控制, 提高了用户体验。 本实施例中, 终端在超过限制的时间段后, 可以自动取消对网络流量的限制, 优 选的, 在当前时间超过该时间段的情况下, 取消对网络流量的限制。 本实施例中, 对终端中的一个或多个应用的在该时间段内的网络流量的使用进行 限制可以有很多中方式, 对不同的应用业务, 有不同的网络流量限制方式, 优选的, 将该一个或多个应用的显示方式从图片显示模式切换到文字显示模式; 关闭该一个或 多个应用的自动更新; 禁止该一个或多个应用连接网络。 在本实施例中, 判断终端网络流量是否需要进行的限制的阈值, 可以设置多个, 对不同的阈值, 限制的方式也不同, 优选的, 阈值可以包括第一阈值和第二阈值, 在 超过第一阈值的情况下, 对该终端中的一个或多个应用的网络流量的使用进行限制; 在超过该第二阈值的情况下, 关闭该终端的网络, 优化了限制方式的应用, 提高了用 户体验。 在本实施例中, 该网络流量为移动网络的数据流量, 该网络为移动网络。优选的, 终端可以检测当前是否有可用的 WiFi, 如果有则将该终端从移动网络切换至该 WiFi, 这样可以减少终端对预定业务数据包流量的使用, 节约了网络流量。 在本实施例中, 终端可以不始终处在与移动网络连接的状态, 可以只在需要的时 候与移动网络进行连接, 优选的, 在时间段中的一部分时长内允许使用该移动网络, 防止终端后台自动运行程序或者用户的误操作导致网络流量的使用。 在本实施例中, 还提供了一种流量控制装置, 该流量控制装置用于实现上述的方 法, 在上述实施例及优选实施方式中已经进行过说明的, 在此不再赘述。 需要说明的是, 下述装置中的模块的名称并不构成对该模块的实际限定, 例如, 判断模块可以表述为 "设置为判断在时间段内终端已经使用的网络流量是否已经超过 为该时间段所设置的阈值的模块", 以下的模块均可以在处理器中实现, 例如, 判断模 块可以表述为 "一种处理器, 用于判断在时间段内终端已经使用的网络流量是否已经 超过为该时间段所设置的阈值", 或者, "一种处理器, 包括判断模块"等。 图 2是根据本发明实施例的流量控制装置的结构框图一, 如图 2所示, 该装置 20 包括: 判断模块 22和限制模块 24, 下面对该结构进行说明。 判断模块 22, 设置为判断在时间段内终端已经使用的网络流量是否已经超过为该 时间段所设置的阈值; 限制模块 24, 设置为在超过阈值的情况下, 对该终端中的一个或多个应用的在该 时间段内的网络流量的使用进行限制。 通过上述装置, 对超过某个时间段设定的流量阈值的情况下, 该装置对终端中的 一个或多个应用的在该时间段内的网络流量的使用进行限制, 从而解决了相关技术中 需要用户进行手工操作来对终端业务应用流量进行控制的问题, 实现了终端自动对应 用业务流量进行控制, 提高了用户体验。 图 3是根据本发明实施例的流量控制装置的结构框图二, 如图 3所示, 本实施例 中, 流量控制装置还包括: 取消模块 32, 设置为在当前时间超过该时间段的情况下, 取消对网络流量的限制。 在本实施例中,限制模块 24设置为对该终端中的一个或多个应用的网络流量的使 用进行限制包括以下至少之一: 将该一个或多个应用的显示方式从图片显示模式切换 到文字显示模式; 关闭该一个或多个应用的自动更新; 禁止该一个或多个应用连接网 络。 在本实施例中, 该阈值可以包括第一阈值和第二阈值,在超过第一阈值的情况下, 限制模块 24设置为对该终端中的一个或多个应用的网络流量的使用进行限制;在超过 该第二阈值的情况下, 该限制模块 24设置为关闭该终端的网络。 下面结合优选实施例和优选实施方式对本发明进行说明。 优选实施例 1 本优选实施例提供了一种流量控制自动化的方法, 无需用户逐项修改终端中可上 网应用的流量控制设置, 为用户提供一个统一接口进行操作, 在终端检测到流量达到 使用上限后, 自动修改终端中所有可上网应用的流量控制设置。 优选实施例的主要内 容如下: 本优选实施例为用户提供两种设置选项: 一是每日流量控制; 二是每月流量控制, 下面分别对这两种选择进行介绍: 一、 每日流量控制设置 TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a flow control method and apparatus. BACKGROUND As a communication tool, a terminal (for example, a mobile phone, hereinafter, a mobile phone is taken as an example) is widely used as an easy-to-carry Internet tool, and the mobile phone's Internet traffic is usually linked to the broadband of the home. There is no difference in the unlimited traffic for the year of the package. Users usually choose the X-pack XX (M/month), which exceeds the monthly traffic and then charges X yuan/KB. After the rated traffic is exceeded, the cost of using the Internet traffic is used. It will be very high. At the end of the month, the monthly flow of users is not much left (for example, when it is less than 10M). Users still have the need to access the Internet. Users want to see the weather today. What users say to their friends today. Users need to go online, but users are worried, because nowadays more and more webpage images are getting bigger and bigger, maybe you can open a webpage casually, and the remaining 10M traffic of the user is gone. In the related art, there are many flow control tools, but most of them set the flow warning value and the flow limit value. When the warning value is reached and when the limit value is reached, the mobile phone will give a prompt, but it cannot meet the requirements of the user flow control. Because it is just a friendly reminder, and there is no solution. In the case that the traffic is not enough this month, in order to prevent the traffic from exceeding, it is necessary to set various Internet service modes, and then set up various online business modes again at the beginning of next month. This makes the user time-consuming and labor-intensive, reducing the user's online experience. For the related art, there is currently no solution proposed for the problem that the user needs to perform manual operations to control the traffic of the terminal service application. SUMMARY OF THE INVENTION The embodiments of the present invention provide a flow control method and apparatus, to at least solve the problem in the related art that requires a user to perform manual operations to control terminal service traffic. According to an aspect of the embodiments of the present invention, a flow control method is provided, including: determining whether a network traffic that has been used by a terminal in a time period has exceeded a threshold set by the time period; if the threshold is exceeded, The use of network traffic within the time period of one or more applications in the terminal is limited. Preferably, the limitation of network traffic is cancelled if the current time exceeds the time period. Preferably, the display manner of the one or more applications is switched from a picture display mode to a text display mode; the automatic update of the one or more applications is turned off; the one or more applications are prohibited from connecting to the network. Preferably, the threshold includes a first threshold and a second threshold, where the use of network traffic of one or more applications in the terminal is restricted if the first threshold is exceeded; In the case of a second threshold, the network of the terminal is closed. Preferably, the network traffic is data traffic of a mobile network, and the network is a mobile network. Preferably, the method further comprises: allowing the mobile network to be used for a portion of the time period. According to another aspect of the embodiments of the present invention, a flow control apparatus is provided, including: a determining module, configured to determine whether a network traffic that has been used by a terminal in a time period has exceeded a threshold set by the time period; It is set to limit the use of network traffic during the time period for one or more applications in the terminal if the threshold is exceeded. Preferably, the device further comprises: a canceling module, configured to cancel the restriction on the network traffic if the current time exceeds the time period. Preferably, the limiting module is configured to limit usage of network traffic of one or more applications in the terminal, including at least one of: switching a display manner of the one or more applications from a picture display mode to Text display mode; turning off automatic updating of the one or more applications; prohibiting the one or more applications from connecting to the network. Preferably, the threshold includes a first threshold and a second threshold, and if the first threshold is exceeded, the limiting module is configured to limit usage of network traffic of one or more applications in the terminal; In case the second threshold is exceeded, the limiting module is arranged to close the network of the terminal. Preferably, the network traffic is data traffic of a mobile network, and the network is a mobile network. According to the embodiment of the present invention, it is determined whether the network traffic that the terminal has used in the time period has exceeded the threshold set by the time period; if the threshold value is exceeded, the one or more applications in the terminal are at the time. The use of the network traffic in the segment is limited, and the problem that the user needs to perform manual operations to control the traffic of the terminal service application in the related art is solved, and the terminal automatically controls the application service application traffic to improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,, . 1 is a flow chart of a flow control method according to an embodiment of the present invention; FIG. 2 is a block diagram of a flow control device according to an embodiment of the present invention; FIG. 3 is a flow control device according to an embodiment of the present invention. 2 is a schematic diagram of an automatic flow control device in accordance with a preferred embodiment of the present invention; and FIG. 5 is a schematic diagram of a flow automatic control method in accordance with a preferred embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. In the following embodiments, the terminal may be a mobile terminal (for example, a mobile phone, a tablet, etc.), or may be another type of terminal. The operating system running on the terminal is also various types of systems, for example, the currently widely used Android system, or the Windows operating system, the iOS system, etc., but is not limited thereto. In this embodiment, a flow control method is provided. FIG. 1 is a flowchart of a flow control method according to an embodiment of the present invention. As shown in FIG. 1, the flow includes the following steps: Step S102: determining that the time period is Whether the network traffic that has been used by the terminal has exceeded the threshold set by the time period; Step S104, if the threshold value is exceeded, limit the use of network traffic in the time period of one or more applications in the terminal. In the related art, the user is required to manually perform operations to limit the traffic. Through the above steps, in the case of a traffic threshold set over a certain period of time, the use of network traffic during the time period of one or more applications in the terminal is restricted, for example, the time period may be one day. In the case that the network traffic of the day exceeds the threshold, the use of network traffic during the time period may be applied to one or more applications in the terminal. The limitation of the line is to solve the problem that the user needs to perform manual operations to control the traffic of the terminal service application in the related art, and the terminal automatically controls the application service traffic, thereby improving the user experience. In this embodiment, after the terminal exceeds the limited time period, the terminal may automatically cancel the restriction on the network traffic. Preferably, if the current time exceeds the time period, the network traffic is restricted. In this embodiment, there may be many ways to limit the use of network traffic in the time period of one or more applications in the terminal. For different application services, there are different network traffic limiting modes, preferably, Switching the display mode of the one or more applications from the picture display mode to the text display mode; turning off automatic updating of the one or more applications; prohibiting the one or more applications from connecting to the network. In this embodiment, the threshold for determining whether the terminal network traffic needs to be restricted may be set to be different. For different thresholds, the manner of limiting is also different. Preferably, the threshold may include a first threshold and a second threshold. In the case of the first threshold, the use of network traffic of one or more applications in the terminal is restricted; if the second threshold is exceeded, the network of the terminal is closed, and the application of the restriction mode is optimized, and the application is improved. user experience. In this embodiment, the network traffic is data traffic of the mobile network, and the network is a mobile network. Preferably, the terminal can detect whether there is currently available WiFi, and if so, switch the terminal from the mobile network to the WiFi, which can reduce the use of the predetermined service data packet by the terminal, and save network traffic. In this embodiment, the terminal may not always be in a state of being connected to the mobile network, and may connect to the mobile network only when needed. Preferably, the mobile network is allowed to be used within a part of the time period to prevent the terminal from being used. The use of network traffic is caused by the automatic running of programs in the background or the user's misoperation. In the present embodiment, a flow control device is also provided. The flow control device is used to implement the above method. It has been described in the above embodiments and preferred embodiments, and details are not described herein again. It should be noted that the name of the module in the following device does not constitute a practical limitation of the module. For example, the judging module can be expressed as "set to determine whether the network traffic that the terminal has used in the time period has exceeded the time. The module of the threshold set by the segment", the following modules can be implemented in the processor. For example, the judging module can be expressed as "a processor for judging whether the network traffic that the terminal has used in the time period has exceeded The threshold set by this time period, or "a processor, including a judgment module", etc. 2 is a block diagram showing the structure of a flow control device according to an embodiment of the present invention. As shown in FIG. 2, the device 20 includes: a determination module 22 and a restriction module 24. The structure will be described below. The determining module 22 is configured to determine whether the network traffic that the terminal has used in the time period has exceeded a threshold set for the time period; the limiting module 24 is configured to, if the threshold is exceeded, one or more of the terminals The application's use of network traffic during this time period is limited. In the case that the traffic threshold is set for a certain period of time, the device limits the use of the network traffic of the one or more applications in the terminal during the time period, thereby solving the related art. The problem that the user needs to perform manual operations to control the traffic of the terminal service application realizes that the terminal automatically controls the application service traffic and improves the user experience. 3 is a block diagram of a structure of a flow control device according to an embodiment of the present invention. As shown in FIG. 3, in the embodiment, the flow control device further includes: a canceling module 32, configured to be in a case where the current time exceeds the time period. , remove the restriction on network traffic. In this embodiment, the restriction module 24 is configured to limit the use of the network traffic of the one or more applications in the terminal, including at least one of: switching the display manner of the one or more applications from the picture display mode to Text display mode; turn off automatic updating of the one or more applications; prohibit the one or more applications from connecting to the network. In this embodiment, the threshold may include a first threshold and a second threshold, and if the first threshold is exceeded, the limiting module 24 is configured to limit the use of network traffic of one or more applications in the terminal; In the event that the second threshold is exceeded, the limit module 24 is configured to shut down the network of the terminal. The invention will now be described in connection with preferred embodiments and preferred embodiments. The preferred embodiment provides a method for automatically controlling the flow control. The user does not need to modify the flow control settings of the Internet-enabled application in the terminal, and provides a unified interface for the user to operate. After that, the flow control settings of all Internet-enabled applications in the terminal are automatically modified. The main contents of the preferred embodiment are as follows: The preferred embodiment provides two setting options for the user: one is daily flow control; the other is monthly flow control, and the following two options are respectively introduced: 1. Daily flow control Setting
1. 用户需要设置: 1)当月流量使用上限, 用于对流量分配的总体规划。 1. User needs to set: 1) The upper limit of the current month's traffic usage is used for the overall planning of traffic distribution.
2)设置流量分布时间, 由于用户在家一般使用家中的 WiFi, 只有工作时间需要使 用移动网络的包月流量, 流量分布时间设置包括: 工作日: 如周一至周五; 每日固定开启流量时间: 如每天 7:30am-6:30pm。 2) Set the traffic distribution time. Since the user usually uses the WiFi in the home at home, only the monthly traffic of the mobile network needs to be used during working hours. The traffic distribution time setting includes: working day: such as Monday to Friday; daily fixed opening traffic time: 7:30am-6:30pm daily.
2. 设置当日流量用完后的处理方式包括: 关闭所有浏览器及社交网站或应用图片显示, 改为文字模式; 检测终端中安装的所有与网络相关应用, 向用户列出所有使用流量的应用, 请用 户手动设置所列应用的上网策略; 关闭网络连接。 2. Set the processing method after the traffic is used up on the current day, including: Close all browsers and social networking sites or application image display, change to text mode; Detect all network-related applications installed in the terminal, and list all applications that use traffic to the user. , please manually set the online policy of the listed apps; close the network connection.
3. 终端会自动计算分配每日流量, 每日在规定时刻自动检测是否有可用 WiFi,如 果没有则开启移动网络连接, 如果有, 则保持当前 WiFi连接, 直到无可用 WiFi。 在 移动网络使用的过程中, 一旦检测到当前有可用 WiFi, 提示用户是否切换至 WiFi链 接。 4. 每日在规定使用移动网络时间内, 如果已经超过当天额度, 按照用户的设定, 打开省流量模式或关闭移动网络, 超过 00:00 恢复应用所有默认设置, 不影响第二天 正常使用。 省流量模式即检测所有上网相关应用, 设置为无图模式或禁止应用后台连 网或自动更新。 3. The terminal will automatically calculate the allocated daily traffic, automatically detect whether there is WiFi available at the specified time every day, if not, then open the mobile network connection, if there is, then keep the current WiFi connection until no WiFi is available. In the process of using the mobile network, once it is detected that there is currently available WiFi, the user is prompted to switch to the WiFi link. 4. Within the specified time of using the mobile network, if the daily limit has been exceeded, according to the user's settings, open the provincial traffic mode or turn off the mobile network, and restore all the default settings beyond 00:00, which will not affect the normal use the next day. . The provincial traffic mode detects all Internet-related applications, sets them to no-image mode, or disables application background networking or automatic updates.
5. 检测到可用 WiFi, 终端自动开启 WiFi上网, 关闭移动网络。 为保证正常上网, 终端可以关闭移动网络, 应用的情况如下: 有可用 WiFi提示用户, 用户输入正确密码后关闭移动网络; 有可用 WiFi,用户手机的 WiFi列表中保存过正确密码,可正常连接时,开启 WiFi, 关闭移动网络。 二、 每月流量控制 1. 用户需要设置: 1)当月流量使用上限; 5. The available WiFi is detected, the terminal automatically turns on WiFi, and the mobile network is closed. In order to ensure normal Internet access, the terminal can close the mobile network. The application is as follows: There is a WiFi available to prompt the user, the user enters the correct password and then closes the mobile network; there is available WiFi, the user's mobile phone's WiFi list has the correct password, and can be connected normally. , turn on WiFi, turn off the mobile network. Second, monthly flow control 1. Users need to set: 1) The upper limit of the monthly traffic usage;
2)流量使用预警值; 2) The traffic usage warning value;
3)设置当月流量达到预警值的处理方式:自动控制; 手动设置。 3) Set the processing mode of the current month when the flow reaches the warning value: automatic control; manual setting.
2. 自动控制方式包括: 1)关闭所有后台数据业务; 2. Automatic control methods include: 1) Turn off all background data services;
2)关闭所有浏览器及社交网站图片显示, 改为文字模式。 2) Close all browser and social network photo display, change to text mode.
3. 手动设置方式包括: 3. Manual setting methods include:
1)提示用户流量已达到预警, 检测终端中安装的所有与网络相关应用, 按照流量 使用情况排序, 向用户列出所有使用流量的应用, 请用户手动设置需要限制流量的应 用. 1) Prompt user traffic has reached the warning, detect all network-related applications installed in the terminal, sort according to traffic usage, and list all applications that use traffic to the user. Please manually set the application that needs to limit traffic.
2)当流量使用超过预警值时, 按照用户的预先设置处理, 当流量使用达到使用上 限, 关闭移动网络, 提示用户。 所有修改设置将在下月第一天恢复为用户默认设置, 以便用户正常使用。 优选实施例 2 图 4是根据本发明优选实施例的流量自动控制装置的示意图, 如图 4所示, 该装 置包括: 软件设置模块 42, 流量控制模块 44, 应用管理模块 46和网络监测模块 48 组成, 其中流量控制模块 44与限制模块 24、 取消模块 32的上述功能是相同的, 网络 监测模块 48与判断模块 22的上述功能是相同的, 在此不做赘述, 下面对该装置进行 说明。 软件设置模块 42, 设置为负责一些人机交互工作的完成; 流量控制模块 44, 设置为负责流量控制工作的完成; 应用管理模块 46, 设置为配合流量控制模块 44对各个应用进行管理; 网络监测模块 48, 设置为负责监控当前可用网络及流量使用情况。 通过上述装置中所用模块的相互配合, 实现了该装置自动流量控制的功能。 图 5是根据本发明优选实施例的流量自动控制方法的示意图, 如图 5所示, 流量 控制功能的工作内容如下: 用户开启流量管理功能, 首先由软件设置模块 42发起用户操作要求,要求用户对 管理功能进行设置, 此时用户可以选择每日流量控制或是每月流量控制, 用户的选择 通过用户操作模块反馈给软件设置模块 42, 软件设置模块 42对用户的选择结果进行 处理, 启动相应的控制功能, 告知流量控制模块 44。 2) When the traffic usage exceeds the warning value, according to the user's preset processing, when the traffic usage reaches the usage upper limit, the mobile network is closed and the user is prompted. All modification settings will be restored to the user default settings on the first day of the next month for the user to use. Preferred Embodiment 2 FIG. 4 is a schematic diagram of an automatic flow control device according to a preferred embodiment of the present invention. As shown in FIG. 4, the device includes: a software setting module 42, a flow control module 44, an application management module 46, and a network monitoring module 48. The configuration of the flow control module 44 is the same as that of the restriction module 24 and the cancellation module 32. The functions of the network monitoring module 48 and the determination module 22 are the same. . The software setting module 42 is configured to be responsible for the completion of some human-computer interaction work; the flow control module 44 is configured to be responsible for the completion of the flow control work; the application management module 46 is configured to cooperate with the flow control module 44 to manage each application; Module 48, set to monitor the current available network and traffic usage. Through the mutual cooperation of the modules used in the above devices, the automatic flow control function of the device is realized. 5 is a schematic diagram of a flow automatic control method according to a preferred embodiment of the present invention. As shown in FIG. 5, the working content of the flow control function is as follows: The user starts the traffic management function, and the software setting module 42 first initiates a user operation request, requesting the user. The management function is set. At this time, the user can select daily flow control or monthly flow control, and the user's selection is fed back to the software setting module 42 through the user operation module, and the software setting module 42 processes the user's selection result and starts correspondingly. The control function informs the flow control module 44.
1.网络监测模块 48实现内容如下: 1. Network monitoring module 48 implementation content is as follows:
1 )监测当前的网络状态, 当发现有可由 WiFi时上报流量控制模块 44, 并通知软 件设置模块 42, 提示用户是否切换当前使用网络。 2) 监测并记录各个应用程序对流量的使用情况。 1) Monitor the current network status, report the traffic control module 44 when it is available to WiFi, and notify the software setting module 42, prompt the user whether to switch the current network. 2) Monitor and document the usage of traffic by individual applications.
3 ) 监测数据业务总量, 定时上报给流量控制模块 44。 3) The total amount of data service is monitored and reported to the flow control module 44 periodically.
2.流量控制模块 44实现内容如下: 流量控制模块 44根据网络监测模块 48上报结果进行处理, 当流量使用超过告警 值,还未达到最大值,通知软件设置模块 42提示用户选择自动控制流量或是手动选择 需要控制流量的应用, 将用户选择结果报告给流量控制模块 44, 流量控制模块 44根 据用户选择结果做相应的处理, 选择启动纯文字模式, 或是按照选择结果控制相应应 用的流量, 或是直接关闭数据业务。 当流量达到当天最大值,通知软件设置模块 42提示用户选择自动控制流量或是手 动选择需要控制流量的应用, 将用户选择结果报告给流量控制模块 44, 流量控制模块 44根据用户选择结果做相应的处理, 选择启动纯文字模式, 或是按照选择结果控制相 应应用的流量, 或是直接关闭数据业务。 当流量使用达到最大值, 关闭数据业务。 当移动网络使用过程中发现可用 WiFi网络, 通知软件设置模块 42询问用户是否 需要切换网络。 当移动网络使用时间超过约定时间,但未发现可用 WiFi网络,提示用户是否继续 使用移动流量。 当流量使用超过告警值,用户选择自动控制流量,通知应用管理模块 46将所有应 用改为纯文字模式。 当流量使用达到当天最大值,用户选择自动控制流量,通知应用管理模块 46将所 有应用改为纯文字模式。 当流量使用超过告警值, 用户手动选择部分需要限制流量的应用时, 流量控制模 块 44要求网络监测模块 48提供相应的应用列表提供给软件设置模块 42, 软件设置模 块 42将用户选择结果告知流量控制模块 44, 流量控制模块 44按照用户的选择结果, 将需要处理的应用列表告知应用管理模块 46。 当流量使用达到当天最大值, 用户手动选择部分需要限制流量的应用时, 流量控 制模块 44要求网络监测模块 48提供相应的应用列表提供给软件设置模块 42, 软件设 置模块 42将用户选择结果告知流量控制模块 44, 流量控制模块 44按照用户的选择结 果, 将需要处理的应用列表告知应用管理模块 46。 对于每日流量管理, 在超过当日流量后的所有操作将在超过 00:00后, 流量控制 模块 44会通知应用管理模块 46恢复所有默认设置, 不影响用户第二天的正常使用。 对于每月流量管理, 在超过预警值及达到最大值后的所有设置, 在本月过完后, 流量控制模块 44会通知应用管理模块 46恢复所有默认设置, 不影响下月使用。 The flow control module 44 implements the following content: The flow control module 44 processes the result according to the report reported by the network monitoring module 48. When the traffic usage exceeds the alarm value and has not reached the maximum value, the notification software setting module 42 prompts the user to select the automatic control flow or The application that needs to control the traffic is manually selected, and the user selection result is reported to the flow control module 44. The flow control module 44 performs corresponding processing according to the user selection result, selects to start the plain text mode, or controls the traffic of the corresponding application according to the selection result, or It is to directly shut down the data business. When the traffic reaches the maximum value of the day, the notification software setting module 42 prompts the user to select an automatic control flow or manually selects an application that needs to control the traffic, and reports the user selection result to the flow control module 44, and the flow control module 44 performs corresponding according to the user selection result. Processing, choose to start the text-only mode, or control the traffic of the corresponding application according to the selection result, or directly close the data service. When the traffic usage reaches the maximum, the data service is turned off. When the available WiFi network is found during use of the mobile network, the notification software setting module 42 asks the user if the network needs to be switched. When the mobile network usage time exceeds the agreed time, but no available WiFi network is found, the user is prompted to continue to use the mobile traffic. When the traffic usage exceeds the alarm value, the user chooses to automatically control the traffic, and the application management module 46 is notified to change all applications to the text-only mode. When the traffic usage reaches the maximum value of the day, the user chooses to automatically control the traffic, and the application management module 46 is notified to change all applications to the text-only mode. When the traffic usage exceeds the alarm value, and the user manually selects some applications that need to limit the traffic, the flow control module 44 requests the network monitoring module 48 to provide a corresponding application list to the software setting module 42. The software setting module 42 notifies the flow control of the user selection result. The module 44, the flow control module 44 notifies the application management module 46 of the list of applications that need to be processed according to the result of the user selection. When the traffic usage reaches the maximum value of the day, and the user manually selects some applications that need to limit the traffic, the traffic control module 44 requests the network monitoring module 48 to provide a corresponding application list to the software setting module 42, and the software setting module 42 notifies the traffic of the user selection result. The control module 44, the flow control module 44 notifies the application management module 46 of the list of applications that need to be processed according to the selection result of the user. For daily traffic management, after all operations beyond the current day traffic will exceed 00:00, the traffic control module 44 will notify the application management module 46 to restore all default settings without affecting the normal use of the user the next day. For monthly traffic management, after all the settings after the warning value is exceeded and the maximum value is reached, after the end of this month, the flow control module 44 notifies the application management module 46 to restore all default settings without affecting the next month's use.
4.应用管理模块 46实现内容如下: 4. Application Management Module 46 The implementation content is as follows:
1 )当应用管理模块 46收到流量控制模块 44开启所有应用纯文字模式时,处理请 求, 完成操作, 告知流量取消模块处理结果。 2)当用户选择对部分应用进行管理时,应用管理模块 46对流量控制模块 44要求 的应用进行处理, 完成操作后, 告知流量取消模块处理结果。 1) When the application management module 46 receives the flow control module 44 to open all the application-only text mode, the processing request completes the operation, and the flow cancellation module is notified of the processing result. 2) When the user selects to manage a part of the application, the application management module 46 processes the application required by the flow control module 44, and after completing the operation, notifies the flow cancellation module of the processing result.
3 )当应用管理模块 46收到流量控制模块 44发来的恢复所有默认设置消息后, 为 用户恢复所有应用的默认设置。 本优选实施例通过上述所有模块互相配合实现了流量自动控制功能, 可以让用户 方便快捷的控制各应用的流量使用。 显然, 本领域的技术人员应该明白, 上述的本发明实施例的各模块或各步骤可以 用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算 装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 或者将它们分别制作成各个集成电 路模块, 或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本 发明实施例不限制于任何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 工业实用性 本发明实施例提供的技术方案可以应用于通信领域, 解决了相关技术中需要用户 进行手工操作来对终端业务应用流量进行控制的问题, 实现了终端自动对应用业务流 量进行控制, 提高用户体验。 3) When the application management module 46 receives the restore all default settings message sent by the flow control module 44, the default settings of all applications are restored for the user. The preferred embodiment implements the automatic flow control function by cooperating with all the above modules, which allows the user to conveniently and quickly control the traffic usage of each application. Obviously, those skilled in the art should understand that the above modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, thereby They may be stored in a storage device by a computing device, or they may be fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof may be implemented as a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention. INDUSTRIAL APPLICABILITY The technical solution provided by the embodiments of the present invention can be applied to the field of communications, and solves the problem that the user needs to perform manual operations to control the traffic of the terminal service application in the related art, and implements the terminal to automatically control the application service traffic and improve the user experience.

Claims

权 利 要 求 书 Claim
1. 一种流量控制方法, 包括: 1. A flow control method, comprising:
判断在时间段内终端已经使用的网络流量是否已经超过该时间段所设置的 阈值;  Determining whether the network traffic that the terminal has used in the time period has exceeded the threshold set by the time period;
在超过阈值的情况下, 对所述终端中的一个或多个应用的在所述时间段内 的网络流量的使用进行限制。  In the event that a threshold is exceeded, the use of network traffic for the one or more applications in the terminal during the time period is limited.
2. 根据权利要求 1所述的方法, 其中, 还包括: 2. The method according to claim 1, further comprising:
在当前时间超过所述时间段的情况下, 取消对网络流量的限制。  In the case where the current time exceeds the time period, the restriction on network traffic is cancelled.
3. 根据权利要求 1所述的方法, 其中, 对所述终端中的一个或多个应用的网络流 量的使用进行限制包括以下至少之一: 3. The method of claim 1, wherein limiting the use of network traffic of one or more of the terminals comprises at least one of:
将所述一个或多个应用的显示方式从图片显示模式切换到文字显示模式; 关闭所述一个或多个应用的自动更新;  Switching the display manner of the one or more applications from a picture display mode to a text display mode; turning off automatic updating of the one or more applications;
禁止所述一个或多个应用连接网络。  The one or more applications are prohibited from connecting to the network.
4. 根据权利要求 1所述的方法, 其中, 4. The method according to claim 1, wherein
所述阈值包括第一阈值和第二阈值, 在超过所述第一阈值的情况下, 对所 述终端中的一个或多个应用的网络流量的使用进行限制;  The threshold includes a first threshold and a second threshold, where the use of network traffic of one or more applications in the terminal is restricted if the first threshold is exceeded;
所述方法还包括: 在超过所述第二阈值的情况下, 关闭所述终端的网络。  The method further includes: closing the network of the terminal if the second threshold is exceeded.
5. 根据权利要求 1至 4中任一项所述的方法, 其中, 所述网络流量为移动网络的 数据流量, 所述网络为移动网络。 The method according to any one of claims 1 to 4, wherein the network traffic is data traffic of a mobile network, and the network is a mobile network.
6. 根据权利要求 5所述的方法, 其中, 所述方法还包括: 在所述时间段中的一部分时长内允许使用所述移动网络。 6. The method of claim 5, wherein the method further comprises: allowing the mobile network to be used for a portion of the time period.
7. 一种流量控制装置, 包括: 7. A flow control device comprising:
判断模块, 设置为判断在时间段内终端已经使用的网络流量是否已经超过 该时间段所设置的阈值; 限制模块, 设置为在超过阈值的情况下, 对所述终端中的一个或多个应用 的在所述时间段内的网络流量的使用进行限制。 a judging module, configured to determine whether the network traffic that the terminal has used in the time period has exceeded a threshold set by the time period; A restriction module is configured to limit usage of network traffic during the time period for one or more applications in the terminal if a threshold is exceeded.
8. 根据权利要求 7所述的装置, 其中, 所述装置还包括: 取消模块, 设置为在当前时间超过所述时间段的情况下, 取消对网络流量 的限制。 8. The apparatus according to claim 7, wherein the apparatus further comprises: a canceling module, configured to cancel the restriction on network traffic if the current time exceeds the time period.
9. 根据权利要求 7所述的装置, 其中, 所述限制模块设置为对所述终端中的一个 或多个应用的网络流量的使用进行限制包括以下至少之一: 9. The apparatus of claim 7, wherein the limiting module is configured to limit usage of network traffic of one or more of the terminals to include at least one of:
将所述一个或多个应用的显示方式从图片显示模式切换到文字显示模式; 关闭所述一个或多个应用的自动更新;  Switching the display manner of the one or more applications from a picture display mode to a text display mode; turning off automatic updating of the one or more applications;
禁止所述一个或多个应用连接网络。  The one or more applications are prohibited from connecting to the network.
10. 根据权利要求 7所述的装置, 其中, 所述阈值包括第一阈值和第二阈值, 在超 过第一阈值的情况下, 所述限制模块设置为对所述终端中的一个或多个应用的 网络流量的使用进行限制; 在超过所述第二阈值的情况下, 所述限制模块设置 为关闭所述终端的网络。 10. The apparatus according to claim 7, wherein the threshold comprises a first threshold and a second threshold, wherein the limiting module is set to one or more of the terminals if the first threshold is exceeded The use of the applied network traffic is limited; in the case where the second threshold is exceeded, the restriction module is set to close the network of the terminal.
11. 根据权利要求 7至 10中任一项所述的装置,其中,所述网络流量为移动网络的 数据流量, 所述网络为移动网络。 The apparatus according to any one of claims 7 to 10, wherein the network traffic is data traffic of a mobile network, and the network is a mobile network.
PCT/CN2014/077486 2013-10-23 2014-05-14 Traffic control method and apparatus WO2014187258A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310504632.7 2013-10-23
CN201310504632 2013-10-23

Publications (1)

Publication Number Publication Date
WO2014187258A1 true WO2014187258A1 (en) 2014-11-27

Family

ID=51932835

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2014/077486 WO2014187258A1 (en) 2013-10-23 2014-05-14 Traffic control method and apparatus
PCT/CN2014/093195 WO2015154495A1 (en) 2013-10-23 2014-12-05 Traffic control method and device

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/093195 WO2015154495A1 (en) 2013-10-23 2014-12-05 Traffic control method and device

Country Status (2)

Country Link
CN (1) CN104580684A (en)
WO (2) WO2014187258A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117793783A (en) * 2024-02-27 2024-03-29 深圳市英迈通信技术有限公司 5G mobile phone data flow monitoring method and system

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869595A (en) * 2015-05-04 2015-08-26 小米科技有限责任公司 Method and device for controlling data traffic
CN105228190A (en) * 2015-10-29 2016-01-06 东莞酷派软件技术有限公司 A kind of many spaces terminal flux monitoring method and system
CN105516502A (en) * 2015-12-16 2016-04-20 惠州Tcl移动通信有限公司 Mobile terminal and flow control method therefor
CN105630130B (en) * 2015-12-18 2022-05-31 联想(北京)有限公司 Information processing method and information processing apparatus
CN105682148A (en) * 2015-12-25 2016-06-15 科大讯飞股份有限公司 Traffic sharing method and system
CN105898727A (en) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 Terminal network-connection state control method and device
CN105721348A (en) * 2016-02-23 2016-06-29 周奇 Traffic control method and device of intelligent terminal
CN107294873A (en) * 2016-03-31 2017-10-24 宇龙计算机通信科技(深圳)有限公司 A kind of method, device and terminal for closing data network
CN107302782A (en) * 2016-04-15 2017-10-27 集怡嘉数码科技(深圳)有限公司 A kind of data flow control method and terminal
CN106131780A (en) * 2016-06-16 2016-11-16 捷开通讯(深圳)有限公司 A kind of mobile terminal and resource control method thereof
CN105959928A (en) * 2016-06-29 2016-09-21 北京小米移动软件有限公司 Traffic control method and device
WO2018032332A1 (en) * 2016-08-16 2018-02-22 陈银芳 Method and system for dynamic control of mobile phone internet accessing
CN106412962A (en) * 2016-10-26 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Flow control method and system
CN106412983A (en) * 2016-11-18 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Terminal-flow-based control method and apparatus
CN107231651B (en) * 2017-07-28 2020-09-22 惠州Tcl移动通信有限公司 Traffic monitoring and alarming method of mobile terminal, storage device and mobile terminal
CN107800651B (en) * 2017-10-31 2021-03-02 Oppo广东移动通信有限公司 Application program closing method and device, storage medium and electronic equipment
CN108494617A (en) * 2018-02-28 2018-09-04 上海康斐信息技术有限公司 A kind of the monitoring method and monitoring system of network connection duration
CN109656718A (en) * 2018-12-20 2019-04-19 四川长虹电器股份有限公司 Smart television application control method
CN113259995B (en) * 2021-05-17 2023-08-04 北京小米移动软件有限公司 Information processing method, device and storage medium
CN114449015A (en) * 2022-01-14 2022-05-06 福建省公田软件股份有限公司 Mobile honeycomb intelligent pipeline implementation method based on edge calculation
CN115038134B (en) * 2022-06-29 2024-04-26 支付宝(中国)网络技术有限公司 Service request processing method, device, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668352A (en) * 2009-08-14 2010-03-10 惠州Tcl移动通信有限公司 Method for limiting GPRS use of mobile communication terminal
CN102612084A (en) * 2012-02-24 2012-07-25 中兴通讯股份有限公司 Method and device for controlling data traffic
WO2013048381A1 (en) * 2011-09-28 2013-04-04 Hewlett-Packard Development Company, L.P. Managing data usage of a computing device
CN103209439A (en) * 2013-03-14 2013-07-17 北京小米科技有限责任公司 Method, apparatus and device for monitoring data traffic
US20130196615A1 (en) * 2012-01-27 2013-08-01 Microsoft Corporation Recommendations for reducing data consumption based on data usage profiles
CN103248756A (en) * 2013-03-28 2013-08-14 广东欧珀移动通信有限公司 Method for switching internet browsing modes according to surplus flow of mobile phone

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841605A (en) * 2010-03-23 2010-09-22 中兴通讯股份有限公司 Method and device for alarming flow when mobile phone downloads and flow alarming mobile phone
CN101854649A (en) * 2010-05-20 2010-10-06 中兴通讯股份有限公司 Mobile terminal and method and device for monitoring Internet surfing data traffic of mobile terminal
CN103402243B (en) * 2013-07-16 2016-04-27 广东欧珀移动通信有限公司 A kind of method and apparatus of Data Update frequency of the application adjusted on mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668352A (en) * 2009-08-14 2010-03-10 惠州Tcl移动通信有限公司 Method for limiting GPRS use of mobile communication terminal
WO2013048381A1 (en) * 2011-09-28 2013-04-04 Hewlett-Packard Development Company, L.P. Managing data usage of a computing device
US20130196615A1 (en) * 2012-01-27 2013-08-01 Microsoft Corporation Recommendations for reducing data consumption based on data usage profiles
CN102612084A (en) * 2012-02-24 2012-07-25 中兴通讯股份有限公司 Method and device for controlling data traffic
CN103209439A (en) * 2013-03-14 2013-07-17 北京小米科技有限责任公司 Method, apparatus and device for monitoring data traffic
CN103248756A (en) * 2013-03-28 2013-08-14 广东欧珀移动通信有限公司 Method for switching internet browsing modes according to surplus flow of mobile phone

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117793783A (en) * 2024-02-27 2024-03-29 深圳市英迈通信技术有限公司 5G mobile phone data flow monitoring method and system
CN117793783B (en) * 2024-02-27 2024-04-26 深圳市英迈通信技术有限公司 5G mobile phone data flow monitoring method and system

Also Published As

Publication number Publication date
CN104580684A (en) 2015-04-29
WO2015154495A1 (en) 2015-10-15

Similar Documents

Publication Publication Date Title
WO2014187258A1 (en) Traffic control method and apparatus
US9119051B2 (en) Apparatus and methods for selecting services of mobile network operators
US9906945B2 (en) Apparatus and methods for provisioning devices to utilize services of mobile network operators
US10028131B2 (en) Apparatus and methods for distributing credentials of mobile network operators
US8982781B2 (en) Control of a mobile device
EP2950484A1 (en) Device control method, network device, and network system
CN104219653A (en) Method and device for controlling double-card Internet access
CN103685474A (en) File downloading method and file downloading device
CN102780987B (en) Communication means and communication terminal
CN104469970B (en) A kind of method and apparatus reconnecting data network
US20240022523A1 (en) Communication control method
JP5181535B2 (en) Incoming call restriction method, switching apparatus, and communication system
CN103297600A (en) Mobile terminal and method for automatically rebooting system of mobile terminal
CN105357373A (en) Method and system for simultaneously using plurality of networks based on Android system
US20220006841A1 (en) Remote management of a user device
WO2012095918A1 (en) Remote control system, relay device, communication device, and remote control method
WO2019205133A1 (en) Vpn line handover method, apparatus and electronic device
EP3386222B1 (en) Method and apparatus for implementing mobile broadband device service
EP2907359B1 (en) Method for the reduction of signalling traffic on mobile devices
US8032928B2 (en) Methods, devices, and computer program products for controlling wireless connection access
WO2017206620A1 (en) Method and apparatus for setting state of application program
CN110311815B (en) Method, device, equipment and storage medium for realizing switching of Ethernet working mode
CN108135009B (en) Wireless communication control method, first electronic device, and readable storage medium
EP2947904A1 (en) Subscription management
US20200229247A1 (en) Network management method, wireless access device, terminal, system and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14801006

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14801006

Country of ref document: EP

Kind code of ref document: A1