CN1302641C - Method and appatatus for processing wide band device fault positioning requesting - Google Patents

Method and appatatus for processing wide band device fault positioning requesting Download PDF

Info

Publication number
CN1302641C
CN1302641C CNB2004100090184A CN200410009018A CN1302641C CN 1302641 C CN1302641 C CN 1302641C CN B2004100090184 A CNB2004100090184 A CN B2004100090184A CN 200410009018 A CN200410009018 A CN 200410009018A CN 1302641 C CN1302641 C CN 1302641C
Authority
CN
China
Prior art keywords
test
module
task queue
common
command
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
CNB2004100090184A
Other languages
Chinese (zh)
Other versions
CN1592238A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2004100090184A priority Critical patent/CN1302641C/en
Publication of CN1592238A publication Critical patent/CN1592238A/en
Application granted granted Critical
Publication of CN1302641C publication Critical patent/CN1302641C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention discloses a method and a device for processing a fault positioning request of a broadband device. The device comprises a test server, a storage module and an input and output module, wherein the test server comprises a test task delivering module, a thread monitoring module, a test task processing module and a result analyzing and processing module. Test commands are input by the input and output module, the property of the test commands is judged by the test task delivering module, and the test commands are respectively stored to different test task queues; after the test commands are received by the test task processing module, two pairs of test threads are started and are respectively used for communicating with a broadband device to be tested and a testing device, the device to be tested is tested, and a testing result is analyzed by the result analyzing and processing module; after the testing result is converted into a common file, the testing result is stored to the storage module and is output by the input and output module. The present invention concentrically processes and delivers all problems, and all the testing results are concentrically processed, analyzed and back fed. Consequently, the fault positioning can be conveniently carried out.

Description

