CN104427539B - Determine the method and gateway device of gateway status - Google Patents
Determine the method and gateway device of gateway status Download PDFInfo
- Publication number
- CN104427539B CN104427539B CN201310367749.5A CN201310367749A CN104427539B CN 104427539 B CN104427539 B CN 104427539B CN 201310367749 A CN201310367749 A CN 201310367749A CN 104427539 B CN104427539 B CN 104427539B
- Authority
- CN
- China
- Prior art keywords
- gateway
- event information
- voice
- status
- voice broadcast
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000013519 translation Methods 0.000 claims description 11
- 238000001514 detection method Methods 0.000 claims description 10
- 238000012544 monitoring process Methods 0.000 claims description 6
- 238000004891 communication Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 10
- 238000010295 mobile communication Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000000354 decomposition reaction Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 241001672694 Citrus reticulata Species 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000010267 cellular communication Effects 0.000 description 3
- 230000007774 longterm Effects 0.000 description 3
- 230000008447 perception Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000004397 blinking Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/16—Gateway arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开了一种确定网关状态的方法及网关设备,该方法包括:获得网关当前运行状态的事件信息;将所述事件信息分解为至少一个用于表征网关状态的标准事件信息;在建立的标准事件信息和网关运行状态的对应关系中,确定分解后的标准事件信息对应的网关运行状态。能够较为准确地确定出家庭网关当前的运行状态,提高生产厂商不同的家庭网关之间的兼容性。
The invention discloses a method for determining the state of a gateway and a gateway device. The method includes: obtaining event information of the current operating state of the gateway; decomposing the event information into at least one standard event information for characterizing the state of the gateway; In the corresponding relationship between the standard event information and the gateway running state, the gateway running state corresponding to the decomposed standard event information is determined. The current operating state of the home gateway can be determined more accurately, and the compatibility between home gateways of different manufacturers can be improved.
Description
技术领域technical field
本发明涉及无线通信技术领域,尤其是涉及一种确定网关状态的方法及网关设备。The invention relates to the technical field of wireless communication, in particular to a method for determining the status of a gateway and gateway equipment.
背景技术Background technique
网关(英文:Gateway)又称网间连接器、协议转换器。网关在传输层上实现网络互连,用于两个高层协议不同的网络互连。网关既可以用于广域网互连,也可以用于局域网互连。随着通信技术不断发展,提出智能家庭网络,借助现有的计算机网络技术,将家庭内各种家电和设备连网,通过网络提供各种丰富、多样化、个性化、方便、舒适、安全和高效的服务。家庭网关是实现家庭内部信息与家庭外部信息的交换。而数字家庭网关(英文:DigitalHome Gateway)是一种被广泛应用的家庭网关设备。Gateway (English: Gateway) is also known as an Internet connector and a protocol converter. The gateway implements network interconnection on the transport layer, and is used for the interconnection of two networks with different high-level protocols. Gateways can be used for both WAN interconnection and LAN interconnection. With the continuous development of communication technology, the smart home network is proposed. With the help of existing computer network technology, various household appliances and equipment in the family are connected to the Internet, and various rich, diverse, personalized, convenient, comfortable, safe and efficient service. The home gateway is to realize the exchange of information inside the home and outside the home. A digital home gateway (English: DigitalHome Gateway) is a widely used home gateway device.
家庭网关将两个使用不同协议的网络段连接在一起的设备。它的作用就是对两个网络段中的使用不同传输协议的数据进行互相的翻译转换。例如,可以将无线保真(英文:Wireless Fidelity,缩写:WIFI)信号转换成时分双工码分同步多址(英文:TimeDivision-Synchronization Code Division Multiple Access,缩写:TD-SCDMA)或长期演进(英文:Long Term Evolution,缩写:LTE)等蜂窝通信信号,从而可以使基于WIFI连接网络的用户终端(如平板电脑、智能手移动终端等)能够通过家庭网关使用蜂窝通信网络提供的服务。A residential gateway is a device that connects two network segments that use different protocols. Its function is to translate and convert data using different transmission protocols in two network segments. For example, wireless fidelity (English: Wireless Fidelity, abbreviation: WIFI) signals can be converted into time division duplex code division synchronous multiple access (English: TimeDivision-Synchronization Code Division Multiple Access, abbreviation: TD-SCDMA) or long-term evolution (English : Long Term Evolution, abbreviation: LTE) and other cellular communication signals, so that user terminals connected to the network based on WIFI (such as tablet computers, smart hand mobile terminals, etc.) can use the services provided by the cellular communication network through the home gateway.
家庭网关在使用中,要进行比较复杂的协议与通信处理。例如将WIFI信道上的数据报文转换成LTE信道上的数据报文,需要允许基于WIFI的用户终端的接入,为基于WIFI的用户终端分配WIFI信道,并且需要附着在LTE网络,分配LTE信道,与移动通信网络互联互通的互联网平台之间双向交换数据。为了保障正常的通信处理,需要家庭网关处于持续开启状态。若家庭网关出现差错或者通信网络出现异常,使用家庭网关连接互联网的用户终端的通信也相应会出现异常,例如无法浏览互联网网页、网络下载速度慢等等。When the home gateway is in use, it needs to perform more complicated protocol and communication processing. For example, to convert data packets on the WIFI channel to data packets on the LTE channel, it is necessary to allow access of WIFI-based user terminals, allocate WIFI channels for WIFI-based user terminals, and need to attach to the LTE network and allocate LTE channels , Two-way data exchange between Internet platforms interconnected with mobile communication networks. In order to ensure normal communication processing, the home gateway needs to be in a continuous open state. If there is an error in the home gateway or an abnormality in the communication network, the communication of the user terminal connected to the Internet through the home gateway will also be abnormal, such as the inability to browse Internet pages, slow network download speed, and so on.
一般情况下,家庭网关上会设置有运行状态指示灯,当家庭网关出现异常时,家庭网关上设置的状态指示灯会闪烁,以提示终端用户该设备出现异常。但是通常情况下,即使家庭网关中设置有状态指示灯烁,终端用户仍然无法准确地获知家庭网关当前运行状态。并且,对于生产厂商不同的家庭网关,确定其运行状态的方法也不完全相同,因此兼容性较差。Generally, the home gateway is provided with a running status indicator light. When the home gateway is abnormal, the status indicator light set on the home gateway will flicker to remind the end user that the device is abnormal. However, under normal circumstances, even if the home gateway is set with a blinking status indicator, the end user still cannot accurately know the current running status of the home gateway. Moreover, for home gateways of different manufacturers, the methods for determining their operating states are not completely the same, so the compatibility is poor.
发明内容Contents of the invention
本发明实施例提供了一种确定网关状态的方法及网关设备,能够较为准确地确定出家庭网关当前的运行状态,提高生产厂商不同的家庭网关之间的兼容性。Embodiments of the present invention provide a method for determining the state of a gateway and a gateway device, which can accurately determine the current operating state of a home gateway and improve compatibility between home gateways of different manufacturers.
一种确定网关状态的方法,包括:获得网关当前运行状态的事件信息;将所述事件信息分解为至少一个用于表征网关状态的标准事件信息;在建立的标准事件信息和网关运行状态的对应关系中,确定分解后的标准事件信息对应的网关运行状态。A method for determining the state of a gateway, comprising: obtaining event information of the current operating state of the gateway; decomposing the event information into at least one standard event information used to characterize the state of the gateway; establishing a correspondence between the established standard event information and the operating state of the gateway In the relationship, determine the gateway running state corresponding to the decomposed standard event information.
从上述方案可以看出,通过引入标准事件信息和网关运行状态的对应关系,将获得的网关当前运行状态的事件信息分解后,和该对应关系比较,确定网关运行状态,能够较为准确地确定出家庭网关当前的运行状态,提高生产厂商不同的家庭网关之间的兼容性。It can be seen from the above scheme that by introducing the corresponding relationship between the standard event information and the gateway running state, after decomposing the obtained event information of the current running state of the gateway, and comparing it with the corresponding relationship to determine the running state of the gateway, it can be determined more accurately The current operating status of the home gateway improves the compatibility between home gateways of different manufacturers.
在确定出网关运行状态之后,还包括:通过语音播报的方式展示确定出的所述网关运行状态。After determining the operating state of the gateway, the method further includes: displaying the determined operating state of the gateway through voice broadcast.
从上述方案可以看出,相比通常情况下,通过指示等闪烁的方式呈现,将网关运行状态通过语音播放的方式呈现,能够较为直观的呈现出网关运行状态,用户可以直接确定出网关运行状态,提升用户感知。From the above solution, it can be seen that compared with the usual situation, the gateway running status is presented through voice playback, which can show the gateway running status more intuitively, and the user can directly determine the gateway running status. , to enhance user perception.
获得网关当前运行状态的事件信息,包括:以设定时长作为检测周期,周期性获得网关当前运行状态的事件信息。Obtaining the event information of the current operating state of the gateway includes: periodically obtaining the event information of the current operating state of the gateway with a set duration as the detection cycle.
从上述方案可以看出,周期性的获得网关当前运行状态的事件信息,能够实时地对网关的运行状态进行监控,及时发现问题。It can be seen from the above solution that periodically obtaining the event information of the current running state of the gateway can monitor the running state of the gateway in real time and find problems in time.
通过语音播报的方式展示确定出的所述网关运行状态,包括:接收用于指示语音播报时所使用语言的语音播报指令;在预置用于存储语音文件的语音文件库中,获得和接收到的语音指令对应的语音文件;基于获得的语音文件,以语音播报的方式展示确定出的所述网关运行状态。Displaying the determined operating status of the gateway by way of voice broadcast, including: receiving a voice broadcast instruction for indicating the language used in the voice broadcast; obtaining and receiving in the voice file library preset for storing voice files The voice file corresponding to the voice command; based on the obtained voice file, the determined operating status of the gateway is displayed in the form of voice broadcast.
从上述方案可以看出,可以满足用户个性订制的需要。同样的播报内容,可以是普通话,可以是方言,可以是中文,可以是外文。It can be seen from the above solution that the needs of users for personalized customization can be met. The same broadcast content can be in Mandarin, dialect, Chinese, or a foreign language.
一种网关设备,包括:事件接收模块,用于获得网关当前运行状态的事件信息;分解模块,用于将所述事件信息分解为至少一个用于表征网关状态的标准事件信息;状态监控模块,用于在建立的标准事件信息和网关运行状态的对应关系中,确定分解后的标准事件信息对应的网关运行状态。A gateway device, comprising: an event receiving module, used to obtain event information of the current operating state of the gateway; a decomposition module, used to decompose the event information into at least one standard event information used to characterize the status of the gateway; a status monitoring module, It is used to determine the gateway operation state corresponding to the decomposed standard event information in the established correspondence between the standard event information and the gateway operation state.
从上述方案可以看出,通过引入标准事件信息和网关运行状态的对应关系,将获得的网关当前运行状态的事件信息分解后,和该对应关系比较,确定网关运行状态,能够较为准确地确定出家庭网关当前的运行状态,提高生产厂商不同的家庭网关之间的兼容性。It can be seen from the above scheme that by introducing the corresponding relationship between the standard event information and the gateway running state, after decomposing the obtained event information of the current running state of the gateway, and comparing it with the corresponding relationship to determine the running state of the gateway, it can be determined more accurately The current operating status of the home gateway improves the compatibility between home gateways of different manufacturers.
网关设备还包括:语音翻译模块,用于通过语音播报的方式展示确定出的所述网关运行状态。The gateway device also includes: a speech translation module, configured to display the determined operating status of the gateway by way of speech broadcast.
从上述方案可以看出,相比通常情况下,通过指示等闪烁的方式呈现,将网关运行状态通过语音播放的方式呈现,能够较为直观的呈现出网关运行状态,用户可以直接确定出网关运行状态,提升用户感知。From the above solution, it can be seen that compared with the usual situation, the gateway running status is presented through voice playback, which can show the gateway running status more intuitively, and the user can directly determine the gateway running status. , to enhance user perception.
网关设备,还包括:定时器,用于对设定时长进行计时;所述事件接收模块,具体用于以所述定时器的设定时长作为检测周期,周期性获得网关当前运行状态的事件信息。The gateway device also includes: a timer, which is used to time the set duration; the event receiving module is specifically used to use the set duration of the timer as the detection period, and periodically obtain the event information of the current operating state of the gateway .
从上述方案可以看出,周期性的获得网关当前运行状态的事件信息,能够实时地对网关的运行状态进行监控,及时发现问题。It can be seen from the above solution that periodically obtaining the event information of the current running state of the gateway can monitor the running state of the gateway in real time and find problems in time.
所述语音翻译模块,还用于接收用于指示语音播报时所使用语言的语音播报指令;并在预置用于存储语音文件的语音文件库中,获得和接收到的语音指令对应的语音文件;基于获得的语音文件,以语音播报的方式展示确定出的所述网关运行状态。The voice translation module is also used to receive a voice broadcast instruction for indicating the language used in the voice broadcast; and in the voice file library preset for storing voice files, obtain the voice file corresponding to the voice command received ; Based on the obtained voice file, display the determined running status of the gateway in the form of voice broadcast.
从上述方案可以看出,可以满足用户个性订制的需要。同样的播报内容,可以是普通话,可以是方言,可以是中文,可以是外文。It can be seen from the above solution that the needs of users for personalized customization can be met. The same broadcast content can be in Mandarin, dialect, Chinese, or a foreign language.
附图说明Description of drawings
图1为本发明实施例一中,提出的确定网关状态的方法流程图;FIG. 1 is a flowchart of a method for determining a gateway status proposed in Embodiment 1 of the present invention;
图2为本发明实施例一中,提出的网关设备结构组成示意图;FIG. 2 is a schematic diagram of the structure and composition of the proposed gateway device in Embodiment 1 of the present invention;
图3为本发明实施例二中,提出的数字家庭网关设备结构组成示意图。Fig. 3 is a schematic diagram of the structure and composition of the proposed digital home gateway device in the second embodiment of the present invention.
具体实施方式Detailed ways
针对通常情况下终端用户无法准确地获知家庭网关当前运行状态。以及对于生产厂商不同的家庭网关,确定其运行状态的方法也不完全相同,因此兼容性较差的问题,本发明提出的技术方案中,通过将网关当前运行状态的事件信息分解为至少一个用于表征网关状态的标准事件信息,引入标准事件信息和网关运行状态的对应关系,确定分解后的标准事件信息对应的网关运行状态。能够较为准确地确定出家庭网关当前的运行状态,提高生产厂商不同的家庭网关之间的兼容性。In general, end users cannot accurately know the current running status of the home gateway. And for the home gateways of different manufacturers, the methods of determining their running status are not completely the same, so the problem of poor compatibility, in the technical solution proposed by the present invention, by decomposing the event information of the current running status of the gateway into at least one Based on the standard event information representing the status of the gateway, the corresponding relationship between the standard event information and the operating state of the gateway is introduced to determine the operating state of the gateway corresponding to the decomposed standard event information. The current operating state of the home gateway can be determined more accurately, and the compatibility between home gateways of different manufacturers can be improved.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. 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.
实施例一Embodiment one
本发明实施例提出一种确定网关状态的方法,如图1所示,其具体处理流程如下述:The embodiment of the present invention proposes a method for determining the status of the gateway, as shown in FIG. 1 , and its specific processing flow is as follows:
步骤11,获得网关当前运行状态的事件信息。In step 11, the event information of the current running state of the gateway is obtained.
可以以设定时长作为检测周期,周期性获得网关当前运行状态的事件信息。The detection period can be set as the detection period, and the event information of the current operation status of the gateway can be obtained periodically.
具体实施中,可以通过对定时器的设置,以设定时长作为检测周期,周期性发送检测任务,以获得网关当前运行状态的事件信息。In specific implementation, by setting the timer, the set duration can be used as the detection period, and the detection task can be periodically sent to obtain the event information of the current operation status of the gateway.
网关当前运行状态的事件信息包括自动获取IP地址、通信信号强弱、电压高低、网络连接等。The event information of the gateway’s current operating status includes automatic acquisition of IP address, communication signal strength, voltage level, network connection, etc.
步骤12,将获得的事件信息分解为至少一个用于表征网关状态的标准事件信息。Step 12, decomposing the obtained event information into at least one standard event information used to characterize the state of the gateway.
可以将接收到的事件信息分解为一个或多个事件参数,通过预先设定的标准事件信息定义,得到对应的标准事件信息。标准事件信息通常由通信组织(如国际电信联盟ITU-T)、通信行业(如工信部标准化协会)或企业(如移动运营商)制订的技术标准或规范中约定。The received event information can be decomposed into one or more event parameters, and the corresponding standard event information can be obtained through the definition of the preset standard event information. Standard event information is usually stipulated in technical standards or specifications formulated by communication organizations (such as the International Telecommunication Union ITU-T), the communication industry (such as the Standardization Association of the Ministry of Industry and Information Technology) or enterprises (such as mobile operators).
其中,可以将获得的事件信息分解为一个标准事件信息。例如若获得的网关当前运行状态的事件信息为LTE信号小于3格,则分解得到的标准事件信息可以是LTE信号弱,或者一个预先设定的标识,该标识表征网关状态的标准事件信息,如2。Wherein, the obtained event information may be decomposed into a standard event information. For example, if the obtained event information of the current operating state of the gateway is that the LTE signal is less than 3 grids, the decomposed standard event information can be that the LTE signal is weak, or a preset identifier, which represents the standard event information of the gateway status, such as 2.
可以将获得的事件信息分解为多个标准事件信息。例如若1获得的网关当前运行状态的事件信息为自动获取IP地址,则分解得到的标准事件信息可以是成功获取IP地址和正在连接WAP网关。或者是预先设定的标识,该标识表征网关状态的标准事件信息,如7和8。The obtained event information can be decomposed into multiple standard event information. For example, if the event information of the current running status of the gateway obtained in 1 is automatically obtaining an IP address, the decomposed standard event information may be that the IP address has been successfully obtained and the WAP gateway is being connected. Or it is a preset identifier, which represents the standard event information of the gateway status, such as 7 and 8 .
步骤13,在建立的标准事件信息和网关运行状态的对应关系中,确定分解后的标准事件信息对应的网关运行状态。Step 13, in the established correspondence between the standard event information and the gateway running state, determine the gateway running state corresponding to the decomposed standard event information.
可以预先设置标准事件信息和网关运行状态的对应关系。较佳地,还可以将设置标准事件信息和网关运行状态的对应关系采用设定的标识来表示。Correspondence between standard event information and gateway operating status can be preset. Preferably, the corresponding relationship between the set standard event information and the gateway running status can also be represented by a set mark.
具体地,标准事件信息和网关运行状态的对应关系可以参见下述表1所示。Specifically, the corresponding relationship between standard event information and gateway running status can be referred to in Table 1 below.
表1Table 1
可选地,在上述步骤13确定出网关运行状态之后,还包括:Optionally, after determining the running state of the gateway in the above step 13, it also includes:
步骤14,通过语音播报的方式展示确定出的网关运行状态。Step 14, displaying the determined running state of the gateway by way of voice broadcast.
语音播报的内容可以参见上述表1中所示的网关运行状态列。语音播报是还可以通过接收到的标识,进一步在上述表1中确定标识对应的网关运行状态,然后播报。例如,接收到的标识为11,则参见上述表1所示,对应的网关运行状态为HTTP连接失败,则语音播报可以将HTTP连接失败呈现出来。For the content of the voice broadcast, refer to the gateway operation status column shown in Table 1 above. The voice broadcast can also use the received identifier to further determine the running status of the gateway corresponding to the identifier in the above Table 1, and then broadcast. For example, if the received identifier is 11, as shown in Table 1 above, the corresponding gateway operation status is HTTP connection failure, and the voice broadcast can display the HTTP connection failure.
具体地,接收用于指示语音播报时所使用语言的语音播报指令,在预置用于存储语音文件的语音文件库中,获得和接收到的语音指令对应的语音文件,基于获得的语音文件,以语音播报的方式展示确定出的所述网关运行状态。Specifically, receive a voice broadcast instruction for indicating the language used in the voice broadcast, and obtain a voice file corresponding to the received voice command in the voice file library preset for storing voice files. Based on the obtained voice file, The determined operating state of the gateway is displayed in the form of voice broadcast.
相应地,本发明实施例一还提出一种网关设备,如图2所示,其具体结构如下述:Correspondingly, Embodiment 1 of the present invention also proposes a gateway device, as shown in FIG. 2 , and its specific structure is as follows:
事件接收模块201,用于获得网关当前运行状态的事件信息。The event receiving module 201 is configured to obtain event information of the current running state of the gateway.
分解模块202,用于将所述事件信息分解为至少一个用于表征网关状态的标准事件信息。The decomposing module 202 is configured to decompose the event information into at least one standard event information used to characterize the state of the gateway.
状态监控模块203,用于在建立的标准事件信息和网关运行状态的对应关系中,确定分解后的标准事件信息对应的网关运行状态。The state monitoring module 203 is configured to determine the gateway operating state corresponding to the decomposed standard event information in the established correspondence between the standard event information and the gateway operating state.
可选地,上述网关设备还可以包括:Optionally, the above-mentioned gateway device may also include:
语音翻译模块,用于通过语音播报的方式展示确定出的所述网关运行状态。The voice translation module is used for displaying the determined operating status of the gateway by way of voice broadcast.
上述语音翻译模块,还用于接收用于指示语音播报时所使用语言的语音播报指令;在预置用于存储语音文件的语音文件库中,获得和接收到的语音指令对应的语音文件;基于获得的语音文件,以语音播报的方式展示确定出的所述网关运行状态。The above-mentioned voice translation module is also used to receive voice broadcast instructions for indicating the language used in the voice broadcast; in the voice file library preset for storing voice files, obtain the voice file corresponding to the voice command received; based on The obtained voice file displays the determined operating status of the gateway in the form of voice broadcast.
本发明实施例一上述提出的技术方案中,能够较为准确地确定出家庭网关当前的运行状态,提高生产厂商不同的家庭网关之间的兼容性。并且,进一步地提供了语音播报功能,并且可以满足用户个性订制的需要。同样的播报内容,可以是普通话,可以是方言,可以是中文,可以是外文。只需要提供不同的语音文件就可以。In the technical solution proposed above in Embodiment 1 of the present invention, the current operating state of the home gateway can be determined more accurately, and the compatibility between home gateways of different manufacturers can be improved. Moreover, it further provides a voice broadcast function, and can meet the needs of users' personalized customization. The same broadcast content can be in Mandarin, dialect, Chinese, or a foreign language. Just need to provide different voice files.
定时器,用于对设定时长进行计时;具体地,上述事件接收模块201,具体用于以设定时长作为检测周期,周期性获得网关当前运行状态的事件信息。The timer is used to time the set duration; specifically, the above-mentioned event receiving module 201 is specifically configured to use the set duration as the detection period to periodically obtain event information of the current running state of the gateway.
实施例二Embodiment two
本发明实施例一提出一种网关设备,本发明实施例二提出的技术方案,以网关设备是数字家庭网关设备为例来进行详细阐述,其结构组成如图3所示,包括:Embodiment 1 of the present invention proposes a gateway device. The technical solution proposed in Embodiment 2 of the present invention is described in detail by taking the gateway device as a digital home gateway device as an example. Its structural composition is shown in Figure 3, including:
多任务操作系统硬件平台201,移动通信模块101,WIFI模块102、事件接收模块301、分解模块302、状态监控模块303、语音翻译模块304、扬声器305。Multi-tasking operating system hardware platform 201, mobile communication module 101, WIFI module 102, event receiving module 301, decomposition module 302, status monitoring module 303, speech translation module 304, speaker 305.
多任务操作系统硬件平台201,是数字家庭网关设备的核心,运行一个多任务的嵌入式操作系统,如Linux操作系统。在多任务操作系统硬件平台201中设置有信号处理器和存储器。The multitasking operating system hardware platform 201 is the core of the digital home gateway device and runs a multitasking embedded operating system, such as Linux operating system. A signal processor and a memory are provided in the multitasking operating system hardware platform 201 .
信号处理器可以是中央处理器(英文:central processing unit,缩写:CPU),或者是CPU和硬件芯片的组合。信号处理器还可以是网络处理器(英文:network processor,缩写:NP)。或者是CPU和NP的组合,或者是NP和硬件芯片的组合。The signal processor may be a central processing unit (English: central processing unit, abbreviation: CPU), or a combination of a CPU and a hardware chip. The signal processor may also be a network processor (English: network processor, abbreviation: NP). Or a combination of CPU and NP, or a combination of NP and hardware chips.
上述硬件芯片可以是以下一种或多种的组合:专用集成电路(英文:application-specific integrated circuit,缩写:ASIC),现场可编程逻辑门阵列(英文:field-programmable gate array,缩写:FPGA),复杂可编程逻辑器件(英文:complexprogrammable logic device,缩写:CPLD)。The above-mentioned hardware chip can be one or more of the following combinations: application-specific integrated circuit (English: application-specific integrated circuit, abbreviation: ASIC), field-programmable logic gate array (English: field-programmable gate array, abbreviation: FPGA) , complex programmable logic device (English: complexprogrammable logic device, abbreviation: CPLD).
存储器用于存储程序代码,信号处理器从存储器中获得存储的程序代码,按照获得的程序代理执行相应地处理。存储器可以是易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM);或者非易失性存储器(英文:non-volatile memory),例如只读存储器(英文:read-only memory,缩写:ROM),快闪存储器(英文:flash memory),硬盘(英文:hard disk drive,缩写:HDD)或固态硬盘(英文:solid-state drive,缩写:SSD);或者上述种类的存储器的组合。The memory is used to store program codes, and the signal processor obtains the stored program codes from the memory, and executes corresponding processing according to the obtained program agents. The memory can be a volatile memory (English: volatile memory), such as a random access memory (English: random-access memory, abbreviation: RAM); or a non-volatile memory (English: non-volatile memory), such as a read-only Memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid state drive (English: solid-state drive, abbreviation: SSD ); or a combination of the aforementioned types of memory.
移动通信模块101,和多任务操作系统硬件平台201连接,用于接收移动通信信号。在移动通信模块中可以设置独立的信号处理器,也可以和任务操作系统硬件平台201共用同一个信号处理器。移动通信模块101可以是通用无线分组系统(英文:General PacketRadio System,缩写:GPRS)、全球移动通信系统(英文:Global System for Mobilecommunication,缩写:GSM)演进增强型数据业务(英文:Enhanced Data Rates for GSMEvolution,缩写:EDGE)、TD-SCDMA、宽带码分多址(英文:Wideband Code DivisionMultiple Access,缩写:WCDMA)、时分长期演进(Time Division-Long Term Evolution,缩写:TD-LTE)和/或频分双工长期演进(英文:Frequency Division Duplex,缩写:FDD-LTE)的单模多频或多模多频的蜂窝通信功能模块。移动通信模块和多任务操作系统硬件平台201可以通过接口连接。The mobile communication module 101 is connected to the multitasking operating system hardware platform 201 for receiving mobile communication signals. An independent signal processor can be set in the mobile communication module, or the same signal processor can be shared with the task operating system hardware platform 201 . The mobile communication module 101 may be a general packet radio system (English: General PacketRadio System, abbreviation: GPRS), a global system for mobile communication (English: Global System for Mobilecommunication, abbreviation: GSM) evolution enhanced data service (English: Enhanced Data Rates for GSMEvolution, abbreviation: EDGE), TD-SCDMA, Wideband Code Division Multiple Access (English: Wideband Code Division Multiple Access, abbreviation: WCDMA), Time Division-Long Term Evolution (Time Division-Long Term Evolution, abbreviation: TD-LTE) and/or frequency Single-mode multi-frequency or multi-mode multi-frequency cellular communication functional module of Division Duplex Long Term Evolution (English: Frequency Division Duplex, abbreviation: FDD-LTE). The mobile communication module and the multitasking operating system hardware platform 201 can be connected through an interface.
接口可以是USB接口、安全数字输入输出(英文:Secure Digital Input andOutput Card,缩写:SDIO)接口、串行外设接口(英文:Serial Peripheral Interface,缩写:SPI中的一种。The interface may be one of a USB interface, a secure digital input and output (English: Secure Digital Input and Output Card, abbreviated: SDIO) interface, and a serial peripheral interface (English: Serial Peripheral Interface, abbreviated: SPI).
WIFI模块102,用于发送或支持无线通信信号的模块。WIFI模块支持2.4GHz或5.8GHz频段的无线以太网通信功能模块。可以通过接口和多任务操作系统硬件平台201连接。The WIFI module 102 is a module for sending or supporting wireless communication signals. The WIFI module supports the wireless Ethernet communication function module in the 2.4GHz or 5.8GHz frequency band. It can be connected with the multitasking operating system hardware platform 201 through an interface.
事件接收模块301,可以通过接口和多任务操作系统硬件平台201连接,用于获得网关当前运行状态的事件信息。The event receiving module 301 can be connected to the multi-tasking operating system hardware platform 201 through an interface, and is used to obtain event information of the current running status of the gateway.
分解模块302,和时间接收模块301通过接口连接,用于将事件接口模块301获得的事件信息分解为至少一个用于表征网关状态的标准事件信息。The decomposing module 302 is connected with the time receiving module 301 through an interface, and is used for decomposing the event information obtained by the event interface module 301 into at least one standard event information for representing the state of the gateway.
其中,分解模块302可以将事件接口模块301获得的事件信息分解为一个标准事件信息。例如若事件接收模块301获得的网关当前运行状态的事件信息为LTE信号小于3格,则分解模块302分解得到的标准事件信息可以是LTE信号弱,或者一个预先设定的标识,该标识表征网关状态的标准事件信息,如2。Wherein, the decomposition module 302 may decompose the event information obtained by the event interface module 301 into a standard event information. For example, if the event information of the current operating state of the gateway obtained by the event receiving module 301 is that the LTE signal is less than 3 grids, the standard event information decomposed by the decomposition module 302 may be that the LTE signal is weak, or a preset identifier, which represents the gateway. Standard event information for status, such as 2.
分解模块302可以将事件接口模块301获得的事件信息分解为多个标准事件信息。例如若事件接收模块301获得的网关当前运行状态的事件信息为自动获取IP地址,则分解模块302分解得到的标准事件信息可以是成功获取IP地址和正在连接WAP网关。或者是预先设定的标识,该标识表征网关状态的标准事件信息,如7和8。The decomposition module 302 may decompose the event information obtained by the event interface module 301 into a plurality of standard event information. For example, if the event information of the gateway's current operating status obtained by the event receiving module 301 is automatically obtaining an IP address, the standard event information decomposed by the decomposition module 302 may be that the IP address has been successfully obtained and the WAP gateway is being connected. Or it is a preset identifier, which represents the standard event information of the gateway status, such as 7 and 8 .
状态监控模块303,用于在建立的标准事件信息和网关运行状态的对应关系中,确定分解后的标准事件信息对应的网关运行状态。The state monitoring module 303 is configured to determine the gateway operating state corresponding to the decomposed standard event information in the established correspondence between the standard event information and the gateway operating state.
其中,标准事件信息和网关运行状态的对应关系可以存储在存储器中,也可以通过一个独立的设备存储标准事件信息和网关运行状态的对应关系。Wherein, the corresponding relationship between the standard event information and the gateway running state can be stored in the memory, or an independent device can be used to store the corresponding relationship between the standard event information and the gateway running state.
标准事件信息和网关运行状态的对应关系,在存储时,还可以对应相应的设定标识。具体可以参见上述表1所示。The corresponding relationship between the standard event information and the operating state of the gateway can also correspond to the corresponding setting identifier when storing. For details, see Table 1 above.
可选地,上述装置还可以包括:Optionally, the above-mentioned device may also include:
语音翻译模块304,和状态监控模块303连接,以及和扬声器305连接,用于通过语音播报的方式展示确定出的网关运行状态。The speech translation module 304 is connected with the state monitoring module 303 and the speaker 305, and is used for displaying the determined operating state of the gateway by way of speech broadcast.
具体地,上述语音翻译模块304,具体用于接收用于指示语音播报时所使用语言的语音播报指令;在预置用于存储语音文件的语音文件库中,获得和接收到的语音指令对应的语音文件,基于获得的语音文件,以语音播报的方式展示确定出的所述网关运行状态。语音播报指令可以预先设置,也可以是实时设置。Specifically, the above-mentioned voice translation module 304 is specifically configured to receive a voice broadcast instruction for indicating the language used in the voice broadcast; in the voice file library preset for storing voice files, obtain the voice command corresponding to the received voice command The voice file, based on the obtained voice file, displays the determined operating status of the gateway in the form of voice broadcast. Voice broadcast instructions can be preset or set in real time.
具体地,语音翻译模块304可以按照上述表1中所示,播报对应网关运行状态。Specifically, the voice translation module 304 may broadcast the corresponding gateway running status as shown in the above Table 1.
扬声器305,播放语音翻译模块传输的语音。The speaker 305 plays the voice transmitted by the voice translation module.
可选地,上述装置还可以包括:Optionally, the above-mentioned device may also include:
定时器,用于对设定时长进行计时;上述事件接收模块201,具体用于以设定时长作为检测周期,周期性获得网关当前运行状态的事件信息。The timer is used to time the set duration; the above-mentioned event receiving module 201 is specifically used to use the set duration as the detection period to periodically obtain the event information of the current running state of the gateway.
本领域的技术人员应明白,本发明的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、只读光盘、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices (devices), or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (4)
- A kind of 1. method of definite gateway status, it is characterised in that including:Obtain the event information of gateway current operating conditions;The event information is decomposed at least one standard Event information for being used to characterize gateway status;In the standard Event information of foundation and the correspondence of gateway operating status, the standard Event information pair after decomposing is determined The gateway operating status answered;The gateway operating status determined is shown by way of voice broadcast, including:Receive and be used to indicate voice broadcast When use the voice broadcast of language to instruct;Preset in the voice document storehouse of storaged voice file, obtaining and receiving The corresponding voice document of phonetic order;Voice document based on acquisition, is shown in a manner of voice broadcast described in determining Gateway operating status.
- 2. the method as described in claim 1, it is characterised in that the event information of gateway current operating conditions is obtained, including:To set duration as the event information of detection cycle, periodically acquisition gateway current operating conditions.
- A kind of 3. gateway device, it is characterised in that including:Event receiving module, for obtaining the event information of gateway current operating conditions;Decomposing module, for the event information to be decomposed at least one standard Event information for being used to characterize gateway status;Monitoring module, in the standard Event information of foundation and the correspondence of gateway operating status, determining to decompose The corresponding gateway operating status of standard Event information afterwards;Voiced translation module, for showing the gateway operating status determined by way of voice broadcast;The voiced translation module, is additionally operable to receive for indicating to use the voice broadcast of language to instruct during voice broadcast;And In the preset corresponding voice document of phonetic order in the voice document storehouse of storaged voice file, obtaining and receiving;Base In the voice document of acquisition, the gateway operating status determined is shown in a manner of voice broadcast.
- 4. gateway device as claimed in claim 3, it is characterised in that further include:Timer, for carrying out timing to setting duration;The event receiving module, specifically for using the setting duration of the timer as detection cycle, periodically obtaining net Close the event information of current operating conditions.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310367749.5A CN104427539B (en) | 2013-08-21 | 2013-08-21 | Determine the method and gateway device of gateway status |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310367749.5A CN104427539B (en) | 2013-08-21 | 2013-08-21 | Determine the method and gateway device of gateway status |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104427539A CN104427539A (en) | 2015-03-18 |
| CN104427539B true CN104427539B (en) | 2018-05-11 |
Family
ID=52975228
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310367749.5A Active CN104427539B (en) | 2013-08-21 | 2013-08-21 | Determine the method and gateway device of gateway status |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104427539B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107968828B (en) * | 2017-11-30 | 2020-09-04 | 美的集团股份有限公司 | Household appliance voice broadcasting method, device and equipment |
| CN110808045A (en) * | 2019-11-07 | 2020-02-18 | 深圳创维-Rgb电子有限公司 | Detection method, device, device and readable storage medium based on artificial intelligence |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6188760B1 (en) * | 1998-05-08 | 2001-02-13 | Cisco Technology, Inc. | Signaling state management system for packet network gateways |
| CN1288622A (en) * | 1998-01-19 | 2001-03-21 | 西门子公司 | Method and communication system for processing alarms using a management network involving several layers of management |
| CN1878174A (en) * | 2006-01-26 | 2006-12-13 | 华为技术有限公司 | Method for displaying WAP browse content according to order information |
| US7903806B1 (en) * | 2000-01-05 | 2011-03-08 | Canoga Perkins Corp. | Expert call analyzer and next generation telephony network configuration system |
| CN102148827A (en) * | 2011-02-11 | 2011-08-10 | 成都市华为赛门铁克科技有限公司 | Security event management method, device and security management platform |
| CN103116302A (en) * | 2011-05-31 | 2013-05-22 | 通用电气公司 | Systems and methods to customize alert presentation |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101179622B (en) * | 2006-11-07 | 2010-06-16 | 中兴通讯股份有限公司 | A multi-command processing device and its processing method in a communication system |
| US9185718B2 (en) * | 2009-06-29 | 2015-11-10 | Qualcomm Incorporated | Centralized coexistence manager for controlling operation of multiple radios |
| CN102340495B (en) * | 2010-07-26 | 2014-09-03 | 中国移动通信集团广东有限公司 | Event center supporting cross-system service linkage and event processing method of event center |
-
2013
- 2013-08-21 CN CN201310367749.5A patent/CN104427539B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1288622A (en) * | 1998-01-19 | 2001-03-21 | 西门子公司 | Method and communication system for processing alarms using a management network involving several layers of management |
| US6188760B1 (en) * | 1998-05-08 | 2001-02-13 | Cisco Technology, Inc. | Signaling state management system for packet network gateways |
| US7903806B1 (en) * | 2000-01-05 | 2011-03-08 | Canoga Perkins Corp. | Expert call analyzer and next generation telephony network configuration system |
| CN1878174A (en) * | 2006-01-26 | 2006-12-13 | 华为技术有限公司 | Method for displaying WAP browse content according to order information |
| CN102148827A (en) * | 2011-02-11 | 2011-08-10 | 成都市华为赛门铁克科技有限公司 | Security event management method, device and security management platform |
| CN103116302A (en) * | 2011-05-31 | 2013-05-22 | 通用电气公司 | Systems and methods to customize alert presentation |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104427539A (en) | 2015-03-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104904309B (en) | A kind of method and mobile terminal for sending heartbeat message | |
| CN102299729B (en) | A kind of information transferring method and device | |
| US9894500B2 (en) | Status information update method and mobile terminal | |
| CN103181203B (en) | Method and device for obtaining neighbor cell information | |
| WO2015026285A3 (en) | Paging in coverage extension mode | |
| WO2014023257A1 (en) | Instruction processing method, apparatus, and system | |
| US10880756B2 (en) | Information notification method, user terminal, first base station, and second base station | |
| RU2011109166A (en) | METHODS AND DEVICES FOR NOTIFICATION OF EMERGENCY SITUATIONS | |
| US9860177B2 (en) | Managing network load using device application programs | |
| CN106413037A (en) | Network access method and device for interment-of-things equipment, equipment and mobile terminal | |
| CN102741898A (en) | Electrical gateway and communication method therefor | |
| CN104080191A (en) | Method and device of exchanging user information through mobile terminal | |
| EP3883292A1 (en) | Message sending method and apparatus, and control method and apparatus therefor | |
| CA2509563A1 (en) | Methods and apparatus for providing consistency in sms message timestamp formatting for mobile communication devices | |
| CN105306677A (en) | Method, apparatus and system for controlling intelligent device | |
| WO2016173349A1 (en) | Network access method and mobile communications terminal | |
| CN104427539B (en) | Determine the method and gateway device of gateway status | |
| CN107770786A (en) | A kind of method of testing of network performance, equipment and system | |
| JPWO2015151249A1 (en) | Communication system and communication method | |
| WO2004102852A3 (en) | Method and apparatus for multi-phase wireless handshaking | |
| KR101993778B1 (en) | Apparatus and Method for Displaying Indicator According to Interwork Network | |
| CN110233715A (en) | A kind of method of acquisition of information, terminal, base station and system | |
| CN105684455A (en) | Video sharing method and system based on app | |
| CN107534853A (en) | A kind of method and apparatus for starting relay function | |
| CN105025464A (en) | A data transmission method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |