TWI413378B - Network device and method for setting parameters of the network device - Google Patents
Network device and method for setting parameters of the network device Download PDFInfo
- Publication number
- TWI413378B TWI413378B TW99129178A TW99129178A TWI413378B TW I413378 B TWI413378 B TW I413378B TW 99129178 A TW99129178 A TW 99129178A TW 99129178 A TW99129178 A TW 99129178A TW I413378 B TWI413378 B TW I413378B
- Authority
- TW
- Taiwan
- Prior art keywords
- service
- parameter
- component
- network device
- parameters
- Prior art date
Links
Landscapes
- Computer And Data Communications (AREA)
Abstract
Description
本發明涉及一種網路裝置,尤其涉及一種網路裝置及其參數設定方法。 The present invention relates to a network device, and more particularly to a network device and a parameter setting method thereof.
網路裝置的內部架構包括管理元件(management agent,MA)、管理層服務系統、服務元件(service agent,SA)及驅動。當用戶在管理元件端設定參數時,管理元件將該設定的參數傳送給管理層服務系統,該管理層服務系統每傳一條參數給服務元件,該服務元件就將該參數發送給驅動,驅動對該網路裝置進行參數設定,但是參數往往有多條(如n條),第n條參數才是驅動最終設定的參數,即造成了n-1次資源的浪費。 The internal architecture of the network device includes a management agent (MA), a management service system, a service agent (SA), and a driver. When the user sets a parameter on the management component end, the management component transmits the set parameter to the management service system, and the management service system transmits a parameter to the service component, and the service component sends the parameter to the driver, and the driver pair The network device performs parameter setting, but there are often multiple parameters (such as n), and the nth parameter is the parameter that drives the final setting, that is, the waste of n-1 resources is caused.
鑒於以上內容,有必要提供一種網路裝置及其參數設定方法,可以高效快速地設定網路裝置的參數。 In view of the above, it is necessary to provide a network device and a parameter setting method thereof, which can quickly and quickly set parameters of the network device.
一種網路裝置,該網路裝置包括管理元件、管理層服務系統、多個服務元件及對應該多個服務元件的多個驅動,所述管理層服務系統包括:接收模組,用於接收管理元件發送的所有參數;發送模組,用於發送相應參數至該參數對應的服務元件;該發送模組 ,還用於當該服務元件接收完相應參數後,發送一個結束旗標給該服務元件;及控制模組,用於當一個服務元件接收到結束旗標後,控制該服務元件發送所接收到的所有參數至該服務元件對應的驅動,該驅動根據所述參數對所述網路裝置進行參數設定。 A network device includes a management component, a management service system, a plurality of service components, and a plurality of drivers corresponding to the plurality of service components, the management service system comprising: a receiving module for receiving management All parameters sent by the component; the sending module is configured to send the corresponding parameter to the service component corresponding to the parameter; the sending module And, when the service component receives the corresponding parameter, sends an end flag to the service component; and a control module, configured to control the service component to send and receive when the service component receives the end flag All the parameters are to the corresponding driver of the service component, and the driver performs parameter setting on the network device according to the parameter.
一種網路裝置參數設定方法,該網路裝置包括管理元件、管理層服務系統,多個服務元件及對應該多個服務元件的多個驅動,該方法包括如下步驟:(a)接收管理元件發送的所有參數;(b)發送該參數至該參數對應的服務元件;(c)當服務元件接收完參數後,發送一個結束旗標給該服務元件;及(d)控制該服務元件發送所接收到的所有參數至該服務元件對應的驅動,該驅動根據所述參數對所述網路裝置進行參數設定。 A network device parameter setting method, the network device comprising a management component, a management service system, a plurality of service components and a plurality of drivers corresponding to the plurality of service components, the method comprising the following steps: (a) receiving the management component to send (b) send the parameter to the service element corresponding to the parameter; (c) after the service element receives the parameter, send an end flag to the service element; and (d) control the service element to send the received All the parameters arrived to the corresponding driver of the service component, and the driver performs parameter setting on the network device according to the parameter.
相較於習知技術,所述網路裝置及其參數設定方法,使得用戶於介面上設定的參數可以快速高效地設定到網路裝置內,避免了系統資源的浪費。 Compared with the prior art, the network device and its parameter setting method enable the parameters set by the user on the interface to be quickly and efficiently set into the network device, thereby avoiding waste of system resources.
1‧‧‧網路裝置 1‧‧‧Network device
10‧‧‧管理元件 10‧‧‧Management components
11‧‧‧管理層服務系統 11‧‧‧Management Service System
12‧‧‧服務元件 12‧‧‧Service components
13‧‧‧驅動 13‧‧‧Drive
110‧‧‧資料庫 110‧‧‧Database
111‧‧‧接收模組 111‧‧‧ receiving module
112‧‧‧判斷模組 112‧‧‧Judgement module
113‧‧‧發送模組 113‧‧‧Transmission module
114‧‧‧控制模組 114‧‧‧Control Module
圖1係本發明網路裝置較佳實施例之硬體架構圖。 1 is a hardware architecture diagram of a preferred embodiment of a network device of the present invention.
圖2係圖1中管理層服務系統11之功能模組圖。 2 is a functional block diagram of the management service system 11 of FIG.
圖3係本發明網路裝置參數設定方法較佳實施例之作業流程圖。 3 is a flow chart showing the operation of a preferred embodiment of the network device parameter setting method of the present invention.
如圖1所示,係本發明網路裝置較佳實施例之硬體架構圖。該網路裝置1包括管理元件(management agent,MA)10、管理層服務(management layer service,MLS)系統11(以下簡稱為MLS 11)、多個服務元件(service agent,SA)12及每個SA 12所對應的驅動(driver)13。該MA 10可以為web網頁圖像化介面或者命令輸入介面(例如:DOS命令輸入介面)。該SA 12可以為防火牆。所述MLS 11為中間件,用戶可以在MA 10上對網路裝置1進行參數設置。該MLS 11包括資料庫110,MLS 11接收MA 10發送的參數並儲存於資料庫110中,待MLS 11接收完成後將該參數發送給SA 12,該SA 12將接收到的參數發送給相應的驅動13,該驅動13接收參數並對網路裝置1進行設定。 1 is a hardware architecture diagram of a preferred embodiment of the network device of the present invention. The network device 1 includes a management agent (MA) 10 and a management layer service (MLS) system 11 (hereinafter referred to as MLS). 11), a plurality of service agents (SA) 12 and a driver 13 corresponding to each SA 12. The MA 10 can be a web page image interface or a command input interface (for example, a DOS command input interface). The SA 12 can be a firewall. The MLS 11 is a middleware, and the user can parameterize the network device 1 on the MA 10. The MLS 11 includes a database 110. The MLS 11 receives the parameters sent by the MA 10 and stores them in the database 110. After the MLS 11 receives the parameters, the parameters are sent to the SA 12, and the SA 12 sends the received parameters to the corresponding parameters. Drive 13, the driver 13 receives the parameters and sets the network device 1.
每個SA 12都在MLS 11上註冊了該SA 12的資訊,該SA 12的資訊包括該SA 12與其他SA 12之間的關係,該關係包括依附關係或者相互獨立。SA 12之間的依附關係是指多個SA 12從MLS 11接收參數的順序,如第二SA 12依附於第一SA 12,則MLS 11首先發送參數給第一SA 12,再將參數發送給第二SA 12。若每個SA 12之間是相互獨立的,則MLS 11同時發送相應的參數至每個SA 12。 Each SA 12 registers the information of the SA 12 on the MLS 11, and the information of the SA 12 includes the relationship between the SA 12 and other SAs 12, the relationship including the dependency relationship or independent of each other. The dependency relationship between the SAs 12 refers to the order in which the plurality of SAs 12 receive parameters from the MLS 11, and if the second SA 12 is attached to the first SA 12, the MLS 11 first sends the parameters to the first SA 12, and then sends the parameters to the Second SA 12. If each SA 12 is independent of each other, the MLS 11 simultaneously transmits the corresponding parameters to each SA 12.
如圖2所示,係圖1中MLS 11之功能模組圖。所述MLS 11包括:接收模組111、判斷模組112、發送模組113及控制模組114。所述模組是具有特定功能的軟體程式段,該軟體儲存於電腦可讀儲存介質或其他儲存設備,可被電腦或其他包含處理器的計算裝置執行,從而完成本發明中網路裝置1參數設定的作業流程。 As shown in FIG. 2, it is a functional module diagram of the MLS 11 in FIG. The MLS 11 includes a receiving module 111, a determining module 112, a transmitting module 113, and a control module 114. The module is a software program segment having a specific function, and the software is stored in a computer readable storage medium or other storage device, and can be executed by a computer or other computing device including the processor, thereby completing the parameters of the network device 1 in the present invention. The set workflow.
接收模組111用於接收MA 10發送的所有參數並儲存至資料庫110中,接收的參數對應發送給一個或多個SA 12,即所接收的參數屬於一個SA 12或者多個SA 12。 The receiving module 111 is configured to receive all parameters sent by the MA 10 and store them in the data repository 110. The received parameters are correspondingly sent to one or more SAs 12, that is, the received parameters belong to one SA 12 or multiple SAs 12.
判斷模組112用於判斷接收到的參數是否屬於一個SA 12。 The determining module 112 is configured to determine whether the received parameter belongs to one SA 12.
發送模組113用於當所述參數屬於多個SA 12時,根據每個SA 12之間的關係確定接收參數的SA 12的順序,並根據該順序確定接收參數的第一批SA 12。該發送模組113還用於發送相應參數至該第一批SA 12,本實施例中,發送模組113發送相應參數之前發送一個開始旗標給該批SA 12中的每個SA 12,如發送“NotYetApplied=true”旗標給每個SA 12。當一個SA 12接收到屬於該SA 12的所有參數時,該發送模組113發送一個結束旗標給該SA 12中,如發送“NotYetApplied=false”旗標給該SA 12。 The sending module 113 is configured to determine the order of the SA 12 receiving the parameters according to the relationship between each SA 12 when the parameters belong to the plurality of SAs 12, and determine the first batch of SAs 12 that receive the parameters according to the order. The sending module 113 is further configured to send corresponding parameters to the first batch of SAs 12. In this embodiment, the sending module 113 sends a start flag to each SA 12 in the batch of SAs 12 before sending the corresponding parameters, such as Send a "NotYetApplied=true" flag to each SA 12. When a SA 12 receives all the parameters belonging to the SA 12, the transmitting module 113 sends an end flag to the SA 12, such as sending a "NotYetApplied=false" flag to the SA 12.
所述判斷模組112還用於判斷是否存在依附於該SA 12的SA 12。本實施例中,依附於一個SA 12可能為一個SA 12,也可能為多個SA 12。若存在依附於該SA 12的SA 12,則發送模組113還用於發送相應參數至依附於該SA 12的SA 12,以此類推,直到所有參數都發送完畢。 The determining module 112 is further configured to determine whether there is an SA 12 attached to the SA 12. In this embodiment, the attached to one SA 12 may be one SA 12 or multiple SAs 12 . If there is an SA 12 attached to the SA 12, the transmitting module 113 is further configured to send the corresponding parameter to the SA 12 attached to the SA 12, and so on, until all parameters are transmitted.
控制模組114用於當每個SA 12收到結束旗標時,控制各SA 12發送所接收到的所有參數至對應的驅動13。 The control module 114 is configured to control each SA 12 to send all the received parameters to the corresponding driver 13 when each SA 12 receives the end flag.
如圖3所示,係本發明網路裝置參數設定方法較佳實施例之作業流程圖。 As shown in FIG. 3, it is an operational flowchart of a preferred embodiment of the network device parameter setting method of the present invention.
步驟S30,接收模組111接收MA 10發送的所有參數,並儲存至資料庫110中,接收的參數屬於一個或多個SA 12。 In step S30, the receiving module 111 receives all the parameters sent by the MA 10 and stores them in the database 110, and the received parameters belong to one or more SAs 12.
步驟S31,判斷模組112判斷該參數是否屬於一個SA 12。若該參數屬於一個SA 12,直接執行步驟S34。若該參數屬於多個SA 12 ,則執行步驟S32。 In step S31, the determining module 112 determines whether the parameter belongs to an SA 12. If the parameter belongs to one SA 12, step S34 is directly executed. If the parameter belongs to multiple SA 12 Then, step S32 is performed.
步驟S32,發送模組113根據每個SA 12之間的關係確定接收參數的SA 12的順序,並根據該順序確定一批接收參數的SA 12。 In step S32, the sending module 113 determines the order of the SA 12 receiving the parameters according to the relationship between each SA 12, and determines a batch of SA 12 receiving parameters according to the order.
步驟S33,發送模組113發送相應的參數至該批SA 12。本實施例中,發送模組113發送相應參數之前會發送一個開始旗標給該批SA 12中的每個SA 12,如發送“NotYetApplied=true”旗標給每個SA 12。 In step S33, the sending module 113 sends corresponding parameters to the batch of SAs 12. In this embodiment, the sending module 113 sends a start flag to each SA 12 in the batch of SAs 12 before sending the corresponding parameters, such as sending a "NotYetApplied=true" flag to each SA 12.
步驟S34,判斷模組112判斷接收參數的SA 12是否接收到屬於該SA 12的所有參數。若SA 12接收到屬於該SA 12的所有參數,則於步驟S35中,發送模組113發送一個結束旗標給該SA 12,如發送“NotYetApplied=false”旗標給該SA 12,並執行步驟S36。若有SA 12沒有接收到屬於該SA 12的所有參數,則轉至步驟S33繼續發送相應參數給該SA 12。 In step S34, the determining module 112 determines whether the SA 12 receiving the parameter receives all the parameters belonging to the SA 12. If the SA 12 receives all the parameters belonging to the SA 12, then in step S35, the sending module 113 sends an end flag to the SA 12, such as sending a "NotYetApplied=false" flag to the SA 12, and performing the steps. S36. If the SA 12 does not receive all the parameters belonging to the SA 12, then the process goes to step S33 to continue transmitting the corresponding parameters to the SA 12.
步驟S36,控制模組114控制該SA 12發送所接收到的所有參數至對應的驅動13。 In step S36, the control module 114 controls the SA 12 to send all the received parameters to the corresponding driver 13.
步驟S37,所述驅動13根據接收到的參數對該網路裝置1進行參數設定。 In step S37, the driver 13 performs parameter setting on the network device 1 according to the received parameters.
步驟S38,判斷模組112判斷是否存在依附於該SA 12的其他SA 12。若存在,則執行步驟S39。若不存在,則結束流程。 In step S38, the determining module 112 determines whether there are other SAs 12 attached to the SA 12. If yes, step S39 is performed. If it does not exist, the process ends.
步驟S39,發送模組113發送相應參數至依附於該SA 12的下一批SA 12,並轉至步驟S34。本實施例中,依附於該SA 12的下一批 SA 12為一個或多個SA 12。 In step S39, the transmitting module 113 sends the corresponding parameter to the next batch of SA 12 attached to the SA 12, and proceeds to step S34. In this embodiment, the next batch attached to the SA 12 SA 12 is one or more SAs 12.
最後所應說明的是,以上實施例僅用以說明本發明的技術方案而非限制,儘管參照以上較佳實施例對本發明進行了詳細說明,本領域的普通技術人員應當理解,可以對本發明的技術方案進行修改或等同替換,而不脫離本發明技術方案的精神和範圍。 It should be noted that the above embodiments are only intended to illustrate the technical solutions of the present invention and are not intended to be limiting, and the present invention will be described in detail with reference to the preferred embodiments thereof The technical solutions are modified or equivalently substituted without departing from the spirit and scope of the technical solutions of the present invention.
11‧‧‧管理層服務系統 11‧‧‧Management Service System
111‧‧‧接收模組 111‧‧‧ receiving module
112‧‧‧判斷模組 112‧‧‧Judgement module
113‧‧‧發送模組 113‧‧‧Transmission module
114‧‧‧控制模組 114‧‧‧Control Module
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW99129178A TWI413378B (en) | 2010-08-31 | 2010-08-31 | Network device and method for setting parameters of the network device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW99129178A TWI413378B (en) | 2010-08-31 | 2010-08-31 | Network device and method for setting parameters of the network device |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201210253A TW201210253A (en) | 2012-03-01 |
TWI413378B true TWI413378B (en) | 2013-10-21 |
Family
ID=46763924
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW99129178A TWI413378B (en) | 2010-08-31 | 2010-08-31 | Network device and method for setting parameters of the network device |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI413378B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020157018A1 (en) * | 2001-04-23 | 2002-10-24 | Tuomo Syvanne | Method of managing a network device, a management system, and a network device |
US20020184300A1 (en) * | 2001-06-05 | 2002-12-05 | Schmeling Garth F. | Device management system and method |
US6944631B2 (en) * | 2001-11-13 | 2005-09-13 | Siemens Aktiengesellschaft | Method and system for network configuration discovery |
CN101163035A (en) * | 2006-10-10 | 2008-04-16 | 中兴通讯股份有限公司 | Asymmetry digital user loop terminal remote management templet configuration method |
US20080215728A1 (en) * | 2005-10-20 | 2008-09-04 | Lenovo (Beijing) Limited | Computer Management System and Computer Management Method |
US20090037563A1 (en) * | 2006-04-07 | 2009-02-05 | Huawei Technologies Co., Ltd. | Method, device and system for configuring device parameters in digital subscriber line access network |
-
2010
- 2010-08-31 TW TW99129178A patent/TWI413378B/en not_active IP Right Cessation
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020157018A1 (en) * | 2001-04-23 | 2002-10-24 | Tuomo Syvanne | Method of managing a network device, a management system, and a network device |
US20020184300A1 (en) * | 2001-06-05 | 2002-12-05 | Schmeling Garth F. | Device management system and method |
US6944631B2 (en) * | 2001-11-13 | 2005-09-13 | Siemens Aktiengesellschaft | Method and system for network configuration discovery |
US20080215728A1 (en) * | 2005-10-20 | 2008-09-04 | Lenovo (Beijing) Limited | Computer Management System and Computer Management Method |
US20090037563A1 (en) * | 2006-04-07 | 2009-02-05 | Huawei Technologies Co., Ltd. | Method, device and system for configuring device parameters in digital subscriber line access network |
CN101163035A (en) * | 2006-10-10 | 2008-04-16 | 中兴通讯股份有限公司 | Asymmetry digital user loop terminal remote management templet configuration method |
Also Published As
Publication number | Publication date |
---|---|
TW201210253A (en) | 2012-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8988998B2 (en) | Data processing environment integration control | |
US7730183B2 (en) | System and method for generating virtual networks | |
US20130069950A1 (en) | Data Processing Environment Integration Control Interface | |
JP6961623B2 (en) | Deployment of software as-a-service for printer drivers and printer profiles | |
JP4880376B2 (en) | Support apparatus, program, information processing system, and support method | |
US9001364B2 (en) | Management system, image forming apparatus, management system control method, and image forming apparatus control method for migration of setting values of an application that operates in the image forimng apparatus | |
US10452469B2 (en) | Server performance correction using remote server actions | |
US20170048405A1 (en) | Method and device for using cloud print service | |
CN106557288B (en) | Method and device for acquiring printing data | |
US10608953B2 (en) | Platform with multiple execution engines | |
US20190258534A1 (en) | Message oriented middleware with integrated rules engine | |
JP7221973B2 (en) | System and method for providing remote support services to test equipment | |
US9146763B1 (en) | Measuring virtual machine metrics | |
US20120102186A1 (en) | Goal state communication in computer clusters | |
US9477458B2 (en) | Dynamic timeout determination for microcontroller management of firmware updates | |
RU2696299C2 (en) | Control when initiating elementary tasks on server platform | |
JP2010204834A5 (en) | ||
US20190205182A1 (en) | Unified monitoring interface | |
TWI413378B (en) | Network device and method for setting parameters of the network device | |
KR20150095029A (en) | Application program virtualization system and method for virtualizing application program of user terminals | |
US9191445B2 (en) | Systems and methods for managing emulation sessions | |
US20160150028A1 (en) | Adapter for communication between web applications within a browser | |
CN108289114B (en) | Cloud service system and method for processing cloud service exception | |
CN115883738A (en) | Information processing system, information processing apparatus, storage medium, and information processing method | |
JP2013186765A (en) | Batch processing system, progress confirmation device, progress confirmation method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |