


技术领域technical field
本发明涉及数字家庭技术领域,具体涉及一种基于家庭网关的事件监听方法及系统。The invention relates to the technical field of digital home, in particular to an event monitoring method and system based on a home gateway.
背景技术Background technique
家庭网关为一个集中式智能接口,将家庭外部的接入网络和家庭内部网络联系起来。家庭网关是一种简单的、智能的、标准化的、灵活的整个家庭网络接口单元,可以从不同的外部网络接收通讯信号,通过家庭网络传递信号给某个智能设备。家庭网关能够为集成不同的外部网络和丰富新的应用提供一个有效的途径。随着目前家庭网关、媒体中心和智能家庭网络在功能上的不断融合,家庭网关应该满足如下条件:兼容多种外部宽带网络接入方式,成为家庭内部网络和外部网络的连接桥梁和门户。网络侧接口类型包括:ADSL/VDSL/LAN/EPON/GPON之一;连接并控制家庭内部所有可联网设备,成为家庭内部的网络连接中心和控制中心。The home gateway is a centralized intelligent interface that connects the access network outside the home with the internal home network. A home gateway is a simple, intelligent, standardized, and flexible interface unit for the entire home network, which can receive communication signals from different external networks and transmit signals to a certain smart device through the home network. The home gateway can provide an effective way to integrate different external networks and enrich new applications. With the continuous integration of home gateways, media centers and smart home networks, home gateways should meet the following conditions: Compatible with multiple external broadband network access methods, and become a bridge and gateway between home internal networks and external networks. The network side interface type includes: one of ADSL/VDSL/LAN/EPON/GPON; connect and control all networkable devices in the home, and become the network connection center and control center in the home.
随着家庭网关设备的普及,作为家庭设备接入的功能越来越多,而目前家庭网关仅是简单的实现家电设备与外部设备的通信,不会关注到事件监听和识别的功能,会影响到家庭网关的智能化以及家庭网关处理事件的稳定性。With the popularization of home gateway devices, more and more functions can be accessed as home devices. At present, home gateways only simply realize the communication between home appliances and external devices, and do not pay attention to the functions of event monitoring and identification, which will affect To the intelligence of the home gateway and the stability of the home gateway processing events.
发明内容Contents of the invention
本发明的目的是解决家庭网关的智能化处理能力,在现有的家庭网关中增加事件监听功能和识别功能,为家庭网络提供一种稳定的智能化服务。The purpose of the present invention is to solve the intelligent processing capability of the home gateway, add event monitoring function and identification function to the existing home gateway, and provide a stable intelligent service for the home network.
本发明提供一种基于家庭网关的事件监听方法,所述方法包括:The present invention provides a home gateway-based event monitoring method, the method comprising:
识别与家庭网关通信的家电设备是否处于开机状态;Identify whether the home appliance communicating with the home gateway is powered on;
在识别出所述家电设备处于开机状态时,检测事件监听队列;When it is recognized that the household electrical appliance is in a power-on state, an event monitoring queue is detected;
在检测出事件监听队列中有需要处理的任务时,则解析所述任务的类型,并基于所述任务的类型做相应的处理。When it is detected that there is a task to be processed in the event listening queue, the type of the task is analyzed, and corresponding processing is performed based on the type of the task.
所述方法还包括:在家电设备完成初始化之后,识别与家庭网关通信的家电设备是否处于开机状态。The method further includes: after the initialization of the home appliance is completed, identifying whether the home appliance communicating with the home gateway is in a power-on state.
所述事件监听队列所监听的任务类型包括:数据上传、数据下载、远程控制。The types of tasks monitored by the event monitoring queue include: data upload, data download, and remote control.
所述方法还包括:所述家庭网关监听所有与家庭网关进行通信的家电设备。The method further includes: the home gateway monitors all home appliances communicating with the home gateway.
在解析所述任务的类型时,还需要进一步解析所述任务所对应的家电设备。When analyzing the type of the task, it is necessary to further analyze the home appliance corresponding to the task.
相应的,本发明实施例还提供了一种基于家庭网关的事件监听系统,所述系统包括家庭网关和家庭网关间通信的至少一个家电设备,其中:Correspondingly, an embodiment of the present invention also provides a home gateway-based event monitoring system, the system includes a home gateway and at least one home appliance communicating between the home gateway, wherein:
家庭网关用于识别家电设备的开机状况,并检测事件监听队列,并在检测出事件监听队列中有需要处理的任务时,解析所述任务的类型,并基于所述任务的类型做相应的处理;The home gateway is used to identify the power-on status of the home appliance, and detect the event monitoring queue, and when it detects that there is a task that needs to be processed in the event monitoring queue, it analyzes the type of the task and performs corresponding processing based on the type of the task ;
家电设备用于与家庭网关间通信,并在家庭网关监听到有相应的任务需要处理时,基于所述任务完成相应的操作。The home appliance is used for communicating with the home gateway, and when the home gateway detects that there is a corresponding task to be processed, it completes a corresponding operation based on the task.
所述家庭网关中事件监听队列所监听的任务类型包括:数据上传、数据下载、远程控制。The types of tasks monitored by the event monitoring queue in the home gateway include: data upload, data download, and remote control.
所述家庭网关用于监听所有与家庭网关进行通信的家电设备。The home gateway is used to monitor all household appliances communicating with the home gateway.
所述家庭网关还用于解析所述任务所对应的家庭设备。The home gateway is also used to resolve the home device corresponding to the task.
以上技术可以看出,通过家庭网关基于事件监听,可以满足各类型家庭设备的智能化处理,满足家庭网关系统下的稳定性处理,保障了家电设备基于家庭网关集中控制的协调性。It can be seen from the above technologies that based on the event monitoring of the home gateway, it can meet the intelligent processing of various types of home devices, meet the stability processing under the home gateway system, and ensure the coordination of the centralized control of home appliances based on the home gateway.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是本发明实施例中的基于家庭网关的事件监听系统结构图;Fig. 1 is a structural diagram of an event monitoring system based on a home gateway in an embodiment of the present invention;
图2是本发明实施例中的基于家庭网关的事件监听方法流程图;Fig. 2 is a flow chart of a method for monitoring events based on a home gateway in an embodiment of the present invention;
图3是本发明实施例中的基于家庭网关的事件监听方法另一流程图。Fig. 3 is another flow chart of the event monitoring method based on the home gateway in the embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
图1示出了本发明实施中的基于家庭网关的事件监听方法系统结构图,包括网络服务器,家庭网关和若干个家电设备等,其中:Fig. 1 shows the system structure diagram of the event listening method based on the home gateway in the implementation of the present invention, including a network server, a home gateway and several home appliances, etc., wherein:
网络服务器用于向家庭网络提供服务,包括下载服务、上传服务、基于用户的远程控制服务等,其通过家庭网关间的通信来完成与实现;The network server is used to provide services to the home network, including download services, upload services, user-based remote control services, etc., which are completed and realized through communication between home gateways;
家庭网关用于识别家电设备的开机状况,并检测事件监听队列,并在检测出事件监听队列中有需要处理的任务时,解析所述任务的类型,并基于所述任务的类型做相应的处理;The home gateway is used to identify the power-on status of the home appliance, and detect the event monitoring queue, and when it detects that there is a task that needs to be processed in the event monitoring queue, it analyzes the type of the task and performs corresponding processing based on the type of the task ;
家电设备用于与家庭网关间通信,并在家庭网关监听到有相应的任务需要处理时,基于所述任务完成相应的操作。The home appliance is used for communicating with the home gateway, and when the home gateway detects that there is a corresponding task to be processed, it completes a corresponding operation based on the task.
具体的,这里的家庭网关监听的事件有数据上传、数据下载、远程控制等等之类的,这里的家庭网关监听所有的与家庭网关进行通信的家电设备,在遇到若干个家庭设备的情况下,家庭网关还需要进一步的解析监听任务所对应的家庭设备,从而完成相应的操作等。Specifically, the events monitored by the home gateway here include data upload, data download, remote control, etc. The home gateway here monitors all the home appliances that communicate with the home gateway. In the case of several home devices Next, the home gateway needs to further analyze the home device corresponding to the monitoring task, so as to complete corresponding operations and the like.
图2示出了本发明实施例中的基于家庭网关的事件监听方法流程图,包括如下步骤:Fig. 2 shows the flowchart of the event monitoring method based on the home gateway in the embodiment of the present invention, including the following steps:
开始;start;
S201:识别与家庭网关通信的家电设备是否处于开机状态;若家电设备没有开机与家庭网关进行通信,则继续识别检测中,若识别出家电设备处于开机状态时,则进入到S202;S201: Identify whether the household electrical appliance communicating with the home gateway is in the power-on state; if the household electrical appliance is not powered on to communicate with the home gateway, continue to identify and detect, if it is identified that the household electrical appliance is in the power-on state, then enter S202;
需要说明的,这里的识别在家电设备完成初始化过程之后。It should be noted that the identification here is performed after the home appliance completes the initialization process.
S202:检测事件监听队列;若在检测出事件监听队列中有需要处理的任务时,则进入到S203,否则继续检测中;S202: Detect the event monitoring queue; if it is detected that there are tasks that need to be processed in the event monitoring queue, then enter S203, otherwise continue to detect;
S203:解析所述任务的类型,并基于所述任务的类型做相应的处理;S203: Analyze the type of the task, and perform corresponding processing based on the type of the task;
结束。Finish.
需要说明的是,这里的家庭网关监听所有与家庭网关进行通信的家电设备,这里事件监听队列所监听的任务类型包括:数据上传、数据下载、远程控制等等,在多个家电设备与家庭网关间通信时,家庭网关还需要进一步解析任务所对应的家电设备,从而使相应任务配对到对应的家电设备上,完成相应的任务处理。It should be noted that the home gateway here monitors all home appliances that communicate with the home gateway. The types of tasks monitored by the event monitoring queue include: data upload, data download, remote control, etc., between multiple home appliances and the home gateway. During inter-communication, the home gateway needs to further analyze the home appliance corresponding to the task, so that the corresponding task is paired with the corresponding home appliance to complete the corresponding task processing.
进一步的,图3示出了基于家庭网关的事件监听方法的另一流程图,针对详细的任务项的监听过程具体如下:Further, FIG. 3 shows another flow chart of a home gateway-based event monitoring method, and the monitoring process for detailed task items is specifically as follows:
S301:家庭网关开机初始化;S301: Home gateway boot initialization;
S302:进入事件监听状态;S302: Enter the event monitoring state;
S303:判断是否有数据上传请求,若有,则进入到S304,否则进入到S305S303: Determine whether there is a data upload request, if so, go to S304, otherwise go to S305
S304:调用数据上传子程序;S304: call the data upload subroutine;
需要说明的是,这里的任务完成之后,需要进一步进入到事件监听中进行任务的判断和识别过程,如进入到S302,S303,S305,S307中等等。It should be noted that after the task here is completed, it is necessary to further enter into the event monitoring to judge and identify the task, such as entering into S302, S303, S305, S307 and so on.
S305:判断是否有数据下载请求,若有,则进入到S306,否则进入到S307;S305: Determine whether there is a data download request, if so, go to S306, otherwise go to S307;
S306:调用数据下载子程序;S306: call the data download subroutine;
需要说明的是,这里的任务完成之后,需要进一步进入到事件监听中进行任务的判断和识别过程,如进入到S302,S303,S305,S307中等等。It should be noted that after the task here is completed, it is necessary to further enter into the event monitoring to judge and identify the task, such as entering into S302, S303, S305, S307 and so on.
S307:判断是否有远程控制任务,若有,则进入到S308,否则进入到S302;S307: Judging whether there is a remote control task, if so, proceed to S308, otherwise proceed to S302;
需要说明的是,这里可以根据预设置的时间来再次进入到事件监听状况中,或者根据实际情况结束本次监听判断。It should be noted that, here, the event monitoring state can be entered again according to the preset time, or the monitoring judgment can be ended according to the actual situation.
S308:调用远程控制子程序。S308: Call the remote control subroutine.
需要说明的是,这里的任务完成之后,需要进一步进入到事件监听中进行任务的判断和识别过程,如进入到S302,S303,S305,S307中等等。It should be noted that after the task here is completed, it is necessary to further enter into the event monitoring to judge and identify the task, such as entering into S302, S303, S305, S307 and so on.
综上,通过家庭网关基于事件监听,可以满足各类型家庭设备的智能化处理,满足家庭网关系统下的稳定性处理,保障了家电设备基于家庭网关集中控制的协调性。To sum up, through the home gateway based on event monitoring, it can meet the intelligent processing of various types of home devices, meet the stability processing under the home gateway system, and ensure the coordination of the centralized control of home appliances based on the home gateway.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), disk or CD, etc.
以上对本发明实施例所提供的基于家庭网关的事件监听方法及系统,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The event monitoring method and system based on the home gateway provided by the embodiment of the present invention has been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiment is only for helping Understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification is not It should be understood as a limitation of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2012101896262ACN102739471A (en) | 2012-06-08 | 2012-06-08 | A method and system for monitoring events based on a home gateway |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2012101896262ACN102739471A (en) | 2012-06-08 | 2012-06-08 | A method and system for monitoring events based on a home gateway |
| Publication Number | Publication Date |
|---|---|
| CN102739471Atrue CN102739471A (en) | 2012-10-17 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2012101896262APendingCN102739471A (en) | 2012-06-08 | 2012-06-08 | A method and system for monitoring events based on a home gateway |
| Country | Link |
|---|---|
| CN (1) | CN102739471A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1553644A (en)* | 2003-05-28 | 2004-12-08 | 联想(北京)有限公司 | Event trigger method in household network |
| WO2005125094A1 (en)* | 2004-06-21 | 2005-12-29 | Sk Telecom Co., Ltd. | A method for a message exchange service between a residential device and a mobile terminal |
| CN101056197A (en)* | 2006-04-11 | 2007-10-17 | 中国移动通信集团公司 | Data storage system of the information home electrical appliance and the data processing method |
| CN101064698A (en)* | 2006-04-30 | 2007-10-31 | 中国移动通信集团公司 | Classification processing method for affair message of information household electrical appliance |
| CN101894452A (en)* | 2010-04-30 | 2010-11-24 | 中山大学 | A method and system for controlling smart home based on mobile communication network |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1553644A (en)* | 2003-05-28 | 2004-12-08 | 联想(北京)有限公司 | Event trigger method in household network |
| WO2005125094A1 (en)* | 2004-06-21 | 2005-12-29 | Sk Telecom Co., Ltd. | A method for a message exchange service between a residential device and a mobile terminal |
| CN101056197A (en)* | 2006-04-11 | 2007-10-17 | 中国移动通信集团公司 | Data storage system of the information home electrical appliance and the data processing method |
| CN101064698A (en)* | 2006-04-30 | 2007-10-31 | 中国移动通信集团公司 | Classification processing method for affair message of information household electrical appliance |
| CN101894452A (en)* | 2010-04-30 | 2010-11-24 | 中山大学 | A method and system for controlling smart home based on mobile communication network |
| Publication | Publication Date | Title |
|---|---|---|
| CN104348686B (en) | Interconnection method and device between terminal equipment and gateway equipment | |
| US20190319923A1 (en) | Network data control method, system and security protection device | |
| US9413560B2 (en) | Differentiated quality of service using security as a service | |
| US9222964B2 (en) | Cable detection in a pin constrained connector | |
| CN101977115A (en) | Method and device for realizing power control over Ethernet | |
| CN110896362B (en) | Fault detection method and device | |
| US9537870B2 (en) | Detecting unauthorized devices | |
| CN105516744B (en) | Smart TV access method and smart TV access system | |
| GB2500961A (en) | A device for monitoring activity of a computing device | |
| CN114172807A (en) | A complete machine system and a firmware upgrade method for an intelligent network card | |
| JP2019525566A (en) | Multi-network convergence method and apparatus | |
| CN105471678A (en) | Method and system for detecting networking failure reason of household appliance and mobile terminal | |
| CN103546352A (en) | Remote control method and device based on wireless login | |
| CN109036400A (en) | A kind of system of compatible multipartite voice control platform control intelligence IOT equipment | |
| CN111130828B (en) | An intelligent network distribution method, device and terminal equipment | |
| CN106992893A (en) | Router management method and device | |
| CN105245591A (en) | Method and system for monitoring desktop cloud performance experience | |
| CN105392083B (en) | MPP sound box switching method and access controller | |
| CN109388544B (en) | A fault monitoring method, device and electronic equipment | |
| CN106331051B (en) | Document transmission method and system and reception file device send file device | |
| CN102739471A (en) | A method and system for monitoring events based on a home gateway | |
| CN105163336A (en) | Method and system for optimizing stability of wireless network | |
| US20150229700A1 (en) | Protocol translation for media player device control | |
| CN105357078A (en) | Detection method and system of network state of intelligent equipment | |
| CN105049294A (en) | Automatic testing method for port state switching of EAPS (Ethernet Automatic Protection Switching) protocol MASTER switch |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20121017 |