CN106685673B - Network equipment for temporary access network setting and method thereof - Google Patents
Network equipment for temporary access network setting and method thereof Download PDFInfo
- Publication number
- CN106685673B CN106685673B CN201510744481.1A CN201510744481A CN106685673B CN 106685673 B CN106685673 B CN 106685673B CN 201510744481 A CN201510744481 A CN 201510744481A CN 106685673 B CN106685673 B CN 106685673B
- Authority
- CN
- China
- Prior art keywords
- network
- management
- setting
- connection port
- mode
- 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 17
- 230000009471 action Effects 0.000 claims description 14
- 238000004891 communication Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 3
- 230000008859 change Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000006855 networking Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/085—Retrieval of network configuration; Tracking network configuration history
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开一种可供暂时存取网络设定的网络设备及其方法,当满足一模式切换条件时,网络设备由一工作模式切换至临时管理模式,使得使用者可于临时管理模式使用预定网络地址来与网络设备连线,在一些实施例中还可进一步使用临时账号密码登入网络设备,藉以对网络设备进行设定或查询原先设定的管理网络地址。于模式切换条件解除后,网络设备回复至工作模式,而可继续原先的工作,使用者无需再重新设定网络设备。
The present invention discloses a network device and method for temporarily accessing network settings. When a mode switching condition is met, the network device switches from a working mode to a temporary management mode, so that the user can use a predetermined network address to connect to the network device in the temporary management mode. In some embodiments, the network device can be further logged in using a temporary account and password to set the network device or query the previously set management network address. After the mode switching condition is removed, the network device returns to the working mode and can continue the original work, and the user does not need to re-set the network device.
Description
技术领域technical field
本发明关于一种网络设备,特别是一种可供暂时存取网络设定的网络设备及其方法。The present invention relates to a network device, in particular to a network device and method for temporarily accessing network settings.
背景技术Background technique
随着网络技术兴盛发展,网络设备已充斥于生活周遭。通常网络设备可以一设定装置(如计算机)经由网络设备的网络连接端口连线。使用者便可操作设定装置,来对网络设备进行设定。然而,使用者通常不会频繁的对网络设备进行设定。因此,在需要和网络设备连线时,使用者往往不记得网络设备的网络地址,而无法连线至网络设备。With the prosperity and development of network technology, network devices have been flooded around our lives. Generally, the network device can be connected with a setting device (such as a computer) through the network connection port of the network device. The user can operate the setting device to set the network equipment. However, users generally do not frequently configure network devices. Therefore, when it is necessary to connect to the network device, the user often does not remember the network address of the network device and cannot connect to the network device.
网络设备的制造厂商针对此情形的应对方式是,在网络设备上设置重置按钮。当使用者按下此重置按钮时,网络设备便会回到出厂设定,让使用者可以出厂预设的网络地址及预设的管理账号密码来登入设定。然而,如此虽然解决了使用者无法设定网络设备的问题,但网络设备的先前设定也因为重置的关系而消失,使得使用者必须重新再进行设定。The manufacturer of the network equipment responds to this situation by providing a reset button on the network equipment. When the user presses the reset button, the network device will return to the factory settings, allowing the user to log in with the factory default network address and the default management account password. However, although this solves the problem that the user cannot set the network device, the previous setting of the network device will also disappear due to the reset, so that the user must set again.
发明内容Contents of the invention
鉴于以上的问题,本发明第一实施例提供一种可供暂时存取网络设定的网络设备,包含储存单元、至少一第一网络连接端口、第一网络管理单元、第一网络连接端口、第二网络管理单元、第二网络连接端口及处理单元。第一网络管理单元电连接储存单元及至少一第一网络连接端口。第二网络管理单元电连接储存单元及至少一第二网络连接端口。In view of the above problems, the first embodiment of the present invention provides a network device for temporarily accessing network settings, including a storage unit, at least one first network connection port, a first network management unit, a first network connection port, The second network management unit, the second network connection port and the processing unit. The first network management unit is electrically connected to the storage unit and at least one first network connection port. The second network management unit is electrically connected to the storage unit and at least one second network connection port.
储存单元储存一管理网络地址及一预设网络地址。至少一第一网络连接端口可供外部至少一连网装置对应连接。第一网络管理单元储存对应第一网络连接端口的第一网络设定,而于一工作模式下,与设定装置通讯。其中,第一网络设定包含管理网络地址。第二网络连接端口常态为闲置状态。处理单元于工作模式下侦测是否满足一模式切换条件,模式切换条件可为设定装置连接第二网络连接端口。而于满足模式切换条件时,网络设备由工作模式进入一临时管理模式。于临时管理模式下,处理单元控制第二网络管理单元储存对应第二网络连接端口的一第二网络设定,以与设定装置通讯,其中第二网络设定包含预设网络地址。处理单元基于设定装置传送的一控制指令执行一回馈动作,并侦测模式切换条件是否解除,而于模式切换条件解除时返回工作模式。The storage unit stores a management network address and a default network address. At least one first network connection port can be correspondingly connected to at least one external network device. The first network management unit stores the first network setting corresponding to the first network connection port, and communicates with the setting device in a working mode. Wherein, the first network setting includes a management network address. The second network connection port is normally in an idle state. The processing unit detects whether a mode switching condition is met in the working mode, and the mode switching condition is that the setting device is connected to the second network connection port. And when the mode switching condition is satisfied, the network device enters a temporary management mode from the working mode. In the temporary management mode, the processing unit controls the second network management unit to store a second network setting corresponding to the second network connection port to communicate with the setting device, wherein the second network setting includes a default network address. The processing unit executes a feedback action based on a control instruction sent by the setting device, and detects whether the mode switching condition is released, and returns to the working mode when the mode switching condition is released.
本发明第一实施例还提供一种暂时存取网络设备的网络设定的方法,网络设备包含至少一第一网络连接端口及一第二网络连接端口。暂时存取网络设备的网络设定的方法,包含:储存对应该至少一第一网络连接端口的一第一网络设定,第一网络设定包含一管理网络地址,以经由第一网络连接端口与设定装置通讯;侦测一模式切换条件是否满足,于满足时进入一临时管理模式,其中模式切换条件为第二网络连接端口与设定装置彼此连接;于临时管理模式下,储存对应第二网络连接端口的第二网络设定,第二网络设定包含预设网络地址,以经由第二网络连接端口与设定装置通讯;基于设定装置传送的一控制指令,执行一回馈动作;及于模式切换条件解除时,返回一工作模式,于工作模式中,至少一第一网络连接端口供外部至少一连网装置对应连接。The first embodiment of the present invention also provides a method for temporarily accessing network settings of a network device. The network device includes at least a first network connection port and a second network connection port. The method for temporarily accessing the network setting of the network device includes: storing a first network setting corresponding to the at least one first network connection port, the first network setting includes a management network address to be accessed through the first network connection port Communicating with the setting device; detecting whether a mode switching condition is satisfied, and entering a temporary management mode when it is satisfied, wherein the mode switching condition is that the second network connection port is connected to the setting device; in the temporary management mode, storing the corresponding first The second network setting of the second network connection port, the second network setting includes a preset network address, so as to communicate with the setting device through the second network connection port; based on a control command sent by the setting device, execute a feedback action; And when the mode switching condition is released, return to a working mode, in the working mode, at least one first network connection port is provided for corresponding connection of at least one external network device.
本发明第二实施例提供另一可供暂时存取网络设定的网络设备,包含储存单元、至少一第一网络连接端口、第一网络管理单元、第一网络连接端口、触发单元及处理单元。第一网络管理单元电连接储存单元及至少一第一网络连接端口。The second embodiment of the present invention provides another network device capable of temporarily accessing network settings, including a storage unit, at least one first network connection port, a first network management unit, a first network connection port, a trigger unit and a processing unit . The first network management unit is electrically connected to the storage unit and at least one first network connection port.
储存单元储存一管理网络地址及一预设网络地址。至少一第一网络连接端口可供外部至少一连网装置对应连接。第一网络管理单元储存对应第一网络连接端口的第一网络设定,而于一工作模式下,与设定装置通讯。其中,第一网络设定包含管理网络地址。触发单元可响应一触发条件而产生一触发信号。处理单元于工作模式下侦测是否产生触发信号且满足一模式切换条件,若是,则由工作模式进入临时管理模式。模式切换条件为第一网络连接端口连接设定装置。于临时管理模式下,处理单元清除第一网络管理单元储存的第一网络设定中的管理网络地址,并设定第一网络设定中包含预设网络地址,以与设定装置通讯。处理单元基于设定装置传送的控制指令执行一回馈动作,并侦测模式切换条件是否解除,而于模式切换条件解除时返回工作模式。The storage unit stores a management network address and a default network address. At least one first network connection port can be correspondingly connected to at least one external network device. The first network management unit stores the first network setting corresponding to the first network connection port, and communicates with the setting device in a working mode. Wherein, the first network setting includes a management network address. The trigger unit can generate a trigger signal in response to a trigger condition. The processing unit detects whether a trigger signal is generated and a mode switching condition is met in the working mode, and if so, enters the temporary management mode from the working mode. The mode switching condition is that the first network connection port is connected to the setting device. In the temporary management mode, the processing unit clears the management network address in the first network setting stored by the first network management unit, and sets the first network setting to include a default network address to communicate with the setting device. The processing unit executes a feedback action based on the control command sent by the setting device, and detects whether the mode switching condition is released, and returns to the working mode when the mode switching condition is released.
综上所述,根据本发明实施例的网络设备及暂时存取网络设备的网络设定的方法,可让使用者忘记管理网络地址时,仍可进入临时管理模式而重新获悉管理网络地址或者更改管理网络地址。在一些实施例中,若使用者也忘记管理者账号密码,可于临时管理模式中以一临时账号密码登入管理。而通过临时管理模式与工作模式间的切换,便无须将网络设备重置回出厂状态,免于原先的任何的设定均被重置。To sum up, according to the network device and the method for temporarily accessing the network settings of the network device according to the embodiments of the present invention, when the user forgets the management network address, he can still enter the temporary management mode to relearn the management network address or change it. Management network address. In some embodiments, if the user also forgets the password of the administrator account, he can log in with a temporary account password in the temporary management mode. And by switching between the temporary management mode and the working mode, there is no need to reset the network device back to the factory state, and any previous settings will not be reset.
附图说明Description of drawings
图1为本发明第一实施例的可供暂时存取网络设定的网络设备的示意图。FIG. 1 is a schematic diagram of a network device capable of temporarily accessing network settings according to a first embodiment of the present invention.
图2为本发明第一实施例的暂时存取网络设备的网络设定的方法流程图。FIG. 2 is a flowchart of a method for temporarily accessing network settings of a network device according to a first embodiment of the present invention.
图3为本发明第二实施例的可供暂时存取网络设定的网络设备的示意图。FIG. 3 is a schematic diagram of a network device capable of temporarily accessing network settings according to a second embodiment of the present invention.
【符号说明】【Symbol Description】
100:可供暂时存取网络设定的网络设备100: A network device with temporary access to network settings
110:第一网络连接端口110: the first network connection port
120:第二网络连接端口120: Second network connection port
130:第一网络管理单元130: The first network management unit
140:第二网络管理单元140: the second network management unit
150:储存单元150: storage unit
160:处理单元160: processing unit
170:触发单元170: trigger unit
200:设定装置200: setting device
300:连网装置300: Internet-connected device
具体实施方式Detailed ways
应当理解,以下述及“一实施例”时,表示结合该实施例描述的技术特征、构造或特性均可被包括在本发明的至少一个实施方式中。说明书中多处出现的片语“在一实施例中”可能涉及多个不同的实施例,单独的实施例或其他实施例之间并不相互排斥。It should be understood that when referring to the following and "an embodiment", it means that the technical features, structures or characteristics described in conjunction with this embodiment can be included in at least one embodiment of the present invention. The phrase "in an embodiment" that appears in multiple places in the specification may refer to a plurality of different embodiments, and a single embodiment or other embodiments are not mutually exclusive.
应当理解,当以下提及一个元件“连接”另一个元件时,可以是两元件直接连接,也可以是两者之间有中间元件存在。相反地,当提及元件“直接连接”另一个元件时,则没有中间元件存在。It should be understood that when it is mentioned hereinafter that one element is "connected" to another element, the two elements may be directly connected, or an intervening element may exist between the two. In contrast, when an element is referred to as being "directly connected to" another element, there are no intervening elements present.
这里所用的术语仅仅是为了说明特殊实施例,而非用以限制本发明。例如,全文中相同的元件符号表示相同的元件。尽管这里使用术语“第一”和“第二”等描述不同的元件,但此些元件不因此些术语而限制其顺序。在此,所使用的术语“或/和”包括所列出的项目的一个或多个的任意和全部组合。应当理解,单数形式“一”和“该”也可以包括多数形式,除非在上下文中有明确的指示。The terminology used herein is for describing particular embodiments only, and is not intended to limit the invention. For example, like reference numbers refer to like elements throughout. Although the terms "first" and "second", etc. are used herein to describe various elements, the order of these elements is not limited by these terms. As used herein, the term "or/and" includes any and all combinations of one or more of the listed items. It should be understood that the singular forms "a" and "the" may also include plural forms unless the context clearly dictates otherwise.
还应当理解,当在说明中使用术语“包含”或“具有”说明某个特征、步骤、元件或/和组件的存在时,不排除一个或多个其他特征、步骤、元件、组件或/和其组合的存在或加入。It should also be understood that when the term "comprises" or "has" is used in the description to describe the existence of a certain feature, step, element or/and component, it does not exclude one or more other features, steps, elements, components or/and The existence or addition of its combination.
除此之外,下文述及「电连接」是指利用电耦合和/或电传导方式使二装置或元件之间彼此传递电信号。In addition, the "electrical connection" mentioned below refers to the use of electrical coupling and/or electrical conduction to transmit electrical signals between two devices or components.
请参照图1及图2。图1为本发明第一实施例的可供暂时存取网络设定的网络设备100的示意图。图2为本发明第一实施例的暂时存取网络设备的网络设定的方法流程图。可供暂时存取网络设定的网络设备100(于后简称网络设备100)包含至少一个第一网络连接端口110(在此虽以多数个为例说明,但在一些实施例中可仅有一个网络连接端口110)、第二网络连接端口120、第一网络管理单元130、第二网络管理单元140、储存单元150及处理单元160。第一网络管理单元130电连接储存单元150及第一网络连接端口110。第二网络管理单元140电连接储存单元150及第二网络连接端口120。处理单元160电连接储存单元150、第一网络连接端口110、第二网络连接端口120、第一网络管理单元130及第二网络管理单元140。处理单元160为具有运算能力而可执行软件程序的运算单元。Please refer to Figure 1 and Figure 2. FIG. 1 is a schematic diagram of a network device 100 for temporarily accessing network settings according to a first embodiment of the present invention. FIG. 2 is a flowchart of a method for temporarily accessing network settings of a network device according to a first embodiment of the present invention. The network device 100 (hereinafter referred to as the network device 100 ) for temporarily accessing the network settings includes at least one first network connection port 110 (although a plurality of them are described here as an example, but in some embodiments there may be only one network connection port 110 ), the second network connection port 120 , the first network management unit 130 , the second network management unit 140 , the storage unit 150 and the processing unit 160 . The first network management unit 130 is electrically connected to the storage unit 150 and the first network connection port 110 . The second network management unit 140 is electrically connected to the storage unit 150 and the second network connection port 120 . The processing unit 160 is electrically connected to the storage unit 150 , the first network connection port 110 , the second network connection port 120 , the first network management unit 130 and the second network management unit 140 . The processing unit 160 is a computing unit capable of executing software programs.
第一网络连接端口110及第二网络连接端口120为支持以太网络界面的连接孔,而可例如与具有RJ45接头的网络线连接。在网络设备100正常的工作模式下,第一网络连接端口110可供外部至少一连网装置300对应连接,以执行网络设备100应有的功能。在此,网络设备100可例如为集线器(Hub)、交换器(Switch)、IP分享器、路由器(Router)、无线接入点(Wireless Access Point,WAP)等。连网装置300为具有网络连接能力的装置,如台式计算机、笔记本计算机、工作站、服务器等。The first network connection port 110 and the second network connection port 120 are connection holes supporting an Ethernet interface, and can be connected with a network cable having an RJ45 connector, for example. In the normal working mode of the network device 100 , the first network connection port 110 can be correspondingly connected to at least one external network device 300 to perform functions of the network device 100 . Here, the network device 100 may be, for example, a hub (Hub), a switch (Switch), an IP sharer, a router (Router), a wireless access point (Wireless Access Point, WAP) and the like. The networking device 300 is a device capable of network connection, such as a desktop computer, a notebook computer, a workstation, a server, and the like.
第一网络管理单元130及第二网络管理单元140是可支持网络传输协定的管理单元,分别具有储存空间(例如,随机存取存储器(RAM))。第一网络管理单元130的储存空间可储存对应第一网络连接端口110的网络设定(于后称第一网络设定),使得第一网络连接端口110可根据第一网络设定与所连接的设备进行通讯。相似地,第二网络管理单元140的储存空间可储存对应第二网络连接端口120的网络设定(于后称第二网络设定),使得第二网络连接端口120可根据第二网络设定与所连接的装置进行通讯。The first network management unit 130 and the second network management unit 140 are management units capable of supporting network transmission protocols, and each have a storage space (eg, random access memory (RAM)). The storage space of the first network management unit 130 can store the network setting corresponding to the first network connection port 110 (hereinafter referred to as the first network setting), so that the first network connection port 110 can communicate with the connected network according to the first network setting. devices to communicate. Similarly, the storage space of the second network management unit 140 can store the network setting corresponding to the second network connection port 120 (hereinafter referred to as the second network setting), so that the second network connection port 120 can be configured according to the second network setting Communicate with connected devices.
储存单元150为非易失性存储器,例如闪存、电可擦可编程只读存储器(EEPROM)或/和只读存储器(ROM)等,储存一管理网络地址及一预设网络地址。在此,管理网络地址及预设网络地址可为静态地址或动态地址。管理网络地址储存在可复写、更改数据的存储器,如闪存、电可擦可编程只读存储器等;而预设网络地址则可储存在不可复写、更改数据的只读存储器,以确保不会变动,但储存在可复写、更改数据的存储器仍是可以的。预设网络地址是网络设备100出厂时即储存于储存单元150中,如192.168.1.1。管理网络地址可以是网络设备100出厂即预设的网络地址,也可以是后续使用者更改后的网络地址。The storage unit 150 is a non-volatile memory, such as flash memory, electrically erasable programmable read-only memory (EEPROM) or/and read-only memory (ROM), and stores a management network address and a default network address. Here, the management network address and the default network address can be static addresses or dynamic addresses. The management network address is stored in a memory that can be rewritten and changed, such as flash memory, EEPROM, etc.; the default network address can be stored in a read-only memory that cannot be rewritten and changed to ensure that it will not change , but it is still possible to store in rewritable and changeable memory. The default network address is stored in the storage unit 150 when the network device 100 leaves the factory, such as 192.168.1.1. The management network address can be a network address preset by the network device 100 when it leaves the factory, or a network address changed by a subsequent user.
在前述工作模式下,第一网络管理单元130储存有第一网络设定,第一网络设定包含管理网络地址,藉此当设定装置200连接至其中一个第一网络连接端口时,可以管理网络地址为目的地址而与网络设备100通讯(参照第2图的步骤S410)。因此,当使用者想要设定网络设备100时(如更改管理网络地址、修改管理者账号密码等),便可利用设定装置200经由第一网络连接端口110连线至网络设备100,据以进行操作。然而,若使用者忘记管理网络地址为何时,便无法进行前述操作,而需以后续的方式进行。在此,设定装置200可以是具有网络连接能力的装置,如台式计算机、笔记本计算机、工作站、服务器等。In the aforementioned working mode, the first network management unit 130 stores a first network setting, and the first network setting includes a management network address, so that when the setting device 200 is connected to one of the first network connection ports, it can manage The network address is used as the destination address to communicate with the network device 100 (refer to step S410 in FIG. 2 ). Therefore, when the user wants to set the network device 100 (such as changing the management network address, modifying the administrator account password, etc.), he can use the setting device 200 to connect to the network device 100 through the first network connection port 110, according to to operate. However, if the user forgets when the management network address is, the aforesaid operation cannot be performed, and needs to be performed in a subsequent manner. Here, the setting device 200 may be a device capable of network connection, such as a desktop computer, a notebook computer, a workstation, a server, and the like.
同样在工作模式下,第二网络管理单元140预先储存第二网络设定,故第二网络连接端口120常态为闲置状态,在工作模式下不提供网络通讯功能。处理单元160于工作模式下会侦测是否满足一模式切换条件。于此,模式切换条件为设定装置200连接第二网络连接端口120。而于模式切换条件满足时,网络设备100自工作模式进入临时管理模式。(参照图2的步骤S420)因此,在此模式切换条件下,当使用者将设定装置200连接至第二网络连接端口120之后,处理单元160便侦测到模式切换条件已满足,于是将进入临时管理模式。Also in the working mode, the second network management unit 140 pre-stores the second network settings, so the second network connection port 120 is normally in an idle state, and does not provide network communication functions in the working mode. The processing unit 160 detects whether a mode switching condition is satisfied in the working mode. Here, the mode switching condition is that the setting device 200 is connected to the second network connection port 120 . When the mode switching condition is satisfied, the network device 100 enters the temporary management mode from the working mode. (Refer to step S420 of FIG. 2 ) Therefore, under this mode switching condition, after the user connects the setting device 200 to the second network connection port 120, the processing unit 160 detects that the mode switching condition is satisfied, and then Enter temporary management mode.
于临时管理模式下,处理单元160控制第二网络管理单元140储存对应第二网络连接端口120的第二网络设定。亦即,处理单元160会读取储存单元150储存的预设网络地址,并将预设网络地址写入第二网络设定中(即第二网络设定包含预设网络地址)。因此,设定装置200可以预设网络地址为目的地址而与网络设备100通讯。(参照图2的步骤S430)In the temporary management mode, the processing unit 160 controls the second network management unit 140 to store the second network configuration corresponding to the second network connection port 120 . That is, the processing unit 160 reads the default network address stored in the storage unit 150, and writes the default network address into the second network setting (ie, the second network setting includes the default network address). Therefore, the setting device 200 can preset the network address as the destination address to communicate with the network device 100 . (refer to step S430 of Fig. 2)
于是,使用者可操作设定装置200,而传送控制指令至网络设备100。处理单元160可基于设定装置200传送的控制指令执行一回馈动作。(参照图2的步骤S440)Therefore, the user can operate the setting device 200 to transmit the control command to the network device 100 . The processing unit 160 can execute a feedback action based on the control instruction sent by the setting device 200 . (refer to step S440 of Fig. 2)
举例来说,使用者操作设定装置200的网页浏览器,而于网页浏览器输入预设网络地址,进而可连线至网络设备100。通过管理者身份认证程序(如验证管理者账号密码)之后,设定装置200可通过网页主控台(web console)、网页界面(web UI)等方式对网络设备100下达控制指令。在一实施例中,对应控制指令的回馈动作是回传包含有管理网络地址的数据封包或基于控制指令更改第一网络设定中的管理网络地址。也就是说,因为使用者忘记管理网络地址,因此可下达查询管理网络地址的控制指令,使得处理单元160回传管理网络地址的数据封包,设定装置200收到回传的数据封包,便可显示管理网络地址。使用者便可得知管理网络地址为何,以供后续利用查询到的管理网络地址来连线至网络设备100。或者,使用者可以下达更改管理网络地址的控制指令,而将欲设定的管理网络地址传送至网络设备100,处理单元160便可将原本的管理网络地址更换为设定装置200传送的新的管理网络地址,以供后续利用新设定的管理网络地址来连线至网络设备100。然而,本发明的实施例所指的回馈动作并非以此限定,亦可为管理权限内所能执行的其他动作,如进行其他网络设定、设定账号密码等。For example, the user operates the web browser of the setting device 200 , and inputs a default network address in the web browser to connect to the network device 100 . After passing the administrator identity authentication procedure (for example, verifying the administrator account and password), the setting device 200 can issue control instructions to the network device 100 through a web console (web console), web interface (web UI), and the like. In one embodiment, the feedback action corresponding to the control command is to return a data packet including the management network address or to change the management network address in the first network configuration based on the control command. That is to say, because the user forgets the management network address, a control command for querying the management network address can be issued, so that the processing unit 160 returns the data packet of the management network address, and the setting device 200 receives the returned data packet, and can Displays the management network address. The user can then know what the management network address is, so as to connect to the network device 100 using the queried management network address later. Alternatively, the user can issue a control command to change the management network address, and send the management network address to be set to the network device 100, and the processing unit 160 can replace the original management network address with the new one sent by the setting device 200. The management network address is used for subsequent connection to the network device 100 using the newly set management network address. However, the feedback actions referred to in the embodiments of the present invention are not limited thereto, and may also be other actions that can be performed within the management authority, such as performing other network settings, setting account passwords, and the like.
参照图2的步骤S450,于临时管理模式下,处理单元160还会侦测前述模式切换条件是否解除,而于模式切换条件解除时(在此为设定装置200与第二网络连接端口120之间的连接关系中断,如拔除其间的网络线),返回工作模式。据此,即使使用者忘记管理网络地址,也无须将网络设备重置回出厂状态,免于原先的任何的设定均被重置。而返回工作模式之后,第一网络连接端口110可继续供连网装置300对应连接,执行网络设备100应有的功能。Referring to step S450 of FIG. 2 , in the temporary management mode, the processing unit 160 also detects whether the above-mentioned mode switching condition is lifted, and when the mode switching condition is lifted (here, the connection between the setting device 200 and the second network connection port 120 If the connection relationship between them is interrupted, such as unplugging the network cable), return to the working mode. Accordingly, even if the user forgets to manage the network address, there is no need to reset the network device back to the factory state, and any original settings are prevented from being reset. After returning to the working mode, the first network connection port 110 can continue to be connected to the network connection device 300 to perform the proper functions of the network device 100 .
在一实施例中,模式切换条件还可包含各第一网络连接端口110中断与连网装置300的连接。也就是说,各个第一网络连接端口110均为闲置状态,而未连接连网装置300。藉此,除了第二网络连接端口120连接设定装置之外,所有第一网络连接端口110也需要未连接其他装置,网络设备100才会进入临时管理模式,而可避免因使用者误将设备连接到第二网络连接端口120便触发模式改变,进而影响网络设备100的正常运作。In an embodiment, the mode switching condition may further include that each first network connection port 110 disconnects from the network connection device 300 . That is to say, each of the first network connection ports 110 is in an idle state, and is not connected to the networking device 300 . In this way, in addition to the second network connection port 120 connected to the setting device, all the first network connection ports 110 also need not be connected to other devices before the network device 100 enters the temporary management mode, which can prevent the user from mistaking the device. Connecting to the second network connection port 120 triggers a mode change, thereby affecting the normal operation of the network device 100 .
在一实施例中,于临时管理模式下,处理单元160会清除第一网络管理单元130的第一网络设定,以避免网络地址冲突(例如,原管理网络地址与预设网络地址相同)。而在返回工作模式后,处理单元160会根据储存于储存单元150的管理网络地址,再次设定第一网络管理单元130的第一网络设定(即回复为进入临时管理模式之前的设定。在此,第一网络设定除了包含管理网络地址之外,还可包含但不限于网络掩码、网络网关、动态主机配置协定(DHCP)等设定。In one embodiment, in the temporary management mode, the processing unit 160 clears the first network setting of the first network management unit 130 to avoid network address conflicts (for example, the original management network address is the same as the default network address). After returning to the working mode, the processing unit 160 will reset the first network setting of the first network management unit 130 according to the management network address stored in the storage unit 150 (that is, return to the setting before entering the temporary management mode. Here, besides the management network address, the first network setting may also include but not limited to network mask, network gateway, Dynamic Host Configuration Protocol (DHCP) and other settings.
在一实施例中,使用者除了管理网络地址之外,可能也忘记管理者的账号密码,即便以上述方式以预设网络地址连线成功,仍无法对网络设备100进行操作。对此,储存单元150还可储存一管理账号密码与一临时账号密码。管理账号密码是指使用者需要使用的管理者账号密码,临时账号密码为网络设备100出厂即预设的账号密码。因此,临时账号密码可储存于不可复写、更改数据的只读存储器,但储存于可复写、更改数据的存储器仍是可以的。处理单元160于工作模式下,会验证设定装置200是否以管理账号密码登入,如果成功登入才允许使用者进行设定。若于临时管理模式下,处理单元160会改以临时账号密码验证设定装置200的登入。因此,承前述第一实施例的说明,于临时管理模式,使用者除了以预设网络地址来连线之外,还可以临时账号密码来登入网络设备100。In one embodiment, besides managing the network address, the user may also forget the account password of the administrator. Even if the connection is successful with the preset network address in the above manner, the network device 100 still cannot be operated. For this, the storage unit 150 can also store a management account password and a temporary account password. The management account password refers to the administrator account password that the user needs to use, and the temporary account password is the account password preset by the network device 100 when it leaves the factory. Therefore, the temporary account password can be stored in a read-only memory that cannot be rewritten or changed, but it is still possible to store it in a memory that can be rewritten and changed. In the working mode, the processing unit 160 will verify whether the setting device 200 is logged in with the management account and password, and the user is allowed to make settings only if the login is successful. If in the temporary management mode, the processing unit 160 will use the temporary account and password to verify the login of the setting device 200 . Therefore, following the description of the aforementioned first embodiment, in the temporary management mode, the user can log in the network device 100 with a temporary account and password in addition to connecting with the default network address.
图3为本发明第二实施例的可供暂时存取网络设定的网络设备100的示意图。FIG. 3 is a schematic diagram of a network device 100 for temporarily accessing network settings according to a second embodiment of the present invention.
相较于前述第一实施例,本实施例的网络设备100不具有第二网络连接端口120及第二网络管理单元140,而增加了触发单元170。于是,在本实施例中,设定装置200是连接到第一网络连接端口110。于后将针对此些差异进行说明,其他部分请参考前述说明,于此不再赘述。Compared with the aforementioned first embodiment, the network device 100 of this embodiment does not have the second network connection port 120 and the second network management unit 140 , but a trigger unit 170 is added. Therefore, in this embodiment, the setting device 200 is connected to the first network connection port 110 . These differences will be described later, and for other parts, please refer to the above description, and will not be repeated here.
触发单元170与处理单元160电连接,而可响应一触发条件而产生一触发信号。在此,视触发单元170的类型,触发条件而有所不同。在一实施例中,触发单元170可为具有至少二种状态的开关或按钮。而可在触发单元170因使用者的输入而由第一状态改变为第二状态时产生触发信号。例如,按下按钮,则产生电压变化的触发信号;切换开关,则产生断路或短路的触发信号。在另一实施例中,触发单元170可为计时器,而可于设定装置200连接第一网络连接端口110起一预定时间后则产生超时的触发信号。The trigger unit 170 is electrically connected to the processing unit 160 and can generate a trigger signal in response to a trigger condition. Here, depending on the type of the trigger unit 170 , the trigger conditions are different. In one embodiment, the trigger unit 170 can be a switch or a button with at least two states. Instead, the trigger signal can be generated when the trigger unit 170 changes from the first state to the second state due to the user's input. For example, pressing a button generates a trigger signal for a voltage change; switching a switch generates a trigger signal for an open circuit or a short circuit. In another embodiment, the trigger unit 170 can be a timer, and can generate a timeout trigger signal after a predetermined period of time since the setting device 200 is connected to the first network connection port 110 .
处理单元160可于工作模式下侦测是否有产生前述的触发信号,并且侦测是否也满足一模式切换条件。于此,模式切换条件可为第一网络连接端口110连接设定装置200。若二者均满足,则由工作模式进入临时管理模式。于临时管理模式下,处理单元160清除第一网络管理单元130储存的第一网络设定中的管理网络地址,并设定第一网络设定中包含预设网络地址,以与设定装置200通讯。换言之,对应第一网络连接端口110的第一网络设定,由原本的包含管理网络地址改为包含预设网络地址。处理单元160便可基于设定装置200传送的控制指令执行回馈动作,并侦测模式切换条件是否解除(在此为设定装置200与第一网络连接端口110之间的连接关系中断,如拔除其间的网络线),而于模式切换条件解除时返回工作模式。据此,即使使用者忘记管理网络地址,也无须将网络设备重置回出厂状态,免于原先的任何的设定均被重置。而返回工作模式之后,第一网络连接端口110可继续供连网装置300对应连接,执行网络设备100应有的功能。The processing unit 160 can detect whether the aforementioned trigger signal is generated in the working mode, and detect whether a mode switching condition is also satisfied. Here, the mode switching condition may be that the first network connection port 110 is connected to the setting device 200 . If both are satisfied, then enter the temporary management mode from the working mode. In the temporary management mode, the processing unit 160 clears the management network address in the first network setting stored by the first network management unit 130, and sets the first network setting to include a default network address to be compatible with the setting device 200 communication. In other words, the first network setting corresponding to the first network connection port 110 is changed from including the management network address to including the default network address. The processing unit 160 can execute the feedback action based on the control command sent by the setting device 200, and detect whether the mode switching condition is released (here, the connection relationship between the setting device 200 and the first network connection port 110 is interrupted, such as unplugging The network line between them), and return to the working mode when the mode switching condition is released. Accordingly, even if the user forgets to manage the network address, there is no need to reset the network device back to the factory state, and any original settings are prevented from being reset. After returning to the working mode, the first network connection port 110 can continue to be connected to the network connection device 300 to perform the proper functions of the network device 100 .
综上所述,根据本发明实施例的网络设备100及暂时存取网络设备100的网络设定的方法,可让使用者忘记管理网络地址时,仍可进入临时管理模式而重新获悉管理网络地址或者更改管理网络地址。在一些实施例中,若使用者也忘记管理者账号密码,可于临时管理模式中以一临时账号密码登入管理。而通过临时管理模式与工作模式间的切换,便无须将网络设备100重置回出厂状态,免于原先的任何的设定均被重置。To sum up, according to the network device 100 and the method for temporarily accessing the network settings of the network device 100 according to the embodiments of the present invention, when the user forgets the management network address, he can still enter the temporary management mode and learn the management network address again. Or change the management network address. In some embodiments, if the user also forgets the password of the administrator account, he can log in with a temporary account password in the temporary management mode. By switching between the temporary management mode and the working mode, there is no need to reset the network device 100 to the factory state, and any original settings are freed from being reset.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510744481.1A CN106685673B (en) | 2015-11-05 | 2015-11-05 | Network equipment for temporary access network setting and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510744481.1A CN106685673B (en) | 2015-11-05 | 2015-11-05 | Network equipment for temporary access network setting and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106685673A CN106685673A (en) | 2017-05-17 |
CN106685673B true CN106685673B (en) | 2019-11-12 |
Family
ID=58857182
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510744481.1A Active CN106685673B (en) | 2015-11-05 | 2015-11-05 | Network equipment for temporary access network setting and method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106685673B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060198356A1 (en) * | 2003-04-15 | 2006-09-07 | Mayernick Mark R | Method and apparatus for router port configuration |
US20080186875A1 (en) * | 2007-02-01 | 2008-08-07 | Makoto Kitani | Network management apparatus and switching apparatus |
TW200935826A (en) * | 2008-01-30 | 2009-08-16 | Ip Access Ltd | Network element and method for routing data in a data communication system |
CN101771558A (en) * | 2008-12-31 | 2010-07-07 | 技嘉科技股份有限公司 | Device and method for automatically selecting network connection |
-
2015
- 2015-11-05 CN CN201510744481.1A patent/CN106685673B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060198356A1 (en) * | 2003-04-15 | 2006-09-07 | Mayernick Mark R | Method and apparatus for router port configuration |
US20080186875A1 (en) * | 2007-02-01 | 2008-08-07 | Makoto Kitani | Network management apparatus and switching apparatus |
TW200935826A (en) * | 2008-01-30 | 2009-08-16 | Ip Access Ltd | Network element and method for routing data in a data communication system |
CN101771558A (en) * | 2008-12-31 | 2010-07-07 | 技嘉科技股份有限公司 | Device and method for automatically selecting network connection |
Also Published As
Publication number | Publication date |
---|---|
CN106685673A (en) | 2017-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8751675B2 (en) | Rack server management | |
US9923978B2 (en) | Automated network service discovery and communication | |
US9979798B2 (en) | Thin/zero client provisioning and management using centralized management software | |
US12021930B2 (en) | Systems and methods for remote management of appliances | |
JP5910246B2 (en) | Information processing system and virtual address setting method | |
US9516700B1 (en) | Cloud-based controller for managing access points | |
CN102479142A (en) | Rack server system and monitoring method thereof | |
US20250004897A1 (en) | Computer management system and computer management method | |
TWI580218B (en) | A network device for temporary accessing a network setting and a method thereof | |
CN100433645C (en) | Network device management method and network management system | |
CN111934904A (en) | Capacity expansion method, controller and system | |
CN104780229A (en) | Method, system and cloud system for setting cloud server IP address through cloud terminal | |
US9521042B2 (en) | System and method for network element management | |
CN106685673B (en) | Network equipment for temporary access network setting and method thereof | |
CN109639784B (en) | Server management information acquisition method, device, client and storage medium | |
CN112600744A (en) | Authority control method and device, storage medium and electronic device | |
CN111314198B (en) | Method and device for setting port IP of white box switch | |
US20190268223A1 (en) | Field device for an automation system | |
CN105553748A (en) | Network equipment configuration method and system | |
EP3035630B1 (en) | Secure local area network system and access method thereof based on a trusted list and account information | |
TWI803213B (en) | Network connection method based on intelligent baseboard management controller | |
KR100636390B1 (en) | Remote management method of network equipment | |
KR100646871B1 (en) | Remote management method of network equipment | |
WO2014203363A1 (en) | Network device and method for controlling same | |
US20090271566A1 (en) | Method for configuring or re-configuring programmable device and apparatus associated therewith |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180615 Address after: Taiwan, Taipei, China, Nanhai District, 6 East section 465, 10 Applicant after: Jieding Innovation Co.,Ltd. Address before: No. 5, 237, 1 Datong Road, Taiwan, Xinbei City, Xinbei City, China Applicant before: JIEDING INTERNATIONAL CO.,LTD. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Taiwan, Taipei, China, Nanhai District, 6 East section 465, 10 Patentee after: British Cayman Islands shangjieding Innovation Co.,Ltd. Address before: Taiwan, Taipei, China, Nanhai District, 6 East section 465, 10 Patentee before: Jieding Innovation Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200410 Address after: No. 5, 237, 1 Datong Road, Taiwan, Xinbei City, Xinbei City, China Patentee after: INNODISK Corp. Address before: Taiwan, Taipei, China, Nanhai District, 6 East section 465, 10 Patentee before: British Cayman Islands shangjieding Innovation Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200608 Address after: 04-95, Fanglin building, 531a, upper section of Klaus street, Singapore Patentee after: Jieding Singapore Pte. Ltd. Address before: No. 5, 237, 1 Datong Road, Taiwan, Xinbei City, Xinbei City, China Patentee before: INNODISK Corp. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200806 Address after: Building C, No. 888, Huanhu West 2nd Road, Lingang New Area, Pudong New Area (Shanghai) pilot Free Trade Zone Patentee after: Shanghai Chuanyuan Information Technology Co.,Ltd. Address before: Fong Lam building, 531a upper cross street, Singapore 051531 Patentee before: Jieding Singapore Pte. Ltd. |
|
TR01 | Transfer of patent right |