CN110535691A - Method, apparatus, equipment and the storage medium of a kind of positioning failure cable port - Google Patents

Method, apparatus, equipment and the storage medium of a kind of positioning failure cable port Download PDF

Info

Publication number
CN110535691A
CN110535691A CN201910735599.6A CN201910735599A CN110535691A CN 110535691 A CN110535691 A CN 110535691A CN 201910735599 A CN201910735599 A CN 201910735599A CN 110535691 A CN110535691 A CN 110535691A
Authority
CN
China
Prior art keywords
cable port
port
cable
positioning failure
status inquiry
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
CN201910735599.6A
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.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent Technology 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 Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910735599.6A priority Critical patent/CN110535691A/en
Publication of CN110535691A publication Critical patent/CN110535691A/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/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults

Abstract

This application discloses a kind of method, apparatus of positioning failure cable port, equipment and storage medium, this method includes response cable port status inquiry request;Obtain the address of each cable port;Obtain the status inquiry result of each cable port;According to the address of cable port and status inquiry as a result, positioning failure cable port.The device includes Subscriber Interface Module SIM, for responding cable port status inquiry request;Address management module, for obtaining the address of each cable port;Timer event processing module, for obtaining the status inquiry result of each cable port;Data processing module, for address and the status inquiry according to the cable port as a result, positioning failure cable port.Method, apparatus, equipment and the storage medium of above-mentioned positioning failure cable port, can guarantee user network when something goes wrong, quickly position the cable port to go wrong, improve working efficiency, reduce human cost.

Description

