CN102006205B - SIP (session initiation protocol)-based method for realizing remote testing of network device - Google Patents
SIP (session initiation protocol)-based method for realizing remote testing of network device Download PDFInfo
- Publication number
- CN102006205B CN102006205B CN 201010587516 CN201010587516A CN102006205B CN 102006205 B CN102006205 B CN 102006205B CN 201010587516 CN201010587516 CN 201010587516 CN 201010587516 A CN201010587516 A CN 201010587516A CN 102006205 B CN102006205 B CN 102006205B
- Authority
- CN
- China
- Prior art keywords
- test
- sip
- session initiation
- initiation protocol
- equipment under
- 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
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention relates to an SIP (session initiation protocol)-based method for realizing remote testing of a network device, which comprises the following steps: determining a testing point, and associating the testing point with an URL (universal resource locator) address of SIP; associating the test result with SIP response information; increasing the support to the URL address of the testing point on the tested device; leading an SIP testing terminal to emit a testing command to the tested device, and testing the testing point; and leading the SIP testing terminal to emit a command of stopping testing to the tested device, and carrying out the step of finishing testing the testing point. As the method comprises the steps of associating the testing point with the URL address of the SIP and associating the test result with the SIP response information, the method can be conveniently applied in remote testing work of various network devices, save the cost of testing the device and effectively reduce the impacts of testing on the tested device.
Description
Technical field
The present invention relates to the network apparatus test method field, particularly realize network apparatus remote method of testing field, specifically be meant a kind of method that realizes the network apparatus remote test based on Session Initiation Protocol.
Background technology
Continuous development along with the network communications technology; Need test and safeguard at the equipment of network operation in a large number; Most equipment wherein need adopt remote testing and maintaining method, to practice thrift test and the cost of safeguarding, reduce test and the influence of safeguarding the network equipment that use produced.But lack the remote testing method that is common to various network device in the prior art, thus the development of the network equipment and the progress of the application and the network communications technology have been produced restriction.
SIP (Session Initi ation Protocol, Session initiation Protocol) is a kind of communication equipment standard communication protocol that generally is used in, and at network operation a large amount of SIP equipment is arranged at present, and will get more and more.SIP not only can be used for realizing communication, can be used for also realizing that to equipment the especially remote testing of communication equipment and maintenance makes remote testing can cover the equipment that all support Session Initiation Protocol with safeguarding.For the equipment that the SIP interface is not set, also can increase the support of Session Initiation Protocol to equipment, make it can utilize Session Initiation Protocol to realize remote testing and maintenance function.
Summary of the invention
The objective of the invention is to have overcome above-mentioned shortcoming of the prior art; A kind of diverse network equipment under test that is conveniently used in is provided; The cost of saving testing of equipment effectively reduces the method based on Session Initiation Protocol realization network apparatus remote test of test to the influence of equipment under test generation.
In the method, described equipment under test is connected with the SIP test terminal through the Session Initiation Protocol network, and described equipment under test comprises a plurality of test points, and described test point is tested module or receives brake.
In order to realize above-mentioned purpose, the present invention is based on Session Initiation Protocol and realize that the method for network apparatus remote test specifically may further comprise the steps:
(1) confirm test point, and with the URL address of determined test point and said Session Initiation Protocol;
(2) test result with test point is associated with sip response information;
(3) on equipment to be tested, increase support to the URL address of described test point;
(4) test instruction is sent to equipment under test in the SIP test terminal, and test point is tested;
(5) the termination test instruction is sent to equipment under test in the SIP test terminal, finishes the test to test point.
Should realize in the method for network apparatus remote test based on Session Initiation Protocol, further comprising the steps of between described step (2) and step (3):
(3-0) the Session Initiation Protocol standard interface is set on described equipment under test.
Should realize that described step (1) specifically may further comprise the steps in the method for network apparatus remote test based on Session Initiation Protocol:
(11) test point that needs to accept test in the equipment under test is listed in the SIP test terminal;
(12) number described each test point the SIP test terminal;
(13) the SIP test terminal is according to the test point URL address of numbering to the given unique Session Initiation Protocol of each test point.
Wherein, described step (13) is further comprising the steps of afterwards:
(14) for test point URL address setting password with security strategy.
Should realize with the test result and the step that the Session Initiation Protocol response message is associated of test point, specifically being meant in the described step (2): confirm the pairing Session Initiation Protocol response message of each test result in the method for network apparatus remote test based on Session Initiation Protocol.
Should realize that described step (3) specifically may further comprise the steps in the method for network apparatus remote test based on Session Initiation Protocol:
(31) equipment under test receives the sip request message that send the SIP test terminal;
(32) equipment under test is resolved the test point URL address in the sip request message;
(33) equipment under test starts the test point pairing tested module in URL address or receives brake;
(34) equipment under test feeds back to sip response message with the test result of each test point according to incidence relation;
(35) the SIP test terminal receives the sip response message that equipment under test sends.
Should realize in the method for network apparatus remote test based on Session Initiation Protocol, further comprising the steps of between described step (32) and step (33):
(33-0) equipment under test validation test point URL address pin if passwords match then gets into step (33), if password does not conform to, then abandons sip request message, finishes test.
Wherein, described equipment under test validation test point URL address pin specifically is meant: equipment under test utilizes the authentication mechanism of Session Initiation Protocol to carry out safety certification.
Should realize that described step (4) specifically may further comprise the steps in the method for network apparatus remote test based on Session Initiation Protocol:
(41) the test point URL address of input equipment under test on sip terminal;
(42) sip terminal sends calling;
(43) sip terminal sends sip invite message to equipment under test, and the URL address of described sip invite message is the test point URL address of equipment under test;
(44) sip terminal receives the sip response information that equipment under test returns.
Should realize that described step (5) specifically may further comprise the steps in the method for network apparatus remote test based on Session Initiation Protocol:
(51) sip terminal end call;
(52) sip terminal sends end to equipment to be tested;
(53) equipment to be tested returns response message to sip terminal.
That has adopted this invention realizes the method that network apparatus remote is tested based on Session Initiation Protocol, and it comprises definite test point, with the URL address of test point and said Session Initiation Protocol; Test result is associated with sip response information; On equipment to be tested, increase support to the URL address of test point; SIP sends test instruction to equipment under test in the test terminal, and test point is tested; And the SIP test terminal sends the termination test instruction to equipment under test, finishes the step to the test of test point.Because it comprises test point and the URL address of said Session Initiation Protocol and the step that test result is associated with sip response information; Make this method can be conveniently used in the remote testing work of various network device; Practice thrift the cost of testing of equipment, effectively reduce the influence that test produces equipment under test.
Description of drawings
Fig. 1 is the flow chart of steps that realizes the method for network apparatus remote test based on Session Initiation Protocol of the present invention.
Fig. 2 is of the present invention based on the flow chart in the method practical application of Session Initiation Protocol realization network apparatus remote test.
Fig. 3 is the flow chart based on test process in the method practical application of Session Initiation Protocol realization network apparatus remote test of the present invention.
Embodiment
In order more to be expressly understood technology contents of the present invention, the special following examples of lifting specify.
See also shown in Figure 1ly, be the flow chart of steps that realizes the method for network apparatus remote test based on Session Initiation Protocol of the present invention.
Among the present invention, the tested network equipment is connected with the SIP test terminal through the Session Initiation Protocol network, and described equipment under test comprises a plurality of test points, and described test point is tested module or receives brake.
Should realize that the method for network apparatus remote test specifically may further comprise the steps based on Session Initiation Protocol:
(1) confirm test point, and with the URL address of determined test point and said Session Initiation Protocol,
This step (1) specifically may further comprise the steps:
(11) test point that needs to accept test in the equipment under test is listed in the SIP test terminal;
(12) number described each test point the SIP test terminal;
(13) the SIP test terminal is according to the test point URL address of numbering to the given unique Session Initiation Protocol of each test point.
(2) test result with test point is associated with sip response information,
With the test result and the step that the Session Initiation Protocol response message is associated of test point, specifically be meant in this step (2):
Confirm the pairing Session Initiation Protocol response message of each test result.
(3) on equipment to be tested, increase support to the URL address of described test point,
This step (3) specifically may further comprise the steps:
(31) equipment under test receives the sip request message that send the SIP test terminal;
(32) equipment under test is resolved the test point URL address in the sip request message;
(33) equipment under test starts the test point pairing tested module in URL address or receives brake;
(34) equipment under test feeds back to sip response message with the test result of each test point according to incidence relation;
(35) the SIP test terminal receives the sip response message that equipment under test sends.
(4) test instruction is sent to equipment under test in the SIP test terminal, test point is tested,
This step (4) specifically may further comprise the steps:
(41) the test point URL address of input equipment under test on sip terminal;
(42) sip terminal sends calling;
(43) sip terminal sends sip invite message to equipment under test, and the URL address of described sip invite message is the test point URL address of equipment under test;
(44) sip terminal receives the sip response information that equipment under test returns.
(5) the termination test instruction is sent to equipment under test in the SIP test terminal, finishes the test to test point.
This step (5) specifically may further comprise the steps:
(51) sip terminal end call;
(52) sip terminal sends end to equipment to be tested;
(53) equipment to be tested returns response message to sip terminal.
A kind of preferred embodiment in, describedly realize the method for network apparatus remote test based on Session Initiation Protocol, further comprising the steps of between described step (2) and step (3):
(3-0) the Session Initiation Protocol standard interface is set on described equipment under test.
In another preferred embodiment, described method based on the test of Session Initiation Protocol realization network apparatus remote, further comprising the steps of afterwards in step (13):
(14) for test point URL address setting password with security strategy.
Further comprising the steps of between described step (32) and step (33):
(33-0) equipment under test validation test point URL address pin if passwords match then gets into step (33), if password does not conform to, then abandons sip request message, finishes test.
Wherein, described equipment under test validation test point URL address pin specifically is meant: equipment under test utilizes the authentication mechanism of Session Initiation Protocol to carry out safety certification.
In an application of the invention, the flow chart of the method that realizes the network apparatus remote test based on Session Initiation Protocol of the present invention is as shown in Figure 2, and it specifically may further comprise the steps:
A definition equipment under test test point;
A1 lists all module that need test or function, i.e. test points of this equipment;
A2 numbers the test point of listing.
B is associated the equipment under test test point with the URL of SIP;
B1 specifies the URL of a SIP for each test point, is called test point URL, and test point URL must be unique;
B2 is provided with password for the test point URL of design safety strategy.
C is related with the SIP return messages with test result;
C1 selects SIP return messages to each test result.
D increases the SIP interface on equipment under test, can skip this step if supported;
E increases the support to test point URL on equipment under test, may further comprise the steps;
E1 receives sip request message;
E2 resolves test point URL;
If this test point of E3 URL is provided with password in advance, then utilize the authentication mechanism of SIP to carry out safety certification, if authentication success can carry out subsequent operation, if authentification failure then abandons request;
E4 triggers the corresponding test function of test point URL;
E5 is placed on test result in the sip response message and returns.
F initiates remote testing on sip terminal, test process is as shown in Figure 3;
F1 selects a software terminal of supporting the URL of input SIP, and at present, most of SIP software terminal all is to support this function, but some is unsupported;
F2 imports the test point URL of equipment under test on the SIP software terminal;
F3 makes a call on the SIP software terminal, and the SIP software terminal sends SIP INVITE (invitation message) to equipment under test, and URL is equipment under test test point URL;
The F4 equipment under test returns SIP shape shadow message, according to the SIP corresponding message of returning, judges whether test is successful.
The G EOT;
G1 is from the end call of SIP software terminal;
The G2SIP software terminal is sent out BYE message (end) to equipment to be tested;
G3 equipment to be tested can 200 response messages to the SIP software terminal.
That has adopted this invention realizes the method that network apparatus remote is tested based on Session Initiation Protocol, and it comprises definite test point, with the URL address of test point and said Session Initiation Protocol; Test result is associated with sip response information; On equipment to be tested, increase support to the URL address of test point; SIP sends test instruction to equipment under test in the test terminal, and test point is tested; And the SIP test terminal sends the termination test instruction to equipment under test, finishes the step to the test of test point.Because it comprises test point and the URL address of said Session Initiation Protocol and the step that test result is associated with sip response information; Make this method can be conveniently used in the remote testing work of various network device; Practice thrift the cost of testing of equipment, effectively reduce the influence that test produces equipment under test.
In this specification, the present invention is described with reference to its certain embodiments.But, still can make various modifications and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, specification and accompanying drawing are regarded in an illustrative, rather than a restrictive.
Claims (10)
1. method that realizes the network apparatus remote test based on Session Initiation Protocol; Wherein, Equipment under test is connected with the SIP test terminal through the Session Initiation Protocol network, and described equipment under test comprises a plurality of test points, and described test point is tested module; It is characterized in that described method specifically may further comprise the steps:
(1) confirm test point, and with the URL address of determined test point and said Session Initiation Protocol;
(2) test result with test point is associated with sip response information;
(3) on equipment to be tested, increase support to the URL address of described test point;
(4) test instruction is sent to equipment under test in the SIP test terminal, and test point is tested;
(5) the termination test instruction is sent to equipment under test in the SIP test terminal, finishes the test to test point.
2. the method based on the test of Session Initiation Protocol realization network apparatus remote according to claim 1 is characterized in that, and is further comprising the steps of between described step (2) and step (3):
(3-0) the Session Initiation Protocol standard interface is set on described equipment under test.
3. the method based on the test of Session Initiation Protocol realization network apparatus remote according to claim 1 and 2 is characterized in that described step (1) specifically may further comprise the steps:
(11) test point that needs to accept test in the equipment under test is listed in the SIP test terminal;
(12) number described each test point the SIP test terminal;
(13) the SIP test terminal is according to the test point URL address of numbering to the given unique Session Initiation Protocol of each test point.
4. the method based on the test of Session Initiation Protocol realization network apparatus remote according to claim 3 is characterized in that described step (13) is further comprising the steps of afterwards:
(14) for test point URL address setting password with security strategy.
5. the method based on the test of Session Initiation Protocol realization network apparatus remote according to claim 1 and 2 is characterized in that, with the test result and the step that the Session Initiation Protocol response message is associated of test point, specifically is meant in the described step (2):
Confirm the pairing Session Initiation Protocol response message of each test result.
6. the method based on the test of Session Initiation Protocol realization network apparatus remote according to claim 1 and 2 is characterized in that described step (3) specifically may further comprise the steps:
(31) equipment under test receives the sip request message that send the SIP test terminal;
(32) equipment under test is resolved the test point URL address in the sip request message;
(33) equipment under test starts the pairing tested module in test point URL address;
(34) equipment under test feeds back to sip response message with the test result of each test point according to incidence relation;
(35) the SIP test terminal receives the sip response message that equipment under test sends.
7. the method based on the test of Session Initiation Protocol realization network apparatus remote according to claim 6 is characterized in that, and is further comprising the steps of between described step (32) and step (33):
(33-0) equipment under test validation test point URL address pin if passwords match then gets into step (33), if password does not conform to, then abandons sip request message, finishes test.
8. the method based on the test of Session Initiation Protocol realization network apparatus remote according to claim 7 is characterized in that described equipment under test validation test point URL address pin specifically is meant:
Equipment under test utilizes the authentication mechanism of Session Initiation Protocol to carry out safety certification.
9. the method based on the test of Session Initiation Protocol realization network apparatus remote according to claim 1 and 2 is characterized in that described step (4) specifically may further comprise the steps:
(41) the test point URL address of input equipment under test on sip terminal;
(42) sip terminal sends calling;
(43) sip terminal sends sip invite message to equipment under test, and the URL address of described sip invite message is the test point URL address of equipment under test;
(44) sip terminal receives the sip response information that equipment under test returns.
10. the method based on the test of Session Initiation Protocol realization network apparatus remote according to claim 1 and 2 is characterized in that described step (5) specifically may further comprise the steps:
(51) sip terminal end call;
(52) sip terminal sends end to equipment to be tested;
(53) equipment to be tested returns response message to sip terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010587516 CN102006205B (en) | 2010-12-14 | 2010-12-14 | SIP (session initiation protocol)-based method for realizing remote testing of network device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010587516 CN102006205B (en) | 2010-12-14 | 2010-12-14 | SIP (session initiation protocol)-based method for realizing remote testing of network device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102006205A CN102006205A (en) | 2011-04-06 |
CN102006205B true CN102006205B (en) | 2012-08-01 |
Family
ID=43813297
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010587516 Active CN102006205B (en) | 2010-12-14 | 2010-12-14 | SIP (session initiation protocol)-based method for realizing remote testing of network device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102006205B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10108515B2 (en) * | 2013-03-01 | 2018-10-23 | Sony Interactive Entertainment LLC | Remotely testing electronic devices using messaging and presence protocol |
CN106713239B (en) * | 2015-11-16 | 2020-04-17 | 大唐移动通信设备有限公司 | Terminal call testing method and device based on session initiation protocol SIP |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101309182A (en) * | 2008-03-19 | 2008-11-19 | 北京天地互连信息技术有限公司 | Test method for SIP protocol supporting IPv6 |
CN101478458A (en) * | 2009-01-20 | 2009-07-08 | 信息产业部电信传输研究所 | SIP protocol security test method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7830868B2 (en) * | 2006-02-06 | 2010-11-09 | Research In Motion Limited | System and method for effecutating a SIP call in a network environment including IMS |
-
2010
- 2010-12-14 CN CN 201010587516 patent/CN102006205B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101309182A (en) * | 2008-03-19 | 2008-11-19 | 北京天地互连信息技术有限公司 | Test method for SIP protocol supporting IPv6 |
CN101478458A (en) * | 2009-01-20 | 2009-07-08 | 信息产业部电信传输研究所 | SIP protocol security test method |
Also Published As
Publication number | Publication date |
---|---|
CN102006205A (en) | 2011-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102040755B1 (en) | Method and system for processing voice communication, electronic device and storage medium | |
CA2720398A1 (en) | System and method for processing telephony sessions | |
JP2006295673A (en) | Call system, proxy dial server device, proxy dial method used therefor, and program thereof | |
CN105307158A (en) | Identity verification method of mobile phone number of communication terminal | |
CN105227893A (en) | Based on terminal call admission method and the system of on-line meeting | |
CN102006205B (en) | SIP (session initiation protocol)-based method for realizing remote testing of network device | |
CN102892091A (en) | Scheme for acquiring own mobile phone number | |
CN101102208B (en) | A multi-party conference device and multi-party conference system and method | |
CN105025178B (en) | Interactive voice response is converted to the method and system of interactive text response | |
EP2445171B1 (en) | File transfer protocol client and implementing method thereof | |
CN103856644A (en) | Voice over internet protocol prompting method and system | |
CN101102209B (en) | A multi-party conference device and multi-party conference system and method | |
CN107426194A (en) | Call connection method, device, server, electronic equipment and storage medium | |
CN102572762A (en) | Method for scheduling service capacity by application, charging method and device | |
CN106657697A (en) | Teleconference invitation method and system based on information and HTTP link | |
CN103124300B (en) | A kind ofly realize the method that instant messaging IM client binds SIP phone automatically | |
CN102158613A (en) | Call transfer method and equipment | |
CN102714669A (en) | A method and a system for establishing a communication channel between a predetermined number of selected devices and a device and a server arranged for use in the system | |
CN105472186A (en) | Communication method and system established in number transmission manner | |
CN101127617B (en) | A multi-party conference device and multi-party conference system and method based on Microsoft Share Point Server | |
CN103957199A (en) | Method for optimizing multi-media call establishment time | |
EP3503517B1 (en) | Enabling user access to a cloud-based application | |
US8547973B2 (en) | Communication device, communication system, and computer readable medium | |
CN102438005A (en) | Method, device and system for processing click-to-dial service | |
CN102055588A (en) | Method of call authentication and VOIP (voice over internet phone) system |
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 |