CN103401735B - Indicate the wrong method and system in routing device - Google Patents
Indicate the wrong method and system in routing device Download PDFInfo
- Publication number
- CN103401735B CN103401735B CN201310360599.5A CN201310360599A CN103401735B CN 103401735 B CN103401735 B CN 103401735B CN 201310360599 A CN201310360599 A CN 201310360599A CN 103401735 B CN103401735 B CN 103401735B
- Authority
- CN
- China
- Prior art keywords
- error condition
- routing device
- error
- webpage
- user equipment
- 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
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of wrong method and system indicated in routing device.According to the method for the invention, the error condition in the instruction system real-time sense routing device, and at least one different listened to the error condition is kept in, until corresponding error condition is released;The instruction system is when receiving from network address transmitted by the user equipment being connected with the routing device, determine whether to keep at least one described error condition, if, then the error message corresponding to kept in all error conditions is loaded into default webpage, and the webpage is returned into the user equipment, conversely, then the network address is forwarded.The present invention, which had both been avoided that in existing route equipment, causes conflicting situation between the same multiple routing devices occupy in network due to random modification LAN side gateway information, moreover it is possible to the specific mistake of user's routing device is effectively reminded, so that user is modified.
Description
Technical field
The present invention relates to a kind of wrong method and system indicated in routing device.
Background technology
Routing device is the important network node for being used in internet connect LAN and wide area network.With family,
One or more routing device may be provided with the increase of company's equipment for surfing the net, a corresponding LAN.But, for very
Many can surf the Net, and be ignorant of for the user of routing device, using often occur during routing device it is not clear thus the problem of, and
How to solve these problems, then it is helpless.Such as, when the WAN-side and LAN side in routing device are located at the same network segment, use
Family only knows that used equipment be cannot get online, and does not know problem but at which, does not know how more to solve.
In order to allow user more easily to surf the Net, self-checking function is added in routing device, is also located at WAN-side and LAN side
The same network segment and illustrate the problem of cannot get online, current routing device is located at the same network segment in self-inspection to WAN-side and LAN side
When, automatically the gateway information of LAN side is redirected, to solve the problem of network is obstructed.But, aforesaid way is for office
Only one of which routing device is perhaps effective in the net of domain, and still, if having multiple routing devices in LAN, aforesaid way will likely
Bring the gateway information conflict other problemses of such as each routing device.Therefore, the solution route that self-checking function can not be essential is set
Standby middle the problem of.
Therefore, those skilled in the art need to provide a kind of non-professional user proper use of routing device of can helping
Mode.
The content of the invention
The shortcoming of prior art in view of the above, it is an object of the invention to provide a kind of mistake indicated in routing device
Method and system by mistake, when for solution, routing device occurs wrong under maloperation in the prior art, layman
The problem of questions and prospect can not being found.
In order to achieve the above objects and other related objects, the present invention provides a kind of wrong side indicated in routing device
Method, it at least includes:Error condition in real-time sense routing device, and by least one different listened to the mistake
State is kept in by mistake, until corresponding error condition is released;Receiving from the use being connected with the routing device
During network address transmitted by the equipment of family, it is determined whether keep at least one described error condition, if so, then will be keep in wrong
The error message corresponding to state is loaded into default webpage by mistake, and the webpage is returned into the user equipment, conversely, then
The network address is forwarded.
Preferably, at least one different listened to the error condition is given into temporary mode includes:By institute
Each error condition intercepted is kept in corresponding parameter and parameter value.
Preferably, it is determined that when keeping at least one described error condition, the indicating means also includes:According to default mistake
The corresponding relation of the state of mistake and solution, by the error message corresponding to kept in each error condition and respective solution
Certainly scheme is loaded into default webpage, and the webpage is returned into the user equipment.
Preferably, the error condition includes:Wan interface is not inserted netting twine, LAN side and WAN-side and is in the same network segment
At least one.
Based on above-mentioned purpose, the present invention also provides a kind of wrong system indicated in routing device, and it at least includes:Detect
Module is listened, for the error condition in real-time sense routing device, and by least one different listened to the mistake
State is kept in, until corresponding error condition is released;Reminding module, for receive from it is described route set
During network address transmitted by the user equipment of standby connection, it is determined whether the module of intercepting keeps at least one described wrong shape
State, if so, then the error message corresponding to kept in all error conditions is loaded into default webpage, and by the webpage
The user equipment is returned to, conversely, then being forwarded the network address.
Preferably, each error condition that module is additionally operable to be intercepted is intercepted with corresponding parameter and parameter value to give temporarily
Deposit.
Preferably, it is determined that when keeping at least one described error condition, the reminding module is additionally operable to according to default mistake
The corresponding relation of the state of mistake and solution, by the error message corresponding to kept in each error condition and respective solution
Certainly scheme is loaded into default webpage, and the webpage is returned into the user equipment.
Preferably, the error condition includes:Wan interface is not inserted netting twine, LAN side and WAN-side and is in the same network segment
At least one.
As described above, the wrong method and system indicated in routing device of the present invention, have the advantages that:Will
The error condition intercepted is kept in, when there is user equipment access network, by the various error conditions intercepted with webpage
Form returns to user equipment, so that user obtains the error message of routing device in time, is so both avoided that existing route
Cause and collide with each other between the same multiple routing devices occupy in network due to random modification LAN side gateway information in equipment
Situation, moreover it is possible to effectively remind user's routing device specific mistake, so that user is modified;In addition, by error condition institute
Corresponding solution is loaded into webpage in the lump, and the operation that can provide the user the routing device of hommization is helped, and increase is used
The experience sense at family.
Brief description of the drawings
Fig. 1 is shown as the flow chart for indicating the wrong method in routing device of the present invention.
Fig. 2 is shown as the structural representation for indicating the wrong system in routing device of the present invention.
Component label instructions
1 indicates system
11 intercept module
12 reminding modules
S1~S2 steps
Embodiment
Illustrate embodiments of the present invention below by way of specific instantiation, those skilled in the art can be by this specification
Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through specific realities different in addition
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints with application, without departing from
Various modifications or alterations are carried out under the spirit of the present invention.
As shown in figure 1, the present invention provides a kind of wrong method indicated in routing device.Wherein, the indicating means
Mainly performed by instruction system, the instruction system is the application in the routing device.The routing device bag
Include but be not limited to:Soho router etc..
In step sl, the error condition in the instruction system real-time sense routing device, and being listened to not
At least one same described error condition is kept in, until corresponding error condition is released.Wherein, the error condition
Any error condition being likely to occur including the routing device, it includes but is not limited to:Wan interface does not insert netting twine, LAN side
At least one of same network segment is in WAN-side.
Wherein, the mode of the error condition in the instruction system real-time sense routing device includes but is not limited to:1)Institute
State the state that each error condition interface is exported in routing device described in instruction system real-time sense.For example, the instruction system
Using wan interface in routing device described in ethtool order real-time senses, if the wan interface is returned as sky, it is determined that described
Wan interface does not insert netting twine.
2)The modification of the instruction system based on the configuration information in the routing device, to intercept in the routing device
Error condition.For example, the instruction system based on reading LAN side and WAN respectively in the configuration information in the routing device
The gateway informations such as IP address, the subnet mask of side, and LAN side and WAN-side are calculated whether in the same network segment, if so, then true
There is the fixed routing device LAN side and WAN-side to be in the error condition of the same network segment, if it is not, then when listening to described match somebody with somebody
When confidence breath changes, then above-mentioned gateway information is read, to determine the error condition.
Specifically, the instruction system since just intercepting various wrong shapes therein in real time after electricity on the routing device
State, and the error condition listened to is stored in the internal memory of the routing device, if listening to preserved mistake next time
By mistake during status releasing, then the error condition that is stored in internal memory is deleted, if conversely, when listening to new error condition next time,
Then new error condition is added in the internal memory.
Preferably, the instruction system is kept in each error condition intercepted with corresponding parameter and parameter value.
Specifically, in order to reduce the internal memory shared by error condition, the instruction system is default for various error conditions
Have corresponding parameter, when listening to certain error condition, just by corresponding parameter and represent occur corresponding error condition when
Parameter value correspondence is stored in internal memory.
In step s 2, the instruction system is being received from transmitted by the user equipment being connected with the routing device
Network address when, it is determined whether keep at least one described error condition, if so, then by corresponding to kept in all error conditions
Error message be loaded into default webpage, and the webpage is returned into the user equipment, conversely, then giving the network address
To forward.Wherein, the user equipment can be notebook, mobile phone, computer equipment etc..
Specifically, the routing device can connect at least one user equipment, and the user equipment passes through the route
Equipment is communicated with outer net.When the routing device receive it is described managed and protected with you equipment send include outer net network address request
During information, the instruction system stops the solicited message, and confirms whether have error condition in internal memory, if there being wrong shape
Error message corresponding to each error condition deposited, then be loaded into preset web by state, and the webpage is returned to described
User equipment, if conversely, there is not error condition, making the routing device be forwarded the network address.
For example, the instruction system is extracted into internal memory and deposited when intercepting and capturing the outer net network address from the user equipment
All error conditions of storage, if having the error condition of the slotting netting twine of wan interface in the internal memory, by the default mistake
The error message of " wan interface does not insert netting twine " corresponding to state is loaded into default webpage, and the webpage is returned into institute
User equipment is stated, thus, using the user of the user equipment it can be seen that the prompting of " wan interface does not insert netting twine ".It is described
User can according to it is such prompting to solve on routing device the problem of, to eliminate the error condition.
Preferably, it is determined that when keeping at least one described error condition, the step S2 also includes:Step S21(Figure is not given
Show).
In the step s 21, the instruction system is according to the corresponding relation of default error condition and solution, by temporarily
The error message corresponding to each error condition deposited and respective solution are loaded into default webpage, and by the net
Page returns to the user equipment.
Specifically, it is described to indicate that systemic presupposition has the solution corresponding to various error conditions, and according to default mistake
The species of state is intercepted by mistake, when it is determined that keeping at least one described error condition, by corresponding to each error condition
Error message and respective solution be loaded into default webpage, and the webpage is returned into the user equipment, by
This, can facilitate user to solve the mistake in the presence of routing device.
As shown in Fig. 2 the present invention also provides a kind of wrong system indicated in routing device.The instruction system 1 is wrapped
Include:Intercept module 11, reminding module 12.
It is described intercept module 11 be used for real-time sense routing device in error condition, and by listened to it is different extremely
A few error condition is kept in, until corresponding error condition is released.Wherein, the error condition includes institute
Any error condition that routing device is likely to occur is stated, it includes but is not limited to:Wan interface does not insert netting twine, LAN side and WAN
Side is at least one of same network segment.
Wherein, the mode for intercepting the error condition in the real-time sense routing device of module 11 includes but is not limited to:1)
It is described to intercept the state that each error condition interface is exported in routing device described in the real-time sense of module 11.For example, described intercept
Module 11 is using wan interface in routing device described in ethtool order real-time senses, if the wan interface is returned as sky, really
The fixed wan interface does not insert netting twine.
2)It is described to intercept modification of the module 11 based on the configuration information in the routing device, to intercept the routing device
In error condition.For example, it is described intercept module 11 based on read respectively in the configuration information in the routing device LAN side and
The gateway informations such as IP address, the subnet mask of WAN-side, and LAN side and WAN-side are calculated whether in the same network segment, if so, then
Determine that there is the routing device LAN side and WAN-side to be in the error condition of the same network segment, if it is not, then described when listening to
When configuration information changes, then above-mentioned gateway information is read, to determine the error condition.
Specifically, the module 11 of intercepting since just intercepting various mistakes therein in real time after electricity on the routing device
State, and the error condition listened to is stored in the internal memory of the routing device, if listening to what is preserved next time
When error condition is released, then the error condition stored in internal memory is deleted, if conversely, listening to new error condition next time
When, then new error condition is added in the internal memory.
Preferably, the module 11 of intercepting gives each error condition intercepted temporarily with corresponding parameter and parameter value
Deposit.
Specifically, in order to reduce the internal memory shared by error condition, described to intercept module 11 pre- for various error conditions
Provided with corresponding parameter, when listening to certain error condition, when corresponding parameter and expression just into corresponding error condition occurring
Parameter value correspondence be stored in internal memory.
The reminding module 12 is used to receive from the net transmitted by the user equipment being connected with the routing device
During location, it is determined whether the module 11 of intercepting keeps at least one described error condition, if so, then that kept in institute is wrong
The error message corresponding to state is loaded into default webpage by mistake, and the webpage is returned into the user equipment, conversely, then
The network address is forwarded.Wherein, the user equipment can be notebook, mobile phone, computer equipment etc..
Specifically, the routing device can connect at least one user equipment, and the user equipment passes through the route
Equipment is communicated with outer net.When the routing device receive it is described managed and protected with you equipment send include outer net network address request
During information, the reminding module 12 stops the solicited message, and confirms whether have error condition in internal memory, if there being mistake
Error message corresponding to each error condition deposited, then be loaded into preset web, and the webpage is returned into institute by state
User equipment is stated, if conversely, there is not error condition, making the routing device be forwarded the network address.
For example, the reminding module 12 extracts institute into internal memory when intercepting and capturing the outer net network address from the user equipment
All error conditions of storage, if having the error condition of the slotting netting twine of wan interface in the internal memory, by the default mistake
The error message of " wan interface does not insert netting twine " corresponding to state is loaded into default webpage by mistake, and the webpage is returned to
The user equipment, thus, using the user of the user equipment it can be seen that the prompting of " wan interface does not insert netting twine ".Institute
State user can according to it is such prompting to solve on routing device the problem of, to eliminate the error condition.
Preferably, it is determined that when keeping at least one described error condition, the reminding module 12 is additionally operable to according to default
The corresponding relation of error condition and solution, by the error message corresponding to kept in each error condition and respective
Solution is loaded into default webpage, and the webpage is returned into the user equipment.
Specifically, the reminding module 12 is preset with the solution corresponding to various error conditions, and according to default
The species of error condition is intercepted, when it is determined that keeping at least one described error condition, and each error condition institute is right
The error message answered and respective solution are loaded into default webpage, and the webpage is returned into the user equipment,
Thereby, it is possible to the mistake in the presence of facilitating user to solve routing device.
In summary, the wrong method and system indicated in routing device of the invention, the error condition intercepted is given
With temporary, when there is user equipment access network, the various error conditions intercepted returned into user in the form of a web page and set
It is standby, so that user obtains the error message of routing device in time, so both it had been avoided that in existing route equipment due to arbitrarily repairing
Change LAN side gateway information and cause conflicting situation between the same multiple routing devices occupy in network, moreover it is possible to effectively
The specific mistake of user's routing device is reminded, so that user is modified;In addition, by the solution one corresponding to error condition
And be loaded into webpage, the operation that can provide the user the routing device of hommization is helped, and increases the experience sense of user.So,
The present invention effectively overcomes various shortcoming of the prior art and has high industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any ripe
Know the personage of this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Cause
This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as
Into all equivalent modifications or change, should by the present invention claim be covered.
Claims (6)
1. a kind of wrong method indicated in routing device, it is characterised in that at least include:
Error condition in real-time sense routing device, and at least one different listened to the error condition is given
It is temporary, until corresponding error condition is released;
When receiving from network address transmitted by the user equipment being connected with the routing device, it is determined whether temporary at least one
The individual error condition, if so, then the error message corresponding to kept in all error conditions is loaded into default webpage,
And the webpage is returned into the user equipment, conversely, then the network address is forwarded;
It is determined that when keeping at least one described error condition, the indicating means also includes:According to default error condition and solution
Certainly the corresponding relation of scheme, the error message corresponding to kept in each error condition and respective solution are loaded into
In default webpage, and the webpage is returned into the user equipment.
2. the wrong method according to claim 1 indicated in routing device, it is characterised in that will be listened to not
At least one same described error condition, which gives temporary mode, to be included:By each error condition intercepted with corresponding parameter and
Parameter value is kept in.
3. the wrong method according to claim 1 indicated in routing device, it is characterised in that the error condition bag
Include:Wan interface does not insert netting twine, LAN side and WAN-side and is at least one of same network segment.
4. a kind of wrong system indicated in routing device, it is characterised in that at least include:
Module is intercepted, for the error condition in real-time sense routing device, and by least one the different institutes listened to
State error condition to be kept in, until corresponding error condition is released;
Reminding module, for when receiving from network address transmitted by the user equipment being connected with the routing device, it is determined that
Whether the module of intercepting keeps at least one described error condition, if so, then that kept in all error conditions institute is right
The error message answered is loaded into default webpage, and the webpage is returned into the user equipment, conversely, then by the network address
Forwarded;
It is determined that when keeping at least one described error condition, the reminding module is additionally operable to according to default error condition with solving
The corresponding relation of scheme, the error message corresponding to kept in each error condition and respective solution is loaded into pre-
If webpage in, and the webpage is returned into the user equipment.
5. the wrong system according to claim 4 indicated in routing device, it is characterised in that intercept module and be additionally operable to
Each error condition intercepted is kept in corresponding parameter and parameter value.
6. the wrong system according to claim 4 indicated in routing device, it is characterised in that the error condition bag
Include:Wan interface does not insert netting twine, LAN side and WAN-side and is at least one of same network segment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310360599.5A CN103401735B (en) | 2013-08-19 | 2013-08-19 | Indicate the wrong method and system in routing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310360599.5A CN103401735B (en) | 2013-08-19 | 2013-08-19 | Indicate the wrong method and system in routing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103401735A CN103401735A (en) | 2013-11-20 |
CN103401735B true CN103401735B (en) | 2017-09-19 |
Family
ID=49565266
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310360599.5A Active CN103401735B (en) | 2013-08-19 | 2013-08-19 | Indicate the wrong method and system in routing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103401735B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104202199B (en) * | 2014-09-16 | 2018-05-25 | 上海斐讯数据通信技术有限公司 | Detect Interface status and according to the method and system of Interface status Processing Interface failure |
CN105933185A (en) * | 2016-06-24 | 2016-09-07 | 上海连尚网络科技有限公司 | Method and device for determining connection abnormity type of router |
CN107707420B (en) * | 2017-08-04 | 2021-04-09 | 郑州云海信息技术有限公司 | Method for testing network cable plugging and unplugging stability |
CN108768731A (en) * | 2018-05-31 | 2018-11-06 | 安徽电信器材贸易工业有限责任公司 | A kind of method and its system of remote recovery router |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7568132B2 (en) * | 2001-09-21 | 2009-07-28 | Hitachi, Ltd. | Fault data exchange between file server and disk control device |
CN101938526A (en) * | 2009-06-30 | 2011-01-05 | 中兴通讯股份有限公司 | Obtaining method of routing policy, terminal and server |
CN102064979A (en) * | 2010-12-15 | 2011-05-18 | 刘俊 | Network fault restoration system, device and method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6879812B2 (en) * | 2002-02-08 | 2005-04-12 | Networks Associates Technology Inc. | Portable computing device and associated method for analyzing a wireless local area network |
CN101471822A (en) * | 2007-12-29 | 2009-07-01 | 华为技术有限公司 | Method and system for locating network fault |
CN102143077B (en) * | 2011-03-29 | 2014-12-10 | 中兴通讯股份有限公司 | Method and system for realizing multi-service link of route equipment and route equipment thereof |
CN102202004B (en) * | 2011-07-08 | 2014-01-22 | 福建星网锐捷网络有限公司 | Routing error processing method and device and routing equipment |
-
2013
- 2013-08-19 CN CN201310360599.5A patent/CN103401735B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7568132B2 (en) * | 2001-09-21 | 2009-07-28 | Hitachi, Ltd. | Fault data exchange between file server and disk control device |
CN101938526A (en) * | 2009-06-30 | 2011-01-05 | 中兴通讯股份有限公司 | Obtaining method of routing policy, terminal and server |
CN102064979A (en) * | 2010-12-15 | 2011-05-18 | 刘俊 | Network fault restoration system, device and method |
Also Published As
Publication number | Publication date |
---|---|
CN103401735A (en) | 2013-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103401735B (en) | Indicate the wrong method and system in routing device | |
EP3169024B1 (en) | Designated forwarder (df) election based on static df election procedure | |
CN105323136A (en) | Information processing method and device | |
CN106161335A (en) | A kind for the treatment of method and apparatus of network packet | |
CN106357542B (en) | The method and software defined network controller of multicast service are provided | |
CN104170460A (en) | Network switching method and terminal | |
CN108306824B (en) | Message sending method and device | |
CN107645433B (en) | Message forwarding method and device | |
CN107113892A (en) | A kind of method and device of gateway device automatic network-building | |
CN110177010B (en) | Link switching method and device | |
CN113923092A (en) | Processing method and controller for appointed forwarder and provider edge device | |
CN101924676B (en) | Consultation method of control word ability and pseudowire establishing equipment | |
CN106533973A (en) | Method and system for distributing service message, and equipment | |
CN104202199B (en) | Detect Interface status and according to the method and system of Interface status Processing Interface failure | |
US20140286339A1 (en) | Hardware Acceleration for Routing Programs | |
CN106713130B (en) | A kind of routing table update method, EVPN control equipment and EVPN system | |
CN106161331A (en) | A kind of fire wall double hot standby method, Apparatus and system | |
EP3244587A1 (en) | Method, device and system for precision time protocol time synchronization in aggregation network | |
CN107634907B (en) | Data forwarding method and device for L2VPN (layer two virtual private network) | |
CN105991428B (en) | Method and device for processing switch routing conflict | |
CN105392083B (en) | A kind of MPP speakers switching method and access controller | |
CN108900422A (en) | Multicast forward method, device and electronic equipment | |
CN108600179A (en) | Authentication method and device | |
CN105991552A (en) | Method for aging flow table and NAT (network address translation) session table and apparatus | |
CN104113463A (en) | Network bridge based data message processing method, device and network bridge |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201125 Address after: 221700 4-1-110-shop, Nanyuan new town, Fengxian County, Xuzhou City, Jiangsu Province Patentee after: Song Yixiao Address before: 201616 Shanghai city Songjiang District Guangfulin road 4855 Lane 20, No. 90 Patentee before: Phicomm (Shanghai) Co.,Ltd. |