Method, apparatus, equipment and the storage medium of a kind of positioning failure cable port
Technical field
The invention belongs to fields of communication technology, method, apparatus, equipment more particularly to a kind of positioning failure cable port And storage medium.
Background technique
With the development of society and popularizing for PC, more and more digital informations are produced, information content increases in explosive It is long, thus caused the data technique New Wave centered on memory technology.Traditional information storage means has been unable to meet newly Needs, the networking of storage becomes the new highlight of IT technology.Usually, pass through between computer server-side and storage end Cable is connected with interchanger, and when the time limit that cable uses is too long, quality can be deteriorated, and may be disconnected after being shaken, This will lead to storage system and is not available.But the wiring of entire laboratory environment is extremely complex, in each laboratory usually Have tens of interchangers, when need detect be which cable when something goes wrong, can only be that maintenance personal monitors often in person now The state of one cable, excludes one by one, it is seen that this mode is very time-consuming and laborious, and maintenance time is too long.
Summary of the invention
To solve the above problems, the present invention provides a kind of method, apparatus of positioning failure cable port, equipment and storages Medium, can guarantee user network when something goes wrong, quickly position the cable port to go wrong, improve working efficiency, subtract Few human cost.
A kind of method of positioning failure cable port provided by the invention includes:
Respond cable port status inquiry request;
Obtain the address of each cable port;
Obtain the status inquiry result of each cable port;
According to the address of the cable port and the status inquiry as a result, positioning failure cable port.
Preferably, in the method for above-mentioned positioning failure cable port, before responding cable port status inquiry request, Further include:
Registration request is responded, is notified in each cable port registered port status inquiry.
Preferably, in the method for above-mentioned positioning failure cable port, the response cable port status inquiry request are as follows:
Respond the automatic inquiry request with prefixed time interval of cable port status.
Preferably, in the method for above-mentioned positioning failure cable port, the state for obtaining each cable port Query result are as follows:
Message is sent and received to each cable port, obtains the status inquiry result of each cable port.
A kind of device of positioning failure cable port provided by the invention includes:
Subscriber Interface Module SIM, for responding cable port status inquiry request;
Address management module, for obtaining the address of each cable port;
Timer event processing module, for obtaining the status inquiry result of each cable port;
Data processing module, for address and the status inquiry according to the cable port as a result, positioning failure net Line end mouth.
Preferably, in the device of above-mentioned positioning failure cable port, the Subscriber Interface Module SIM is also used to respond registration Request is notified in each cable port registered port status inquiry.
Preferably, in the device of above-mentioned positioning failure cable port, the Subscriber Interface Module SIM is specifically used for response net The automatic inquiry request with prefixed time interval of line port status.
Preferably, further include message processing module (MPM) in the device of above-mentioned positioning failure cable port, for it is described fixed When device event processing module cooperate, send and receive message to each cable port, obtain the state of each cable port Query result.
A kind of equipment of positioning failure cable port provided by the invention includes:
Memory, for storing instruction;Wherein, described instruction includes the instruction of each movement in any of the above item method;
Processor, for executing the instruction in the memory.
A kind of computer readable storage medium provided by the invention is stored with calculating on the computer readable storage medium Machine program realizes the method for the positioning failure cable port as described in any one above when the computer program is executed by processor The step of.
As can be seen from the above description, it the method, apparatus, equipment of above-mentioned positioning failure cable port provided by the invention and deposits Storage media, since this method includes first responding cable port status inquiry request;The address of each cable port is obtained again;Then Obtain the status inquiry result of each cable port;Finally according to the address of the cable port and the status inquiry knot Fruit, positioning failure cable port, thus directly finds out the port to go wrong, asks without manually going to search one by one Topic, thus can guarantee user facilitate inquiry laboratory environment port cable health status, network when something goes wrong, fastly The cable port that speed positioning goes wrong, improves working efficiency, reduces human cost.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of schematic diagram of the method for positioning failure cable port provided by the present application;
Fig. 2 is a kind of schematic diagram of the device of positioning failure cable port provided by the present application;
Fig. 3 is a kind of schematic diagram of the equipment of positioning failure cable port provided by the present application.
Specific embodiment
Core of the invention is to provide the method, apparatus, equipment and storage medium of a kind of positioning failure cable port, can Guarantee user network when something goes wrong, quickly position the cable port to go wrong, raising working efficiency, reduction manpower at This.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
As shown in FIG. 1, FIG. 1 is the application to mention for a kind of embodiment of the method for positioning failure cable port provided by the present application A kind of schematic diagram of the method for the positioning failure cable port supplied, this method comprises the following steps:
S1: response cable port status inquiry request;
It should be noted that the cable port can be, but not limited to be iscsi cable port, especially this method is suitable for The extremely complex network of topology, that is, the network including very more host computer with router and interchanger, only with artificial judgment net The exact position that network port failure occurs is extremely difficult, and the cable end of failure will be efficiently found out very much with this method Mouthful, and the inquiry request can come from CLI module.
S2: the address of each cable port is obtained;
Specifically, the address of these cable ports can be got, from special address management module with these ground Location is according to progress status inquiry.
S3: the status inquiry result of each cable port is obtained;
Specifically, various ways can be used, such as message is sent to the address of each cable port, and received each The message that cable port returns, when can normally return, it was demonstrated that failure is not present in the cable port, otherwise determines the cable end There are failures for mouth, by means of which can get all port status.
S4: according to the address of cable port and status inquiry as a result, positioning failure cable port.
Specifically, port address and status inquiry result can be arranged and be analyzed, break down to obtain The cable port broken down directly can be replaced or be repaired by cable port, maintenance personal, substantially increase network The working efficiency of maintenance.
As can be seen from the above description, the method for above-mentioned positioning failure cable port provided by the present application, due to including first ringing Answer cable port status inquiry request;The address of each cable port is obtained again;Then the state for obtaining each cable port is looked into Ask result;Finally according to the address of cable port and status inquiry as a result, positioning failure cable port, thus directly finds out out The port of existing problem, searches problem, therefore can guarantee that user facilitates inquiry laboratory environment without manually going one by one Port cable health status, network when something goes wrong, quickly position the cable port to go wrong, improve work effect Rate reduces human cost.
In the specific embodiment of the method for a positioning failure cable port, in response cable port status inquiry request Before, further includes:
Registration request is responded, is notified in each cable port registered port status inquiry.
Specifically, can notify in the port registered port status inquiry of memory devices, registration background storage can be determined When to the port of registration initiate status inquiry message, for the availability of real-time monitoring storage area network middle port.
In the specific embodiment of the method for another positioning failure cable port, cable port status inquiry request is responded It can be with specifically:
Respond the automatic inquiry request with prefixed time interval of cable port status.
That is, every prefixed time interval, so that it may automatic inquiry request initiated to cable port, port responses this After kind of request, just inquired with state of the above-mentioned interval to each cable port, when the generation of some or certain cable ports When failure, it will be able to notify at once to user, user can take timely measure, such as maintenance or replacement cable or port etc. Deng, avoid network failure from bringing adverse effect, this is only a preferred embodiment certainly, it can also actually be operated without such, When can also just think that user has found network failure, such a request is just initiated, is then responding to the request to inquire failure Specific port position.
In the preferred embodiment of a positioning failure cable port method, the status inquiry knot of each cable port is obtained Fruit can be with specifically:
Message is sent and received to each cable port, obtains the status inquiry result of each cable port.
It should be noted that this mode is easier to operate, other modes can also be selected according to actual needs certainly, It is not intended to limit herein.
A kind of embodiment of the device of positioning failure cable port provided by the present application is as shown in Fig. 2, Fig. 2 mentions for the application A kind of schematic diagram of the device of the positioning failure cable port supplied, the device include:
Subscriber Interface Module SIM 201, for responding cable port status inquiry request, it should be noted that the cable port It can be, but not limited to be that iscsi cable port, the especially device are suitable for the extremely complex network of topology, that is, have non- The often network of more host computer with router and interchanger, it is only extremely difficult with artificial judgment network port failure generation position, with this Device will efficiently find out the cable port of failure very much, and the inquiry request can come from CLI module, the user Interface module can carry out order line processing, and the configuration data issued to CLI module parses, and can be according to CLI module The information of query demand return port;
Address management module 202, for obtaining the address of each cable port, specifically, can be from special address The address of these cable ports is got in management module, is according to progress status inquiry with these addresses;
Timer event processing module 203, for obtaining the status inquiry of each cable port as a result, specifically, should Module is responsible for various timed events and timing, such as the regularly sending of heartbeat message, the detection of heartbeat message time-out, port address are looked into Inquiry and the time-out detection of port etc. can use various ways, such as send message to the address of each cable port, and The message that each cable port returns is received, when can normally return, it was demonstrated that failure is not present in the cable port, otherwise determines There are failures for the cable port, by means of which can get all port status;
Data processing module 204, for address and the status inquiry according to cable port as a result, positioning failure cable end Mouthful, specifically, port address and status inquiry result can be arranged and be analyzed, to obtain the cable end broken down Mouthful, the cable port broken down directly can be replaced or be repaired by maintenance personal, substantially increase network operation Working efficiency.
Above-mentioned apparatus can guarantee that user facilitates the health status of the port cable of inquiry laboratory environment, occur in network When problem, the cable port to go wrong is quickly positioned, improves working efficiency, reduces human cost.
In the specific embodiment of the device of a positioning failure cable port, Subscriber Interface Module SIM is also used to respond registration Request is notified in each cable port registered port status inquiry.Specifically, can be in the port registered port of memory devices Status inquiry notice, registration background storage periodically can initiate status inquiry message to the port of registration, deposit for real-time monitoring Store up the availability of Local Area Network middle port.
In the specific embodiment of the device of another specific positioning failure cable port, Subscriber Interface Module SIM is specifically used In the automatic inquiry request with prefixed time interval of response cable port status, in this way energy real-time monitoring each port can The property used.That is, every prefixed time interval, so that it may initiate automatic inquiry request to cable port, port responses are this It after request, is just inquired with state of the above-mentioned time interval to each cable port, when some or certain cable ports are sent out When raw failure, it will be able to notify at once to user, user can take timely measure, such as maintenance or replacement cable or port Etc., avoid network failure from bringing adverse effect, this is only a preferred embodiment certainly, actually can also be without behaviour in this way Make, can also just initiate such a request only when user has found network failure, be then responding to the request to inquire failure The specific port position occurred.
Further include message processing module (MPM) in the preferred embodiment of the device of a positioning failure cable port, for The cooperation of timer event processing module, sends and receives message to each cable port, the state for obtaining each cable port is looked into It askes as a result, the message processing module (MPM) can link together with data processing module 204, specifically, the message processing module (MPM) Function includes assembling etc. before asynchronous receiving-transmitting message, packet buffer queue management, message error detection and message are sent.The Message processing mould After block receives message, basic message format inspection is carried out, abandons the message for being unsatisfactory for agreement, while using and sending and receiving Queue caches message, to realize the fragment and assembling function of message, assembles and is transmitted to number by buffer queue after complete message According to processing module 204.It should be noted that this mode is easier to operate, it can also be selected according to actual needs certainly His mode, is not intended to limit herein.
A kind of embodiment of the equipment of positioning failure cable port provided by the present application is as shown in figure 3, Fig. 3 mentions for the application A kind of schematic diagram of the equipment of the positioning failure cable port supplied, the equipment include:
Memory 301, for storing instruction;Wherein, instruction includes the instruction of each movement in any of the above item method;
Processor 302, for executing the instruction in memory.
Present invention also provides a kind of computer readable storage medium, calculating is stored on the computer readable storage medium Machine program is realized when computer program is executed by processor such as the step of any one of the above method of positioning failure cable port.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of method of positioning failure cable port characterized by comprising
Respond cable port status inquiry request;
Obtain the address of each cable port;
Obtain the status inquiry result of each cable port;
According to the address of the cable port and the status inquiry as a result, positioning failure cable port.
2. the method for positioning failure cable according to claim 1 port, which is characterized in that in response cable port status Before inquiry request, further includes:
Registration request is responded, is notified in each cable port registered port status inquiry.
3. the method for positioning failure cable according to claim 1 port, which is characterized in that response cable port shape State inquiry request are as follows:
Respond the automatic inquiry request with prefixed time interval of cable port status.
4. the method for positioning failure cable according to claim 1-3 port, which is characterized in that described to obtain often The status inquiry result of a cable port are as follows:
Message is sent and received to each cable port, obtains the status inquiry result of each cable port.
5. a kind of device of positioning failure cable port characterized by comprising
Subscriber Interface Module SIM, for responding cable port status inquiry request;
Address management module, for obtaining the address of each cable port;
Timer event processing module, for obtaining the status inquiry result of each cable port;
Data processing module, for address and the status inquiry according to the cable port as a result, positioning failure cable end Mouthful.
6. the device of positioning failure cable according to claim 5 port, which is characterized in that the Subscriber Interface Module SIM is also For responding registration request, notified in each cable port registered port status inquiry.
7. the device of positioning failure cable according to claim 5 port, which is characterized in that the Subscriber Interface Module SIM tool Body is used to respond the automatic inquiry request with prefixed time interval of cable port status.
8. according to the device of claim 5-7 described in any item positioning failure cables port, which is characterized in that further include message Processing module sends and receives message to each cable port, obtains every for cooperating with the timer event processing module The status inquiry result of a cable port.
9. a kind of equipment of positioning failure cable port characterized by comprising
Memory, for storing instruction;Wherein, described instruction includes the instruction of each movement in claim any one of 1-4;
Processor, for executing the instruction in the memory.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the positioning failure cable port as described in claim any one of 1-4 when the computer program is executed by processor Method the step of.
CN201910735599.6A 2019-08-09 2019-08-09 Method, apparatus, equipment and the storage medium of a kind of positioning failure cable port Pending CN110535691A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910735599.6A CN110535691A (en) 2019-08-09 2019-08-09 Method, apparatus, equipment and the storage medium of a kind of positioning failure cable port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910735599.6A CN110535691A (en) 2019-08-09 2019-08-09 Method, apparatus, equipment and the storage medium of a kind of positioning failure cable port

