CN100531182C - Network apparatus and its operation protection method and network communication system using same - Google Patents
Network apparatus and its operation protection method and network communication system using same Download PDFInfo
- Publication number
- CN100531182C CN100531182C CNB2005101019985A CN200510101998A CN100531182C CN 100531182 C CN100531182 C CN 100531182C CN B2005101019985 A CNB2005101019985 A CN B2005101019985A CN 200510101998 A CN200510101998 A CN 200510101998A CN 100531182 C CN100531182 C CN 100531182C
- Authority
- CN
- China
- Prior art keywords
- network equipment
- middleware
- address
- application server
- user instruction
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
一种网络设备,其可执行存储于一应用服务器的中介软件,所述网络设备包括一接收模块、一第一检测模块、一第二检测模块以及一处理模块。其中,接收模块接收一用户指令。第一检测模块用于根据用户指令检测中介软件是否处于使用状态。第二检测模块用于根据中介软件的使用状态检测用户指令是否预先设定由中介软件处理。处理模块用于中介软件处于非使用状态时或用户指令并非预先设定由中介软件处理时处理用户指令。本发明的网络设备具有失误操作保护功能,可确保系统的稳定性。
A network device, which can execute intermediary software stored in an application server, said network device includes a receiving module, a first detection module, a second detection module and a processing module. Wherein, the receiving module receives a user instruction. The first detection module is used to detect whether the intermediary software is in use according to user instructions. The second detecting module is used for detecting whether the user instruction is preset to be processed by the intermediate software according to the use state of the intermediate software. The processing module is used for processing the user instruction when the intermediary software is not in use or the user instruction is not preset to be processed by the intermediary software. The network equipment of the present invention has the protection function of misoperation and can ensure the stability of the system.
Description
【技术领域】 【Technical field】
本发明涉及一种网络设备,尤其涉及一种可执行外部中介软件的网络设备。The invention relates to a network device, in particular to a network device capable of executing external intermediary software.
【背景技术】 【Background technique】
随着用户对网络产品,尤其是消费性电子产品,如:数字机上盒(Set-Top-Box,STB)功能需求的日益多样化,越来越多的厂商在此类产品中结合外部中介软件(Middleware)来实现更多功能。由于中介软件处于操作软件与应用软件之间,其可为上层应用软件提供运行与开发的环境,帮助用户开发和整合复杂的应用软件,故执行中介软件的网络产品可提供更丰富更完整的功能来满足用户的需求。As users have increasingly diversified functional requirements for network products, especially consumer electronics products, such as digital set-top boxes (Set-Top-Box, STB), more and more manufacturers combine external intermediary software in such products (Middleware) to achieve more functions. Since the intermediary software is between the operating software and the application software, it can provide an environment for running and developing upper-level application software, and help users develop and integrate complex application software. Therefore, network products that execute intermediary software can provide richer and more complete functions. to meet the needs of users.
中介软件为一网络产品外部的软件,在网络产品使用的过程中,中介软件执行的功能均已预先设定,然而由于中介软件对某个预先设定功能操作的失误,使得该功能由网络产品执行,则会导致系统冲突和资源的浪费。例如,当中介软件正在执行一“返回上一页”的功能,用户发出一“返回首页”的讯息,且该“返回首页”功能预先设定由中介软件来执行。正常情况下,网络产品调用中介软件执行相应功能,但是此时中介软件正在处理“返回上一页”的功能,即处于使用状态,则“返回首页”的功能会由网络产品本身所执行。故,造成系统的冲突和资源的浪费,从而导致系统的不稳定。The intermediary software is software outside the network product. During the use of the network product, the functions performed by the intermediary software have been preset. Execution will lead to system conflicts and waste of resources. For example, when the intermediary software is executing a function of "returning to the previous page", the user sends a message of "returning to the homepage", and the function of "returning to the homepage" is preset to be executed by the intermediary software. Under normal circumstances, the network product calls the intermediary software to perform the corresponding function, but at this time the intermediary software is processing the function of "return to the previous page", that is, it is in use, and the function of "return to the home page" will be executed by the network product itself. Therefore, system conflicts and resource waste are caused, resulting in system instability.
【发明内容】 【Content of invention】
有鉴于此,需提供一种网络设备,其具有失误操作保护功能,确保系统的稳定性。In view of this, it is necessary to provide a network device with a function of protection against misoperation to ensure the stability of the system.
另外,还需提供一种通讯系统,其采用具有失误操作保护功能的网络设备,确保系统的稳定性。In addition, it is also necessary to provide a communication system, which adopts a network device with a function of protection against misoperation to ensure the stability of the system.
再次,还需提供一种网络设备操作保护方法,防止中介软件失误操作的发生,确保系统的稳定性。Thirdly, it is also necessary to provide a network device operation protection method to prevent the occurrence of misoperation of the intermediary software and ensure the stability of the system.
一种网络设备,其可执行存储于一应用服务器的中介软件,所述网络设备包括一接收模块、一第一检测模块、一第二检测模块以及一处理模块。其中,接收模块接收一用户指令。第一检测模块用于根据用户指令检测中介软件是否处于使用状态。第二检测模块用于根据中介软件的使用状态检测用户指令是否预先设定由中介软件处理。处理模块用于中介软件处于非使用状态时或所述用户指令并非预先设定由中介软件时处理所述用户指令。A network device, which can execute intermediary software stored in an application server, the network device includes a receiving module, a first detection module, a second detection module and a processing module. Wherein, the receiving module receives a user instruction. The first detection module is used to detect whether the intermediary software is in use according to user instructions. The second detecting module is used for detecting whether the user instruction is preset to be processed by the intermediate software according to the use state of the intermediate software. The processing module is used for processing the user instruction when the intermediary software is not in use or the user instruction is not preset by the intermediary software.
一种网络通讯系统,用于调用并执行一中介软件,所述网络通讯系统包括一交换机、一应用服务器、一网络设备以及一网络设备服务器。其中,应用服务器与交换机相连,用于存储所述中介软件。网络设备服务器也与交换机相连,用于存储应用服务器的地址。网络设备可执行中介软件,其包括一接收模块、一第一检测模块、一第二检测模块以及一处理模块。其中,接收模块接收一用户指令。第一检测模块用于根据用户指令检测中介软件是否处于使用状态。第二检测模块用于根据中介软件的使用状态检测用户指令是否预先设定由中介软件处理。处理模块用于根据中介软件的使用状态或第二检测模块的检测结果处理用户指令。A network communication system is used for invoking and executing an intermediary software. The network communication system includes a switch, an application server, a network device and a network device server. Wherein, the application server is connected with the switch and is used for storing the middleware. The network device server is also connected to the switch and used to store the address of the application server. The network equipment can execute middleware, which includes a receiving module, a first detection module, a second detection module and a processing module. Wherein, the receiving module receives a user instruction. The first detection module is used to detect whether the intermediary software is in use according to user instructions. The second detecting module is used for detecting whether the user instruction is preset to be processed by the intermediate software according to the use state of the intermediate software. The processing module is used for processing user instructions according to the use state of the middleware or the detection result of the second detection module.
一种网络设备操作保护方法,应用于网络设备中,所述网络设备操作保护方法用于防止一存储于一应用服务器中的中介软件失误操作的发生,所述网络设备操作保护方法包括网络设备接收一用户指令;网络设备根据用户指令检测中介软件是否处于使用状态;当中介软件处于使用状态,网络设备检测用户指令是否预先设定由中介软件处理;以及当用户指令并非预先设定由中介软件处理,网络设备处理用户指令。A network device operation protection method, which is applied to network devices, the network device operation protection method is used to prevent an intermediate software stored in an application server from misoperation, the network device operation protection method includes network equipment receiving A user command; the network device detects whether the intermediary software is in use according to the user command; when the intermediary software is in use, the network device detects whether the user command is pre-set to be processed by the intermediary software; and when the user command is not pre-set by the intermediary software , the network device processes user instructions.
本发明的网络设备采用第一检测模块与第二检测模块检测用户指令是否预先设定由中介软件所处理,既而防止中介软件失误操作的发生,确保系统的稳定性,并节约系统的资源。The network device of the present invention uses the first detection module and the second detection module to detect whether the user command is pre-set to be processed by the intermediary software, so as to prevent the occurrence of misoperation of the intermediary software, ensure the stability of the system, and save system resources.
【附图说明】 【Description of drawings】
图1为本发明网络设备的应用环境图。FIG. 1 is an application environment diagram of a network device of the present invention.
图2为本发明网络设备的内部模块图。Fig. 2 is an internal block diagram of the network device of the present invention.
图3为本发明网络设备操作保护方法一实施方式的流程图。FIG. 3 is a flow chart of an embodiment of a network device operation protection method according to the present invention.
图4为本发明网络设备操作保护方法另一实施方式的流程图。Fig. 4 is a flow chart of another embodiment of the network device operation protection method of the present invention.
【具体实施方式】 【Detailed ways】
图1所示为本发明网络设备40的应用环境图,其中,多个网络设备40通过一交换机30连接至一网络设备服务器10,一远程应用服务器20也与交换机30相连。应用服务器20用于存储一中介软件(Middleware),其地址存储于网络设备服务器10之中,网络设备40通过交换机30读取网络设备服务器10中的应用服务器20的地址,进而调用并执行中介软件。本实施方式中,网络设备40为数字机上盒(Set-Top-Box,STB),网络设备服务器10为机上盒服务器(STBServer)。FIG. 1 is an application environment diagram of a
图2所示为本发明网络设备40的内部模块图。所述网络设备40包括一接收模块401、一第一检测模块402、一第二检测模块405、一存储模块406以及一处理模块407。其中,接收模块401用于接收一用户指令。本实施方式中,用户指令可为一按键讯息,例如一“返回首页”按键讯息。且,用户指令可预先设定由中介软件所处理,或者由网络设备40所处理。第一检测模块402用于检测中介软件是否处于使用状态。若中介软件处于非使用状态,则可确认用户指令预先设定由网络设备40所处理,而非中介软件所处理;若中介软件处于使用状态,即中介软件正在执行其它预先设定的功能,例如执行“返回上一页”的功能,则仍需进一步判断用户指令(“返回首页”)是否预先设定由中介软件处理。本实施方式中,第一检测模块402包括一读取模块403与一比较模块404。FIG. 2 shows an internal block diagram of the
在第一检测模块402中,读取模块403通过交换机30读取应用服务器20的地址,应用服务器20的地址存储于网络设备服务器10中。比较模块404连接于读取模块403与第二检测模块405之间,用于比较该应用服务器20的地址与网络设备40目前加载页面的地址,以此确定中介软件的使用状态。当应用服务器20地址与网络设备40目前加载页面的地址相同,则中介软件此时处于使用状态;当应用服务器20地址与网络设备40目前加载页面的地址不同,则中介软件此时处于非使用状态。本实施方式中,网络设备40加载页面地址与应用服务器20地址为全球资源定位器(Uniform Resource Locator,URL)地址。In the
第二检测模块405分别连接接收模块401与第一检测模块402,用于根据中介软件的使用状态进一步检测用户指令是否预先设定由中介软件处理。换言之,当中介软件处于使用状态时,第二检测模块405检测该用户指令是否存在中介软件的功能表中。本实施方式中,中介软件的功能表用于存储预先设定由中介软件所处理的功能,并存储于与第二检测模块405相连的存储模块406中。The
处理模块407分别连接第一检测模块402与第二检测模块405,用于根据中介软件的使用状态或者第二检测模块405的检测结果处理用户指令。换言之,当中介软件处于非使用状态时或用户指令并非预先设定由中介软件处理时,处理模块407处理用户指令。The
图3所示为本发明网络设备操作保护方法一实施方式的流程图。在步骤S310中,接收模块401接收一用户指令。在步骤S330中,第一检测模块402根据用户指令检测此时中介软件是否处于使用状态。当中介软件此时处于非使用状态时,则用户指令预先设定由网络设备40所处理,并非中介软件所处理,执行步骤S370,网络设备40处理用户指令。当中介软件处于使用状态时,则执行步骤S350,第二检测模块405进一步检测中介软件是否预先设定处理用户指令,即检测用户指令是否存在中介软件的功能表中。当用户指令并非预先设定由中介软件处理,即用户指令不存在中介软件的功能表中时,执行步骤S370,网络设备40处理用户指令。当用户指令预先设定由中介软件处理,即用户指令存在于中介软件的功能表中,则系统流程结束。FIG. 3 is a flow chart of an embodiment of a network device operation protection method according to the present invention. In step S310, the
图4所示为图3的具体流程图。在图4中,步骤S331与S333为图3中步骤S330的具体流程图,其余步骤均与图3相同。其中,在步骤S331中,读取模块403读取应用服务器20的地址,其存储于网络设备服务器10中。在步骤S333中,比较模块404比较应用服务器20地址与目前网络设备40加载页面的地址是否相同,即检测此时中介软件是否处于使用状态。如果应用服务器20地址与网络设备40目前加载页面的地址相同,则此时中介软件处于使用状态;如果应用服务器20地址与网络设备40目前加载页面的地址不同,则此时中介软件处于非使用状态。FIG. 4 shows the specific flowchart of FIG. 3 . In FIG. 4 , steps S331 and S333 are the specific flowchart of step S330 in FIG. 3 , and the rest of the steps are the same as those in FIG. 3 . Wherein, in step S331 , the
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101019985A CN100531182C (en) | 2005-12-02 | 2005-12-02 | Network apparatus and its operation protection method and network communication system using same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101019985A CN100531182C (en) | 2005-12-02 | 2005-12-02 | Network apparatus and its operation protection method and network communication system using same |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1980221A CN1980221A (en) | 2007-06-13 |
CN100531182C true CN100531182C (en) | 2009-08-19 |
Family
ID=38131222
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005101019985A Expired - Fee Related CN100531182C (en) | 2005-12-02 | 2005-12-02 | Network apparatus and its operation protection method and network communication system using same |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100531182C (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1361975A (en) * | 1999-05-21 | 2002-07-31 | 通用仪器公司 | Programming interface for television settop core system software |
US6789114B1 (en) * | 1998-08-05 | 2004-09-07 | Lucent Technologies Inc. | Methods and apparatus for managing middleware service in a distributed system |
US6915525B2 (en) * | 2000-04-14 | 2005-07-05 | Sony Corporation | Method and apparatus for controlling set-top box hardware and software functions |
-
2005
- 2005-12-02 CN CNB2005101019985A patent/CN100531182C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6789114B1 (en) * | 1998-08-05 | 2004-09-07 | Lucent Technologies Inc. | Methods and apparatus for managing middleware service in a distributed system |
CN1361975A (en) * | 1999-05-21 | 2002-07-31 | 通用仪器公司 | Programming interface for television settop core system software |
US6915525B2 (en) * | 2000-04-14 | 2005-07-05 | Sony Corporation | Method and apparatus for controlling set-top box hardware and software functions |
Also Published As
Publication number | Publication date |
---|---|
CN1980221A (en) | 2007-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102915113B (en) | A kind of data input support method and device | |
CN102831344B (en) | Course handling method and device | |
CN106528210B (en) | Application program running method and device | |
CN112311774A (en) | Data processing method and device, electronic equipment and storage medium | |
CN112231059B (en) | Container startup method, device, storage medium and computer equipment | |
WO2014153970A1 (en) | Method and apparatus for text input protection | |
CN110881224A (en) | Network long connection method, device, equipment and storage medium | |
CN103024058A (en) | Method and system for invoking web services | |
US7296265B1 (en) | Class loading in a virtual machine for a platform having minimal resources | |
CN114880013A (en) | A method and device for processing configuration information of a business process | |
CN111831357A (en) | Background application management method, device and computer-readable storage medium | |
CN100531182C (en) | Network apparatus and its operation protection method and network communication system using same | |
CN111240760A (en) | Application publishing method, system, storage medium and equipment based on registry | |
CN107835497A (en) | Message prompt method and device | |
CN114490009A (en) | Audio data processing method, device and computer storage medium | |
CN107704279B (en) | Data loading method and device | |
CN112486714A (en) | Database exception capture processing method and device and computer equipment | |
CN107766232B (en) | Plug-in management method and device | |
CN109660585B (en) | Method, device, equipment and storage medium for calling AOP enhanced object service | |
US9582368B2 (en) | Method and apparatus for text input protection | |
CN110941484B (en) | Application program calling method and device | |
CN115982493A (en) | Page jump method and device, storage medium and electronic device | |
CN108984673A (en) | A kind of file test method and device | |
CN110177364B (en) | Bluetooth device pairing connection method and device, storage medium and electronic device | |
US20070136307A1 (en) | Network device and operation management method thereof and network communication system using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090819 Termination date: 20151202 |
|
EXPY | Termination of patent right or utility model |