WO2014086169A1 - 流量上报的方法、装置和网络流量统计方法及装置 - Google Patents

流量上报的方法、装置和网络流量统计方法及装置 Download PDF

Info

Publication number
WO2014086169A1
WO2014086169A1 PCT/CN2013/081209 CN2013081209W WO2014086169A1 WO 2014086169 A1 WO2014086169 A1 WO 2014086169A1 CN 2013081209 W CN2013081209 W CN 2013081209W WO 2014086169 A1 WO2014086169 A1 WO 2014086169A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
network traffic
traffic
plug
network
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2013/081209
Other languages
English (en)
French (fr)
Inventor
徐林
黄国腾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to EP13860101.8A priority Critical patent/EP2930967A4/en
Priority to RU2015120170A priority patent/RU2619723C2/ru
Priority to US14/443,447 priority patent/US9693255B2/en
Publication of WO2014086169A1 publication Critical patent/WO2014086169A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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 specially adapted for data communications, e.g. authentication, authorisation and accounting [AAA] framework
    • H04L12/1432Metric aspects
    • H04L12/1435Metric aspects volume-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0882Utilisation of link capacity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/02Resource partitioning among network components, e.g. reuse partitioning
    • H04W16/06Hybrid resource partitioning, e.g. channel borrowing
    • H04W16/08Load shedding arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution

Definitions

  • the present invention relates to the field of communications, and in particular to a method, an apparatus, and a network traffic statistics method and apparatus for traffic reporting.
  • BACKGROUND OF THE INVENTION Since the 3G era, on the communication network, with the explosive growth of 3G/4G and the popularity of smart phones, the mobile Internet has developed rapidly, and the traffic has increased greatly, exceeding the expectations of operators. Limited mobile spectrum resources are occupied in large quantities, but A large number of occupied spectrum resources produce only a small amount of economic benefits. On the other hand, the voice communication market has become saturated on mobile or fixed networks. The value-added services such as SMS and CRBT based on voice communication have been declining. The development of Internet services has brought data services to telecom operators.
  • the operator cannot grasp the traffic demand of the application on the user side in different time periods, and cannot operate and manage according to the usage of the traffic on the user side.
  • SUMMARY OF THE INVENTION The present invention provides a method, an apparatus, and a network traffic statistics method and apparatus for reporting traffic, so as to at least solve the related art, the operator cannot grasp the traffic demand of the application on the user side in different time periods, and cannot use the application according to the user side.
  • a method for traffic reporting including: acquiring, by the application, network traffic of the application; and the application reporting the network traffic.
  • the acquiring, by the application, the network traffic of the application comprises: acquiring, by the application, network traffic of the application according to a network type.
  • the application obtains the network traffic of the application, where: the plug-in embedded in the application acquires network traffic of the application according to a network type, where the plug-in is a website that publishes the application and is embedded in the application. Plugin.
  • the acquiring the network traffic of the application includes: acquiring network traffic of the application according to a first predetermined time; and collecting network traffic of the application under different networks according to a predetermined policy.
  • acquiring the network traffic of the application according to the first predetermined time comprises: when the application is started, reading network traffic through the terminal according to the first predetermined time, wherein the network traffic includes at least one of the following : Total number of bytes received/sent, the total number of received/sent packets, the total number of bytes received/transmitted, the total number of received/transmitted packets, and the number of transmitted/received bytes of the network user identification number UID .
  • the network type includes at least one of the following: a wireless local area network WLAN, a mobile cellular network, a long term evolution system LTE, and an advanced long term evolution system LTE-A.
  • the reporting, by the application, the network traffic includes: reporting network traffic according to a second predetermined time, where the statistical network traffic carries at least the following information: an international mobile subscriber identifier IMSI, the application Address information, data traffic corresponding to different networks.
  • a network traffic statistics method including: a website acquiring an application address ID of an application; the website embedding a plug-in and the application ID in the application, where the plug-in is used to obtain The network traffic of the application; the website provides an application for embedding the plug-in and the application ID to the user; and the website receives the network traffic of the application reported by the plug-in.
  • the method further includes: the plug-in acquiring network traffic of the application according to a network type.
  • an apparatus for traffic reporting including: a first acquiring module, configured to acquire network traffic of the application; and a reporting module, configured to report the network traffic.
  • the first obtaining module includes: an acquiring unit, configured to acquire network traffic of the application according to a first predetermined time; and a statistics unit, configured to collect, according to a predetermined policy, the network traffic of the application under different networks.
  • a network traffic statistics apparatus including: a second obtaining module, configured to acquire an application address ID of an application; and an embedding module, configured to embed the plug-in and the application ID into the application,
  • the plug-in is configured to acquire network traffic of the application
  • the display module is configured to provide a user with embedded
  • the receiving module is configured to receive network traffic of the application reported by the plug-in.
  • the embodiment of the present invention adopts the following method: The application obtains the network traffic of the application itself, and reports the obtained network traffic.
  • the operator can grasp the user through the reported network traffic.
  • the usage of the traffic of the application on the side and then the operation and management of the network traffic according to the usage of the traffic by the user, thereby improving the supervision of the network traffic.
  • FIG. 1 is a flow chart of a method for reporting traffic according to an embodiment of the present invention
  • FIG. 2 is a block diagram of a device for reporting traffic according to an embodiment of the present invention
  • FIG. 3 is a flow report according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a network traffic statistics method according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a network traffic statistics device according to an embodiment of the present invention
  • FIG. 7 is a flow chart of a method for reporting statistics of an application flow plug-in according to a preferred embodiment of the present invention
  • FIG. 7 is a flow chart 1 of a method for reporting statistics of an application flow plug-in according to a preferred embodiment of the present invention
  • FIG. 8 is a flowchart of a preferred embodiment of the present invention.
  • the flow chart of the terminal application flow plug-in reporting statistical method is shown in FIG. 2
  • FIG. 9 is a schematic structural diagram of the terminal application traffic plug-in reporting statistical system according to the second embodiment of the present invention.
  • step S102 The application obtains the network traffic of the application.
  • step S104 the application reports the network traffic.
  • This embodiment adopts the following method: The application obtains the network traffic of the application itself, and reports the obtained network traffic.
  • the application of the present embodiment solves the problem that the operator cannot grasp the traffic demand of the application on the user side in different time periods, and cannot perform operation management according to the usage of the traffic on the user side application.
  • the operator can grasp the user side through the network traffic reported by the application.
  • the usage of the application's traffic, and then the operation and management of network traffic based on the user's use of traffic, and the supervision of network traffic is improved.
  • the application obtains the network traffic of the application, the network traffic of the application can be obtained according to the network type.
  • the application is applied to a common application, and the plug-in for acquiring network traffic is embedded in the application.
  • the plug-in in the application obtains the network traffic of the application according to the network type, wherein the plug-in is the website for publishing the application in the application.
  • Embedded plugin When the application is started, the application may acquire data traffic of the application according to a preset first predetermined time; and collect data traffic of the application under different networks according to a predetermined policy.
  • the network type includes at least one of the following: WLAN, mobile cellular network, LTE, LTE-A; data traffic includes at least one of the following: the total number of bytes received/transmitted, the total number of received/transmitted data packets, The total number of bytes received/transmitted, the total number of received/transmitted packets, and the number of transmitted/received bytes of the network user identification number UID.
  • the predetermined policy may be a time period information or network traffic information of which network is reported, for example, the network traffic of the mobile cellular network may be obtained according to the time period information, and the time may be from 17:00 to 20:00. The network traffic of the mobile cellular network is reported and reported in 10 minutes.
  • the application reports the network traffic.
  • the plug-in in the application reports the network traffic
  • the network traffic is reported according to the second predetermined time.
  • the statistical network traffic carries at least the following information: IMSI, application address information, and data traffic corresponding to different networks.
  • the second predetermined time recorded in the process may be the same as or different from the first predetermined time.
  • the embodiment of the present invention further provides an apparatus for applying the foregoing method for reporting traffic.
  • the structural block diagram of the apparatus for reporting the traffic may be as shown in FIG. 2, and includes: a first acquiring module 10, configured to acquire a network flow of an application.
  • FIG. 3 also shows a structural block diagram of the first obtaining module 10.
  • the first obtaining module 10 of the figure includes: an obtaining unit 102, configured to acquire data traffic of an application according to a first predetermined time; a statistical unit 104, and an obtaining unit 102 Coupling, set to count data traffic applied under different networks according to a predetermined policy.
  • the embodiment of the present invention further provides a network traffic statistics method.
  • the process of the method is as shown in FIG. 4, and includes steps S402 to S408.
  • Step S402 the website acquires an application address ID of the application.
  • Step S404 the website embeds the plug-in and the application ID into the application, where the plug-in is used to obtain the network flow of the application.
  • Step S406 the website provides the user with the embedded embedded application and the application ID.
  • Step S408 The website receives the network traffic of the application reported by the plugin.
  • the plug-in of the application of the user side acquires the network traffic of the application according to the network type.
  • the method for obtaining the network traffic is similar to the method for reporting the traffic, that is, the plug-in acquires the data traffic of the application according to the first predetermined time; and collects the data traffic applied to the different network according to the predetermined policy.
  • the embodiment further provides a network traffic statistics device, where the device can apply the foregoing network traffic statistics method, and the structural block diagram thereof can be as shown in FIG. 5, including: a second obtaining module 30, configured to Obtaining an application address ID of the application; the embedding module 40 is coupled to the second obtaining module 30, and configured to embed the plug-in and the application ID into the application, where the plug-in is used to obtain network traffic of the application; the display module 50 is coupled to the embedding module 40, The application is provided to provide the user with the embedded plug-in and the application ID.
  • the receiving module 60 is coupled to the display module 50 and configured to receive the network traffic of the application reported by the plug-in.
  • the method for reporting the application traffic plug-in on the terminal side includes: the application provider first obtains the traffic statistics plug-in; the provider first provides the application to the website to obtain the application ID; and the application provider obtains the traffic plug-in from the Internet website of the application to be published.
  • the help document, wherein the traffic plug-in is: a development kit provided by the website.
  • the application developer adds the plug-in, application ID and other related files to the application, and then uploads the application embedded with the plug-in again.
  • the preferred embodiment further provides a terminal application traffic plug-in reporting statistics system, including: a traffic plug-in unit configured to acquire application traffic, wherein the traffic plug-in unit transmits traffic according to a transmission policy; and an internet website unit is configured to provide a receiving provider Or upload the app, and post it on the internet site for users to download and use; the statistics unit, which provides traffic queries and statistics.
  • the traffic statistics method and system provided by the preferred embodiment report the application traffic through the plug-in, implement accurate traffic statistics on the application, and implement reasonable and effective operation of the traffic.
  • the preferred embodiment provides a terminal application traffic plug-in reporting method, which is applied in a network system. As shown in FIG. 6, the method includes steps S602 to S606. Step S602, the developer uploads an application embedded with the plugin, where the plugin is used to count the network flow of the application.
  • the process may also be performed according to the following process.
  • the process is as shown in FIG. 7, and includes steps S6022 to S6028.
  • the application developer first obtains the traffic statistics plug-in and the help documentation; in this step, the developer generally obtains the traffic plug-in and help documentation for the website.
  • the application embeds the traffic plugin and the application ID.
  • the developer embeds the assigned application ID and the acquired traffic plugin into the application.
  • S6028 upload the app.
  • the developer uploads the application again, where the provided application has been updated.
  • Step S604 the user side downloads the application download, and collects network traffic when the application is used again.
  • the process may also be as shown in FIG. 8, the step S6042 to the step S6046.
  • S6042 the application is displayed in the portal; in this step, the general website is responsible for publishing the application in the portal display.
  • the user downloads the application to the terminal.
  • the user browses the website and downloads the application to the terminal, where the terminal includes, but is not limited to, a mobile phone, a PC, a tablet, a set top box, or a television.
  • the plug-in when the application starts, the plug-in periodically reads the traffic data of the application and records it.
  • the user launches the application, and the plug-in periodically reads the traffic data of the application and records it.
  • the plug-in can read a variety of network traffic. For example, the plug-in periodically reads the total number of bytes received through the terminal connection; the plug-in periodically reads the total number of packets received through the terminal connection; the plug-in periodically reads through the terminal.
  • the traffic statistics plug-in periodically reports the traffic data to the server according to the policy.
  • the reported data must carry the IMSI number, application ID, traffic, traffic type (WIFI, 3G, 4G/LTE, broadband, etc.).
  • the plugin obtains the traffic reporting policy from the service side.
  • the plug-in reports traffic according to the traffic reporting policy.
  • the request message body is given by XML:
  • the preferred embodiment further provides a terminal application flow plug-in reporting statistics system, and the system can apply the foregoing method.
  • the method includes: a traffic plug-in unit 1 configured to obtain an application browsing and report.
  • the traffic plug-in unit further includes: a traffic plug-in timer, a timing trigger logic unit, a traffic plug-in logic unit, a policy according to which policy to send traffic, and obtain traffic; a traffic plug-in interface unit, an interface established on the service side, and transmitting a traffic packet .
  • the internet website unit may further include: an application uploading portal unit, configured to provide a flow plug-in and a help document, and a developer to provide an application with a plug-in; and an application presentation portal unit configured to display the application for download by the end user.
  • Statistical unit 3 set to store traffic statistics in the database for query and statistics.
  • the present invention achieves the following technical effects:
  • the operator can grasp the user through the reported network traffic.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • the computing device may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种流量上报的方法、装置和网络流量统计方法及装置,其中,该流量上报的方法包括:应用获取应用的网络流量(S102);应用将网络流量进行上报(S104)。通过运用本发明,解决了运营商无法掌握用户侧的应用在不同时段的流量需求,无法根据用户侧应用使用流量的情况进行运营管理的问题,运营商可以通过应用上报的网络流量掌握用户侧的应用的流量的使用情况,进而根据用户对流量的使用情况进行网络流量的运营与管理,提高了对网络流量的监管。