The processing method of broadband device fault position request and device
Technical field:
The present invention relates to a kind of processing method and device of broadband device fault position request.
Background technology:
Along with the development of the Internet and broadband network, bandwidth constantly expands, and the network host performance also strengthens greatly, and number of users also grows with each passing day.Be widely used in the Internet and broadband network such as ecommerce, video request program, long-distance education, tele-medicine or the like system, thereupon brought problem the network user lines maintenance management.
In the daily line upkeep work of broadband device, the diagnosis of line fault is undoubtedly an important link.In numerous troubleshooting is single, how to concentrate the operating efficiency of handling and correctly diagnosing line fault rapidly, improve the plant maintenance personnel effectively to become an important problem.
Particularly in large-scale network, various network failures can occur, how diagnose these faults rapidly, just mean and to fix a breakdown fast.In traditional operation way, in artificial mode, in each machine room, broadband device is carried out the inspection of line, but be difficult to the correct positioning fault by common webmastering software.And testing equipment also is distributed in each office point, the problem of the process user feedback that can't concentrate, fault location is fixed a breakdown usually and is expended great amount of manpower and time, bring greatly inconvenience for large-scale network failure management, this also directly influences the time of utilizing to network.
Summary of the invention:
At the existing problem and shortage of existing broadband device fault location, the purpose of this invention is to provide a kind of can be quickly and easily to the processing method and the device of the broadband device fault position request of network equipment failure location.
The present invention is achieved in that a kind of processing method of broadband device fault position request, may further comprise the steps:
After testing server receives test command, the common test task queue of having stored according to the IP address search of the specified testing equipment of this test command, if the existing test command that contains the IP address information of described testing equipment, then the test command that this is newly received is stored in this task queue; If do not contain the test command of the IP address information of described testing equipment, then create new common test task queue, new test command is stored in the common test task queue of described new establishment;
After the test assignment processor receives test command in the described common test task queue, start two pairs of threads, be respectively applied for and the communicating by letter of broadband device to be measured and testing equipment, after described broadband device to be measured receives the order of described test assignment processor, line capture module is provided, circuit to be tested is taken described testing equipment, described testing equipment detects automatically to described circuit to be measured, be converted to the ordinary file form after test result analyzed, and store.
Further, this method also comprises and the described common test task queue fixed time test task queue of storage side by side, special-purpose monitoring thread is monitored at any time to described fixed time test task queue, if there is test command to arrive the test execution time, then by whether containing the test assignment formation identical in the task queue of testing server retrieval common test with the testing equipment IP address of this fixed time test order indication, if have then this fixed time test demanded storage arrived this common test task queue, if do not have, then create new common test task queue, and with this fixed time test demanded storage in this newly-built common test task queue.
Further, described fixed time test command prioritization is lower than the common test order.
Further, contain IP address, user name and the password of Devices to test in the described test command, IP address, user name and the password of testing equipment, circuit essential information to be tested.
Further, the described circuit essential information to be tested TL1 protocol format that is standard.
Further, but the different common test task queue of described test assignment processor concurrent testing, and a certain test assignment formation is finished, and discharges its two couples test thread.
A kind of processing unit of broadband device fault position request includes testing server, memory module and input/output module, and described testing server includes:
Test assignment is distributed module, is used for determining the character of test command, promptly determines that it is fixed time test order or common test order, and these two kinds of different test commands are stored in the different test assignment formations;
Whether monitoring thread module, the fixed time test order that is used for monitoring the fixed time test task queue to the time of implementation, if to then with this fixed time test demanded storage in corresponding common test task queue;
Test task process module is carried out the test command in the common test task queue, and Devices to test is tested;
The ordinary file pattern is analyzed and be converted to the interpretation of result processing module to test result;
Test command is imported by described input/output module, described test assignment is distributed module and is judged its character, it is stored to respectively in the different test assignment formations, after described test task process module receives test command, start two pairs of test threads, be respectively applied for and the communicating by letter of broadband device to be measured and testing equipment, Devices to test is tested, by described interpretation of result processing module analytical test result, store described memory module into after being converted into ordinary file, and by described input/output module output.
Further, described test assignment formation is the set of the identical test command of indication testing equipment, and described fixed time test command prioritization is lower than the common test order.
Further, contain IP address, user name and the password of Devices to test in the described test command, IP address, user name and the password of testing equipment, circuit essential information to be tested.
Further, but the different common test task queue of described test task process module concurrent testing, and a certain test assignment formation is finished, and discharges its two couples test thread.
After broadband device receives test command, test command is judged, and, store by the testing equipment of indication in the order again, and task queue is monitored to fixed time test its classification, put it into during to the testing time in the common test task queue, after test is finished, behind test result analysis, be converted to storage of ordinary file form and output, like this, the ordinary person just can position fault.The present invention focuses on distribution with all problems, and all test results are focused on the analysis feedback.Can accept test assignment by unified interface, also can initiate test assignment by the domestic consumer interface.Thereby realized the unification of fault position request in the catenet is focused on, carried out fault location easily.
Description of drawings:
Below in conjunction with accompanying drawing, the present invention is made detailed description.
Fig. 1 is a structural representation of the present invention;
Fig. 2 is an application structure schematic diagram of the present invention;
Fig. 3 is a schematic flow sheet of the present invention.
Embodiment:
As shown in Figure 1, the present invention includes testing server, memory module and input/output module, wherein testing server is used for finishing the test to Devices to test, treats the survey line road and tests and monitor, to store behind the test result analysis, and export by input/output module.As shown in Figure 2, testing server of the present invention includes test assignment and distributes module, the monitoring thread module, test task process module, test thread and interpretation of result processing module, wherein, test assignment is distributed the character that module is used for determining test command, after the user sends test command, import by input/output module, test assignment is distributed module and is received this order, read the effective information in it, it is judged, promptly determine that it is fixed time test order or common test order, these two kinds of different test commands are stored in the different test assignment formations; If fixed time test order, then browse the timed task formation in the memory module, if contain the formation of IP address information of the testing equipment of this test command indication, this test command is stored in this timed task formation, then do not create new timed task formation and with this test command storage if having; If common test order, in like manner, then browse the common task formation in the memory module, if contain the formation of IP address information of the testing equipment of this test command indication, this test command is stored in this common task formation, does not then create new common task formation also with this test command storage if having.The monitoring thread module is connected with the timed task formation, and at any time to timed task formation monitor, if to the testing time, then with this fixed time test demanded storage in the common task formation, during storage, browse the common task formation, if contain the formation of IP address information of the testing equipment of this test command indication, this test command is stored in this common task formation, does not then create new common task formation also with this test command storage if having.Here, all contain IP address, user name and the password of Devices to test in two kinds of test commands, IP address, user name and the password of testing equipment, information such as line information to be tested; Accept above information and can pass through UDP (User Datagram Protocol, User Datagram Protoco (UDP)) reception, also can receive by formulating other standard interfaces.Test task process module is carried out the test command in the common test task queue, and Devices to test is tested, and starts two pairs of threads during test, and promptly two pairs of transmitting-receiving threads carry out communication with testing equipment and Devices to test respectively.Its communications protocol is used the communications protocol of standard, can guarantee that so any testing equipment can both correctly communicate by letter with Devices to test, fault position request in a formation all disposes, two pairs of threads of its correspondence will withdraw from and Free up Memory immediately, if withdrawing from unusually, thread will restart thread, and, preserve remaining data in the formation with error logging.After test finished, the output result of system was a series of Serial No., had only by the interpretation of result processing module it is parsed into useful results, and different sequences was compared the place of analysis ability problem identificatioin.At last, analysis result is converted to graphic file or other ordinary files are shown to the user, can sees and the normal data differences between samples, do not need the professional knowledge just can problem identificatioin.
The present invention is as long as guaranteeing external testing equipment is connected with the equipment of circuit to be tested, and this Devices to test can provide line capture module, that is to say and the circuit that needs are tested can be taken on the tester.It is grabbed the line operation and finishes by software command, and detailed process is as follows:
1, logs on DSLAM equipment by the TELNET agreement;
2, carry out to issue orders:
Product_test//enter and grab the line command mode
The line operation is grabbed in snap port slot:port//execution
Here, slot represents slot number, and port is a port numbers, as: snap port 15:1
3, wait for the end signal of test assignment;
4, receive the signal of EOT, carry out the unwrapping wire operation:
Snapport off//execution unwrapping wire operation
Quit//withdraw from telnet to operate
So far pick-and-place line EO.
As shown in Figure 3, specific implementation process of the present invention is as follows:
The user starts user interface earlier, system prompt user input authentication information (usemame/password), and after authentication, the user can operate accordingly according to the authority of oneself.The actuating logic program is carried out scope check after receiving user's authentication information, and uses the interface according to the authority generation system, and the operation information of recording user is in database, i.e. log.If the user has the test authority, then can carry out dependence test.Test interface in system, the user is as long as which test the information (being used to locate equipment under test) of input broadband device and test instruction (have been carried out), submitting to the actuating logic program then tests, the actuating logic program is sent the information of test command and Devices to test to testing equipment, testing equipment detects Devices to test by above-mentioned test process, and the relevant information of the current test of record is in database.Actuating logic program recording operation result and returns to user interface with test result by the communications reception program in database.The user sends the request that logs off after executing test, log off.

