[go: up one dir, main page]

CN104993942A - Network node device and configuration method - Google Patents

Network node device and configuration method Download PDF

Info

Publication number
CN104993942A
CN104993942A CN201510250454.9A CN201510250454A CN104993942A CN 104993942 A CN104993942 A CN 104993942A CN 201510250454 A CN201510250454 A CN 201510250454A CN 104993942 A CN104993942 A CN 104993942A
Authority
CN
China
Prior art keywords
network node
mode
node device
router
network
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.)
Pending
Application number
CN201510250454.9A
Other languages
Chinese (zh)
Inventor
王艳青
刘旗
张鸯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Group Co Ltd
Original Assignee
Hisense Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hisense Group Co Ltd filed Critical Hisense Group Co Ltd
Priority to CN201510250454.9A priority Critical patent/CN104993942A/en
Publication of CN104993942A publication Critical patent/CN104993942A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a network node device and a configuration method thereof and relates to communication field. The configuration method is capable of automatically configuring the function of the network node device in a network and preventing user manual operation so as to improve user experience. The method comprises: the network node device detects a connection position; the network node device sets an operating mode according to the connection position, wherein the operating mode is either a router mode or an expander mode; and the network node device achieves a router function in the router mode and achieves an expander function in the expander mode. The method is used for configuring the function of the network node device in a local area network.

Description