Description

流量上报的方法、 装置和网络流量统计方法及装 技术领域 本发明涉及通信领域, 具体而言, 涉及一种流量上报的方法、 装置和网络流量统 计方法及装置。 背景技术 进入 3G时代以来, 在通信网络上, 随着 3G/4G爆发性增长和智能手机普及, 移 动互联网发展一日千里, 流量猛增大大超过运营商预期, 有限的移动频谱资源却被大 量占用, 但大量被占用的频谱资源却只产生了很少的经济效益。 另一方面, 无论在移动还是固定网络, 语音通信市场目前已经趋向饱和, 基于语 音通信的短信、 彩铃等增值业务已经有下降的趋势; 而互联网业务的发展, 给电信运 营商带来了数据业务流量的巨大提升, 流量成为运营商最有价值的增长点。 但是, 运营商们在这一转型过程中, 暴露出了很多问题, 从组网、 收费、 终端到 业务提供, 都出现了瓶颈。 运营商无法掌握用户侧的应用在不同时段的流量需求, 无 法根据用户侧应用使用流量的情况进行运营管理。 发明内容 本发明提供了一种流量上报的方法、 装置和网络流量统计方法及装置, 以至少解 决相关技术中, 运营商无法掌握用户侧的应用在不同时段的流量需求, 无法根据用户 侧应用使用流量的情况进行运营管理的问题。 根据本发明的一个方面, 提供了一种流量上报的方法, 包括: 应用获取所述应用 的网络流量; 所述应用将所述网络流量进行上报。 优选地, 应用获取所述应用的网络流量包括: 所述应用按照网络类型获取所述应 用的网络流量。 优选地, 应用获取所述应用的网络流量包括: 所述应用中嵌入的插件按照网络类 型获取所述应用的网络流量, 其中, 所述插件是发布所述应用的网站在所述应用中嵌 入的插件。 优选地, 应用获取所述应用的网络流量包括: 按照第一预定时间获取所述应用的 网络流量; 根据预定策略统计所述应用在不同网络下的网络流量。 优选地, 按照第一预定时间获取所述应用的网络流量包括: 当所述应用启动时, 按照所述第一预定时间读取通过终端的网络流量, 其中, 所述网络流量至少包括以下 之一: 连接收到 /发送的字节总数, 连接收到 /发送的数据包总数, 接收 /发送的字节总 数, 接收 /发送的数据包总数, 获取网络用户识别号 UID的发送 /接收字节数。 优选地, 所述网络类型至少包括以下之一: 无线局域网 WLAN, 移动蜂窝网络, 长期演进系统 LTE, 高级长期演进系统 LTE-A。 优选地, 所述应用将所述网络流量进行上报包括: 按照第二预定时间上报统计的 网络流量, 其中, 所述统计的网络流量至少携带有以下信息: 国际移动用户标识符 IMSI, 所述应用的地址信息, 不同网络对应的数据流量。 根据本发明的另一个方面, 提供了一种网络流量统计方法, 包括: 网站获取应用 的应用地址 ID; 所述网站将插件和所述应用 ID嵌入所述应用, 其中, 所述插件用于 获取所述应用的网络流量; 所述网站向用户提供嵌入了所述插件和所述应用 ID 的应 用; 所述网站接收所述插件上报的所述应用的网络流量。 优选地, 所述网站接收所述插件上报的所述应用的网络流量之前, 还包括: 所述 插件按照网络类型获取所述应用的网络流量。 优选地, 所述插件按照网络类型获取所述应用的网络流量包括: 所述插件按照第 一预定时间获取所述应用的网络流量; 根据预定策略统计所述应用在不同网络下的网 络流量。 根据本发明的又一个方面, 提供了一种流量上报的装置, 包括: 第一获取模块, 用于获取所述应用的网络流量; 上报模块, 用于将所述网络流量进行上报。 优选地, 所述第一获取模块包括: 获取单元, 设置为按照第一预定时间获取所述 应用的网络流量; 统计单元, 设置为根据预定策略统计所述应用在不同网络下的网络 流量。 根据本发明的再一个方面, 提供了一种网络流量统计装置, 包括: 第二获取模块, 设置为获取应用的应用地址 ID; 嵌入模块, 设置为将插件和所述应用 ID嵌入所述应 用, 其中, 所述插件用于获取所述应用的网络流量; 展示模块, 设置为向用户提供嵌 入了所述插件和所述应用 ID的应用;接收模块,设置为接收所述插件上报的所述应用 的网络流量。 本发明实施例采用了如下方法: 应用获取该应用自身的网络流量, 并将获取的网 络流量进行上报。 通过运用本发明实施例, 解决了运营商无法掌握用户侧的应用在不 同时段的流量需求, 无法根据用户侧应用使用流量的情况进行运营管理的问题, 运营 商可以通过应用上报的网络流量掌握用户侧的应用的流量的使用情况, 进而根据用户 对流量的使用情况进行网络流量的运营与管理, 提高了对网络流量的监管。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中- 图 1是根据本发明实施例的流量上报的方法的流程图; 图 2是根据本发明实施例的流量上报的装置的结构框图; 图 3是根据本发明实施例的流量上报的装置的第一获取模块的结构框图; 图 4是根据本发明实施例的网络流量统计方法的流程图; 图 5是根据本发明实施例的网络流量统计装置的结构框图; 图 6是根据本发明优选实施例二的应用流量插件上报统计方法的流程图; 图 7是根据本发明优选实施例二的应用流量插件上报统计方法的步骤流程图一; 图 8是根据本发明优选实施例二的终端应用流量插件上报统计方法的步骤流程图 二; 图 9 是根据本发明优选实施例二的终端应用流量插件上报统计系统的结构示意 图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 基于相关技术中, 运营商无法掌握用户侧的应用在不同时段的流量需求, 无法根 据用户侧应用使用流量的情况进行运营管理的问题, 本发明提供了一种流量上报的方 法, 该方法的流程如图 1所示, 包括步骤 S102至步骤 S104。 步骤 S102, 应用获取应用的网络流量; 步骤 S 104, 应用将网络流量进行上报。 本实施例采用了如下方法: 应用获取该应用自身的网络流量, 并将获取的网络流 量进行上报。 通过运用本实施例, 解决了运营商无法掌握用户侧的应用在不同时段的 流量需求, 无法根据用户侧应用使用流量的情况进行运营管理的问题, 运营商可以通 过应用上报的网络流量掌握用户侧的应用的流量的使用情况, 进而根据用户对流量的 使用情况进行网络流量的运营与管理, 提高了对网络流量的监管。 在应用获取该应用的网络流量时, 可以按照网络类型获取该应用的网络流量。 该 应用于普通的应用不同, 该应用中嵌入了的用于获取网络流量的插件, 实现时, 该应 用中的插件按照网络类型获取应用的网络流量, 其中, 插件是发布应用的网站在应用 中嵌入的插件。 当应用启动时, 该应用可以按照预先设置的第一预定时间获取应用的数据流量; 根据预定策略统计该应用在不同网络下的数据流量。 其中, 网络类型至少包括以下之 一: WLAN, 移动蜂窝网络, LTE, LTE-A; 数据流量至少包括以下之一: 连接收到 / 发送的字节总数, 连接收到 /发送的数据包总数, 接收 /发送的字节总数, 接收 /发送的 数据包总数, 获取网络用户识别号 UID的发送 /接收字节数。 实现时,预定策略可以是一个时间段信息或者是上报哪种网络的网络流量信息等, 例如, 可以按照时间段信息获取移动蜂窝网络的网络流量, 则可以在 17:00-20:00的时 间段内 10分钟统计一次移动蜂窝网络的网络流量进行上报。 在获取了应用的网络流量后, 该应用将网络流量进行上报, 实际上, 也可以说是 该应用中的插件将网路流量进行上报, 则按照第二预定时间上报统计的网络流量, 其 中, 统计的网络流量至少携带有以下信息: IMSI, 应用的地址信息, 不同网络对应的 数据流量。 该过程记载的第二预定时间可以与第一预定时间相同, 也可以不同。 本发明实施例还提供了一种能够应用上述流量上报的方法的装置, 该流量上报的 装置的结构框图可以如图 2所示, 包括: 第一获取模块 10, 设置为获取应用的网络流 图 3还示出了第一获取模块 10的结构框图, 该图的第一获取模块 10包括: 获取 单元 102, 设置为按照第一预定时间获取应用的数据流量; 统计单元 104, 与获取单元 102耦合, 设置为根据预定策略统计应用在不同网络下的数据流量。 本发明实施例还提供了一种网络流量统计方法, 该方法的流程如图 4所示, 包括 步骤 S402至步骤 S408。 步骤 S402, 网站获取应用的应用地址 ID; 步骤 S404, 网站将插件和应用 ID嵌入应用, 其中, 插件用于获取应用的网络流
步骤 S406, 网站向用户提供嵌入了插件和应用 ID的应用; 步骤 S408, 网站接收插件上报的应用的网络流量。 在实现上述方法的过程中, 网站接收插件上报的应用的网络流量之前, 用户侧的 应用的插件按照网络类型获取应用的网络流量。 其获取网络流量的方式与上述流量上 报的方法类似, 即插件按照第一预定时间获取应用的数据流量; 根据预定策略统计应 用在不同网络下的数据流量。 基于上述网络流量统计方法, 本实施例还提供了一种网络流量统计装置, 该装置 可以应用上述网络流量统计方法, 其结构框图可以如图 5所示, 包括: 第二获取模块 30, 设置为获取应用的应用地址 ID; 嵌入模块 40, 与第二获取模块 30耦合, 设置为 将插件和应用 ID嵌入应用, 其中, 插件用于获取应用的网络流量; 展示模块 50, 与 嵌入模块 40耦合, 设置为向用户提供嵌入了插件和应用 ID的应用; 接收模块 60, 与 展示模块 50耦合, 设置为接收插件上报的应用的网络流量。 通过运用本发明的上述实施例, 可以还原数据流量真正的价值, 对用户侧的单一 应用的数据流量进行监控与管理, 加快整合创新, 是运营商掌握流量时代先机。 下面结合优选实施例说明本发明实施例的上述方法。 在下面的优选实施例中, 当 其涉及装置时, 其模块的命名可能与上述实施例中的命名略有不同, 但装置的整体能 实现与上述实施例相同的功能。 优选实施例一 本优选实施例提供了一种终端应用流量插件上报统计方法和系统。 在本优选实施 例中, 为了解决相关技术中运营商无法得知用户侧的应用的网络流量使用情况, 进而 无法根据用户侧的应用的流量情况进行管理的技术问题, 其采用的技术方案如下: 对于终端侧的应用流量插件上报统计方法包括:应用提供者先获得流量统计插件; 提供者先提供应用到网站,得到应用 ID;应用提供者再从所要发布应用的互联网网站, 获取流量插件与相关帮助文档, 其中, 所述流量插件为: 网站提供的开发包。 应用开发者将插件、应用 ID等相关文件加入到应用中, 然后, 再次上传嵌入了插 件的应用。 在上报流量时, 开发包会将流量数据上报给服务端 (即运营商侧)。 本优选实施例还提供了一种终端应用流量插件上报统计系统, 包括: 流量插件单 元, 设置为获取应用流量, 其中, 流量插件单元按传输策略传输流量; 互联网网站单 元, 设置为接收提供者提供或上传的应用, 并发布在互联网网站让用户下载使用; 统 计单元, 提供流量的查询和统计。 本优选实施例提供的流量统计方法和系统通过插件上报应用流量, 实现应用上的 流量精确统计, 实现流量的合理有效经营。 优选实施例二 本优选实施例提供了一种终端应用流量插件上报统计方法, 应用在网络系统中, 如图 6所示, 该方法包括步骤 S602至步骤 S606。 步骤 S602, 开发者上传嵌入了插件的应用, 其中, 该插件用于统计应用的网络流
在述步骤 S602实施的过程中, 其还可以按照以下流程执行, 其流程如图 7所示, 包括步骤 S6022至步骤 S6028。
S6022, 应用开发者先获得流量统计插件和帮助文档; 在该步骤,中, 一般由开发 者从为网站获取流量插件和帮助文档。
S6024, 提供应用得到应用 ID。 在该步骤中, 当开发者希望在应用上流量插件时, 首先需要提供应用待网站分配应用 ID。
S6026, 应用嵌入流量插件和应用 ID。在该步骤中, 开发者把分配的应用 ID和获 取的流量插件嵌入应用。 S6028, 上传应用。 在该步骤中, 开发者再次上传应用, 其中, 提供的应用已经被 更新。 步骤 S604, 用户侧下载该应用下载, 并再使用该应用时统计网络流量。 其中, 在实施过程中, 其流程还可以如图 8所示, 该步骤 S6042至步骤 S6046。 S6042, 应用在门户进行展示; 在该步骤中, 一般网站负责发布应用在门户展示。
S6044, 用户下载应用到终端。 在该步骤中, 用户浏览网站, 下载应用到终端, 这 里终端包括但不限于手机, PC, 平板电脑, 机顶盒或电视等。
S6046, 当应用启动时, 插件定时读取该应用的流量数据, 并记录。 在该步骤中, 用户启动应用, 插件会定时读取该应用的流量数据, 并记录。 当应用启动时, 插件可以读取多种网络流量, 例如, 插件定时读取通过终端连接 收到的字节总数; 插件定时读取通过终端连接收到的数据包总数; 插件定时读取通过 终端发送的总字节数; 插件定时读取通过终端发送的总数据包数; 插件定时读取通过 终端总的接受字节数; 插件定时读取通过终端总的接受数据包数; 插件定时读取通过 终端总的发送字节数; 插件定时读取通过终端发送的总数据包数; 插件定时读取通过 终端获取某个网络 UID的接受字节数;插件定时读取通过终端获取某个网络 UID的发 送字节数。 步骤 S606, 将统计的网络流量进行上报。 流量统计插件定时按策略将流量数据上 报给服务端,上报数据中须带 IMSI号码,应用 ID,流量,流量类型(WIFI, 3G, 4G/LTE, 宽带等) 等数据。 当应用启动时, 插件从服务侧获取流量上报策略。 其中, 接口定义如下: 接口调用方向: 手机客户端- ->业务接口机; 接口采用 HTML+XML形式; 请求采 用 post方式; 请求 URL: http://ip:port/servicedata.do?serviceid= UpFlowsRequest; 空数 据请求即可。 对于响应, 响应消息体按 XML给出: <?xml version:" 1.0" encoding="UTF-8"?>
<Response>
<GetMessageRsp> <HRet>XXX</HRet>//0-成功 1-失败
<Policy>XXX</ Policy >//策略反馈: 1-默认策略 (如无特殊要求, 一 律应答 1 ) 2-谨慎策略 3-慎重策略 4-关闭 5、 6、 7、 8、 9、 10未确定
<Desc>XXX</ Desc >//上报结果描述
</GetMessageRsp>
</Response> 上述程序中的字段的描述可以如表 1所示。 表 1
Figure imgf000009_0001
当获取流量上报策略时, 插件根据流量上报策略上报流量。其中, 接口定义如下: 接口调用方向: 手机客户端- ->业务接口机; 接口采用 HTML+XML形式; 请求采 用 ost方式; 请求 URL: http:〃 ip:port/servicedata.do?serviceid=UpFlows。 请求消息体按 XML给出:
<?xml version:" 1.0" encoding="UTF-8"?>
<Request> <GetMessageReq>
<IMEI>XXX</IMEI>//imei号
<IMSI>XXX</IMSI>//imsi号
<USERAGENT>XXX</USERAGENT>//手机 UA信息
<IntemalIP>XXX</IntemalIP>〃手机 IP信息 (内网 IP) <POLICY>XXX</POLICY>//流量统计策略 <PREASSEMBLE>XXX</PREASSEMBLE>//客户端版本渠道号
<USERACCO環 T>XXX</USERACCO環 T>〃useraccount号
<STARTTIME>XXX</STARTTIME>〃开始时间 <ENDTIME>XXX</ENDTIME>//结束时间
<EXTENDEDDATA1>XXX</ EXTENDEDDATA1>//扩展字段 1
<EXTENDEDDATA2>XXX</ EXTENDEDDATA2>//扩展字段 2
<EXTENDEDDATA1>XXX</ EXTENDEDDATA1>//扩展字段 3
<app>//—个请求最多上报 200个应用的流量 (200条之外不考虑,按照大小排序),每 天上传不超过 100Kbyte.按照服务器启动时间 12小时上报一次
<APPID>XXX</APPID>〃应用 ID
<APPNAME>XXX</APPNAME>//应用名称
<UPLOAD>XXX</UPLOAD>
<UPLOADTYPE>XXX</UPLOADTYPE> <RECEIVE>XXX</RECEIVE>
<RECEIVETYPE>XXX</RECEIVETYPE>
<APPChannel>XXX</APPChannel>//应用渠道号
</app>
< app> </app>
</GetMessageReq> </Request> 在上述消息体参数中, 请求参数的描述可以如下述的表 2所示, 表 2
Figure imgf000011_0001
对于响应, 响应消息体按 XML给出: <?xml version:" 1.0" encoding="UTF-8"?> <Response>
<GetMessageRsp>
<HRet>XXX</HRet>//0-成功 1-失败 <Desc>XXX</ Desc >//上报结果描述 </GetMessageRsp> </Response> 上述程序中的字段的描述可以如表 3所示。 表 3
Figure imgf000012_0001
本优选实施例还提供一种终端应用流量插件上报统计系统, 该系统可以应用上述 方法, 如图 9所示, 包括: 流量插件单元 1, 设置为获取应用浏览并上报。 其中, 该流量插件单元还包括: 流量插件定时器, 定时触发逻辑单元; 流量插件逻辑单元, 决策按何种策略发送流量, 获取流量; 流量插件接口单元, 建立于服务侧的接口并传输流量包。 互联网网站单元 2, 设置为提供流量插件, 让开发者提供应用, 让终端用户下载 使用; 提供流量传输策略 (所有流量, 传递 imei useraccout appname receive startime+ 总流量 (wifi/3g), 只传总流量(wifi/3g), 彻底关闭流量传输)。 其中, 该互联网网站单 元还可以包括: 应用上传门户单元, 设置为提供流量插件和帮助文档, 让开发者提供 带插件的应用; 应用展现门户单元, 设置为展现应用供终端用户下载。 统计单元 3, 设置为把流量统计数据入库, 可供查询和统计。 从以上的描述中, 可以看出, 本发明实现了如下技术效果: 通过运用本发明实施例, 解决了运营商无法掌握用户侧的应用在不同时段的流量 需求, 无法根据用户侧应用使用流量的情况进行运营管理的问题, 运营商可以通过应 用上报的网络流量掌握用户侧的应用的流量的使用情况, 进而根据用户对流量的使用 情况进行网络流量的运营与管理, 提高了对网络流量的监管。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种流量上报的方法, 包括:
应用获取所述应用的网络流量;
所述应用将所述网络流量进行上报。
2. 根据权利要求 1所述的方法, 其中, 应用获取所述应用的网络流量包括:
所述应用按照网络类型获取所述应用的网络流量。
3. 根据权利要求 1所述的方法, 其中, 应用获取所述应用的网络流量包括:
所述应用中嵌入的插件按照网络类型获取所述应用的网络流量, 其中, 所 述插件是发布所述应用的网站在所述应用中嵌入的插件。
4. 根据权利要求 1至 3中任一项所述的方法, 其中, 应用获取所述应用的网络流 量包括:
按照第一预定时间获取所述应用的网络流量;
根据预定策略统计所述应用在不同网络下的网络流量。
5. 根据权利要求 4所述的方法, 其中, 按照第一预定时间获取所述应用的网络流 量包括:
当所述应用启动时, 按照所述第一预定时间读取通过终端的网络流量, 其 中, 所述网络流量至少包括以下之一: 连接收到 /发送的字节总数, 连接收到 / 发送的数据包总数, 接收 /发送的字节总数, 接收 /发送的数据包总数, 获取网 络用户识别号 UID的发送 /接收字节数。
6. 根据权利要求 1至 3中任一项所述的方法, 其中, 所述网络类型至少包括以下 之一: 无线局域网 WLAN, 移动蜂窝网络, 长期演进系统 LTE, 高级长期演进 系统 LTE-A。
7. 根据权利要求 1所述的方法, 其中, 所述应用将所述网络流量进行上报包括: 按照第二预定时间上报统计的网络流量, 其中, 所述统计的网络流量至少 携带有以下信息: 国际移动用户标识符 IMSI, 所述应用的地址信息, 不同网络 对应的数据流量。
8. 一种网络流量统计方法, 包括:
网站获取应用的应用地址 ID;
所述网站将插件和所述应用 ID 嵌入所述应用, 其中, 所述插件用于获取 所述应用的网络流量;
所述网站向用户提供嵌入了所述插件和所述应用 ID的应用; 所述网站接收所述插件上报的所述应用的网络流量。
9. 根据权利要求 8所述的方法, 其中, 所述网站接收所述插件上报的所述应用的 网络流量之前, 还包括:
所述插件按照网络类型获取所述应用的网络流量。
10. 根据权利要求 9所述的方法, 其中, 所述插件按照网络类型获取所述应用的网 络流量包括:
所述插件按照第一预定时间获取所述应用的网络流量;
根据预定策略统计所述应用在不同网络下的网络流量。
11. 一种流量上报的装置, 包括:
第一获取模块, 设置为获取所述应用的网络流量;
上报模块, 设置为将所述网络流量进行上报。
12. 根据权利要求 11所述的装置, 其中, 所述第一获取模块包括:
获取单元, 设置为按照第一预定时间获取所述应用的网络流量; 统计单元, 设置为根据预定策略统计所述应用在不同网络下的网络流量。
13. 一种网络流量统计装置, 包括:
第二获取模块, 设置为获取应用的应用地址 ID;
嵌入模块, 设置为将插件和所述应用 ID 嵌入所述应用, 其中, 所述插件 用于获取所述应用的网络流量;
展示模块, 设置为向用户提供嵌入了所述插件和所述应用 ID的应用; 接收模块, 设置为接收所述插件上报的所述应用的网络流量。
PCT/CN2013/081209 2012-12-05 2013-08-09 流量上报的方法、装置和网络流量统计方法及装置 Ceased WO2014086169A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP13860101.8A EP2930967A4 (en) 2012-12-05 2013-08-09 TRAFFIC REPORT METHOD AND DEVICE, AND NETWORK TRAFFIC COUNTER METHOD AND DEVICE
RU2015120170A RU2619723C2 (ru) 2012-12-05 2013-08-09 Способ и устройство для предоставления отчета о трафике, а также способ и устройство для измерения сетевого трафика
US14/443,447 US9693255B2 (en) 2012-12-05 2013-08-09 Method and apparatus for reporting traffic and method and apparatus for counting network traffic

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2012105161354A CN103428754A (zh) 2012-12-05 2012-12-05 流量上报的方法、装置和网络流量统计方法及装置
CN201210516135.4 2012-12-05