Claims (10)

1. the processing method of a broadband device fault position request is characterized in that, this method may further comprise the steps:
After testing server receives test command, the common test task queue of having stored according to the IP address search of the specified testing equipment of this test command, if the existing test command that contains the IP address information of described testing equipment, then the test command that this is newly received is stored in this task queue; If do not contain the test command of the IP address information of described testing equipment, then create new common test task queue, new test command is stored in the common test task queue of described new establishment;
After the test assignment processor receives test command in the described common test task queue, start two pairs of threads, be respectively applied for and the communicating by letter of broadband device to be measured and testing equipment, after described broadband device to be measured receives the order of described test assignment processor, line capture module is provided, circuit to be tested is taken described testing equipment, described testing equipment detects automatically to described circuit to be measured, be converted to the ordinary file form after test result analyzed, and store.
2. the processing method of broadband device fault position request as claimed in claim 1, it is characterized in that, this method also comprises and the described common test task queue fixed time test task queue of storage side by side, special-purpose monitoring thread is monitored at any time to described fixed time test task queue, if there is test command to arrive the test execution time, then by whether containing the test assignment formation identical in the task queue of testing server retrieval common test with the testing equipment IP address of this fixed time test order indication, if have then this fixed time test demanded storage arrived this common test task queue, if do not have, then create new common test task queue, and with this fixed time test demanded storage in this newly-built common test task queue.
3. the processing method of broadband device fault position request as claimed in claim 2 is characterized in that, described fixed time test command prioritization is lower than the common test order.
4. as the processing method of the described broadband device fault position request of arbitrary claim in the claim 1 to 3, it is characterized in that, the IP address, user name and the password that contain Devices to test in the described test command, IP address, user name and the password of testing equipment, circuit essential information to be tested.
5. the processing method of broadband device fault position request as claimed in claim 4 is characterized in that, the TL1 protocol format that described circuit essential information to be tested is a standard.
6. the processing method of broadband device fault position request as claimed in claim 1 is characterized in that, but the different common test task queue of described test assignment processor concurrent testing, and a certain test assignment formation is finished, and discharges its two couples test thread.
7. the processing unit of a broadband device fault position request includes testing server, memory module and input/output module, it is characterized in that, described testing server includes:
Test assignment is distributed module, is used for determining the character of test command, promptly determines that it is fixed time test order or common test order, and these two kinds of different test commands are stored in the different test assignment formations;
Whether monitoring thread module, the fixed time test order that is used for monitoring the fixed time test task queue to the time of implementation, if to then with this fixed time test demanded storage in corresponding common test task queue;
Test task process module is carried out the test command in the common test task queue, and Devices to test is tested;
The ordinary file pattern is analyzed and be converted to the interpretation of result processing module to test result;
Test command is imported by described input/output module, described test assignment is distributed module and is judged its character, it is stored to respectively in the different test assignment formations, after described test task process module receives test command, start two pairs of test threads, be respectively applied for and the communicating by letter of broadband device to be measured and testing equipment, Devices to test is tested, by described interpretation of result processing module analytical test result, store described memory module into after being converted into ordinary file, and by described input/output module output.
8. the processing unit of broadband device fault position request as claimed in claim 7 is characterized in that, described test assignment formation is the set of the identical test command of indication testing equipment, and described fixed time test command prioritization is lower than the common test order.
9. the processing unit of broadband device fault position request as claimed in claim 7, it is characterized in that, the IP address, user name and the password that contain Devices to test in the described test command, IP address, user name and the password of testing equipment, circuit essential information to be tested.
10. the processing unit of broadband device fault position request as claimed in claim 7 is characterized in that, but the different common test task queue of described test task process module concurrent testing, and a certain test assignment formation is finished, and discharges its two couples test thread.
CNB2004100090184A 2004-04-16 2004-04-16 Method and appatatus for processing wide band device fault positioning requesting Expired - Fee Related CN1302641C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100090184A CN1302641C (en) 2004-04-16 2004-04-16 Method and appatatus for processing wide band device fault positioning requesting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100090184A CN1302641C (en) 2004-04-16 2004-04-16 Method and appatatus for processing wide band device fault positioning requesting