Publications (1)

Publication Number Publication Date
CN110535691A true CN110535691A (en) 2019-12-03

Family

ID=68662234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910735599.6A Pending CN110535691A (en) 2019-08-09 2019-08-09 Method, apparatus, equipment and the storage medium of a kind of positioning failure cable port

Country Status (1)

Country Link
CN (1) CN110535691A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114244694A (en) * 2021-12-31 2022-03-25 广东欢联电子科技有限公司 Intelligent management method, system and equipment for network port and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179599A (en) * 2011-12-26 2013-06-26 中国移动通信集团河北有限公司 Method, device and system for monitoring WLAN (Wireless Local Area Network) performance
CN108055072A (en) * 2017-11-20 2018-05-18 大唐软件技术股份有限公司 A kind of network failure investigates method and apparatus
CN109495719A (en) * 2018-11-09 2019-03-19 中国电信股份有限公司南京分公司 A kind of private network video monitoring failure judges automatically and active cruising inspection system
CN109995429A (en) * 2017-12-30 2019-07-09 中国移动通信集团四川有限公司 Broadband user side fault detection method, device, equipment and medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179599A (en) * 2011-12-26 2013-06-26 中国移动通信集团河北有限公司 Method, device and system for monitoring WLAN (Wireless Local Area Network) performance
CN108055072A (en) * 2017-11-20 2018-05-18 大唐软件技术股份有限公司 A kind of network failure investigates method and apparatus
CN109995429A (en) * 2017-12-30 2019-07-09 中国移动通信集团四川有限公司 Broadband user side fault detection method, device, equipment and medium
CN109495719A (en) * 2018-11-09 2019-03-19 中国电信股份有限公司南京分公司 A kind of private network video monitoring failure judges automatically and active cruising inspection system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114244694A (en) * 2021-12-31 2022-03-25 广东欢联电子科技有限公司 Intelligent management method, system and equipment for network port and readable storage medium