Publications (1)

Publication Number Publication Date
WO2014086169A1 true WO2014086169A1 (zh) 2014-06-12

Family

ID=49652763

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/081209 Ceased WO2014086169A1 (zh) 2012-12-05 2013-08-09 流量上报的方法、装置和网络流量统计方法及装置

Country Status (5)

Country Link
US (1) US9693255B2 (zh)
EP (1) EP2930967A4 (zh)
CN (1) CN103428754A (zh)
RU (1) RU2619723C2 (zh)
WO (1) WO2014086169A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10216549B2 (en) * 2013-06-17 2019-02-26 Seven Networks, Llc Methods and systems for providing application programming interfaces and application programming interface extensions to third party applications for optimizing and minimizing application traffic
CN104506394B (zh) * 2015-01-08 2018-09-11 中国联合网络通信集团有限公司 一种移动互联网流量统计方法和系统
CN107534880B (zh) * 2015-04-15 2020-01-31 华为技术有限公司 一种流量统计方法、装置及终端设备
EP3402121B1 (en) * 2016-02-06 2020-01-08 Huawei Technologies Co., Ltd. Method and device for policy transmission in nfv system
CN107332676B (zh) * 2017-05-26 2020-10-23 天津泰岳小漫科技有限公司 流量统计方法、装置及系统
IT201700071059A1 (it) * 2017-06-26 2018-12-26 Italtel Spa Apparato e metodo per la gestione del traffico in una rete di telecomunicazioni
CN108199924B (zh) * 2018-01-26 2020-02-18 北京邮电大学 基于带内网络遥测的全网流量可视化方法及装置
CN108494753B (zh) * 2018-03-12 2021-08-20 维沃移动通信有限公司 一种数据共享方法及移动终端
CN110839233B (zh) * 2018-08-17 2022-06-17 中国电信股份有限公司 流量统计方法、装置及计算机可读存储介质
CN109769265B (zh) * 2019-01-08 2023-02-28 深圳市网心科技有限公司 一种应用程序流量管理方法、系统、装置及计算机介质
CN111988239B (zh) * 2020-08-21 2022-07-15 哈尔滨工业大学 一种用于Android应用的软件纯净流量获取方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867946A (zh) * 2009-04-16 2010-10-20 北京闻言科技有限公司 一种手机客户端统计网络流量的方法
CN101873640A (zh) * 2010-05-27 2010-10-27 华为终端有限公司 流量处理方法、装置和移动终端
CN102026141A (zh) * 2010-12-27 2011-04-20 中兴通讯股份有限公司 一种流量统计方法、终端和系统
CN102711139A (zh) * 2012-04-24 2012-10-03 华为终端有限公司 一种数据流量统计方法及终端

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2039059A1 (en) * 2006-07-04 2009-03-25 Telefonaktiebolaget Lm Ericsson Charging of gprs traffic for roaming mobiles by performing traffic counting at the user terminal
US8467367B2 (en) * 2007-08-06 2013-06-18 Qualcomm Incorporated Multiplexing and transmission of traffic data and control information in a wireless communication system
GB201009649D0 (en) 2010-06-09 2010-07-21 Roke Manor Research Mobile device and method
CN102629909B (zh) * 2012-03-30 2015-09-16 北京奇虎科技有限公司 基于进程的流量统计方法及系统
US9706466B2 (en) * 2012-05-24 2017-07-11 Telefonaktiebolaget L M Ericsson Peer-to-peer traffic localization

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867946A (zh) * 2009-04-16 2010-10-20 北京闻言科技有限公司 一种手机客户端统计网络流量的方法
CN101873640A (zh) * 2010-05-27 2010-10-27 华为终端有限公司 流量处理方法、装置和移动终端
CN102026141A (zh) * 2010-12-27 2011-04-20 中兴通讯股份有限公司 一种流量统计方法、终端和系统
CN102711139A (zh) * 2012-04-24 2012-10-03 华为终端有限公司 一种数据流量统计方法及终端

