Nothing Special   »   [go: up one dir, main page]

CN101114929B - Method of establishing interlinkage for preventing communication abnormality between network management terminal and equipment - Google Patents

Method of establishing interlinkage for preventing communication abnormality between network management terminal and equipment Download PDF

Info

Publication number
CN101114929B
CN101114929B CN2006100994845A CN200610099484A CN101114929B CN 101114929 B CN101114929 B CN 101114929B CN 2006100994845 A CN2006100994845 A CN 2006100994845A CN 200610099484 A CN200610099484 A CN 200610099484A CN 101114929 B CN101114929 B CN 101114929B
Authority
CN
China
Prior art keywords
equipment
network management
management terminal
over
receive
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2006100994845A
Other languages
Chinese (zh)
Other versions
CN101114929A (en
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.)
Lv Dongmei
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2006100994845A priority Critical patent/CN101114929B/en
Publication of CN101114929A publication Critical patent/CN101114929A/en
Application granted granted Critical
Publication of CN101114929B publication Critical patent/CN101114929B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method that avoids creating link between a network management terminal and a communication abnormal among equipments, in particular to a communication between a network management and equipment in a communication equipment management field. The invention comprises the following steps: (1) the network management terminal sends a probe packet to the equipment; (2) the network management terminal judges whether a device response is received or not, if the device acknowledge is not received, so as to switch to step (3), if the device response is received, then the equipment is managed normally; (3) the network management terminal judges whether the times of not receiving the managing achieves a prescribed value or not, if the prescribed value is achieved, then sockets are reassigned, so as to switch to step (1), and if the prescribed value is not achieved, so as to switch to step (1). By using a strategy of sending a probe packet at fixed times, the invention makes a progress in an improvement of operating capability and achieves the effect of feeding equipment exception status back timely and having certain recovery capability, furthermore, the occupation of network resources is reduced and the whole performance is improved.

Description

The method of avoiding the unusual foundation of network management terminal and communication between devices to link
Technical field
The present invention relates to a kind of method of setting up link, is specifically related to a kind of method of avoiding the unusual foundation of network management terminal and communication between devices to link.
Background technology
At present, when webmaster manages equipment, at first establish a communications link between the two.When normally closing, stop communication, webmaster discharges related resource, as closes socket etc.When equipment or circuit take place when unusual, webmaster can not received turn-off request, thereby causes continuing when this equipment sending data communication failure.For this reason, need regularly to send detection packet to equipment.But when the manager manages a plurality of equipment simultaneously, the webmaster as shown in Figure 1 and the schematic diagram of communication between devices, the timed sending detection packet can take a large amount of Internet resources under the pattern of Fig. 1, and overall performance is reduced.This solves the problem on the opportunity that sends detection packet with regard to needs, and in the problem that solves communication abnormality, few resource that takies of trying one's best guarantees overall performance.
Summary of the invention
For solving defective of the prior art and deficiency, the invention provides a kind of method of avoiding the foundation link of communication abnormality, with the abnormal conditions of timely feedback device.
In order to reach the foregoing invention purpose, the method that the present invention avoids the unusual foundation of network management terminal and communication between devices to link may further comprise the steps:
(1) network management terminal sends detection packet to equipment;
(2) network management terminal judges whether to receive device acknowledge, if do not receive that device acknowledge then changes step (3) over to; If receive and then continue device acknowledge to judge whether to login this equipment, can not login and then change step (3) over to according to the equipment state sign; Can then login then zero clearing timer of this equipment; Change step (4) over to;
(3) network management terminal judges not receive whether the number of times of replying reaches setting, changes step (1) if reach over to after setting is then redistributed socket, does not then directly change step (1) over to if reach setting;
(4), after the mutual time of free of data reaches setting, revise described equipment state sign and change step (1) over to according to the mutual time of the free of data of described timer record.
Wherein, the step of this equipment of login comprises in the described step (2): if described equipment state is masked as 0, and logging device then, otherwise change step (3) over to.
Wherein, described step (3) is specially: the network management terminal judgement does not receive in limiting time whether the number of times of replying reaches setting, if reach setting, then close original socket, redistribute socket, to not receive the number of times zero setting of replying, and change step (1) over to equipment transmission detection packet; If do not reach setting, then directly change step (1) over to and send detection packet to equipment, the number of times of replying do not received in record simultaneously.
Compared with prior art, the present invention has adopted the technical measures that send detection packet according to concrete condition, has obtained the progress on the managerial ability, has reached timely feedback device abnormality and has had the effect of certain recovery capability; Simultaneously, the equipment of normal management is not sent detection packet, reduced taking of Internet resources, improved overall performance.
Description of drawings
Fig. 1 is the schematic diagram of webmaster and communication between devices;
Fig. 2 is the flow chart that the present invention avoids the unusual foundation of network management terminal and devices communicating to link;
Fig. 3 is the flow chart of the present invention in specific operation process.
Embodiment
Below in conjunction with accompanying drawing the present invention is described in detail.
Fig. 2 is the flow chart that the present invention avoids the unusual foundation of network management terminal and devices communicating to link.As shown in Figure 2, the method for the invention adopts the strategy of timed sending detection packet, and in time feedback device is unusual, repairs unusual within the specific limits; For avoiding taking a large amount of Internet resources, to controlling the opportunity of sending out detection packet, promptly connection status is identified simultaneously, cooperate timing mechanism, whether decision sends detection packet.The flow process of this method is as follows:
(1) network management terminal sends detection packet to equipment, determines whether communication link is normal;
(2) network management terminal judges whether to receive device acknowledge, if do not receive that device acknowledge then changes step (3) over to; If receive device acknowledge, then equipment is carried out normal management;
(3) the network management terminal judgement does not receive whether the number of times of replying reaches setting, after then redistributing socket, setting changes step (1) if reach over to, if not reaching setting then changes step (1) over to,, recover management automatically to equipment with timely detecting link state.
Wherein, the network management terminal in the described step (2) carries out normal management to equipment and is specially:
(21) judge whether according to the equipment state sign can beaching accommodation for network management terminal, if can not then change step (3) over to by beaching accommodation, if beaching accommodation then then changes step (22) over to;
(22) network management terminal and equipment carry out data interaction;
(23) judge whether the data interaction between network management terminal and the equipment is finished,, change step (22) over to if do not finish data interaction; If finish data interaction, then zero clearing timer;
(24) the record mutual time of free of data;
(25) judge whether the mutual time of free of data reach setting,, change step (1) over to after then revising the equipment state sign if reach setting; Then do not change step (24) over to if reach setting.
Wherein, judging whether and can be specially by beaching accommodation in the described step (21) according to equipment state:
(211) if equipment state is masked as 0, beaching accommodation then, otherwise change step (3) over to.
Wherein, described step (3) is specially: network management terminal judges not receive in limiting time whether the number of times of replying reaches setting, if reach, then closes original socket, redistributes socket, and sends detection packet to equipment; If do not reach, then send detection packet to equipment.
Fig. 3 is the flow chart of the present invention in specific operation process.
Embodiment 1
The flow process of method that the equipment 1 under the normal management state of being in detects communication link is as follows:
(a) 1 data interactions of webmaster and equipment are finished, and reset timer restarts timing;
(b) if data interaction takes place once more, execution in step (a), otherwise execution in step (c) in 3 minutes;
(c) Status Flag of removing equipment 1 sends detection packet to equipment.
Embodiment 2
When equipment 2 was in nonsupervisor mode unusually owing to socket, the flow process of the method that connects was as follows:
(A) webmaster sends detection packet to equipment 2, the timer reclocking that resets, and wait acknowledge, the number of times of replying do not received in record simultaneously;
(B) timing arrives, and webmaster detects does not receive the number of times of replying;
(C) if do not receive that the number of times of replying reaches limit value, then close original socket, redistribute socket, send detection packet to equipment 2;
(D), then send and reply (redistributing socket, the unusual releasing) to webmaster if equipment 2 is received detection packet;
(E) after webmaster is received and is replied, beaching accommodation then.
By above step, to have finished under the communication abnormality state, webmaster and equipment room are set up chained task and have been realized timely feedback communication Link State, increase network utilization and repaired automatically the function such as unusual that is caused by socket.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those skilled in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (3)

1. the method for avoiding the unusual foundation of network management terminal and communication between devices to link is characterized in that, may further comprise the steps:
(1) network management terminal sends detection packet to equipment;
(2) network management terminal judges whether to receive device acknowledge, if do not receive that device acknowledge then changes step (3) over to; If receive and then continue device acknowledge to judge whether to login this equipment, can not login and then change step (3) over to according to the equipment state sign; Can then login then zero clearing timer of this equipment; Change step (4) over to;
(3) network management terminal judges not receive whether the number of times of replying reaches setting, changes step (1) if reach over to after setting is then redistributed socket, does not then directly change step (1) over to if reach setting;
(4), after the mutual time of free of data reaches setting, revise described equipment state sign and change step (1) over to according to the mutual time of the free of data of described timer record.
2. the method for avoiding the unusual foundation of network management terminal and communication between devices to link according to claim 1 is characterized in that: the step of this equipment of login comprises in the described step (2):
If described equipment state is masked as 0, logging device then, otherwise change step (3) over to.
3. the method for avoiding the unusual foundation of network management terminal and communication between devices to link according to claim 1 and 2, it is characterized in that: described step (3) is specially: the network management terminal judgement does not receive in limiting time whether the number of times of replying reaches setting, if reach setting, then close original socket, redistribute socket, to not receive the number of times zero setting of replying, and change step (1) over to equipment transmission detection packet; If do not reach setting, then directly change step (1) over to and send detection packet to equipment, the number of times of replying do not received in record simultaneously.
CN2006100994845A 2006-07-24 2006-07-24 Method of establishing interlinkage for preventing communication abnormality between network management terminal and equipment Expired - Fee Related CN101114929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100994845A CN101114929B (en) 2006-07-24 2006-07-24 Method of establishing interlinkage for preventing communication abnormality between network management terminal and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100994845A CN101114929B (en) 2006-07-24 2006-07-24 Method of establishing interlinkage for preventing communication abnormality between network management terminal and equipment