Network node equipment and configuration method thereof
Technical Field
The present invention relates to the field of communications, and in particular, to a network node device and a configuration method thereof.
Background
The home Internet of things is a home local area network consisting of intelligent household appliances inside a home and other various network terminals. With the popularization of home internet of things, home local area networks are developing from the earliest single-node networks to multi-node distributed networks. In a home local area network, network node devices include routers and expanders. Usually, only one home network line of a home subscriber is provided, the router accesses the local area network of the cell or the internet by connecting with the home network line, and the expander accesses the local area network by connecting with the router.
One network node device can be used as a router or an expander, and a user selects a specific function completed by the network node device by configuring the function of the network node device. For example, a dial switch is provided on the network node device, different positions of the dial switch represent different functions, and a user configures the functions of the network node device through the dial switch when installing the device. By configuring the functions of the device, the user can replace the damaged router with the existing expander without purchasing a new router.
However, when the network node device is installed for the first time or a product is broken or damaged in a later period, a user needs to operate and operate the network node device to configure functions of the network node device in the network, so that inconvenience is brought to the user, and particularly when the user operates the network node device by mistake, unnecessary troubles are often caused.
Disclosure of Invention
Embodiments of the present invention provide a network node device and a configuration method thereof, which can implement automatic configuration of functions of the network node device in a network without manual operation of a user, thereby improving user experience.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
the network node equipment detects the connection position; setting a working mode according to the connection position; the network node device completes the router function in the router mode, and the network node device completes the expander function in the expander mode.
According to the configuration method of the network node equipment provided by the embodiment of the invention, the connection position is detected, the working mode is set according to the connection position, the working mode conversion can be automatically completed without manual operation of a user, and different functions are completed in different working modes, so that the use operation of the user is reduced, and the use experience of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a configuration method of a network node device according to a first embodiment of the present invention;
fig. 2 is a schematic flowchart of a configuration method of a network node device according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a network node device according to a third embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
The embodiment of the invention provides a configuration method of network node equipment, which is used for configuring functions of the network node equipment in a local area network comprising a router and an expander. The router is a network node connecting the local area network and an external network, the expander is connected with the router to access the local area network, and users in the local area network access the external network through the router. The lan in the embodiments of the present invention may be various lans including a router and an expander, and may specifically be a home-wide lan or an office-wide lan in terms of network coverage, for example, a home internet of things based on a Power Line Communication (PLC) technology, and may be a wired or wireless ethernet in terms of an information transmission manner. Of course, this does not mean that the configuration method of the network node device provided by the present invention can only be applied to the home lan, and the present invention does not limit the specific application scenario of the home lan.
Referring to fig. 1, the configuration method of the network node device provided in this embodiment specifically includes the following steps:
101. the network node device detects the connection location.
The network node device in the local area network includes a router and an expander. Generally, a home lan has only one router as a network node device for connecting the lan and an external network, and an expander accesses the network by connecting to the router, and communication between a user device in the lan and other users in the lan, and communication between the user device in the lan and the network external to the lan, need to pass through the router.
The connection location referred to in this embodiment refers to a location of the network node device in the local area network. If the network node equipment is directly connected with the external network, the network node equipment is in the router position, and if the network node equipment is not directly connected with the external network, the network node equipment is in the expander position.
102. And setting the working mode according to the connection position.
The network node equipment works in a router mode and an expander mode, and completes the router function in the router mode and completes the expander function in the expander mode.
After the network node equipment completes detection of the connection position, whether the network node equipment is directly connected with an external network or not is determined, if yes, the working mode is set to be a router mode, and if not, the working mode is set to be an expander mode.
According to the configuration method of the network node equipment provided by the embodiment of the invention, the connection position is detected, the working mode is set according to the connection position, the working mode conversion can be automatically completed without manual operation of a user, and different functions are completed in different working modes, so that the use operation of the user is reduced, and the use experience of the user is improved.
Example two
Based on the embodiment corresponding to fig. 1, a second embodiment of the present invention provides a method for configuring a network node device, which is shown in fig. 2 and includes the following steps:
201. and setting the working mode as a default working mode.
The network node equipment has two working modes, namely a router mode and an expander mode, and completes the router function in the router mode and the expander function in the expander mode. Wherein the default operating mode is either router mode or extender mode.
The network node device operates in a default operating mode before determining the correct operating mode. Typically, there is only one router in the lan, and there may be more than one expander. For a local area network comprising a plurality of network node devices, wherein a majority of the network node devices need to operate in router mode, it is preferred that the default operating mode is expander mode.
202. The connection position is detected.
The correct operating mode is determined by detecting the connection location. Taking the existing home-to-home broadband access method as an example, a Point-to-Point protocol over Ethernet (PPPoE) dial-up access method, a specific method for detecting a connection location by a network node device may be to determine whether a DHCP server can be accessed. For the access mode of dynamic Internet Protocol (IP), the specific way to detect the connection location may be to determine whether the PPPoE server can be accessed.
There are many triggering conditions for detecting the connection position, and the following two optional triggering conditions are only used as examples in this embodiment.
First, when a network node device detects a connection to a network cable, detection of the connection location is triggered. For example, when the network node device initially accesses the network, is restarted after power failure, is restarted after warm restart, or is started after reset, it is first detected whether the network node device is connected to the network cable, and if so, the detection of the connection position is triggered.
Second, after the network node device accesses the network cable, the connection location is periodically detected. For example, in a specific application scenario, a network node device a operates in a router mode, a network node device B operates in an expander mode, and the network node device a and the network node device B are connected by a network line L, where the network node device a is connected to an a-terminal of the network line L, and the network node device B is connected to a B-terminal of the network line L. When the network node device a fails, the user disconnects the network node device a from the local area network, and then inserts the a end of the network line L into the subscriber port. In this case, the network node device B may find that the connection location changes in time by periodically detecting the connection location, so as to reset the operation mode in time, thereby avoiding network interruption and affecting the user's use.
203. And setting the working mode according to the connection position.
Optionally, for the PPPoE dial-up access mode, when it is determined that the DHCP server can be accessed, the working mode is set to the router mode. And when the access is determined to be unavailable, setting the working mode as the expander mode.
And aiming at the dynamic IP address access mode, when the PPPoE server can be accessed, setting the working mode as a router mode. And when the access is determined to be unavailable, setting the working mode as the expander mode.
Preferably, the network node device may set a plurality of determination conditions for a plurality of access manners so as to be suitable for the plurality of access manners. For example, the detection of the connection location may be a determination of whether the network node device has access to a DHCP server and whether the network node device has access to a PPPoE server. And when one of the DHCP server and the PPPoE server is determined to be accessible, setting the working mode to be a router mode. And when the DHCP server and the PPPoE server are determined not to be accessed, setting the working mode as an expander mode.
Further, in addition to automatically setting the operation mode, the network node device may provide an Interface for manually setting the operation mode to the User, including a hardware Interface or a software Interface, such as a dial switch, or a software Interface, such as a web User Interface (Website User Interface). In this way, by providing the interface set manually, different requirements of the user can be met, for example, in the fault handling, the user sets the working mode manually to perform operations such as debugging and maintenance.
According to the configuration method of the network node equipment provided by the embodiment of the invention, the connection position is detected, the working mode is set according to the connection position, the working mode conversion can be automatically completed without manual operation of a user, and different functions are completed in different working modes, so that the use operation of the user is reduced, and the use experience of the user is improved.
EXAMPLE III
Based on the embodiments corresponding to fig. 1 and fig. 2, an embodiment of the present invention provides a network node device, configured to execute the configuration method of the network node device provided in the embodiment of the present invention, and referring to fig. 3, the network node device 30 includes:
a detection unit 301 for detecting the connection position.
A setting unit 302, configured to set an operation mode according to the connection position. The operating mode is any one of a router mode and an expander mode, the network node device 30 completes a router function in the router mode, and the network node device 30 completes an expander function in the expander mode.
Optionally, the setting unit 302 is further configured to set the operation mode to a default operation mode before the network node device 30 detects the connection location. The network node device 30 has two operating modes, which are a router mode and an expander mode, respectively, the network node device 30 performs a router function in the router mode, and the network node device 30 performs an expander function in the expander mode. Wherein the default operating mode is either router mode or extender mode.
Optionally, the setting unit 302 is specifically configured to set the operation mode to the router mode when it is determined that the network node device 30 can access the DHCP server or the PPPoE server.
Optionally, the setting unit 302 is specifically configured to set the operating mode to the expander mode when it is determined that the network node device 30 cannot access the DHCP server and the PPPoE server.
Optionally, the detecting unit 301 is further configured to detect a connection state of the network cable.
The detection unit 301 is specifically configured to detect a connection position when detecting that the network node device 30 is connected to a network cable. Or,
the detection unit 301 is specifically configured to periodically detect a connection location after detecting that the network node device 30 is connected to the network cable.
Further, in addition to automatically setting the operation mode, the setting unit 302 may also provide an Interface for manually setting the operation mode to the User, including a hardware Interface or a software Interface, such as a dial switch or a network product Interface (Website User Interface). In this way, by providing the interface set manually, different requirements of the user can be met, for example, in the fault handling, the user sets the working mode manually to perform operations such as debugging and maintenance.
According to the network node equipment provided by the embodiment of the invention, the connection position is detected, the working mode is set according to the connection position, the working mode conversion can be automatically completed without manual operation of a user, and different functions are completed in different working modes, so that the use operation of the user is reduced, and the use experience of the user is improved.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by hardware, firmware, or a combination thereof. When implemented in software, the functions described above may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. Taking this as an example but not limiting: the computer-readable medium may include Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Compact disc Read Only Memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to carry or store desired program code in the form of instructions or data structures and which can be accessed by a computer. Furthermore, the method is simple. Any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, a server, or other remote source using a coaxial cable, a fiber optic cable, a twisted pair, a Digital Subscriber Line (DSL), or a wireless technology such as infrared, radio, and microwave, the coaxial cable, the fiber optic cable, the twisted pair, the DSL, or the wireless technology such as infrared, radio, and microwave are included in the fixation of the medium. Disk and Disc, as used herein, includes Compact Disc (CD), laser Disc, optical Disc, Digital Versatile Disc (DVD), floppy disk and blu-ray Disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for configuring a network node device, comprising:
the network node equipment detects the connection position;
setting a working mode according to the connection position; the network node device completes the router function in the router mode, and the network node device completes the expander function in the expander mode.
2. The method of claim 1, wherein prior to the network node device detecting the connection location, the method further comprises:
and setting a working mode as a default working mode, wherein the default working mode is any one of the router mode or the extender mode.
3. The method of claim 1, wherein said setting an operating mode based on a connection location comprises:
and when the network node equipment is determined to be capable of accessing a Dynamic Host Configuration Protocol (DHCP) server or a point-to-point protocol over Ethernet (PPPoE) server, setting a working mode to be a router mode.
4. The method of claim 1, wherein said setting an operating mode based on a connection location comprises:
and when the network node equipment is determined not to be capable of accessing both the DHCP server and the PPPoE server, setting the working mode to be an expander mode.
5. The method according to any of claims 1-4, wherein the network node device detecting the connection location comprises:
when the network node equipment detects that the network node equipment is connected with a network cable, triggering detection of a connection position;
or after the network node equipment is accessed to the network cable, periodically detecting the connection position.
6. A network node device, comprising:
a detection unit for detecting a connection position;
a setting unit for setting a working mode according to the connection position; the network node device completes the router function in the router mode, and the network node device completes the expander function in the expander mode.
7. The network node apparatus of claim 6,
the setting unit is further configured to set a working mode to a default working mode before the network node device detects a connection location, where the default working mode is any one of the router mode and the extender mode.
8. The network node apparatus of claim 6,
the setting unit is specifically configured to set a working mode to a router mode when it is determined that the network node device can access a dynamic host configuration protocol DHCP server or a point-to-point protocol over ethernet PPPoE server.
9. The network node apparatus of claim 6,
the setting unit is specifically configured to set a working mode to an expander mode when it is determined that the network node device cannot access both the DHCP server and the PPPoE server.
10. The network node apparatus of any of claims 6-9,
the detection unit is also used for detecting the connection state of the network cable;
the detection unit is specifically configured to detect a connection position when detecting that the network node device is connected to a network cable; or,
the detection unit is specifically configured to periodically detect a connection location after detecting that the network node device is connected to a network cable.
CN201510250454.9A 2015-05-15 2015-05-15 Network node device and configuration method Pending CN104993942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510250454.9A CN104993942A (en) 2015-05-15 2015-05-15 Network node device and configuration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510250454.9A CN104993942A (en) 2015-05-15 2015-05-15 Network node device and configuration method

