WO2018188100A1 - 事件监听系统 - Google Patents

事件监听系统 Download PDF

Info

Publication number
WO2018188100A1
WO2018188100A1 PCT/CN2017/080677 CN2017080677W WO2018188100A1 WO 2018188100 A1 WO2018188100 A1 WO 2018188100A1 CN 2017080677 W CN2017080677 W CN 2017080677W WO 2018188100 A1 WO2018188100 A1 WO 2018188100A1
Authority
WO
WIPO (PCT)
Prior art keywords
monitoring system
module
event
event monitoring
log
Prior art date
Application number
PCT/CN2017/080677
Other languages
English (en)
French (fr)
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 李仁涛
Priority to PCT/CN2017/080677 priority Critical patent/WO2018188100A1/zh
Publication of WO2018188100A1 publication Critical patent/WO2018188100A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Definitions

  • the present invention relates to the field of Internet, and in particular, to an event monitoring system.
  • An embodiment of the present invention provides an event 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 specific event 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 event monitoring system provided by the present invention can determine whether a user terminal receives a specific event identifier, such as a red envelope identifier, according to a log generated during 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.
  • a specific event identifier such as a red envelope identifier
  • FIG. 1 is a system architecture diagram of an event monitoring system according to an embodiment of the present invention.
  • FIG. 2 is a system architecture diagram of an event monitoring system according to another embodiment of the present invention.
  • the present invention provides an event monitoring system 100 including at least a monitoring module 10 , a determining module 20 , and a prompting module 30 .
  • the event monitoring system 100 is configured to monitor whether the user terminal receives an electronic red envelope.
  • 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, for example, a cover icon of the red envelope, 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 event monitoring system 100 is applied to an open source proxy environment. Therefore, the monitoring module 10 includes the following configuration code:
  • the determining module 20 is configured to determine whether a specific event identifier exists in the log, and if yes, output a prompt signal.
  • the specific event identifier is a picture identifier of an electronic red envelope.
  • 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 100 includes the following code:
  • the monitoring of the log is realized, and when there is a red envelope, 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 event monitoring system 100 further includes a positioning module 40 and a triggering module 50 to enable direct provision of corresponding operational signals when determining to generate a particular event.
  • the positioning module 40 is configured to: when determining that a specific event identifier exists in the log, locate the trigger signal to the corresponding interaction data interface. For example, when there is a specific event ID, 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 red envelope is opened is automatically triggered, that is, the signal corresponding to the user clicking the red envelope. Thereby, the operation of receiving the red envelope can be automatically completed.
  • the event monitoring system 100 can determine whether a user terminal receives a specific event identifier, such as a red envelope identifier, according to a log generated during 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.
  • a specific event identifier such as a red envelope identifier
  • the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases the former is a better implementation. .
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for making
  • a mobile device (which may be a cell phone, a personal computer, a media player, etc.) performs the methods described in various embodiments of the present invention.
  • the storage medium referred to herein is, for example, a ROM/RAM, a magnetic disk, an optical disk, or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本发明涉及一种事件监听系统,包括:监听模块,用于定时监听用户终端进行数据交互时产生的日志;判断模块,用于判断日志中是否存在特定事件标识,如果是,则输出提示信号;以及提示模块,用于根据所述提示信号,控制用户终端发出提醒信息。

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用于根据所述提示信号,控制用户终端发出提醒信息。更具体的,在本实施例中,所述事件监听系统100包括如下代码:
<?php$lastline=””;
while(1)
{$line=‘tail-1/user/local/nginx/logs/access.log’;
if(($lastline!=$line)&&strops($line,”hongbao”)!==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,能够根据数据交互时产生的日志,确定用户终端是否接收到特定事件标识,例如红包标识,从而能够作出对应的反应,例如提示或触发等。由此,能够节省用户操作的时间,并且精确度较高。
通过以上实施例的描述,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得移动设备(可以是手机,个人计算机,媒体播放器等)执行本发明各个实施例所述的方法。这里所称的存储介质,如:ROM/RAM、磁盘、光盘等。
最后应说明的是:以上实施例仅用以说明本发明的技术方案而非对其进行限制,尽管参照较佳实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对本发明的技术方案进行修改或者等同替换,而这些修改或者等同替换亦不能使修改后的技术方案脱离本发明技术方案的精神和范围。

Claims (5)

  1. 一种事件监听系统,包括:
    监听模块,用于定时监听用户终端进行数据交互时产生的日志;
    判断模块,用于判断日志中是否存在特定事件标识,如果是,则输出提示信号;以及
    提示模块,用于根据所述提示信号,控制用户终端发出提醒信息;
    其中,所述事件监听系统包括如下代码:
    <?php$lastline=””;
    while(1)
    {$line=‘tail-1/user/local/nginx/logs/access.log’;
    if(($lastline!=$line)&&strops($line,”hongbao”)!==false)
    {$cmd=”say–v Bells\”dong\””;
    system($cmd);
    $cmd=”osascript-e’tell app\”system event;
    $lastline=$line;}。
  2. 如权利要求1所述的事件监听系统,进一步包括:
    定位模块,用于当判断日志中存在特定事件标识时,将触发信号定位到对应的交互数据界面;以及
    触发模块,用于根据所述定位模块,触发等同点击所述交互界面的信号。
  3. 如权利要求1所述的事件监听系统,其特征在于,所述事件监听系统应用于开源代理环境下。
  4. 如权利要求1所述的事件监听系统,其特征在于,所述监听模块包括如下配置代码:
    Worker_processes_1;
    events{worker_connections 1024;}
    http{
    server{
    listen 9999;
    location/{
    proxy_pass http://$http_host$request_uri
    }
    }
    },其中,所述代码存储在objs目录中。
  5. 如权利要求1所述的事件监听系统,其特征在于,所述特定事件标识是电子红包的图片标识。
PCT/CN2017/080677 2017-04-14 2017-04-14 事件监听系统 WO2018188100A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/080677 WO2018188100A1 (zh) 2017-04-14 2017-04-14 事件监听系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/080677 WO2018188100A1 (zh) 2017-04-14 2017-04-14 事件监听系统

Publications (1)

Publication Number Publication Date
WO2018188100A1 true WO2018188100A1 (zh) 2018-10-18

Family

ID=63793061

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/080677 WO2018188100A1 (zh) 2017-04-14 2017-04-14 事件监听系统

Country Status (1)

Country Link
WO (1) WO2018188100A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013080387A (ja) * 2011-10-04 2013-05-02 Canon Inc 情報処理装置、情報処理方法及びプログラム
CN103516864A (zh) * 2012-06-18 2014-01-15 腾讯科技(深圳)有限公司 在移动终端中监控预设操作的方法和装置
CN105138229A (zh) * 2015-09-29 2015-12-09 联想(北京)有限公司 一种信息处理方法及电子设备
CN105630499A (zh) * 2015-12-24 2016-06-01 北京奇虎科技有限公司 信息处理方法及装置
CN106412858A (zh) * 2016-10-26 2017-02-15 深圳市金立通信设备有限公司 一种抢红包的方法及终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013080387A (ja) * 2011-10-04 2013-05-02 Canon Inc 情報処理装置、情報処理方法及びプログラム
CN103516864A (zh) * 2012-06-18 2014-01-15 腾讯科技(深圳)有限公司 在移动终端中监控预设操作的方法和装置
CN105138229A (zh) * 2015-09-29 2015-12-09 联想(北京)有限公司 一种信息处理方法及电子设备
CN105630499A (zh) * 2015-12-24 2016-06-01 北京奇虎科技有限公司 信息处理方法及装置
CN106412858A (zh) * 2016-10-26 2017-02-15 深圳市金立通信设备有限公司 一种抢红包的方法及终端

Similar Documents

Publication Publication Date Title
US10355865B1 (en) Systems and techniques for certification of trusted media data
TWI754795B (zh) 基於區塊鏈存證的證據採集方法、系統、裝置及電腦設備
US10554805B2 (en) Information processing method, terminal, and computer-readable storage medium
US9763100B2 (en) Instant messaging message processing method and device and storage medium
WO2019212659A1 (en) Security for iot home voice assistants
CN110347862B (zh) 录音处理方法、装置、设备、系统及音频设备
CN110336735B (zh) 一种用于发送提醒消息的方法与设备
TW201535156A (zh) 執行與個人的存在相關聯的動作
CN108932428B (zh) 一种勒索软件的处理方法、装置、设备及可读存储介质
WO2014082484A1 (zh) 一种用户登录监测设备和方法
WO2013189263A1 (zh) 在移动终端中监控api函数调用的方法和装置
CN108984234B (zh) 一种移动终端与摄像装置的调用提示方法
US9756141B2 (en) Media content consumption analytics
CN111816192A (zh) 语音设备及其控制方法、装置和设备
US20200177593A1 (en) Generating a custom blacklist for a listening device based on usage
WO2022142620A1 (zh) 一种识别二维码的方法与设备
KR102063455B1 (ko) 라이브 오디오의 이력 아카이브 및 라이브 오디오의 이력 아카이브를 사용하는 방법들
US10015181B2 (en) Using natural language processing for detection of intended or unexpected application behavior
JP6656281B2 (ja) セキュアなコンピュータベースの志願者評価を実施するためのシステム、方法、および非一時的コンピュータ可読記録媒体
CN109660579B (zh) 数据处理方法、系统及电子设备
US20200020330A1 (en) Detecting voice-based attacks against smart speakers
WO2013189273A1 (zh) 监控移动终端中预设操作的方法和装置
US20150326604A1 (en) Rules based monitoring and intrusion detection system
WO2018188100A1 (zh) 事件监听系统
CN112751683A (zh) 一种实现会议消息同步的方法与设备

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

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

Country of ref document: EP

Kind code of ref document: A1