Publications (2)

Publication Number Publication Date
CN101114929A CN101114929A (en) 2008-01-30
CN101114929B true CN101114929B (en) 2011-04-20

Family

ID=39023066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100994845A Expired - Fee Related CN101114929B (en) 2006-07-24 2006-07-24 Method of establishing interlinkage for preventing communication abnormality between network management terminal and equipment

Country Status (1)

Country Link
CN (1) CN101114929B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104500A (en) * 2011-03-26 2011-06-22 成都勤智数码科技有限公司 Automatic network management equipment abnormity restoring method
CN106559820B (en) * 2015-09-24 2019-08-16 电信科学技术研究院 A kind of link monitoring method and device
CN112929225B (en) * 2021-03-30 2022-09-30 平安科技(深圳)有限公司 Session exception handling method and device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1527547A (en) * 2002-12-20 2004-09-08 ���ֿ˰뵼��V.N.���޹�˾ Arrangement for detecting chain circuit fault on Ethernet back plate with high feasibility
CN1734425A (en) * 2004-08-04 2006-02-15 三星电子株式会社 The main equipment of the fault of sensing external device (ED) and method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1527547A (en) * 2002-12-20 2004-09-08 ���ֿ˰뵼��V.N.���޹�˾ Arrangement for detecting chain circuit fault on Ethernet back plate with high feasibility
CN1734425A (en) * 2004-08-04 2006-02-15 三星电子株式会社 The main equipment of the fault of sensing external device (ED) and method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
US 2003/0009556 A1,全文.
US 2003/0009573 A1,全文.

Also Published As

Publication number Publication date
CN101114929A (en) 2008-01-30

Similar Documents

Publication Publication Date Title
CN106506203B (en) Node monitoring system applied to block chain
US9532359B2 (en) Resource allocation method and device
CN103139018B (en) Network card status monitoring under a kind of modulation integral system and TCP communication method
CN107948063B (en) Method for establishing aggregation link and access equipment
CN103428734A (en) Method and device for optimizing network resources
CN101114929B (en) Method of establishing interlinkage for preventing communication abnormality between network management terminal and equipment
CN102594696B (en) A kind of method and device managing network device link aggregation group
CN105592141A (en) Connection number control method and device
CN102984739A (en) Breakdown information processing method and processing device
CN102918802B (en) Method, node and system for determining fault indication state
CN100442791C (en) Method for improving data communication reliability using floating IP address
CN104349506A (en) Association management method, wireless access device and system
EP2988476B1 (en) Method and apparatus for processing operation on endpoint peripheral
CN103368858A (en) Method and device for cleaning flow capable of providing loading of combination of multiple strategies
CN106169999A (en) The method and device of session backup
CN111343655A (en) Method for implementing wireless network, device for implementing wireless network and storage medium
WO2023001020A1 (en) Orthogonal architecture-based service board starting method, service board, and orthogonal device
CN101227378B (en) Communication service establishing method based on network storage and storage device thereof
CN108712782B (en) Tunnel establishment method and device, electronic equipment and readable storage medium
CN106900077A (en) The VPN automatic recovery system and method for a kind of intelligent terminal
CN104038426A (en) Network switch and data updating method
CN110784365A (en) Standby device of station control layer and entity device of transformer substation and automatic online method thereof
CN103457766A (en) Method and device for managing equipment in stacking split
CN101335655B (en) Safety information communicating method, device and system
CN106455120B (en) Method for processing interface between different systems, base station and wireless equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171227

Address after: Liang Shui Zhen Zhen Wang Xin Cun 252000 Shandong Province, Liaocheng city Dongchangfu District No. 013

Patentee after: Lv Dongmei

Address before: 518057, Guangdong Shenzhen hi tech Industrial Park Nanshan District science and technology south road ZTE building 6 floor of the Ministry of law

Patentee before: ZTE Corporation

CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Lv Dongmei

Inventor before: Bai Hui

Inventor before: Feng Jun

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110420

Termination date: 20190724