Publications (1)

Publication Number Publication Date
CN104993942A true CN104993942A (en) 2015-10-21

Family

ID=54305698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510250454.9A Pending CN104993942A (en) 2015-05-15 2015-05-15 Network node device and configuration method

Country Status (1)

Country Link
CN (1) CN104993942A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357489A (en) * 2016-08-24 2017-01-25 杭州索浪信息技术有限公司 Intelligent extension socket with switchable working mode

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1620020A (en) * 2003-11-20 2005-05-25 国际商业机器公司 Automatically configure network devices by connecting to specific switch ports
CN102801627A (en) * 2012-08-17 2012-11-28 深圳市吉祥腾达科技有限公司 Method for automatically identifying access environment by router
CN103200087A (en) * 2010-05-27 2013-07-10 华为终端有限公司 Wireless router, wireless routing method and wireless routing system
CN103685048A (en) * 2013-11-26 2014-03-26 海信集团有限公司 Router and method for setting working modes thereof
WO2014092841A1 (en) * 2012-12-14 2014-06-19 Western Digital Technologies, Inc. Methods and devices for replacing and configuring a router in a network
CN103916323A (en) * 2013-01-03 2014-07-09 友讯科技股份有限公司 Mobile router capable of automatically detecting connection mode and executing connection setting and method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1620020A (en) * 2003-11-20 2005-05-25 国际商业机器公司 Automatically configure network devices by connecting to specific switch ports
CN103200087A (en) * 2010-05-27 2013-07-10 华为终端有限公司 Wireless router, wireless routing method and wireless routing system
CN102801627A (en) * 2012-08-17 2012-11-28 深圳市吉祥腾达科技有限公司 Method for automatically identifying access environment by router
WO2014092841A1 (en) * 2012-12-14 2014-06-19 Western Digital Technologies, Inc. Methods and devices for replacing and configuring a router in a network
CN103916323A (en) * 2013-01-03 2014-07-09 友讯科技股份有限公司 Mobile router capable of automatically detecting connection mode and executing connection setting and method thereof
CN103685048A (en) * 2013-11-26 2014-03-26 海信集团有限公司 Router and method for setting working modes thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357489A (en) * 2016-08-24 2017-01-25 杭州索浪信息技术有限公司 Intelligent extension socket with switchable working mode

