[go: up one dir, main page]

WO2018188102A1 - Flow monitoring system - Google Patents

Flow monitoring system Download PDF

Info

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
Application number
PCT/CN2017/080684
Other languages
French (fr)
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to PCT/CN2017/080684 priority Critical patent/WO2018188102A1/en
Publication of WO2018188102A1 publication Critical patent/WO2018188102A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/026Capturing 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

A flow monitoring system (100), comprising: a monitoring module (10), used to periodically monitor a log generated during data interaction carried out by a user terminal; a determination module (20), used to determine whether there is a traffic sharing indication in the log, and if so, to output a prompt signal; and a prompt module (30), used to control the user terminal to issue reminder information according to the prompt signal.

Description

流量监听系统Traffic monitoring system 技术领域Technical field

本发明涉及互联网领域,尤其涉及一种流量监听系统。The present invention relates to the field of Internet, and in particular, to a traffic monitoring system.

背景技术Background technique

微信、微博、facebook等社交平台已经成为人与人之间进行即时沟通的重要工具,而且,在该些平台上,已经开发出越来越多改变人们习惯的软件,例如抢分享流量软件等。然而,抢分享的流量等动作会耗费用户的注意力,用户更希望能够获得一种自动抢流量的工具。然而,在目前普遍流行的两种操作系统Andriod和iOS中,难以实现速度快且准确度高的抢流量功能。原因是:一、Andriod在获得流量请求时,并没有明显文本数据包通过,难以捕捉到需要的判断信号;二、iOS系统虽然每收到消息都有数据包经包,但是二进制的,难以在短时内拆解并解析。Social platforms such as WeChat, Weibo, and Facebook have become important tools for real-time communication between people. Moreover, on these platforms, more and more software that changes people's habits has been developed, such as sharing traffic software. . However, actions such as grabbing shared traffic can consume the user's attention, and users prefer to have a tool that automatically grabs traffic. However, in the two popular operating systems, Andriod and iOS, it is difficult to achieve fast and accurate traffic grabbing. The reasons are as follows: 1. When Andriod obtains the traffic request, there is no obvious text packet passing, and it is difficult to capture the required judgment signal. Second, although the iOS system has packets for each received message, it is binary, and it is difficult to Disassemble and parse in a short time.

发明内容Summary of the invention

本发明实施例提供一种流量监听系统,包括:监听模块,用于定时监听用户终端进行数据交互时产生的日志;判断模块,用于判断日志中是否存在流量分享标识,如果是,则输出提示信号;以及提示模块,用于根据所述提示信号,控制用户终端发出提醒信息。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.

附图说明DRAWINGS

图1为本发明一实施例提供的流量监听系统的系统架构图。FIG. 1 is a system architecture diagram of a traffic monitoring system according to an embodiment of the present invention.

图2为本发明另一实施例提供的流量监听系统的系统架构图。2 is a system architecture diagram of a traffic monitoring system according to another embodiment of the present invention.

具体实施方式 detailed description

下面结合附图和具体实施例对本发明的技术方案作进一步更详细的描述。显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。The technical solutions of the present invention are further described in detail below with reference to the accompanying drawings and specific embodiments. It is apparent that the described embodiments are only a part of the embodiments of the invention, and not all of them. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.

下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solution of the present invention will be further described in detail below through the accompanying drawings and embodiments.

请参阅图1,本发明提供一种流量监听系统100,至少包括监听模块10、判断模块20以及提示模块30。本实施例中,所述流量监听系统100用于监控用户终端是否收到电子流量。Referring to FIG. 1 , 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 . In this embodiment, the traffic monitoring system 100 is configured to monitor whether the user terminal receives the electronic traffic.

具体的,所述监听模块10用于定时监听用户终端进行数据交互时产生的日志。在本实施例中,每当用户终端接收到一个流量消息,则用户终端向服务器端获取一个图片文件,例如,流量的封面图标,也就是说,用户终端和服务器之间进行数据交互时,会根据发送/接收请求,写入日志,从而被监听模块10读取到。本实施例中,为了能够使得上述系统通用于iOS以及Andriod等系统,所述流量监听系统100应用于开源代理环境下,因此,所述监听模块10包括如下配置代码:Specifically, the monitoring module 10 is configured to periodically monitor a log generated when the user terminal performs data interaction. In this embodiment, each time the user terminal receives a traffic message, 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. In this embodiment, 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:

Worker_processes_1;Worker_processes_1;

events{worker_connections 1024;}Events{worker_connections 1024;}