Also Published As

Publication number Publication date
RU2619723C2 (ru) 2017-05-17
US20160212648A1 (en) 2016-07-21
RU2015120170A (ru) 2017-01-12
EP2930967A4 (en) 2016-11-30
CN103428754A (zh) 2013-12-04
EP2930967A1 (en) 2015-10-14
US9693255B2 (en) 2017-06-27

Similar Documents

Publication Publication Date Title
WO2014086169A1 (zh) 流量上报的方法、装置和网络流量统计方法及装置
EP3266188B1 (en) Network and application management using service layer capabilities
RU2402877C1 (ru) Способ и устройство для отчета о степени приема потоковой услуги терминалом в системе мобильного вещания и система на их основе
CN104471904B (zh) 用于内容优化的方法和设备
WO2013097593A1 (zh) 监测移动终端上网业务质量的方法、设备及系统
CN103688509B (zh) 业务内容获取方法、提供方法、设备及系统
WO2011017976A1 (zh) 媒体服务方法及系统
US9444858B1 (en) Method and system for self-regulating content download
CN104426660A (zh) 一种Portal认证方法、BNG、Portal服务器和系统
WO2015149531A1 (zh) 物联网终端的固件管理方法、装置及通用服务实体
KR102818117B1 (ko) 단말 디바이스, 인프라스트럭처 장비 및 방법들
US9055387B1 (en) Method and system for self-regulating content download
WO2015062026A1 (zh) 应用服务器、终端设备、网络能力调用系统及方法
WO2020215658A1 (en) Methods and apparatuses for tracing of terminal device
KR100814324B1 (ko) 모바일 방송 서비스 제공 방법 및 그 시스템과 홈미디어 서버
EP2454893B1 (en) Method to discover and subscribe to an enhanced syndicated feed, corresponding mobile electronic device and machine-readable medium
WO2015106524A1 (zh) 业务套餐使用情况的通知/发送方法及装置、服务器
CN116723116A (zh) 一种网络质量参数的采集方法及相关装置
CN103532800B (zh) M2m家居网络及根据该网络进行智能处理的方法
CN107846300B (zh) 一种提供业务接口的方法及装置
WO2015089802A1 (zh) 一种信息处理的方法及装置
WO2014161344A1 (zh) 一种下载统计方法、终端和服务器
US8565737B1 (en) Mobile voice calls to mobile terminated data
US20250097882A1 (en) Method and apparatus for location based group formation
Devkar et al. smartHTTP: Improving rural mobile user experience

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: 13860101

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2013860101

Country of ref document: EP

Ref document number: 14443447

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2015120170

Country of ref document: RU

Kind code of ref document: A