Similar Documents

Publication Publication Date Title
CN104753697B (en) A kind of method, equipment and system controlling the automatic beginning of the network equipment
WO2015051675A1 (en) Network access device management method and device
CN103249075B (en) Access point (AP) fault detecting and recovering method and device
JP2009135783A (en) Communication adapter and connection information setting method thereof
EP2671156B1 (en) Diagnostic information logging
CN103533060A (en) Processing method and device of local proxy
JP2019511861A (en) Basic service set identifier BSSID update
US10103932B2 (en) Technique for assisting remote diagnosis of an access gateway
US9820310B2 (en) Network connection method and system
JP6573917B2 (en) Discriminating method and corresponding terminal, computer program product, and storage medium
CN110535947B (en) Storage device cluster configuration node switching method, device and equipment
CN103533069B (en) Method for starting automatic configuration of network equipment and network equipment
CN106789279A (en) A kind of control method of gateway, the control method and device of remote control terminal
JP4793739B2 (en) Wireless LAN device, wireless LAN master / slave switching method, program for wireless LAN device
WO2025061111A1 (en) Control method executed by internet-of-things device, and control apparatus
CN104993942A (en) Network node device and configuration method
JP6052876B2 (en) Relay device, control method thereof, and control program thereof
CN114024903A (en) Network switching method, device and gateway device
CN109600265B (en) Access circuit AC configuration information issuing method, device and server
CN105163336A (en) Method and system for optimizing stability of wireless network
KR100933251B1 (en) WLAN service failure and quality management system and method
CN105703965A (en) Detection method and detection device for access network, and terminal
CN117641327A (en) Network connection method, electronic device, and computer-readable storage medium
US20170093624A1 (en) Router Connectivity for Client Devices
CN105577464A (en) Dual stack user network detection method, apparatus and system thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151021