Publications (2)

Publication Number Publication Date
CN1592238A CN1592238A (en) 2005-03-09
CN1302641C true CN1302641C (en) 2007-02-28

Family

ID=34600195

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100090184A Expired - Fee Related CN1302641C (en) 2004-04-16 2004-04-16 Method and appatatus for processing wide band device fault positioning requesting

Country Status (1)

Country Link
CN (1) CN1302641C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100544474C (en) * 2005-07-12 2009-09-23 华为技术有限公司 Wireless system is carried out the system and method for maintenance test
CN100477694C (en) * 2005-10-01 2009-04-08 华为技术有限公司 Circuit test system and method for realizing circuit test
CN100428704C (en) * 2006-09-21 2008-10-22 中山大学 Automatic fault reporting system of communication line
CN101312407B (en) * 2007-05-25 2011-01-05 中兴通讯股份有限公司 Method and apparatus for measuring quality of network service
CN101227350B (en) * 2008-02-03 2011-05-11 中兴通讯股份有限公司 System for parallel executing automatization test based on priority level scheduling and method thereof
CN105893196A (en) * 2016-04-05 2016-08-24 浪潮电子信息产业股份有限公司 Server debugging auxiliary tool and system
CN109697165A (en) * 2018-12-20 2019-04-30 广东电网有限责任公司 A kind of software automation safety detecting method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999018695A1 (en) * 1997-10-07 1999-04-15 Attune Networks Ltd. Fault location and performance testing of communication networks
WO2000041331A1 (en) * 1998-12-31 2000-07-13 Qwest Communications International Inc. Method for qualifying a loop for dsl service
US20030182408A1 (en) * 2002-02-15 2003-09-25 Qinglong Hu Load test system for a server and method of use

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999018695A1 (en) * 1997-10-07 1999-04-15 Attune Networks Ltd. Fault location and performance testing of communication networks
WO2000041331A1 (en) * 1998-12-31 2000-07-13 Qwest Communications International Inc. Method for qualifying a loop for dsl service
US20030182408A1 (en) * 2002-02-15 2003-09-25 Qinglong Hu Load test system for a server and method of use