Similar Documents

Publication Publication Date Title
CN101459534B (en) Network topology collecting method for tree shaped network and network equipment
CN109831318A (en) A kind of system, method and server obtaining network topology
CN103795580B (en) A kind of data monitoring method, system and relevant device
CN105989539B (en) A kind of financial transaction market obtain system and acquisition methods
CN109547240B (en) Intelligent device based on edge calculation and access and device analysis method
CN103761309A (en) Operation data processing method and system
CN103763396A (en) Energy consumption data acquisition unit and method based on multi-protocol parallel acquisition technology
JP2001356972A (en) Network monitoring system and method
CN107451268A (en) A kind of method that suspension towards real-time data base resumes
CN107025222A (en) A kind of distributed information log acquisition method and device
CN112118174A (en) Software defined data gateway
CN107888870A (en) A kind of monitoring method, apparatus and system
CN108924007A (en) The big data acquisition of communication operation information and storage system and method
CN107179977A (en) Database Full-automatic monitoring system based on mpm models
CN102142971A (en) Monitoring system and monitoring method for realizing subscription-collection mechanism
CN114401284A (en) Real-time data acquisition and transmission system and method for fixed pollution source treatment working condition
CN103973484A (en) Operation and maintenance management system based on network topological structure
CN110535691A (en) Method, apparatus, equipment and the storage medium of a kind of positioning failure cable port
CN110351373A (en) A kind of long-distance monitoring method and device in power station
CN110430265A (en) A kind of method and device obtaining server and inter-exchange corresponding relationship
CN104243473B (en) A kind of method and device of data transmission
CN101277247B (en) Real-time communication system
CN202696825U (en) Set top box information management system
CN106953809A (en) A kind of device resource acquisition method based on 485 tdm communications
CN104022917B (en) Cloud bridge monitoring method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191203

RJ01 Rejection of invention patent application after publication