WO2018188102A1 - 流量监听系统 - Google Patents
流量监听系统 Download PDFInfo
- Publication number
- WO2018188102A1 WO2018188102A1 PCT/CN2017/080684 CN2017080684W WO2018188102A1 WO 2018188102 A1 WO2018188102 A1 WO 2018188102A1 CN 2017080684 W CN2017080684 W CN 2017080684W WO 2018188102 A1 WO2018188102 A1 WO 2018188102A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- traffic
- monitoring system
- module
- log
- traffic monitoring
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/02—Capturing of monitoring data
- H04L43/026—Capturing of monitoring data using flow identification
Definitions
- the present invention relates to the field of Internet, and in particular, to a traffic monitoring system.
- the embodiment of the present invention provides a traffic monitoring system, including: a monitoring module, configured to periodically monitor a log generated when a user terminal performs data interaction; and a determining module, configured to determine whether a traffic sharing identifier exists in the log, and if yes, outputting a prompt And a prompting module, configured to control the user terminal to send reminding information according to the prompting signal.
- the traffic monitoring system provided by the present invention can determine whether the user terminal receives the traffic sharing identifier according to the log generated during the data interaction, so that a corresponding response, such as prompting or triggering, can be performed. Thereby, the time for the user's operation can be saved, and the accuracy is high.
- FIG. 1 is a system architecture diagram of a traffic monitoring system according to an embodiment of the present invention.
- FIG. 2 is a system architecture diagram of a traffic monitoring system according to another embodiment of the present invention.
- the present invention provides a traffic monitoring system 100 including at least a monitoring module 10 , a determining module 20 , and a prompting module 30 .
- the traffic monitoring system 100 is configured to monitor whether the user terminal receives the electronic traffic.
- the monitoring module 10 is configured to periodically monitor a log generated when the user terminal performs data interaction.
- the user terminal acquires a picture file from the server, for example, a cover icon of the traffic, that is, when the user terminal and the server perform data interaction,
- the log is written according to the send/receive request, thereby being read by the listening module 10.
- the traffic monitoring system 100 is applied to an open source proxy environment in order to enable the system to be commonly used in systems such as iOS and Android. Therefore, the monitoring module 10 includes the following configuration code:
- the determining module 20 is configured to determine whether a traffic sharing identifier exists in the log, and if yes, output a prompt signal.
- the traffic sharing identifier is a picture identifier of the electronic traffic.
- the prompting module 30 is configured to control the user terminal to send reminding information according to the prompting signal. More specifically, in this embodiment, the event monitoring system includes the following code:
- the monitoring of the log is realized, and when there is traffic, an alarm can be sounded.
- the prompting module 30 can also provide the function of pop-up dialog box according to the needs of the user.
- the number of alarms and the like is not limited to one time, and the time of staying may be adjusted according to actual needs, which is 0.5 second in this embodiment.
- the traffic monitoring system 100 further includes a positioning module 40 and a triggering module 50 to directly provide a corresponding operation signal when determining to generate a specific event.
- the positioning module 40 is configured to: when determining that the traffic sharing identifier exists in the log, locate the trigger signal to the corresponding interaction data interface. For example, when there is a traffic sharing identifier, a dialog box is located according to the identified path, and then a trigger signal is provided in the dialog box.
- the triggering module 50 is configured to trigger a signal equivalent to clicking on the interactive interface according to the positioning module 40.
- the signal that the traffic is turned on is automatically triggered, that is, the signal corresponding to the user clicking the traffic. Thereby, the operation of receiving the flow rate can be automatically completed.
- the traffic monitoring system 100 provided by the present invention can determine whether the user terminal receives the traffic sharing identifier according to the log generated during the data interaction, so that a corresponding response, such as prompting or triggering, can be performed. Thereby, the time for the user's operation can be saved, and the accuracy is high.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
Abstract
一种流量监听系统(100),包括:监听模块(10),用于定时监听用户终端进行数据交互时产生的日志;判断模块(20),用于判断日志中是否存在流量分享标识,如果是,则输出提示信号;以及提示模块(30),用于根据所述提示信号,控制用户终端发出提醒信息。
Description
本发明涉及互联网领域,尤其涉及一种流量监听系统。
微信、微博、facebook等社交平台已经成为人与人之间进行即时沟通的重要工具,而且,在该些平台上,已经开发出越来越多改变人们习惯的软件,例如抢分享流量软件等。然而,抢分享的流量等动作会耗费用户的注意力,用户更希望能够获得一种自动抢流量的工具。然而,在目前普遍流行的两种操作系统Andriod和iOS中,难以实现速度快且准确度高的抢流量功能。原因是:一、Andriod在获得流量请求时,并没有明显文本数据包通过,难以捕捉到需要的判断信号;二、iOS系统虽然每收到消息都有数据包经包,但是二进制的,难以在短时内拆解并解析。
发明内容
本发明实施例提供一种流量监听系统,包括:监听模块,用于定时监听用户终端进行数据交互时产生的日志;判断模块,用于判断日志中是否存在流量分享标识,如果是,则输出提示信号;以及提示模块,用于根据所述提示信号,控制用户终端发出提醒信息。
本发明提供的流量监听系统,能够根据数据交互时产生的日志,确定用户终端是否接收到流量分享标识,从而能够作出对应的反应,例如提示或触发等。由此,能够节省用户操作的时间,并且精确度较高。
图1为本发明一实施例提供的流量监听系统的系统架构图。
图2为本发明另一实施例提供的流量监听系统的系统架构图。
下面结合附图和具体实施例对本发明的技术方案作进一步更详细的描述。显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。
下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。
请参阅图1,本发明提供一种流量监听系统100,至少包括监听模块10、判断模块20以及提示模块30。本实施例中,所述流量监听系统100用于监控用户终端是否收到电子流量。
具体的,所述监听模块10用于定时监听用户终端进行数据交互时产生的日志。在本实施例中,每当用户终端接收到一个流量消息,则用户终端向服务器端获取一个图片文件,例如,流量的封面图标,也就是说,用户终端和服务器之间进行数据交互时,会根据发送/接收请求,写入日志,从而被监听模块10读取到。本实施例中,为了能够使得上述系统通用于iOS以及Andriod等系统,所述流量监听系统100应用于开源代理环境下,因此,所述监听模块10包括如下配置代码:
Worker_processes_1;
events{worker_connections 1024;}
http{server{listen 9999;
location/{proxy_pass http://$http_host$request_uri;}}},其中,所述代码存储在objs目录中。
所述判断模块20用于判断日志中是否存在流量分享标识,如果是,则输出提示信号。本实施例中,所述流量分享标识是电子流量的图片标识。所述提示模块30用于根据所述提示信号,控制用户终端发出提醒信息。更具体的,在本实施例中,所述事件监听系统包括如下代码:
<?php$lastline=””;
while(1)
{$line=‘tail-1/user/local/nginx/logs/access.log’;
if(($lastline!=$line)&&strops($line,”flow”)!==false)
{$cmd=”say–v Bells\”dong\””;
system($cmd);
$cmd=”osascript-e’tell app\”system event;
$lastline=$line;}
通过上述这段代码,实现了对日志的监听,并且在有流量的时候,能够发声报警。可以理解的是,还可以根据用户的需求,所述提示模块30可提供弹出对话框的功能。此外,报警的次数等也不限于1次,停留的时间也可以根据实际需要进行调整,本实施例为0.5秒。
请参阅图2,在另一实施例中,所述流量监听系统100进一步包括定位模块40和触发模块50,以能够在确定产生特定事件时,直接提供对应的操作信号。
具体的,所述定位模块40用于当判断日志中存在流量分享标识时,将触发信号定位到对应的交互数据界面。例如,当存在流量分享标识时,根据标识的路径,定位到某个对话框,然后在该对话框提供触发信号。
所述触发模块50用于根据所述定位模块40,触发等同点击所述交互界面的信号。本实施例中,当定位到流量对话界面时,自动触发流量开启的信号,即相当于用户点击流量的信号。由此,能够自动完成接收流量的动作。
本发明提供的流量监听系统100,能够根据数据交互时产生的日志,确定用户终端是否接收到流量分享标识,从而能够作出对应的反应,例如提示或触发等。由此,能够节省用户操作的时间,并且精确度较高。
最后应说明的是:以上实施例仅用以说明本发明的技术方案而非对其进行限制,尽管参照较佳实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对本发明的技术方案进行修改或者等同替换,而这些修改或者等同替换亦不能使修改后的技术方案脱离本发明技术方案的精神和范围。
Claims (6)
- 一种流量监听系统,包括:监听模块,用于定时监听用户终端进行数据交互时产生的日志;判断模块,用于判断日志中是否存在流量分享标识,如果是,则输出提示信号;以及提示模块,用于根据所述提示信号,控制用户终端发出提醒信息。
- 如权利要求1所述的流量监听系统,进一步包括:定位模块,用于当判断日志中存在流量分享标识时,将触发信号定位到对应的交互数据界面;以及触发模块,用于根据所述定位模块,触发等同点击所述交互界面的信号。
- 如权利要求1所述的流量监听系统,其特征在于,所述流量监听系统应用于开源代理环境下。
- 如权利要求1所述的流量监听系统,其特征在于,所述监听模块包括如下配置代码:Worker_processes_1;events{worker_connections 1024;http{server{listen 9999;location/{proxy_pass http://$http_host$request_uri;}}},其中,所述代码存储在objs目录中。
- 如权利要求1所述的流量监听系统,其特征在于,事件监听系统包括如下代码:<?php$lastline=””;while(1){$line=‘tail-1/user/local/nginx/logs/access.log’;if(($lastline!=$line)&&strops($line,”flow”)!==false){$cmd=”say–v Bells\”dong\””;system($cmd);$cmd=”osascript-e’tell app\”system event;$lastline=$line;}
- 如权利要求1所述的流量监听系统,其特征在于,所述流量分享标识是 电子流量的图片标识。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2017/080684 WO2018188102A1 (zh) | 2017-04-14 | 2017-04-14 | 流量监听系统 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2017/080684 WO2018188102A1 (zh) | 2017-04-14 | 2017-04-14 | 流量监听系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018188102A1 true WO2018188102A1 (zh) | 2018-10-18 |
Family
ID=63793057
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/080684 Ceased WO2018188102A1 (zh) | 2017-04-14 | 2017-04-14 | 流量监听系统 |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2018188102A1 (zh) |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110069632A1 (en) * | 2009-09-21 | 2011-03-24 | Alcatel-Lucent Usa Inc. | Tracking network-data flows |
| CN103117906A (zh) * | 2013-02-27 | 2013-05-22 | 广东欧珀移动通信有限公司 | 一种移动终端共享WiFi热点时的流量监控方法 |
| CN103987060A (zh) * | 2014-05-29 | 2014-08-13 | 清华大学 | 一种流量共享平台 |
| CN104125307A (zh) * | 2014-08-15 | 2014-10-29 | 广东欧珀移动通信有限公司 | 一种数据流量分享方法和装置 |
| CN104410993A (zh) * | 2014-10-31 | 2015-03-11 | 东莞宇龙通信科技有限公司 | 一种流量监控方法、装置、终端及系统 |
| US9237028B1 (en) * | 2012-08-14 | 2016-01-12 | Sprint Spectrum L.P. | Method and apparatus for generating a tethering alert based on a threshold similarity between incoming data and outgoing data |
| CN105812148A (zh) * | 2014-12-30 | 2016-07-27 | 华为技术有限公司 | 一种计费方法、装置及系统 |
| CN106454731A (zh) * | 2016-10-19 | 2017-02-22 | 北京奇虎科技有限公司 | 无线网卡的物理位置更新方法、装置和系统 |
-
2017
- 2017-04-14 WO PCT/CN2017/080684 patent/WO2018188102A1/zh not_active Ceased
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110069632A1 (en) * | 2009-09-21 | 2011-03-24 | Alcatel-Lucent Usa Inc. | Tracking network-data flows |
| US9237028B1 (en) * | 2012-08-14 | 2016-01-12 | Sprint Spectrum L.P. | Method and apparatus for generating a tethering alert based on a threshold similarity between incoming data and outgoing data |
| CN103117906A (zh) * | 2013-02-27 | 2013-05-22 | 广东欧珀移动通信有限公司 | 一种移动终端共享WiFi热点时的流量监控方法 |
| CN103987060A (zh) * | 2014-05-29 | 2014-08-13 | 清华大学 | 一种流量共享平台 |
| CN104125307A (zh) * | 2014-08-15 | 2014-10-29 | 广东欧珀移动通信有限公司 | 一种数据流量分享方法和装置 |
| CN104410993A (zh) * | 2014-10-31 | 2015-03-11 | 东莞宇龙通信科技有限公司 | 一种流量监控方法、装置、终端及系统 |
| CN105812148A (zh) * | 2014-12-30 | 2016-07-27 | 华为技术有限公司 | 一种计费方法、装置及系统 |
| CN106454731A (zh) * | 2016-10-19 | 2017-02-22 | 北京奇虎科技有限公司 | 无线网卡的物理位置更新方法、装置和系统 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10560261B1 (en) | Systems and techniques for capture of trusted media data | |
| US9763100B2 (en) | Instant messaging message processing method and device and storage medium | |
| CN104579934B (zh) | 一种信息处理方法及客户端 | |
| JP7193059B2 (ja) | 音声処理方法、装置、デバイス、プログラム及びコンピュータ記憶媒体 | |
| US9073430B1 (en) | Driver reaction time measurement | |
| CN110912927B (zh) | 工业控制系统中控制报文的检测方法及装置 | |
| WO2019212659A1 (en) | Security for iot home voice assistants | |
| CN109710425B (zh) | 一种消息监听方法和装置 | |
| US20150350193A1 (en) | Authentication information theft detection method, authentication information theft detection device, and computer-readable recording medium storing program for the same | |
| CN111711617A (zh) | 网络爬虫的检测方法、装置、电子设备及存储介质 | |
| CN110995695A (zh) | 异常账户检测方法及装置、电子设备及存储介质 | |
| CN107395650B (zh) | 基于沙箱检测文件识别木马回连方法及装置 | |
| CN112711518B (zh) | 一种日志上传方法和装置 | |
| CN110659441A (zh) | 一种基于区块链的信息发布管理方法及装置 | |
| WO2013189263A1 (zh) | 在移动终端中监控api函数调用的方法和装置 | |
| CN109951345A (zh) | 一种告警处理方法及装置 | |
| CN113114490A (zh) | 一种api调用异常告警方法、装置、设备及介质 | |
| CN104010162B (zh) | 用于通过联网应用与数字视频录像机交互的系统和方法 | |
| WO2020114112A1 (zh) | 基于区块链的智能报警方法及装置、电子设备 | |
| US10015181B2 (en) | Using natural language processing for detection of intended or unexpected application behavior | |
| GB2575400A (en) | A computer system and a computer implemented method for processing gaming data | |
| CN107943724A (zh) | 一种寻找外接设备的方法、装置、终端设备及存储介质 | |
| JP6656281B2 (ja) | セキュアなコンピュータベースの志願者評価を実施するためのシステム、方法、および非一時的コンピュータ可読記録媒体 | |
| CN103595731A (zh) | 用于保护账户安全的系统和方法 | |
| KR102063455B1 (ko) | 라이브 오디오의 이력 아카이브 및 라이브 오디오의 이력 아카이브를 사용하는 방법들 |
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: 17905186 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: 17905186 Country of ref document: EP Kind code of ref document: A1 |