http{server{listen 9999;Http{server{listen 9999;

location/{proxy_pass http://$http_host$request_uri;}}},其中,所述代码存储在objs目录中。Location/{proxy_pass http://$http_host$request_uri ;}}}, where the code is stored in the objs directory.

所述判断模块20用于判断日志中是否存在流量分享标识,如果是,则输出提示信号。本实施例中,所述流量分享标识是电子流量的图片标识。所述提示模块30用于根据所述提示信号,控制用户终端发出提醒信息。更具体的,在本实施例中,所述事件监听系统包括如下代码:The determining module 20 is configured to determine whether a traffic sharing identifier exists in the log, and if yes, output a prompt signal. In this embodiment, 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:

<?php$lastline=””;<? Php$lastline=””;

while(1)While(1)

{$line=‘tail-1/user/local/nginx/logs/access.log’;{$line=‘tail-1/user/local/nginx/logs/access.log’;

if(($lastline!=$line)&&strops($line,”flow”)!==false)If(($lastline!=$line)&&strops($line,"flow")!==false)

{$cmd=”say–v Bells\”dong\””;{$cmd=”say–v Bells\”dong\””;

system($cmd); System($cmd);

$cmd=”osascript-e’tell app\”system event;$cmd=”osascript-e’tell app\”system event;

$lastline=$line;}$lastline=$line;}

通过上述这段代码,实现了对日志的监听,并且在有流量的时候,能够发声报警。可以理解的是,还可以根据用户的需求,所述提示模块30可提供弹出对话框的功能。此外,报警的次数等也不限于1次,停留的时间也可以根据实际需要进行调整,本实施例为0.5秒。Through the above code, the monitoring of the log is realized, and when there is traffic, an alarm can be sounded. It can be understood that the prompting module 30 can also provide the function of pop-up dialog box according to the needs of the user. In addition, 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.

请参阅图2,在另一实施例中,所述流量监听系统100进一步包括定位模块40和触发模块50,以能够在确定产生特定事件时,直接提供对应的操作信号。Referring to FIG. 2, in another 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.

具体的,所述定位模块40用于当判断日志中存在流量分享标识时,将触发信号定位到对应的交互数据界面。例如,当存在流量分享标识时,根据标识的路径,定位到某个对话框,然后在该对话框提供触发信号。Specifically, 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.

所述触发模块50用于根据所述定位模块40,触发等同点击所述交互界面的信号。本实施例中,当定位到流量对话界面时,自动触发流量开启的信号,即相当于用户点击流量的信号。由此,能够自动完成接收流量的动作。The triggering module 50 is configured to trigger a signal equivalent to clicking on the interactive interface according to the positioning module 40. In this embodiment, when the traffic dialog interface is located, 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.

本发明提供的流量监听系统100,能够根据数据交互时产生的日志,确定用户终端是否接收到流量分享标识,从而能够作出对应的反应,例如提示或触发等。由此,能够节省用户操作的时间,并且精确度较高。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.

最后应说明的是:以上实施例仅用以说明本发明的技术方案而非对其进行限制,尽管参照较佳实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对本发明的技术方案进行修改或者等同替换,而这些修改或者等同替换亦不能使修改后的技术方案脱离本发明技术方案的精神和范围。 It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to be limiting, and the present invention will be described in detail with reference to the preferred embodiments. The technical solutions of the present invention may be modified or equivalently substituted, and the modified technical solutions may not deviate from the spirit and scope of the technical solutions of the present invention.

Claims (6)

一种流量监听系统,包括:A traffic monitoring system includes: 监听模块,用于定时监听用户终端进行数据交互时产生的日志;a monitoring module, configured to periodically monitor a log generated when the user terminal performs data interaction; 判断模块,用于判断日志中是否存在流量分享标识,如果是,则输出提示信号;以及a judging module, configured to determine whether a traffic sharing identifier exists in the log, and if yes, outputting a prompt signal; 提示模块,用于根据所述提示信号,控制用户终端发出提醒信息。The prompting module is configured to control the user terminal to send reminding information according to the prompting signal. 如权利要求1所述的流量监听系统,进一步包括:The traffic monitoring system of claim 1 further comprising: 定位模块,用于当判断日志中存在流量分享标识时,将触发信号定位到对应的交互数据界面;以及The positioning module is configured to: when determining that the traffic sharing identifier exists in the log, locate the trigger signal to the corresponding interaction data interface; 触发模块,用于根据所述定位模块,触发等同点击所述交互界面的信号。And a triggering module, configured to trigger a signal equivalent to clicking on the interactive interface according to the positioning module. 如权利要求1所述的流量监听系统,其特征在于,所述流量监听系统应用于开源代理环境下。The traffic monitoring system of claim 1 wherein said traffic monitoring system is applied to an open source proxy environment. 如权利要求1所述的流量监听系统,其特征在于,所述监听模块包括如下配置代码:The traffic monitoring system according to claim 1, wherein the monitoring module comprises the following configuration code: Worker_processes_1;Worker_processes_1; events{worker_connections 1024;Events{worker_connections 1024; http{server{listen 9999;Http{server{listen 9999; location/{proxy_pass http://$http_host$request_uri;}}},其中,所述代码存储在objs目录中。Location/{proxy_pass http://$http_host$request_uri ;}}}, where the code is stored in the objs directory. 如权利要求1所述的流量监听系统,其特征在于,事件监听系统包括如下代码:The traffic monitoring system of claim 1 wherein the event monitoring system comprises the following code: <?php$lastline=””;<? Php$lastline=””; while(1)While(1) {$line=‘tail-1/user/local/nginx/logs/access.log’;{$line=‘tail-1/user/local/nginx/logs/access.log’; if(($lastline!=$line)&&strops($line,”flow”)!==false)If(($lastline!=$line)&&strops($line,"flow")!==false) {$cmd=”say–v Bells\”dong\””;{$cmd=”say–v Bells\”dong\””; system($cmd);System($cmd); $cmd=”osascript-e’tell app\”system event;$cmd=”osascript-e’tell app\”system event; $lastline=$line;}$lastline=$line;} 如权利要求1所述的流量监听系统,其特征在于,所述流量分享标识是 电子流量的图片标识。 The traffic monitoring system according to claim 1, wherein said traffic sharing identifier is Image identification of electronic traffic.
PCT/CN2017/080684 2017-04-14 2017-04-14 Flow monitoring system Ceased WO2018188102A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/080684 WO2018188102A1 (en) 2017-04-14 2017-04-14 Flow monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/080684 WO2018188102A1 (en) 2017-04-14 2017-04-14 Flow monitoring system

Publications (1)

Publication Number Publication Date
WO2018188102A1 true WO2018188102A1 (en) 2018-10-18

Family

ID=63793057

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/080684 Ceased WO2018188102A1 (en) 2017-04-14 2017-04-14 Flow monitoring system

Country Status (1)

Country Link
WO (1) WO2018188102A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
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 (en) * 2013-02-27 2013-05-22 广东欧珀移动通信有限公司 Flow control method for process of sharing WiFi (wireless fidelity) hot spot for mobile terminals
CN103987060A (en) * 2014-05-29 2014-08-13 清华大学 A traffic sharing platform
CN104125307A (en) * 2014-08-15 2014-10-29 广东欧珀移动通信有限公司 A data flow sharing method and device
CN104410993A (en) * 2014-10-31 2015-03-11 东莞宇龙通信科技有限公司 Method, device, terminal and system for flow monitoring
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 (en) * 2014-12-30 2016-07-27 华为技术有限公司 Charging method, charging device and charging system
CN106454731A (en) * 2016-10-19 2017-02-22 北京奇虎科技有限公司 Physical position updating method of wireless network card, apparatus and system thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
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 (en) * 2013-02-27 2013-05-22 广东欧珀移动通信有限公司 Flow control method for process of sharing WiFi (wireless fidelity) hot spot for mobile terminals
CN103987060A (en) * 2014-05-29 2014-08-13 清华大学 A traffic sharing platform
CN104125307A (en) * 2014-08-15 2014-10-29 广东欧珀移动通信有限公司 A data flow sharing method and device
CN104410993A (en) * 2014-10-31 2015-03-11 东莞宇龙通信科技有限公司 Method, device, terminal and system for flow monitoring
CN105812148A (en) * 2014-12-30 2016-07-27 华为技术有限公司 Charging method, charging device and charging system
CN106454731A (en) * 2016-10-19 2017-02-22 北京奇虎科技有限公司 Physical position updating method of wireless network card, apparatus and system thereof

Similar Documents

Publication Publication Date Title
US10355865B1 (en) Systems and techniques for certification of trusted media data
US9763100B2 (en) Instant messaging message processing method and device and storage medium
CN111031035B (en) A kind of sensitive data access behavior monitoring method and device
CN104579934B (en) A kind of information processing method and client
JP7193059B2 (en) Speech processing method, apparatus, device, program and computer storage medium
US9073430B1 (en) Driver reaction time measurement
WO2019212659A1 (en) Security for iot home voice assistants
WO2016034063A1 (en) Method and client for processing malicious short message based on pseudo base station
CN110912927B (en) Method and device for detecting control message in industrial control system
CN111711617A (en) Method and device for detecting web crawler, electronic equipment and storage medium
CN110995695A (en) Abnormal account detection method and device, electronic device and storage medium
CN107395650B (en) Method and device for identifying Trojan back connection based on sandbox detection file
WO2013189263A1 (en) Method and device for monitoring api function scheduling in mobile terminal
EP3328022B1 (en) Managing wireless network connection
CN109951345A (en) A kind of alert processing method and device
WO2018133767A1 (en) Call control method, terminal apparatus, and data storage medium
WO2020114112A1 (en) Block chain-based smart alarm method and apparatus, and electronic device
GB2575400A (en) A computer system and a computer implemented method for processing gaming data
JP6656281B2 (en) System, method, and non-transitory computer-readable storage medium for performing secure computer-based candidate evaluation
KR102063455B1 (en) How to use history archive of live audio and history archive of live audio
US20150326604A1 (en) Rules based monitoring and intrusion detection system
WO2013189273A1 (en) Method and device for monitoring preconfigured operation in mobile terminal
WO2018188102A1 (en) Flow monitoring system
WO2018188101A1 (en) Red packet monitoring system
WO2018188100A1 (en) Event monitoring system

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