Also Published As

Publication number Publication date
CN1592238A (en) 2005-03-09

Similar Documents

Publication Publication Date Title
CN109361562B (en) Automatic testing method based on associated network equipment access
CN109067938B (en) Method and device for testing DNS (Domain name Server)
US20070168994A1 (en) Debugging a computer program in a distributed debugger
US20080148099A1 (en) Analysis of pipelined networks
CN101997925A (en) Server monitoring method with early warning function and system thereof
US7171464B1 (en) Method of tracing data traffic on a network
CN103684898A (en) Method and device for monitoring operation of user request in distributed system
CN107623611A (en) A kind of flux monitoring system of cloud platform virtual machine
CN114157554B (en) Fault checking method and device, storage medium and computer equipment
CN1302641C (en) Method and appatatus for processing wide band device fault positioning requesting
CN106851513A (en) The method of testing and system of a kind of electronic product
CN102291274B (en) A kind of system and method realizing automatic adaptation of network testing instrument
CN1432231A (en) Method and appts. for measuring internet router traffic
CN113965355B (en) Illegal IP (Internet protocol) intra-provincial network plugging method and device based on SOC (system on chip)
CN103368970B (en) A kind of automation safety detection method for network objectives
CN112583663B (en) Automatic network performance testing method based on domestic operating system
CN109857672A (en) A kind of formation gathering method, device, equipment and storage medium
CN113220597A (en) Test method, test device, electronic apparatus, and storage medium
CN2697964Y (en) Processor for fault positioning request of broad band equipment
CN108234246A (en) A kind of method and system of multidirectional server network performance
CN108228417A (en) Car networking log processing method and processing unit
CN1845507A (en) Multi-class device normalization network maintaining method and system
CN116647490A (en) Aviation AFDX network data detection system
CN114448935B (en) Automatic pushing processing method and device for IP address availability alarm
CN112463625B (en) Functional regression verification method and device based on application program interface and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: HUAWEI TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: GANGWAN NETWORK CO., LTD.

Effective date: 20060922

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20060922

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant after: Huawei Technologies Co., Ltd.

Address before: 100089, No. 21 West Third Ring Road, Beijing, Haidian District, Long Ling Building, 13 floor

Applicant before: Harbour Networks Holdings Limited

C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070228

Termination date: 20110416