WO2018192149A1 - Dial testing method, apparatus and system - Google Patents
Dial testing method, apparatus and system Download PDFInfo
- Publication number
- WO2018192149A1 WO2018192149A1 PCT/CN2017/098297 CN2017098297W WO2018192149A1 WO 2018192149 A1 WO2018192149 A1 WO 2018192149A1 CN 2017098297 W CN2017098297 W CN 2017098297W WO 2018192149 A1 WO2018192149 A1 WO 2018192149A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- dialing
- virtual terminal
- test
- result
- network
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/22—Arrangements for supervision, monitoring or testing
Definitions
- the present application relates to, but is not limited to, the field of communications, and more particularly to a dialing method, apparatus and system.
- the communication system is hierarchical (as shown in Figure 1), and there are many network elements at the end of the access layer, which provide service ports to users.
- the concern is whether there is a problem with the provided business.
- the access layer is better, but the access layer network element has a problem, resulting in no service. Therefore, for communication network testing, it is best to do end-to-end testing. Even if it is not possible, try to extend it to the user and test it where it is closest to the user.
- the communication attendant In the communication room of the base station, there is a system for periodically dialing the test, that is, the communication attendant periodically makes a call to a number of called parties in the specified direction, thereby confirming that the user of the access layer network element of the communication room can call the other in the network. Network element.
- the communication attendant There are more and more automated dialing tools, but they all require dedicated hardware for dialing, which is costly to invest.
- the embodiment of the invention provides a dialing test method, device and system to improve dialing efficiency.
- a dialing method including: sending, by a second virtual terminal, a first dialing message to a first virtual terminal corresponding to the first virtual number, where the first dialing message
- the first virtual terminal carries the first test data, so that the first virtual terminal obtains the first dial test result of the first virtual terminal according to the first test data; and detects that the first virtual terminal responds to the a second dial test message sent by the first dial test message, where the second dial test message carries the second test data; and according to the second test data, the second virtual terminal simulates the second call of the calling party. Dial the test results.
- the obtaining the second virtual terminal module according to the second test data includes: determining, in the case that the second test data is detected, whether the second test data is consistent with the preset test data; and the second test data and the pre-test If the test data is inconsistent, it is determined that the second dial test result of the second virtual terminal simulates the caller is an analog dial test failure; and the second test data is consistent with the preset test data. And determining that the second dialing result of the second virtual terminal to simulate the calling party is successful for the analog dialing test.
- the obtaining, by the second test data, the second dialing result of the second virtual terminal to simulate the calling party includes: determining, if the second test data is not detected, The second dialing result of the second virtual terminal simulating the calling party is an analog dialing failure.
- the method before the sending, by the second virtual terminal, the first dialing message to the first virtual terminal corresponding to the first virtual terminal, the method further includes: receiving, by using the first port of the second virtual terminal, a first dialing command of the calling party, wherein the first dialing command carries the first virtual number; the first virtual terminal corresponding to the first virtual number initiates a call; and receives the first A first response signal returned by a virtual terminal for simulating an off-hook response establishes a call connection between the second virtual terminal and the first virtual terminal.
- the method before the sending, by the second virtual terminal, the first dialing message to the first virtual terminal corresponding to the first virtual terminal, the method further includes: receiving, by using the second port of the second virtual terminal, the simulated called party. a second dialing command; when the second port receives the first virtual terminal to initiate a call, sending a second response signal for simulating an off-hook response; and detecting a third dial sent by the first virtual terminal
- the third test result carries the third test data
- the third virtual terminal simulates the third dial test result of the called party according to the third test data, and sends the third dial test result to the first test data.
- the virtual terminal sends a fourth dial test message, where the fourth dial test message carries the fourth test data, so that the first virtual terminal obtains the first virtual terminal emulation master according to the fourth test data. Called the fourth dial test result.
- the method further includes: obtaining the third dial test result of the simulated called party, Reported to the dial test server.
- the method further includes: obtaining the obtained second dialing result of the simulated calling party, Reported to the dial test server.
- a dialing method including: determining a dialing range corresponding to a first dialing task in a network controlled by a dialing server, wherein the dialing range includes: And transmitting, by the first network element and the second network element, the first dialing command for instructing to perform the simulated calling to the first network element in the dialing range, to the location in the dialing range
- the second network element respectively sends a second dialing command for instructing the simulated called party, so that the first virtual terminal corresponding to the first network element and the second virtual terminal corresponding to the second network element Establishing a call connection, performing a dial test test, obtaining a first dial test result of the simulated caller reported by the first network element in the dialing range, and reporting the second network element in the dialing range Simulating the second dialing result of the called party; and locating the faulty network element in the network according to the obtained first dialing result and the second dialing result.
- determining that the dialing range corresponding to the first dialing task in the network controlled by the dialing server comprises at least one of: determining, in the case that the ring network is included in the network, determining the first dialing
- the dialing range corresponding to the measurement task includes: at least two network elements in the ring network; and in a case where the network includes a chain network, determining the dialing corresponding to the first dialing task
- the measurement range includes: an end network element of the chain network, and at least one network element of the chain network except the end network element.
- determining a dialing range corresponding to the first dialing task in the network controlled by the dialing server comprises: combining the dialing results of the second dialing task performed before the first dialing task Determining, by the network topology of the network, the dialing range corresponding to the first dialing task, where the first network topology range corresponding to the first dialing task is smaller than the second dialing The second network topology range corresponding to the task.
- the locating the faulty network element in the network according to the obtained first dialing result and the second dialing result, according to the first dialing result and the second dialing
- the dialing test information of the failed test is included in the test result, and the link range in which the faulty network element is located is determined; and the faulty network element is located according to the determined link range.
- a dialing device including: a sending module, configured to send, by using a second virtual terminal, a first dialing message to a first virtual terminal corresponding to the first virtual number, where The first test message carries the first test data, so that the first virtual The quasi terminal obtains the first dial test result of the first virtual terminal to simulate the called party according to the first test data; and the detecting module is configured to detect that the first virtual terminal sends the second response to the first dial test message And dialing the test message, wherein the second dial test message carries the second test data; and the obtaining module is configured to obtain the second dial test result of the second virtual terminal emulation caller according to the second test data.
- the obtaining module is configured to determine, according to the second test data, whether the second test data is consistent with the preset test data; and the second test data and the If the preset test data is inconsistent, it is determined that the second dialing result of the second virtual terminal simulates the calling party is an analog dialing test failure; and the second test data is consistent with the preset test data. In the case of the second virtual terminal, the second dialing result of the simulated calling party is determined to be a successful dialing test.
- the obtaining module is configured to: when the second test data is not detected, determine that the second dialing result of the second virtual terminal simulates the calling party is an analog dialing test failure.
- the apparatus further includes: a first receiving module, an initiating module, and an establishing module, where the first receiving module is configured to receive, by using the first port of the second virtual terminal, an analog calling party. a first dialing command, wherein the first dialing command carries the first virtual number; receiving a first response signal returned by the first virtual terminal for simulating an off-hook response; a module, configured to initiate a call to the first virtual terminal corresponding to the first virtual number, where the establishing module is configured to establish a call connection between the second virtual terminal and the first virtual terminal.
- the device further includes: a second receiving module, wherein the second receiving module is configured to send the first dialing to the first virtual terminal corresponding to the first virtual number by using the second virtual terminal Before the message, receiving, by the second port of the second virtual terminal, a second dialing command that simulates the called party; the sending module is further configured to receive, by the second port, the first virtual terminal to initiate a call.
- the detecting module is further configured to detect a third dial-up message sent by the first virtual terminal, where the third dial-up message carries The third test data is further configured to obtain, according to the third test data, the third virtual terminal to simulate a third dial test result of the called party, and to the first virtual
- the terminal sends a fourth dial test message, where the fourth dial test message carries the fourth test data, so that the first virtual terminal obtains the first virtual terminal to simulate the calling according to the fourth test data.
- the fourth dial test result is further configured to detect a third dial-up message sent by the first virtual terminal, where the third dial-up message carries The third test data is further configured to obtain, according to the third test data, the third virtual terminal to simulate a third dial test result of the called party, and to the first virtual
- the terminal sends a fourth dial test message, where the fourth dial test message carries the fourth test data, so that the first virtual terminal obtains the first virtual terminal to simulate the calling according to the fourth test data.
- the fourth dial test result is further configured
- the apparatus further includes: a first reporting module, configured to: after obtaining the third dialing result of the second virtual terminal to simulate the called according to the third test data, Simulate the third dial test result of the called party and report it to the dial test server.
- a first reporting module configured to: after obtaining the third dialing result of the second virtual terminal to simulate the called according to the third test data, Simulate the third dial test result of the called party and report it to the dial test server.
- the apparatus further includes: a second reporting module, configured to: after obtaining the second dialing result of the second virtual terminal to simulate the calling party according to the second test data, The second dial test result of the simulated caller is reported to the dial test server.
- a second reporting module configured to: after obtaining the second dialing result of the second virtual terminal to simulate the calling party according to the second test data, The second dial test result of the simulated caller is reported to the dial test server.
- a dialing device including: a determining module, configured to determine a dialing range corresponding to the first dialing task in a network controlled by the dialing server, wherein the dialing The measurement range includes: a plurality of pairs of the first network element and the second network element; and a sending module, configured to send, to the first network element in the dialing range, a first dialing command for instructing to perform the simulated calling party Transmitting, to the second network element in the dialing range, a second dialing command for instructing the simulated called party, so that the first virtual terminal corresponding to the first network element and the The second virtual terminal corresponding to the second network element establishes a call connection, and performs a dial test test; the obtaining module is configured to obtain a first dial test result of the simulated caller reported by the first network element in the dialing measurement range, And the second dialing result of the simulated called party reported by the second network element in the dialing range; the positioning module is configured to set,
- the determining module is configured to: when the ring network is included in the network, determine that the dialing range corresponding to the first dialing task comprises at least one of: the ring At least two network elements in the network; in the case that the network includes a chain network, determining the dialing range corresponding to the first dialing task includes: an end network element of the chain network, And at least one network element of the chain network other than the end network element.
- the determining module is configured to determine the first with the network topology of the network according to the dialing result of the second dialing task performed before the first dialing task.
- the dialing measurement range corresponding to the dialing task wherein the first network topology range corresponding to the first dialing task is smaller than the second network topology range corresponding to the second dialing task.
- the positioning module is configured to determine, according to the first dialing result and the dialing test information included in the dialing test result, the link where the faulty network element is located. Range; locate the faulty network element according to the determined link range.
- a dialing system including: a first network element, a second network element, and a dialing server, where the first network element includes any one of the foregoing embodiments.
- the plurality of dialing servers are connected by being cascaded.
- a storage medium is also provided.
- the storage medium is configured to store a program code for performing the following steps: sending, by the second virtual terminal, the first dialing message to the first virtual terminal corresponding to the first virtual number, where the first dialing message carries a first test data, so that the first virtual terminal obtains a first dial test result of the first virtual terminal according to the first test data; and detects that the first virtual terminal responds to the first dial
- the storage medium is further configured to store program code for performing the following steps: the obtaining, by the second test data, the second dialing result of the second virtual terminal to simulate the calling party comprises: detecting In the case of the second test data, determining whether the second test data is consistent with the preset test data; and determining that the second test data is inconsistent with the preset test data
- the second dialing result of the virtual terminal emulating the calling party is the analog dialing test failure; if the second test data is consistent with the preset test data, determining that the second virtual terminal simulates the calling party
- the second dial test result is successful for the analog dial test.
- the storage medium is further configured to store program code for performing the following steps: the obtaining the second dialing result of the second virtual terminal emulation caller according to the second test data comprises: When the second test data is detected, it is determined that the second dialing result of the second virtual terminal analog caller is an analog dial test failure.
- the storage medium is further configured to store the program code for performing the following steps: before sending the first dialing message to the first virtual terminal corresponding to the first virtual number by using the second virtual terminal, the method further includes: passing The first port of the second virtual terminal receives a first dialing command for indicating an analog caller, where the first dialing command carries the first virtual number; to the first virtual number Corresponding to the first virtual terminal to initiate a call; receiving a first response signal returned by the first virtual terminal for simulating an off-hook response, establishing a call between the second virtual terminal and the first virtual terminal connection.
- the storage medium is further configured to store the program code for performing the following steps: before sending the first dialing message to the first virtual terminal corresponding to the first virtual number by using the second virtual terminal, the method further includes: passing The second port of the second virtual terminal receives a second dialing command that simulates the called party; and when the second port receives the first virtual terminal to initiate a call, sends a second response signal for simulating an off-hook response.
- the storage medium is further configured to: store the program code for performing the following steps: after obtaining the third dialing result of the called by the second virtual terminal according to the third test data, the method further includes: The obtained third dial test result of the simulated call is reported to the dial test server.
- the storage medium is further configured to: store the program code for performing the following steps: after obtaining the second dialing result of the second virtual terminal to simulate the calling party according to the second test data, the method further includes: The obtained second dial test result of the simulated caller is reported to the dial test server.
- a storage medium is also provided.
- the storage medium is configured to store program code for performing the following steps: determining a dialing range corresponding to the first dialing task in the network controlled by the dialing server, wherein the dialing range includes: a plurality of pairs of the first network And a second network element; respectively sent to the first network element in the dialing range for indicating an analog calling
- the first dialing command sends a second dialing command for instructing the simulated called party to the second network element in the dialing range to make the first corresponding to the first network element
- the virtual terminal and the second virtual terminal corresponding to the second network element establish a call connection, perform a dial test test, and obtain a first dial test result of the simulated caller reported by the first network element in the dialing range And the second dialing result of the simulated called party reported by the second network element in the dialing range; positioning the network according to the obtained first dialing result and the second dialing result The faulty network element in the middle.
- the storage medium is further configured to store program code for: determining that the dialing range corresponding to the first dialing task in the network controlled by the dialing server comprises at least one of: at the network In the case that the ring network is included, determining the dialing range corresponding to the first dialing task includes: at least two network elements in the ring network; in the case where the network includes a chain network Determining the dialing range corresponding to the first dialing task includes: an end network element of the chain network, and at least one network element of the chain network except the end network element.
- the storage medium is further configured to store program code for: determining that the dialing range corresponding to the first dialing task in the network controlled by the dialing server comprises: according to the first dialing The dialing test result of the second dialing task performed before the task is combined with the network topology of the network to determine the dialing range corresponding to the first dialing task, wherein the first dialing task is The corresponding first network topology range is smaller than the second network topology range corresponding to the second dialing task.
- the storage medium is further configured to store program code for performing the following steps: locating the faulty network element in the network according to the obtained first dialing result and the second dialing result, including Determining, according to the first dialing result and the dialing test information of the dialing test failure included in the second dialing result, a link range in which the faulty network element is located; and positioning according to the determined link range The faulty network element.
- the test data is mutually exchanged, and the test result of the simulated calling and called calls is obtained according to the test data, thereby implementing the two-way dial test test between the network elements, because it is two Dial-up testing between virtual terminals can reduce manual participation; since pairs of dial-up users can exist in multiple groups, through good design, multiple groups can be dialed in parallel, which can improve the efficiency of dial-up testing.
- Figure 1 is a schematic diagram of a layered communication system
- FIG. 2 is a block diagram showing the hardware structure of a network element node of a dialing method according to an embodiment of the present invention
- FIG. 3 is a flow chart 1 of a dialing method according to an embodiment of the present invention.
- FIG. 4 is a second flowchart of a dialing method according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram of a dial test server software module according to an embodiment of the present invention.
- FIG. 6 is a schematic diagram of cooperation of dial-up server software according to an embodiment of the present invention.
- FIG. 7 is a structural diagram 1 of a networking structure of a communication network according to an embodiment of the present invention.
- FIG. 8 is a second structural diagram of a communication network according to an embodiment of the present invention.
- FIG. 9 is a schematic diagram of dialing a fault point according to an embodiment of the present invention.
- FIG. 10 is a schematic diagram of distributed networking of a dial-up server according to an embodiment of the present invention.
- FIG. 11 is a schematic diagram of cooperation between a lower-level dialing test server according to an embodiment of the present invention.
- FIG. 12 is a schematic diagram of a simulated calling function according to an embodiment of the present invention.
- FIG. 13 is a schematic diagram of a simulated called function according to an embodiment of the present invention.
- Figure 15 is a block diagram 1 of a structure of a dialing device according to an embodiment of the present invention.
- 16 is a structural block diagram 2 of a dialing device according to an embodiment of the present invention.
- 17 is a structural block diagram 3 of a dialing device according to an embodiment of the present invention.
- FIG. 18 is a structural block diagram 4 of a dialing device according to an embodiment of the present invention.
- 19 is a structural block diagram 5 of a dialing device according to an embodiment of the present invention.
- 20 is a structural block diagram 6 of a dialing device according to an embodiment of the present invention.
- 21 is a block diagram showing the structure of a dial test system according to an embodiment of the present invention.
- FIG. 2 is a hardware structural block diagram of a network element node of a dialing method according to an embodiment of the present invention.
- server 20 may include one or more (only one shown) processor 22 (processor 22 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), A memory 24 for storing data, and a transmission device 26 for communication functions.
- processor 22 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA
- a memory 24 for storing data
- a transmission device 26 for communication functions.
- server 20 may also include more or fewer components than those shown in FIG. 2, or have a different configuration than that shown in FIG. 2.
- the memory 24 can be configured as a software program and a module for storing application software, such as a program instruction/module corresponding to the dialing method in the embodiment of the present invention, and the processor 22 executes each by executing a software program and a module stored in the memory 24.
- a functional application and data processing, that is, the above method is implemented.
- Memory 24 may include high speed random access memory and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
- memory 24 may further include memory remotely located relative to processor 22, which may be connected to server 20 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- Transmission device 26 is arranged to receive or transmit data via a network.
- the network instance described above may include a wireless network provided by a communication provider of the server 20.
- transmission device 26 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
- NIC Network Interface Controller
- the transmission device 26 can be a Radio Frequency (RF) module configured to communicate with the Internet wirelessly.
- RF Radio Frequency
- FIG. 3 is a flowchart 1 of a dialing method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps. Step:
- Step S302 the first virtual test terminal sends a first dial test message to the first virtual terminal corresponding to the first virtual terminal, where the first dial test message carries the first test data, so that the first virtual terminal is according to the first
- the test data is obtained by the first virtual terminal to simulate the first dial test result of the called party;
- Step S304 detecting a second dialing test message sent by the first virtual terminal in response to the first dialing test message, where the second dialing test message carries the second test data;
- Step S306 obtaining a second dialing result of the second virtual terminal to simulate the calling party according to the second test data.
- the two virtual terminals interact with each other, and the test data is mutually exchanged, and the test result of the simulated main and called calls is obtained according to the test data, thereby improving the dialing efficiency.
- step S306 obtaining the second dialing result of the second virtual terminal to simulate the calling party according to the second test data may be in multiple manners, for example, if the second test data is not detected, It is determined that the second dialing result of the second virtual terminal simulating the calling party is an analog dialing test failure. For example, in the case that the second test data is detected, it is determined whether the second test data is consistent with the preset test data; and if the second test data is inconsistent with the preset test data, the second virtual terminal is simulated. The second dial test result is the analog dial test failure; if the second test data is consistent with the preset test data, it is determined that the second dial test result of the second virtual terminal simulates the caller is the analog dial test success.
- the second virtual terminal simulates the second call of the calling party.
- the dial test result is successful for the analog dial test. If it is not received, it is determined that the second dial test result of the second virtual terminal simulates the caller is an analog dial test failure.
- test data ie, preset test data
- the preset time may be a period of time from the moment when the virtual terminal sends the test data to the called party virtual terminal as the simulated calling party, or may be the mode when the virtual terminal is used as the simulated called party. A period of time from the moment the off-hook responds.
- the preset time it is detected whether there is second test data sent from the first virtual terminal. If the second test data is detected, it is determined whether the detected second test data is consistent with the preset test data. If yes, it is determined that the second dialing result of the second virtual terminal simulating the calling party is successful for the analog dialing test. When the second test data is not detected, and the detected second test data is inconsistent with the preset test data, it is determined that the second dialing result of the second virtual terminal simulates the calling party is an analog dial test failure.
- the second virtual terminal simulates the dialing test result of the calling party through different detection results, so that the dialing test result of the simulated calling party can be determined more accurately, and the accuracy of the dialing test is improved.
- a call connection between the first and second virtual terminals may be established in multiple manners.
- the first dialing command for indicating the simulated calling party may be received by the first port of the second virtual terminal, where the first dialing command carries the first virtual number; the first corresponding to the first virtual number
- the virtual terminal initiates a call; receives a first response signal returned by the first virtual terminal for simulating an off-hook response, and establishes a call connection between the second virtual terminal and the first virtual terminal. That is, the dialing command for simulating the calling party is received by the first port, where the dialing command carries the first virtual number corresponding to the first virtual terminal, and the first port virtualizes the second virtual terminal.
- Other manners in which a call connection between the first virtual terminal and the second virtual terminal can be established can be used to perform the call connection in this embodiment.
- the dialing test is performed on the virtual terminal of the interface of the network element, and the existing structure of the network element can be utilized, without adding new hardware or complicated software modularization in the network element.
- the realization of the dial test reduces the cost of the dial test and reduces the complexity of the dial test.
- the dial test of the simulated called party may also be performed in the network element where the second virtual terminal is located.
- the second dialing command of the simulated called party may be received by the second port of the second virtual terminal; and the second answering signal for simulating the off-hook response is sent if the second port receives the first virtual terminal to initiate the call.
- Detecting a third dial test message sent by the first virtual terminal where the third dial test message carries the third test data; and obtaining, according to the third test data, the second virtual terminal to simulate the third dial test result of the called party, and To the first virtual terminal
- the fourth dial test message is sent, where the fourth dial test message carries the fourth test data, so that the first virtual terminal obtains the fourth dial test result of the first virtual terminal emulation caller according to the fourth test data.
- the first virtual terminal and the second virtual terminal may form an analog main called party pair (the same virtual terminal may form a simulated calling party pair with a plurality of other virtual terminals respectively), and respectively pair the simulated calling party and the called party.
- the virtual terminal performs a dial test test for simulating the calling party and simulating the called party, thereby implementing a comprehensive analog dial test.
- the obtained dialing result can be reported to the dialing server.
- the method further includes: reporting the obtained third dialing result of the simulated called party to the dialing test server.
- the second dialing result of the simulated calling party is reported to the dialing test server.
- FIG. 4 is a flowchart 2 of the dialing method according to the embodiment of the present invention. As shown in FIG. 4, the process includes the following steps:
- Step S402 determining a dialing measurement range corresponding to the first dialing task in the network controlled by the dialing server, where the dialing range includes: multiple pairs of the first network element and the second network element;
- Step S404 Send a first dialing command for instructing to perform the simulated calling to the first network element in the dialing range, and send a second instruction to the second network element in the dialing range to indicate that the simulated called party is to be sent. And dialing the test command to establish a call connection between the first virtual terminal corresponding to the first network element and the second virtual terminal corresponding to the second network element, and perform a dial test test;
- Step S406 Acquire a first dialing result of the simulated calling party reported by the first network element in the dialing range, and a second dialing result of the simulated called party reported by the second network element in the dialing range;
- Step S408 Locating the faulty network element in the network according to the obtained first dialing test result and the second dialing test result.
- the dialing measurement range corresponding to the dialing task in the network controlled by the dialing server is determined, and the simulated main called party is sent to the first network element and the second network element in the dialing range respectively.
- the test command is used to locate the faulty network element according to the dialed test result reported by the first and second network elements, thereby improving the dialing efficiency.
- the dial test can be tested by software, which reduces the cost of dialing the network.
- the dialing range corresponding to the dialing task can be determined in multiple manners. For example, all the network element nodes in the network controlled by the dialing server can be used as the dialing range corresponding to the dialing task, and for example, all the network element nodes in the network controlled by the dialing server can randomly select several networks.
- the meta-node acts as the dialing range corresponding to the dial-up task.
- the network element node may be selected as a dialing measurement range corresponding to the dialing task according to different rules: in the case that the network includes the ring network, determining the dialing corresponding to the first dialing task
- the measurement range includes: at least two network elements in the ring network; in the case that the network includes the chain network, determining the dialing range corresponding to the first dialing task includes: the end network element of the chain network, and the chain shape At least one network element of the network except the end network element.
- the network element node is selected as the dialing measurement range corresponding to the dialing test task by using different rules, which can be applied to different network topology results, reduces the number of dialing measurements, and improves the dialing measurement efficiency.
- the dialing range corresponding to the dialing task can also be determined in the following manner: according to the dialing result of the second dialing task performed before the first dialing task, combined with the network
- the network topology determines a dialing range corresponding to the first dialing task, where the first network topology range corresponding to the first dialing task is smaller than the second network topology range corresponding to the second dialing task. That is to say, the dial test can be performed on the larger network range first, and according to the dial test result, it is determined that there is further dial test demand (for example, the faulty network element node in the network), and is reduced according to the previous dial test result. Dial the test range and perform dial test tests on a smaller network range.
- the dialing test task by performing the dialing test task to locate the faulty network element node, the number of simulated main and called terminals required for faulty network element positioning can be reduced, and the efficiency of faulty network element positioning is improved.
- the faulty network element in the network may be located in multiple manners. For example, the faulty network element may be determined according to the first dialing test result and the dialing test information included in the dialing test result. Link range; locate faulty network elements based on the determined link range.
- a dialing test system and a dialing test method to which the system can be applied are provided.
- the following provides the system provided in this embodiment separately. And methods to explain.
- the dialing test system includes: one or more automatic dial test servers (acting the same as the dial test server).
- the hardware entity of the automatic dial test server may be a personal computer (Personal Computer, PC for short) or a server. According to the number of network elements that need to be dialed in the jurisdiction, the performance requirements of the computer have changed. But in general, you don't need a very advanced server. Because the system supports distributed deployment, multi-level server networking can be used to meet performance requirements.
- the automatic dial test server includes the following modules in software: a system master control module 52, a configuration management module 54, a call routing module 56, a call and result collection module 58, a result analysis module 510, and a result.
- the module 512 and the database module 514 are displayed. The above seven modules are described separately below.
- the configuration management module 54 can be set to:
- the system master control module 52 can be set to:
- the scheduling starts the dialing task
- the call routing module 56 can be set to:
- the dialing test task of the receiving system total control module 52 combined with the network topology automatic analysis, generates a dialing test list, including the calling and called network elements and the dialed number set, which is the smallest test set. And sending the dialing list to the call and result collection module 58;
- the network topology is automatically analyzed to generate a dialed test of the called party network element and the dialed number list, which is sufficient
- the test set of the fault point is located and output to the call and result collection module 58.
- the call and result collection module 58 can be configured to:
- the corresponding processing is performed according to the dialing test requirements of different network elements: the dialing test commands sent by the network element are correspondingly adjusted, thereby Different network elements are applied to make the analog call work normally;
- test set is managed by an algorithm, and the call is appropriately parallelized (that is, multiple network elements simultaneously perform analog calls) to reduce the dialing time.
- the result analysis module 510 can be set to:
- the result display module 512 can be set to:
- the database module 514 can be set to:
- the system master control module 52 is responsible for the issuance and decision making of tasks;
- the call routing module 56 decomposes the call list according to the task requirement;
- the call and result collection module 58 makes a call according to the call list;
- the result analysis module 510 analyzes the call result, and provides necessary information to the master control module for detailed dialing when further calls are needed.
- the results display module 512 displays the results of the call and the problems found.
- the call routing module 56 automatically analyzes the generated primary and called network elements and the dialed number set in combination with the network topology.
- the first time is a simple set of call lists, and the second time is a complete set of call lists after the topology is reduced.
- the topology of the network controlled by the dial-up server is described below.
- FIG. 7 is a network structure diagram of a communication network according to an embodiment of the present invention.
- the networking structure of the communication network is a base layer communication network, and the network is a ring-chained network; the communication network will There are many such base layer communication networks, and a plurality of networks together form a networking structure as shown in FIG.
- Ring network which can randomly collect several nodes on the ring for testing.
- Chain network which can randomly test several nodes on the non-endpoint of the chain and test the end nodes of the chain.
- the network element set tested for the first time is the network elements A1, A2, A4, A7, B2, and B3. During the test, it was found that there was a problem in dialing between the network element A4 and the network element A1.
- the call routing module In order to analyze the fault point and narrow the topology to the ring network where the fault point is located, the call routing module analyzes the ring network and generates a call list for dialing all points on the ring network, assuming that the list is A1 and A2-A8 respectively. Make a dial test.
- the result display module adopts a stepless zooming manner, and presents an effect similar to that of FIG. 8 and FIG.
- the automatic dial test server provided in this embodiment has the capability of simple stacking. It can accept external requests, dial the test for the specified node in the jurisdiction, and return the dial test results to the requester.
- Figure 10 shows the network of the automatic dial-up server deployed in a layered manner. For the superior dial-up server in FIG. 10, its tested network element belongs to each subordinate jurisdiction, which is a subset of all subordinate jurisdiction network elements, and this subset constitutes a dialed number set. When it is found that the dial-up abnormality occurs, it requests the relevant subordinate dial test server for further analysis. When the subordinate dials the test server and returns the result, the result presentation module of the upper dial test server is presented.
- the upper server cooperates with the lower server as shown in Figure 11.
- the upper-level server can conveniently perform network-wide dialing without having to manage all network elements.
- multi-level server networking can occur, so there will be some servers.
- the method of sending the faults is used to perform the further dialing of the fault point, and the obtained dialing test result is uploaded step by step, thereby achieving the effect of stacking the network and covering the whole network.
- the analog calling function of the access gateway can be as shown in Figure 12.
- the network element for example, the access gateway
- the network element simulates a virtual user in the system, initiates a call to the test partner through the virtual user, and the test partner hears the ringing and then picks up the phone.
- a special tone from a virtual user for example, it can be a dual-tone multi-tone, or other type of sound
- the tester hangs up and the network element issues a result report of the simulated caller test.
- the normal detection of voice only confirms that the one-way voice sent from the virtual user to the test partner is normal.
- the analog called function of the access gateway can be as shown in FIG.
- the network element for example, the access gateway
- the network element simulates a virtual user in the system
- the test partner initiates a call to the virtual user.
- the simulation simulates Off-hook, test the person who hears the special sound from the virtual user (for example, it can be dual-tone multi-tone, or other types of sound).
- the tester hangs up and the network element issues the simulated called test. Results report.
- the normal detection of voice only confirms that the one-way voice sent from the virtual user to the test partner is normal.
- the function of simulating the calling party and simulating the called party of the access gateway is modified.
- the dialing method is shown in Figure 14.
- the analog dialing requires two virtual users, assuming the calling party.
- the virtual user A is the virtual user B and the called party is the virtual user B.
- the network element A When the network element A receives the request of the virtual user A's analog dial test, the user A of the calling party is virtualized.
- the network element B receives the request of the virtual user B's analog dial test, the user B of the called party is virtualized.
- Virtual user A automatically initiates a call to virtual user B, B simulates an off-hook response, A sends a special tone, B detects; then B sends a special tone, A detects; then hangs up and releases the resources.
- the network element A issues a result report of the analog dial test. The report describes whether the virtual user A hears the special sound of the virtual user B.
- the network element B issues a report of the simulated dial test, and the report describes whether the virtual user B listens.
- a special tone to virtual user A When the network element A receives the request of the virtual user A's analog dial test, the user A of the calling party is virtualized.
- the network element B receives the request of the virtual user B's analog dial test, the user
- the dialing method described above is a two-way detection of voice. If the data service is extended to the two-way communication of the fax and the modem data in the data service, the dialing method described in this embodiment can be applied to the automatic dialing of the data service.
- the analog dialing method for the access gateway is described below using an embodiment, mainly describing the implementation process in the call and result collection module.
- the following describes the analog call operation method of a certain type of access gateway.
- the number of slot 2 port 0 is 19860000
- the number of the called id that simulates the calling party is 19860000.
- the simulated calling user is recorded as user A
- the simulated called user is recorded as user B.
- the calling party obtains the dialing result of the simulated calling party as “Result: SIM_SUCCESS”, and vice versa, the dialing result of the simulated calling party is “Result: SIM_FAILED”; B.
- the called party obtains the dialed test result of the simulated called party as "Result: SIM_SUCCESS”, and vice versa, the dialed test result of the simulated called party is "Result: SIM_FAILED”.
- a dialing method is provided, which can be applied to a distributed, stackable automatic dialing system, which provides call routing, call and result collection, result analysis, and The resulting functionality provides a low-cost solution for dial-up testing of communication networks.
- the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
- the present application can be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), including a plurality of instructions for causing a terminal device (may It is a mobile phone, a computer, a server, or a network device, etc.) that performs the methods described in various embodiments of the present invention.
- a dialing device is provided, which is used to implement the foregoing embodiments and implementation manners, and has not been described again.
- the term "module” may implement a combination of software and/or hardware of a predetermined function.
- the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- Figure 15 is a block diagram showing the structure of a dialing device according to an embodiment of the present invention. As shown in Figure 15, the device includes:
- the sending module 152 is configured to send, by using the second virtual terminal, the first dialing message to the first virtual terminal corresponding to the first virtual number, where the first dialing message carries the first test data, so that the first virtual terminal Obtaining, according to the first test data, the first dialing result of the first virtual terminal to simulate the called party;
- the detecting module 154 is connected to the sending module 152, and configured to detect a second dialing message sent by the first virtual terminal in response to the first dialing message, where the second dialing message carries the second test data;
- the obtaining module 156 is connected to the detecting module 154 and configured to obtain the second test data.
- the second virtual terminal is simulated to simulate the second dialing result of the calling party.
- the obtaining module 156 may be configured to determine, according to the second test data, whether the second test data is consistent with the preset test data; and the second test data is inconsistent with the preset test data. Next, determining that the second dialing result of the second virtual terminal simulates the calling party is an analog dialing test failure; and if the second test data is consistent with the preset test data, determining that the second virtual terminal simulates the second calling of the calling party The dial test result is successful for the analog dial test.
- the obtaining module 156 may be configured to determine that the second dialing result of the second virtual terminal emulation caller is an analog dialing failure if the second test data is not detected.
- FIG. 16 is a structural block diagram 2 of a dialing device according to an embodiment of the present invention. As shown in FIG. 16, the device includes: a first receiving module 162, an initiating module 164, and an establishment, in addition to all the modules shown in FIG. Module 166, wherein
- the first receiving module 162 is configured to receive, by using the first port of the second virtual terminal, a first dialing command for indicating an analog calling, where the first dialing command carries the first virtual number; and the first virtual number is received; a first response signal returned by the terminal for simulating an off-hook response;
- the initiating module 164 is connected to the first receiving module 162, and is configured to initiate a call to the first virtual terminal corresponding to the first virtual number.
- the establishing module 166 is connected to the initiating module 164, and is configured to establish a call connection between the second virtual terminal and the first virtual terminal.
- FIG. 17 is a structural block diagram of a dialing device according to an embodiment of the present invention. As shown in FIG. 17, the device includes: a second receiving module 172, in addition to all the modules shown in FIG.
- the second receiving module 172 is configured to receive the second call of the simulated called party by using the second port of the second virtual terminal before sending the first dialing message to the first virtual terminal corresponding to the first virtual terminal by using the second virtual terminal. Test command
- the sending module 152 may be further configured to send a second response signal for simulating an off-hook response if the second port receives the first virtual terminal to initiate a call;
- the detecting module 154 is further configured to detect a third dialing test message sent by the first virtual terminal, where the third dialing test message carries the third test data;
- the obtaining module 156 is further configured to obtain a third dialing result of the second virtual terminal to simulate the called party according to the third test data, and send a fourth dialing test message to the first virtual terminal, where the fourth dialing test message carries There is a fourth test data, so that the first virtual terminal obtains the fourth dialing result of the first virtual terminal to simulate the calling party according to the fourth test data.
- FIG. 18 is a structural block diagram of a dialing device according to an embodiment of the present invention. As shown in FIG. 18, the device includes: in addition to all the modules shown in FIG.
- the first reporting module 182 is configured to report the third dialed result of the simulated called party to the dialing test server after the third dialing result of the second virtual terminal is simulated according to the third test data.
- FIG. 19 is a block diagram 5 of a structure of a dialing device according to an embodiment of the present invention. As shown in FIG. 19, the device includes:
- the second reporting module 192 is configured to report the second dialing result of the simulated calling party to the dialing test server after obtaining the second dialing result of the second virtual terminal to simulate the calling party according to the second test data.
- FIG. 20 is a structural block diagram of a dialing device according to an embodiment of the present invention. As shown in FIG. 20, the device includes:
- the determining module 202 is configured to determine a dialing range corresponding to the first dialing task in the network controlled by the dialing server, where the dialing range includes: multiple pairs of the first network element and the second network element;
- the sending module 204 is connected to the determining module 202, and configured to send, to the first network element in the dialing range, a first dialing command for instructing to perform the simulated calling, respectively, to the second network element in the dialing range. Sending a second dialing command for instructing the simulated called party to establish a call connection between the first virtual terminal corresponding to the first network element and the second virtual terminal corresponding to the second network element, and performing a dial test test;
- the obtaining module 206 is connected to the sending module 204, and is configured to obtain a first dialing result of the simulated calling party reported by the first network element in the dialing range, and an analog called party reported by the second network element in the dialing range.
- the second dial test result ;
- the locating module 208 is connected to the acquiring module 206, and is configured to locate the faulty network element in the network according to the obtained first dialing result and the second dialing result.
- the determining module 202 may be configured to determine, when the ring network is included in the network, that the dialing range corresponding to the first dialing task includes at least one of the following: at least two network elements in the ring network.
- the network includes a chain network
- determining the dialing range corresponding to the first dialing task includes: an end network element of the chain network, and at least one network element of the chain network except the end network element.
- the determining module 202 may be configured to determine, according to the dialing result of the second dialing task performed before the first dialing task, the dialing corresponding to the first dialing task according to the network topology of the network.
- the positioning module 208 may be configured to determine, according to the first dialing result and the dialing test information included in the dialing test result, the link range where the faulty network element is located; Route range, locate the faulty network element.
- FIG. 21 is a structural block diagram of a dialing test system according to an embodiment of the present invention. As shown in FIG. 21, the system includes: a first network element 212, and a second network element. 214 and dial test server 216, wherein
- the first network element 212 includes any of the dialing devices of FIGS. 15-19;
- the dialing server 216 includes the dialing device of FIG. 20;
- the second network element 214 is configured to receive the first dial test message sent by the first network element 212, and obtain the first dial test result of the first virtual terminal to simulate the called party according to the first test data carried in the first dial test message; The obtained first dial test result is reported to the dial test server 216.
- the plurality of dialing servers may be connected in a cascade manner.
- each of the above modules may be implemented by software or hardware.
- the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
- the forms are located in different processors.
- a storage medium is provided in an embodiment of the present invention.
- the above storage medium may be configured to store program code for performing the following steps:
- the first virtual test terminal sends a first test message to the first virtual terminal corresponding to the first virtual terminal, where the first test message carries the first test data, so that the first virtual terminal is tested according to the first test.
- the data is obtained by the first virtual terminal to simulate the first dial test result of the called party;
- the storage medium is further arranged to store program code for performing the following steps:
- the second dialing result of the second virtual terminal emulating the calling party according to the second test data includes:
- the storage medium is further arranged to store program code for performing the following steps:
- the second dialing result of the second virtual terminal emulating the calling party according to the second test data includes:
- the storage medium is further arranged to store program code for performing the following steps:
- the method further includes:
- the first dialing command for indicating the simulated calling party is received by the first port of the second virtual terminal, where the first dialing command carries the first virtual number;
- a call is initiated to the first virtual terminal corresponding to the first virtual number.
- the storage medium is further arranged to store program code for performing the following steps:
- the method further includes:
- the second dialing command of the simulated called party is received by the second port of the second virtual terminal.
- the third dial test message sent by the first virtual terminal is detected, where the third dial test message carries the third test data.
- S4 The third test result of the second virtual terminal is simulated according to the third test data, and the fourth dial test message is sent to the first virtual terminal, where the fourth dial test message carries the fourth test data.
- the first virtual terminal obtains the fourth dialing result of the first virtual terminal to simulate the calling party according to the fourth test data.
- the storage medium is further arranged to store program code for performing the following steps:
- the method further includes:
- the storage medium is further arranged to store program code for performing the following steps:
- the method further includes:
- a storage medium is also provided in an embodiment of the present invention.
- the storage medium may be configured to store program code for performing the following steps:
- dialing range corresponding to the first dialing task in the network controlled by the dialing server, where the dialing range includes: multiple pairs of the first network element and the second network element;
- the first dialing command for instructing to perform the simulated calling is sent to the first network element in the dialing range, and the second network element in the dialing range is separately sent to indicate the second called to simulate the called party. And dialing a test command to establish a call connection between the first virtual terminal corresponding to the first network element and the second virtual terminal corresponding to the second network element, and perform a dial test test;
- the storage medium is further arranged to store program code for performing the following steps:
- Determining the dialing range corresponding to the first dialing task in the network controlled by the dialing server includes at least one of the following:
- the dialing measurement range corresponding to the first dialing task is determined to include: at least two network elements in the ring network;
- determining a dialing range corresponding to the first dialing task includes: an end network element of the chain network, and at least one network element of the chain network except the end network element. .
- the storage medium is further arranged to store program code for performing the following steps:
- Determining the dialing range corresponding to the first dialing task in the network controlled by the dialing server includes:
- the storage medium is further arranged to store program code for performing the following steps:
- Locating the faulty network element in the network according to the obtained first dialing result and the second dialing result include:
- the foregoing storage medium may include, but not limited to, a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
- ROM Read-Only Memory
- RAM Random Access Memory
- mobile hard disk a magnetic disk
- magnetic disk a magnetic disk
- optical disk a variety of media that can store program code.
- the processor executes the method steps in the above embodiments according to the stored program code in the storage medium.
- the modules or steps of the above embodiments of the present invention may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices, which may be implemented by computing devices.
- the executed program code is implemented such that they can be stored in a storage device by a computing device, and in some cases, the steps shown or described can be performed in a different order than here, or they can be
- Each of the integrated circuit modules is fabricated separately, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module.
- embodiments of the invention are not limited to any specific combination of hardware and software.
- the test data is mutually exchanged, and the test result of the simulated calling and called calls is obtained according to the test data, thereby implementing the two-way dial test test between the network elements, because it is two Dial-up testing between virtual terminals can reduce manual participation; since pairs of dial-up users can exist in multiple groups, through good design, multiple groups can be dialed in parallel, which can improve the efficiency of dial-up testing.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Environmental & Geological Engineering (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本申请涉及但不限于通信领域,尤指一种拨测方法、装置及系统。The present application relates to, but is not limited to, the field of communications, and more particularly to a dialing method, apparatus and system.
通信系统是分层的(如图1所示),在末端的接入层有很多的网元,由它们向用户提供业务端口。对于用户而言,关心的是提供的业务是否有问题。对于故障来说,有可能是接入层以上是好的,但接入层网元有问题,造成提供不了业务。所以对于通信网络测试,最好能做到端到端的测试,即使做不到,也尽量向用户端延伸,在最接近用户的地方进行测试。The communication system is hierarchical (as shown in Figure 1), and there are many network elements at the end of the access layer, which provide service ports to users. For the user, the concern is whether there is a problem with the provided business. For the fault, it may be that the access layer is better, but the access layer network element has a problem, resulting in no service. Therefore, for communication network testing, it is best to do end-to-end testing. Even if it is not possible, try to extend it to the user and test it where it is closest to the user.
在基层的通信机房,有定期进行拨测的制度,即由通信值守人员定期对指定方向的若干被叫进行呼叫,从而确认该通讯机房的接入层网元的用户呼叫能通达网络中的其它网元。现在有越来越多的自动化的拨测工具,但它们都需要有专用的用于拨测的硬件,投入成本高。In the communication room of the base station, there is a system for periodically dialing the test, that is, the communication attendant periodically makes a call to a number of called parties in the specified direction, thereby confirming that the user of the access layer network element of the communication room can call the other in the network. Network element. There are more and more automated dialing tools, but they all require dedicated hardware for dialing, which is costly to invest.
发明概述Summary of invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供了一种拨测方法、装置及系统,以提高拨测效率。The embodiment of the invention provides a dialing test method, device and system to improve dialing efficiency.
根据本发明的一个实施例,提供了一种拨测方法,包括:通过第二虚拟终端向第一虚拟号码对应的第一虚拟终端发送第一拨测消息,其中,所述第一拨测消息中携带有第一测试数据,以使所述第一虚拟终端根据所述第一测试数据得到所述第一虚拟终端模拟被叫的第一拨测结果;检测所述第一虚拟终端响应所述第一拨测消息发送的第二拨测消息,其中,所述第二拨测消息中携带有第二测试数据;根据所述第二测试数据得到所述第二虚拟终端模拟主叫的第二拨测结果。According to an embodiment of the present invention, a dialing method is provided, including: sending, by a second virtual terminal, a first dialing message to a first virtual terminal corresponding to the first virtual number, where the first dialing message The first virtual terminal carries the first test data, so that the first virtual terminal obtains the first dial test result of the first virtual terminal according to the first test data; and detects that the first virtual terminal responds to the a second dial test message sent by the first dial test message, where the second dial test message carries the second test data; and according to the second test data, the second virtual terminal simulates the second call of the calling party. Dial the test results.
在一实施方式中,所述根据所述第二测试数据得到所述第二虚拟终端模 拟主叫的第二拨测结果包括:在检测到所述第二测试数据的情况下,判断所述第二测试数据与预设测试数据是否一致;在所述第二测试数据与所述预设测试数据不一致的情况下,判断出所述第二虚拟终端模拟主叫的所述第二拨测结果为模拟拨测失败;在所述第二测试数据与所述预设测试数据一致的情况下,判断出所述第二虚拟终端模拟主叫的所述第二拨测结果为模拟拨测成功。In an embodiment, the obtaining the second virtual terminal module according to the second test data The second dial test result of the calling party includes: determining, in the case that the second test data is detected, whether the second test data is consistent with the preset test data; and the second test data and the pre-test If the test data is inconsistent, it is determined that the second dial test result of the second virtual terminal simulates the caller is an analog dial test failure; and the second test data is consistent with the preset test data. And determining that the second dialing result of the second virtual terminal to simulate the calling party is successful for the analog dialing test.
在一实施方式中,所述根据所述第二测试数据得到所述第二虚拟终端模拟主叫的第二拨测结果包括:在未检测到所述第二测试数据的情况下,判断出所述第二虚拟终端模拟主叫的所述第二拨测结果为模拟拨测失败。In an embodiment, the obtaining, by the second test data, the second dialing result of the second virtual terminal to simulate the calling party includes: determining, if the second test data is not detected, The second dialing result of the second virtual terminal simulating the calling party is an analog dialing failure.
在一实施方式中,在通过第二虚拟终端向第一虚拟号码对应的第一虚拟终端发送第一拨测消息之前,还包括:通过所述第二虚拟终端的第一端口接收用于指示模拟主叫的第一拨测命令,其中,所述第一拨测命令中携带有所述第一虚拟号码;向所述第一虚拟号码对应的所述第一虚拟终端发起呼叫;接收所述第一虚拟终端返回的用于模拟摘机应答的第一应答信号,建立所述第二虚拟终端与所述第一虚拟终端之间的呼叫连接。In an embodiment, before the sending, by the second virtual terminal, the first dialing message to the first virtual terminal corresponding to the first virtual terminal, the method further includes: receiving, by using the first port of the second virtual terminal, a first dialing command of the calling party, wherein the first dialing command carries the first virtual number; the first virtual terminal corresponding to the first virtual number initiates a call; and receives the first A first response signal returned by a virtual terminal for simulating an off-hook response establishes a call connection between the second virtual terminal and the first virtual terminal.
在一实施方式中,在通过第二虚拟终端向第一虚拟号码对应的第一虚拟终端发送第一拨测消息之前,还包括:通过所述第二虚拟终端的第二端口接收模拟被叫的第二拨测命令;在所述第二端口接收所述第一虚拟终端发起呼叫的情况下,发送用于模拟摘机应答的第二应答信号;检测所述第一虚拟终端发送的第三拨测消息,其中,所述第三拨测消息中携带有第三测试数据;根据所述第三测试数据得到所述第二虚拟终端模拟被叫的第三拨测结果,并向所述第一虚拟终端发送第四拨测消息,其中,所述第四拨测消息中携带有第四测试数据,以使所述第一虚拟终端根据所述第四测试数据得到所述第一虚拟终端模拟主叫的第四拨测结果。In an embodiment, before the sending, by the second virtual terminal, the first dialing message to the first virtual terminal corresponding to the first virtual terminal, the method further includes: receiving, by using the second port of the second virtual terminal, the simulated called party. a second dialing command; when the second port receives the first virtual terminal to initiate a call, sending a second response signal for simulating an off-hook response; and detecting a third dial sent by the first virtual terminal The third test result carries the third test data, and the third virtual terminal simulates the third dial test result of the called party according to the third test data, and sends the third dial test result to the first test data. The virtual terminal sends a fourth dial test message, where the fourth dial test message carries the fourth test data, so that the first virtual terminal obtains the first virtual terminal emulation master according to the fourth test data. Called the fourth dial test result.
在一实施方式中,在根据所述第三测试数据得到所述第二虚拟终端模拟被叫的第三拨测结果之后,还包括:将得到的所述模拟被叫的第三拨测结果,上报给拨测服务器。In an embodiment, after obtaining the third dial test result of the called virtual terminal according to the third test data, the method further includes: obtaining the third dial test result of the simulated called party, Reported to the dial test server.
在一实施方式中,在根据所述第二测试数据得到所述第二虚拟终端模拟主叫的第二拨测结果之后,还包括:将得到的所述模拟主叫的第二拨测结果, 上报给拨测服务器。In an embodiment, after obtaining the second dialing result of the second virtual terminal to simulate the calling party according to the second test data, the method further includes: obtaining the obtained second dialing result of the simulated calling party, Reported to the dial test server.
根据本发明的另一个实施例,提供了一种拨测方法,包括:确定拨测服务器所控制的网络中与第一拨测任务对应的拨测范围,其中,所述拨测范围包括:多对第一网元和第二网元;向所述拨测范围中的所述第一网元分别发送用于指示进行模拟主叫的第一拨测命令,向所述拨测范围中的所述第二网元分别发送用于指示进行模拟被叫的第二拨测命令,以使与所述第一网元对应的第一虚拟终端及与所述第二网元对应的第二虚拟终端建立呼叫连接,进行拨测测试;获取所述拨测范围中的所述第一网元上报的模拟主叫的第一拨测结果,以及所述拨测范围中的所述第二网元上报的模拟被叫的第二拨测结果;根据获取的所述第一拨测结果以及所述第二拨测结果,定位所述网络中的故障网元。According to another embodiment of the present invention, a dialing method is provided, including: determining a dialing range corresponding to a first dialing task in a network controlled by a dialing server, wherein the dialing range includes: And transmitting, by the first network element and the second network element, the first dialing command for instructing to perform the simulated calling to the first network element in the dialing range, to the location in the dialing range The second network element respectively sends a second dialing command for instructing the simulated called party, so that the first virtual terminal corresponding to the first network element and the second virtual terminal corresponding to the second network element Establishing a call connection, performing a dial test test, obtaining a first dial test result of the simulated caller reported by the first network element in the dialing range, and reporting the second network element in the dialing range Simulating the second dialing result of the called party; and locating the faulty network element in the network according to the obtained first dialing result and the second dialing result.
在一实施方式中,确定拨测服务器控制的网络中与第一拨测任务对应的拨测范围包括如下至少之一:在所述网络中包括环网的情况下,确定与所述第一拨测任务对应的所述拨测范围包括:所述环网中的至少两个网元;在所述网络中包括链形网的情况下,确定与所述第一拨测任务对应的所述拨测范围包括:所述链形网的末端网元,以及链形网的除了所述末端网元以外的至少一个网元。In an embodiment, determining that the dialing range corresponding to the first dialing task in the network controlled by the dialing server comprises at least one of: determining, in the case that the ring network is included in the network, determining the first dialing The dialing range corresponding to the measurement task includes: at least two network elements in the ring network; and in a case where the network includes a chain network, determining the dialing corresponding to the first dialing task The measurement range includes: an end network element of the chain network, and at least one network element of the chain network except the end network element.
在一实施方式中,确定拨测服务器控制的网络中与第一拨测任务对应的拨测范围包括:根据在所述第一拨测任务之前执行的第二拨测任务的拨测结果,结合所述网络的网络拓扑结构,确定与所述第一拨测任务对应的所述拨测范围,其中,与所述第一拨测任务对应的第一网络拓扑范围小于与所述第二拨测任务所对应的第二网络拓扑范围。In an embodiment, determining a dialing range corresponding to the first dialing task in the network controlled by the dialing server comprises: combining the dialing results of the second dialing task performed before the first dialing task Determining, by the network topology of the network, the dialing range corresponding to the first dialing task, where the first network topology range corresponding to the first dialing task is smaller than the second dialing The second network topology range corresponding to the task.
在一实施方式中,根据获取的所述第一拨测结果以及所述第二拨测结果,定位所述网络中的故障网元包括:根据所述第一拨测结果以及所述第二拨测结果中包含的拨测失败的拨测信息,确定所述故障网元所在的链路范围;根据确定的所述链路范围,定位所述故障网元。In an embodiment, the locating the faulty network element in the network, according to the obtained first dialing result and the second dialing result, according to the first dialing result and the second dialing The dialing test information of the failed test is included in the test result, and the link range in which the faulty network element is located is determined; and the faulty network element is located according to the determined link range.
根据本发明的又一个实施例,提供了一种拨测装置,包括:发送模块,设置为通过第二虚拟终端向第一虚拟号码对应的第一虚拟终端发送第一拨测消息,其中,所述第一拨测消息中携带有第一测试数据,以使所述第一虚 拟终端根据所述第一测试数据得到所述第一虚拟终端模拟被叫的第一拨测结果;检测模块,设置为检测所述第一虚拟终端响应所述第一拨测消息发送的第二拨测消息,其中,所述第二拨测消息中携带有第二测试数据;得到模块,设置为根据所述第二测试数据得到所述第二虚拟终端模拟主叫的第二拨测结果。According to still another embodiment of the present invention, a dialing device is provided, including: a sending module, configured to send, by using a second virtual terminal, a first dialing message to a first virtual terminal corresponding to the first virtual number, where The first test message carries the first test data, so that the first virtual The quasi terminal obtains the first dial test result of the first virtual terminal to simulate the called party according to the first test data; and the detecting module is configured to detect that the first virtual terminal sends the second response to the first dial test message And dialing the test message, wherein the second dial test message carries the second test data; and the obtaining module is configured to obtain the second dial test result of the second virtual terminal emulation caller according to the second test data.
在一实施方式中,所述得到模块,设置为在检测到所述第二测试数据的情况下,判断所述第二测试数据与预设测试数据是否一致;在所述第二测试数据与所述预设测试数据不一致的情况下,判断出所述第二虚拟终端模拟主叫的所述第二拨测结果为模拟拨测失败;在所述第二测试数据与所述预设测试数据一致的情况下,判断出所述第二虚拟终端模拟主叫的所述第二拨测结果为模拟拨测成功。In an embodiment, the obtaining module is configured to determine, according to the second test data, whether the second test data is consistent with the preset test data; and the second test data and the If the preset test data is inconsistent, it is determined that the second dialing result of the second virtual terminal simulates the calling party is an analog dialing test failure; and the second test data is consistent with the preset test data. In the case of the second virtual terminal, the second dialing result of the simulated calling party is determined to be a successful dialing test.
在一实施方式中,所述得到模块,设置为在未检测到所述第二测试数据的情况下,判断出所述第二虚拟终端模拟主叫的所述第二拨测结果为模拟拨测失败。In an embodiment, the obtaining module is configured to: when the second test data is not detected, determine that the second dialing result of the second virtual terminal simulates the calling party is an analog dialing test failure.
在一实施方式中,所述装置还包括:第一接收模块,发起模块和建立模块,所述第一接收模块,设置为通过所述第二虚拟终端的第一端口接收用于指示模拟主叫的第一拨测命令,其中,所述第一拨测命令中携带有所述第一虚拟号码;接收所述第一虚拟终端返回的用于模拟摘机应答的第一应答信号;所述发起模块,设置为向所述第一虚拟号码对应的所述第一虚拟终端发起呼叫;所述建立模块,设置为建立所述第二虚拟终端与所述第一虚拟终端之间的呼叫连接。In an embodiment, the apparatus further includes: a first receiving module, an initiating module, and an establishing module, where the first receiving module is configured to receive, by using the first port of the second virtual terminal, an analog calling party. a first dialing command, wherein the first dialing command carries the first virtual number; receiving a first response signal returned by the first virtual terminal for simulating an off-hook response; a module, configured to initiate a call to the first virtual terminal corresponding to the first virtual number, where the establishing module is configured to establish a call connection between the second virtual terminal and the first virtual terminal.
在一实施方式中,所述装置还包括:第二接收模块,其中,所述第二接收模块,设置为在通过第二虚拟终端向第一虚拟号码对应的第一虚拟终端发送第一拨测消息之前,通过所述第二虚拟终端的第二端口接收模拟被叫的第二拨测命令;所述发送模块,还设置为在所述第二端口接收所述第一虚拟终端发起呼叫的情况下,发送用于模拟摘机应答的第二应答信号;所述检测模块,还设置为检测所述第一虚拟终端发送的第三拨测消息,其中,所述第三拨测消息中携带有第三测试数据;所述得到模块,还设置为根据所述第三测试数据得到所述第二虚拟终端模拟被叫的第三拨测结果,并向所述第一虚拟 终端发送第四拨测消息,其中,所述第四拨测消息中携带有第四测试数据,以使所述第一虚拟终端根据所述第四测试数据得到所述第一虚拟终端模拟主叫的第四拨测结果。In an embodiment, the device further includes: a second receiving module, wherein the second receiving module is configured to send the first dialing to the first virtual terminal corresponding to the first virtual number by using the second virtual terminal Before the message, receiving, by the second port of the second virtual terminal, a second dialing command that simulates the called party; the sending module is further configured to receive, by the second port, the first virtual terminal to initiate a call. And sending a second response signal for simulating an off-hook response; the detecting module is further configured to detect a third dial-up message sent by the first virtual terminal, where the third dial-up message carries The third test data is further configured to obtain, according to the third test data, the third virtual terminal to simulate a third dial test result of the called party, and to the first virtual The terminal sends a fourth dial test message, where the fourth dial test message carries the fourth test data, so that the first virtual terminal obtains the first virtual terminal to simulate the calling according to the fourth test data. The fourth dial test result.
在一实施方式中,所述装置还包括:第一上报模块,设置为在根据所述第三测试数据得到所述第二虚拟终端模拟被叫的第三拨测结果之后,将得到的所述模拟被叫的第三拨测结果,上报给拨测服务器。In an embodiment, the apparatus further includes: a first reporting module, configured to: after obtaining the third dialing result of the second virtual terminal to simulate the called according to the third test data, Simulate the third dial test result of the called party and report it to the dial test server.
在一实施方式中,所述装置还包括:第二上报模块,设置为在根据所述第二测试数据得到所述第二虚拟终端模拟主叫的第二拨测结果之后,将得到的所述模拟主叫的第二拨测结果,上报给拨测服务器。In an embodiment, the apparatus further includes: a second reporting module, configured to: after obtaining the second dialing result of the second virtual terminal to simulate the calling party according to the second test data, The second dial test result of the simulated caller is reported to the dial test server.
根据本发明的又一个实施例,提供了一种拨测装置,包括:确定模块,设置为确定拨测服务器所控制的网络中与第一拨测任务对应的拨测范围,其中,所述拨测范围包括:多对第一网元和第二网元;发送模块,设置为向所述拨测范围中的所述第一网元分别发送用于指示进行模拟主叫的第一拨测命令,向所述拨测范围中的所述第二网元分别发送用于指示进行模拟被叫的第二拨测命令,以使与所述第一网元对应的第一虚拟终端及与所述第二网元对应的第二虚拟终端建立呼叫连接,进行拨测测试;获取模块,设置为获取所述拨测范围中的所述第一网元上报的模拟主叫的第一拨测结果,以及所述拨测范围中的所述第二网元上报的模拟被叫的第二拨测结果;定位模块,设置为根据获取的所述第一拨测结果以及所述第二拨测结果,定位所述网络中的故障网元。According to still another embodiment of the present invention, a dialing device is provided, including: a determining module, configured to determine a dialing range corresponding to the first dialing task in a network controlled by the dialing server, wherein the dialing The measurement range includes: a plurality of pairs of the first network element and the second network element; and a sending module, configured to send, to the first network element in the dialing range, a first dialing command for instructing to perform the simulated calling party Transmitting, to the second network element in the dialing range, a second dialing command for instructing the simulated called party, so that the first virtual terminal corresponding to the first network element and the The second virtual terminal corresponding to the second network element establishes a call connection, and performs a dial test test; the obtaining module is configured to obtain a first dial test result of the simulated caller reported by the first network element in the dialing measurement range, And the second dialing result of the simulated called party reported by the second network element in the dialing range; the positioning module is configured to set, according to the obtained first dialing test result and the second dialing test result, Locate the faulty network element in the network.
在一实施方式中,所述确定模块,设置为在所述网络中包括环网的情况下,确定与所述第一拨测任务对应的所述拨测范围包括如下至少之一:所述环网中的至少两个网元;在所述网络中包括链形网的情况下,确定与所述第一拨测任务对应的所述拨测范围包括:所述链形网的末端网元,以及链形网的除了所述末端网元以外的至少一个网元。In an embodiment, the determining module is configured to: when the ring network is included in the network, determine that the dialing range corresponding to the first dialing task comprises at least one of: the ring At least two network elements in the network; in the case that the network includes a chain network, determining the dialing range corresponding to the first dialing task includes: an end network element of the chain network, And at least one network element of the chain network other than the end network element.
在一实施方式中,所述确定模块,设置为根据在所述第一拨测任务之前执行的第二拨测任务的拨测结果,结合所述网络的网络拓扑结构,确定与所述第一拨测任务对应的所述拨测范围,其中,与所述第一拨测任务对应的第一网络拓扑范围小于与所述第二拨测任务所对应的第二网络拓扑范围。 In an embodiment, the determining module is configured to determine the first with the network topology of the network according to the dialing result of the second dialing task performed before the first dialing task. The dialing measurement range corresponding to the dialing task, wherein the first network topology range corresponding to the first dialing task is smaller than the second network topology range corresponding to the second dialing task.
在一实施方式中,所述定位模块,设置为根据所述第一拨测结果以及所述第二拨测结果中包含的拨测失败的拨测信息,确定所述故障网元所在的链路范围;根据确定的所述链路范围,定位所述故障网元。In an embodiment, the positioning module is configured to determine, according to the first dialing result and the dialing test information included in the dialing test result, the link where the faulty network element is located. Range; locate the faulty network element according to the determined link range.
根据本发明的又一个实施例,提供了一种拨测系统,包括:包括第一网元,第二网元和拨测服务器,所述第一网元包括上述实施例中任一项所述的装置;所述拨测服务器包括上述实施例中任一项所述的装置;所述第二网元,设置为接收所述第一网元发送的所述第一拨测消息,根据所述第一拨测消息中携带的所述第一测试数据得到所述第一虚拟终端模拟被叫的第一拨测结果;将得到的所述第一拨测结果上报给所述拨测服务器。According to still another embodiment of the present invention, a dialing system is provided, including: a first network element, a second network element, and a dialing server, where the first network element includes any one of the foregoing embodiments. The device of any one of the above embodiments, wherein the second network element is configured to receive the first dialing message sent by the first network element, according to the The first test data carried in the first dial test message is obtained by the first virtual terminal to simulate the first dial test result of the called party; and the obtained first dial test result is reported to the dial test server.
在一实施方式中,在所述拨测服务器有多个的情况下,多个所述拨测服务器通过级连的方式进行连接。In an embodiment, when there are a plurality of dialing servers, the plurality of dialing servers are connected by being cascaded.
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:通过第二虚拟终端向第一虚拟号码对应的第一虚拟终端发送第一拨测消息,其中,所述第一拨测消息中携带有第一测试数据,以使所述第一虚拟终端根据所述第一测试数据得到所述第一虚拟终端模拟被叫的第一拨测结果;检测所述第一虚拟终端响应所述第一拨测消息发送的第二拨测消息,其中,所述第二拨测消息中携带有第二测试数据;根据所述第二测试数据得到所述第二虚拟终端模拟主叫的第二拨测结果。According to still another embodiment of the present invention, a storage medium is also provided. The storage medium is configured to store a program code for performing the following steps: sending, by the second virtual terminal, the first dialing message to the first virtual terminal corresponding to the first virtual number, where the first dialing message carries a first test data, so that the first virtual terminal obtains a first dial test result of the first virtual terminal according to the first test data; and detects that the first virtual terminal responds to the first dial The second dial test message sent by the test message, wherein the second dial test message carries the second test data; and the second test result of the second virtual terminal simulated caller is obtained according to the second test data. .
在一实施方式中,存储介质还设置为存储用于执行以下步骤的程序代码:所述根据所述第二测试数据得到所述第二虚拟终端模拟主叫的第二拨测结果包括:在检测到所述第二测试数据的情况下,判断所述第二测试数据与预设测试数据是否一致;在所述第二测试数据与所述预设测试数据不一致的情况下,判断出所述第二虚拟终端模拟主叫的所述第二拨测结果为模拟拨测失败;在所述第二测试数据与所述预设测试数据一致的情况下,判断出所述第二虚拟终端模拟主叫的所述第二拨测结果为模拟拨测成功。In an embodiment, the storage medium is further configured to store program code for performing the following steps: the obtaining, by the second test data, the second dialing result of the second virtual terminal to simulate the calling party comprises: detecting In the case of the second test data, determining whether the second test data is consistent with the preset test data; and determining that the second test data is inconsistent with the preset test data The second dialing result of the virtual terminal emulating the calling party is the analog dialing test failure; if the second test data is consistent with the preset test data, determining that the second virtual terminal simulates the calling party The second dial test result is successful for the analog dial test.
在一实施方式中,存储介质还设置为存储用于执行以下步骤的程序代码:所述根据所述第二测试数据得到所述第二虚拟终端模拟主叫的第二拨测结果包括:在未检测到所述第二测试数据的情况下,判断出所述第二虚拟终端模拟主叫的所述第二拨测结果为模拟拨测失败。 In an embodiment, the storage medium is further configured to store program code for performing the following steps: the obtaining the second dialing result of the second virtual terminal emulation caller according to the second test data comprises: When the second test data is detected, it is determined that the second dialing result of the second virtual terminal analog caller is an analog dial test failure.
在一实施方式中,存储介质还设置为存储用于执行以下步骤的程序代码:在通过第二虚拟终端向第一虚拟号码对应的第一虚拟终端发送第一拨测消息之前,还包括:通过所述第二虚拟终端的第一端口接收用于指示模拟主叫的第一拨测命令,其中,所述第一拨测命令中携带有所述第一虚拟号码;向所述第一虚拟号码对应的所述第一虚拟终端发起呼叫;接收所述第一虚拟终端返回的用于模拟摘机应答的第一应答信号,建立所述第二虚拟终端与所述第一虚拟终端之间的呼叫连接。In an embodiment, the storage medium is further configured to store the program code for performing the following steps: before sending the first dialing message to the first virtual terminal corresponding to the first virtual number by using the second virtual terminal, the method further includes: passing The first port of the second virtual terminal receives a first dialing command for indicating an analog caller, where the first dialing command carries the first virtual number; to the first virtual number Corresponding to the first virtual terminal to initiate a call; receiving a first response signal returned by the first virtual terminal for simulating an off-hook response, establishing a call between the second virtual terminal and the first virtual terminal connection.
在一实施方式中,存储介质还设置为存储用于执行以下步骤的程序代码:在通过第二虚拟终端向第一虚拟号码对应的第一虚拟终端发送第一拨测消息之前,还包括:通过所述第二虚拟终端的第二端口接收模拟被叫的第二拨测命令;在所述第二端口接收第一虚拟终端发起呼叫的情况下,发送用于模拟摘机应答的第二应答信号;检测所述第一虚拟终端发送的第三拨测消息,其中,所述第三拨测消息中携带有第三测试数据;根据所述第三测试数据得到所述第二虚拟终端模拟被叫的第三拨测结果,并向所述第一虚拟终端发送第四拨测消息,其中,所述第四拨测消息中携带有第四测试数据,以使所述第一虚拟终端根据所述第四测试数据得到所述第一虚拟终端模拟主叫的第四拨测结果。In an embodiment, the storage medium is further configured to store the program code for performing the following steps: before sending the first dialing message to the first virtual terminal corresponding to the first virtual number by using the second virtual terminal, the method further includes: passing The second port of the second virtual terminal receives a second dialing command that simulates the called party; and when the second port receives the first virtual terminal to initiate a call, sends a second response signal for simulating an off-hook response. Detecting a third dial test message sent by the first virtual terminal, where the third dial test message carries third test data; and obtaining, according to the third test data, the second virtual terminal to simulate called a third dial test result, and sending a fourth dial test message to the first virtual terminal, where the fourth dial test message carries the fourth test data, so that the first virtual terminal is according to the The fourth test data obtains a fourth dial test result of the first virtual terminal emulation caller.
在一实施方式中,存储介质还设置为存储用于执行以下步骤的程序代码:在根据所述第三测试数据得到所述第二虚拟终端模拟被叫的第三拨测结果之后,还包括:将得到的所述模拟被叫的第三拨测结果,上报给拨测服务器。In an embodiment, the storage medium is further configured to: store the program code for performing the following steps: after obtaining the third dialing result of the called by the second virtual terminal according to the third test data, the method further includes: The obtained third dial test result of the simulated call is reported to the dial test server.
在一实施方式中,存储介质还设置为存储用于执行以下步骤的程序代码:在根据所述第二测试数据得到所述第二虚拟终端模拟主叫的第二拨测结果之后,还包括:将得到的所述模拟主叫的第二拨测结果,上报给拨测服务器。In an embodiment, the storage medium is further configured to: store the program code for performing the following steps: after obtaining the second dialing result of the second virtual terminal to simulate the calling party according to the second test data, the method further includes: The obtained second dial test result of the simulated caller is reported to the dial test server.
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:确定拨测服务器所控制的网络中与第一拨测任务对应的拨测范围,其中,所述拨测范围包括:多对第一网元和第二网元;向所述拨测范围中的所述第一网元分别发送用于指示进行模拟主叫 的第一拨测命令,向所述拨测范围中的所述第二网元分别发送用于指示进行模拟被叫的第二拨测命令,以使与所述第一网元对应的第一虚拟终端及与所述第二网元对应的第二虚拟终端建立呼叫连接,进行拨测测试;获取所述拨测范围中的所述第一网元上报的模拟主叫的第一拨测结果,以及所述拨测范围中的所述第二网元上报的模拟被叫的第二拨测结果;根据获取的所述第一拨测结果以及所述第二拨测结果,定位所述网络中的故障网元。According to still another embodiment of the present invention, a storage medium is also provided. The storage medium is configured to store program code for performing the following steps: determining a dialing range corresponding to the first dialing task in the network controlled by the dialing server, wherein the dialing range includes: a plurality of pairs of the first network And a second network element; respectively sent to the first network element in the dialing range for indicating an analog calling The first dialing command sends a second dialing command for instructing the simulated called party to the second network element in the dialing range to make the first corresponding to the first network element The virtual terminal and the second virtual terminal corresponding to the second network element establish a call connection, perform a dial test test, and obtain a first dial test result of the simulated caller reported by the first network element in the dialing range And the second dialing result of the simulated called party reported by the second network element in the dialing range; positioning the network according to the obtained first dialing result and the second dialing result The faulty network element in the middle.
在一实施方式中,存储介质还设置为存储用于执行以下步骤的程序代码:确定拨测服务器控制的网络中与第一拨测任务对应的拨测范围包括如下至少之一:在所述网络中包括环网的情况下,确定与所述第一拨测任务对应的所述拨测范围包括:所述环网中的至少两个网元;在所述网络中包括链形网的情况下,确定与所述第一拨测任务对应的所述拨测范围包括:所述链形网的末端网元,以及链形网的除了所述末端网元以外的至少一个网元。In an embodiment, the storage medium is further configured to store program code for: determining that the dialing range corresponding to the first dialing task in the network controlled by the dialing server comprises at least one of: at the network In the case that the ring network is included, determining the dialing range corresponding to the first dialing task includes: at least two network elements in the ring network; in the case where the network includes a chain network Determining the dialing range corresponding to the first dialing task includes: an end network element of the chain network, and at least one network element of the chain network except the end network element.
在一实施方式中,存储介质还设置为存储用于执行以下步骤的程序代码:确定拨测服务器控制的网络中与第一拨测任务对应的拨测范围包括:根据在所述第一拨测任务之前执行的第二拨测任务的拨测结果,结合所述网络的网络拓扑结构,确定与所述第一拨测任务对应的所述拨测范围,其中,与所述第一拨测任务对应的第一网络拓扑范围小于与所述第二拨测任务所对应的第二网络拓扑范围。In an embodiment, the storage medium is further configured to store program code for: determining that the dialing range corresponding to the first dialing task in the network controlled by the dialing server comprises: according to the first dialing The dialing test result of the second dialing task performed before the task is combined with the network topology of the network to determine the dialing range corresponding to the first dialing task, wherein the first dialing task is The corresponding first network topology range is smaller than the second network topology range corresponding to the second dialing task.
在一实施方式中,存储介质还设置为存储用于执行以下步骤的程序代码:根据获取的所述第一拨测结果以及所述第二拨测结果,定位所述网络中的故障网元包括:根据所述第一拨测结果以及所述第二拨测结果中包含的拨测失败的拨测信息,确定所述故障网元所在的链路范围;根据确定的所述链路范围,定位所述故障网元。In an embodiment, the storage medium is further configured to store program code for performing the following steps: locating the faulty network element in the network according to the obtained first dialing result and the second dialing result, including Determining, according to the first dialing result and the dialing test information of the dialing test failure included in the second dialing result, a link range in which the faulty network element is located; and positioning according to the determined link range The faulty network element.
通过本发明实施例,由于通过两个虚拟终端进行交互,互发测试数据,并根据测试数据得到模拟主被叫拨测的测试结果,从而实现网元之间的双向拨测测试,由于是两个虚拟终端之间进行的拨测,可以减少人工参与;由于成对的拨测用户可以存在多组,通过良好的设计,多组可以并行进行拨测,可以提高拨测的效率。According to the embodiment of the present invention, since the two virtual terminals interact with each other, the test data is mutually exchanged, and the test result of the simulated calling and called calls is obtained according to the test data, thereby implementing the two-way dial test test between the network elements, because it is two Dial-up testing between virtual terminals can reduce manual participation; since pairs of dial-up users can exist in multiple groups, through good design, multiple groups can be dialed in parallel, which can improve the efficiency of dial-up testing.
在阅读并理解了附图和详细描述后,可以明白其他方面。 Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是分层通信系统的示意图;Figure 1 is a schematic diagram of a layered communication system;
图2是本发明实施例的一种拨测方法的网元节点的硬件结构框图;2 is a block diagram showing the hardware structure of a network element node of a dialing method according to an embodiment of the present invention;
图3是根据本发明实施例的拨测方法的流程图一;3 is a flow chart 1 of a dialing method according to an embodiment of the present invention;
图4是根据本发明实施例的拨测方法的流程图二;4 is a second flowchart of a dialing method according to an embodiment of the present invention;
图5是根据本发明实施例的拨测服务器软件模块示意图;FIG. 5 is a schematic diagram of a dial test server software module according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的拨测服务器软件协作示意图;6 is a schematic diagram of cooperation of dial-up server software according to an embodiment of the present invention;
图7是根据本发明实施例的通信网络的组网结构图一;7 is a structural diagram 1 of a networking structure of a communication network according to an embodiment of the present invention;
图8是根据本发明实施例的通信网络的组网结构图二;FIG. 8 is a second structural diagram of a communication network according to an embodiment of the present invention; FIG.
图9是根据本发明实施例的拨测故障点示意图;9 is a schematic diagram of dialing a fault point according to an embodiment of the present invention;
图10是根据本发明实施例的拨测服务器分布式组网示意图;FIG. 10 is a schematic diagram of distributed networking of a dial-up server according to an embodiment of the present invention; FIG.
图11是根据本发明实施例的上下级拨测服务器协作示意图;11 is a schematic diagram of cooperation between a lower-level dialing test server according to an embodiment of the present invention;
图12是根据本发明实施例的模拟主叫功能示意图;12 is a schematic diagram of a simulated calling function according to an embodiment of the present invention;
图13是根据本发明实施例的模拟被叫功能示意图;FIG. 13 is a schematic diagram of a simulated called function according to an embodiment of the present invention; FIG.
图14是根据本发明实施例的模拟拨测功能示意图;14 is a schematic diagram of an analog dial test function according to an embodiment of the present invention;
图15是根据本发明实施例的拨测装置的结构框图一;Figure 15 is a block diagram 1 of a structure of a dialing device according to an embodiment of the present invention;
图16是根据本发明实施例的拨测装置的结构框图二;16 is a structural block diagram 2 of a dialing device according to an embodiment of the present invention;
图17是根据本发明实施例的拨测装置的结构框图三;17 is a structural block diagram 3 of a dialing device according to an embodiment of the present invention;
图18是根据本发明实施例的拨测装置的结构框图四;18 is a structural block diagram 4 of a dialing device according to an embodiment of the present invention;
图19是根据本发明实施例的拨测装置的结构框图五;19 is a structural block diagram 5 of a dialing device according to an embodiment of the present invention;
图20是根据本发明实施例的拨测装置的结构框图六;以及,20 is a structural block diagram 6 of a dialing device according to an embodiment of the present invention; and
图21是根据本发明实施例的拨测系统的结构框图。21 is a block diagram showing the structure of a dial test system according to an embodiment of the present invention.
详述Detailed
下文中将参考附图并结合实施例来详细说明本发明的实施方式。 Embodiments of the present invention will be described in detail below with reference to the drawings in conjunction with the embodiments.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order.
实施例1Example 1
本申请实施例1所提供的方法实施例可以在网元节点、服务器移动终端、计算机终端或者类似的运算装置中执行。以运行在服务器上为例,图2是本发明实施例的一种拨测方法的网元节点的硬件结构框图。如图2所示,服务器20可以包括一个或多个(图中仅示出一个)处理器22(处理器22可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器24、以及用于通信功能的传输装置26。本领域普通技术人员可以理解,图2所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,服务器20还可包括比图2中所示更多或者更少的组件,或者具有与图2所示不同的配置。The method embodiment provided by Embodiment 1 of the present application can be executed in a network element node, a server mobile terminal, a computer terminal, or the like. Taking the operation on the server as an example, FIG. 2 is a hardware structural block diagram of a network element node of a dialing method according to an embodiment of the present invention. As shown in FIG. 2, server 20 may include one or more (only one shown) processor 22 (processor 22 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), A memory 24 for storing data, and a transmission device 26 for communication functions. It will be understood by those skilled in the art that the structure shown in FIG. 2 is merely illustrative and does not limit the structure of the above electronic device. For example, server 20 may also include more or fewer components than those shown in FIG. 2, or have a different configuration than that shown in FIG. 2.
存储器24可设置为存储应用软件的软件程序以及模块,如本发明实施例中的拨测方法对应的程序指令/模块,处理器22通过运行存储在存储器24内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器24可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器24可进一步包括相对于处理器22远程设置的存储器,这些远程存储器可以通过网络连接至服务器20。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 24 can be configured as a software program and a module for storing application software, such as a program instruction/module corresponding to the dialing method in the embodiment of the present invention, and the processor 22 executes each by executing a software program and a module stored in the memory 24. A functional application and data processing, that is, the above method is implemented. Memory 24 may include high speed random access memory and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 24 may further include memory remotely located relative to processor 22, which may be connected to server 20 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输装置26设置为经由一个网络接收或者发送数据。上述的网络实例可包括服务器20的通信供应商提供的无线网络。在一个实例中,传输装置26包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置26可以为射频(Radio Frequency,RF)模块,其设置为通过无线方式与互联网进行通讯。Transmission device 26 is arranged to receive or transmit data via a network. The network instance described above may include a wireless network provided by a communication provider of the server 20. In one example, transmission device 26 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission device 26 can be a Radio Frequency (RF) module configured to communicate with the Internet wirelessly.
在本实施例中提供了一种运行于上述网元节点的拨测方法,图3是根据本发明实施例的拨测方法的流程图一,如图3所示,该流程包括如下步 骤:In this embodiment, a dialing test method is provided, and FIG. 3 is a flowchart 1 of a dialing method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps. Step:
步骤S302,通过第二虚拟终端向第一虚拟号码对应的第一虚拟终端发送第一拨测消息,其中,第一拨测消息中携带有第一测试数据,以使第一虚拟终端根据第一测试数据得到第一虚拟终端模拟被叫的第一拨测结果;Step S302, the first virtual test terminal sends a first dial test message to the first virtual terminal corresponding to the first virtual terminal, where the first dial test message carries the first test data, so that the first virtual terminal is according to the first The test data is obtained by the first virtual terminal to simulate the first dial test result of the called party;
步骤S304,检测第一虚拟终端响应第一拨测消息发送的第二拨测消息,其中,第二拨测消息中携带有第二测试数据;Step S304, detecting a second dialing test message sent by the first virtual terminal in response to the first dialing test message, where the second dialing test message carries the second test data;
步骤S306,根据第二测试数据得到第二虚拟终端模拟主叫的第二拨测结果。Step S306, obtaining a second dialing result of the second virtual terminal to simulate the calling party according to the second test data.
通过上述步骤,通过两个虚拟终端进行交互,互发测试数据,并根据测试数据得到模拟主被叫拨测的测试结果,提高了拨测效率。Through the above steps, the two virtual terminals interact with each other, and the test data is mutually exchanged, and the test result of the simulated main and called calls is obtained according to the test data, thereby improving the dialing efficiency.
在一实施方式中,在步骤S306中,根据第二测试数据得到第二虚拟终端模拟主叫的第二拨测结果可以有多种方式,例如,在未检测到第二测试数据的情况下,判断出第二虚拟终端模拟主叫的第二拨测结果为模拟拨测失败。又例如,在检测到第二测试数据的情况下,判断第二测试数据与预设测试数据是否一致;在第二测试数据与预设测试数据不一致的情况下,判断出第二虚拟终端模拟主叫的第二拨测结果为模拟拨测失败;在第二测试数据与预设测试数据一致的情况下,判断出第二虚拟终端模拟主叫的第二拨测结果为模拟拨测成功。再例如,还可以判断预设时间段内是否接收到第一虚拟终端发送过来的数据(不论接收到的是什么类型的数据),如果接收到,判断出第二虚拟终端模拟主叫的第二拨测结果为模拟拨测成功,如果未接收到,判断出第二虚拟终端模拟主叫的第二拨测结果为模拟拨测失败。In an embodiment, in step S306, obtaining the second dialing result of the second virtual terminal to simulate the calling party according to the second test data may be in multiple manners, for example, if the second test data is not detected, It is determined that the second dialing result of the second virtual terminal simulating the calling party is an analog dialing test failure. For example, in the case that the second test data is detected, it is determined whether the second test data is consistent with the preset test data; and if the second test data is inconsistent with the preset test data, the second virtual terminal is simulated. The second dial test result is the analog dial test failure; if the second test data is consistent with the preset test data, it is determined that the second dial test result of the second virtual terminal simulates the caller is the analog dial test success. For example, it is also determined whether the data sent by the first virtual terminal is received in the preset time period (regardless of what type of data is received), and if received, determining that the second virtual terminal simulates the second call of the calling party. The dial test result is successful for the analog dial test. If it is not received, it is determined that the second dial test result of the second virtual terminal simulates the caller is an analog dial test failure.
下面举例对上述实施例进行说明。The above embodiment will be described below by way of example.
在与第二虚拟终端对应的网元中预先配置期望从其它虚拟终端接收的测试数据(即,预设测试数据),以及接收测试数据的预设时间,测试数据可以是语音业务数据,还可以是数据业务数据或者其他类型的业务数据。预设时间可以是虚拟终端作为模拟主叫时从向被叫方虚拟终端发送完测试数据的时刻开始的一段时间,还可以是虚拟终端作为模拟被叫时从做出模 拟摘机应答的时刻开始的一段时间。Pre-configuring test data (ie, preset test data) that is expected to be received from other virtual terminals in the network element corresponding to the second virtual terminal, and receiving a preset time of the test data, where the test data may be voice service data, or Is data business data or other types of business data. The preset time may be a period of time from the moment when the virtual terminal sends the test data to the called party virtual terminal as the simulated calling party, or may be the mode when the virtual terminal is used as the simulated called party. A period of time from the moment the off-hook responds.
在预设时间内,检测是否有从第一虚拟终端发送来的第二测试数据。如果检测到第二测试数据,判断检测到的第二测试数据与预设测试数据是否一致。如果是,判断出第二虚拟终端模拟主叫的第二拨测结果为模拟拨测成功。在未检测到第二测试数据,以及检测到的第二测试数据与预设测试数据不一致时,判断出第二虚拟终端模拟主叫的第二拨测结果为模拟拨测失败。During the preset time, it is detected whether there is second test data sent from the first virtual terminal. If the second test data is detected, it is determined whether the detected second test data is consistent with the preset test data. If yes, it is determined that the second dialing result of the second virtual terminal simulating the calling party is successful for the analog dialing test. When the second test data is not detected, and the detected second test data is inconsistent with the preset test data, it is determined that the second dialing result of the second virtual terminal simulates the calling party is an analog dial test failure.
通过本发明实施例,通过不同的检测结果第二虚拟终端模拟主叫的拨测结果,可以更加精确地确定模拟主叫的拨测结果,提高拨测测试的准确性。Through the embodiment of the present invention, the second virtual terminal simulates the dialing test result of the calling party through different detection results, so that the dialing test result of the simulated calling party can be determined more accurately, and the accuracy of the dialing test is improved.
在一实施方式中,在步骤S302之前,可以采用多种方式建立第一、第二虚拟终端之间的呼叫连接。例如,可以通过第二虚拟终端的第一端口接收用于指示模拟主叫的第一拨测命令,其中,第一拨测命令中携带有第一虚拟号码;向第一虚拟号码对应的第一虚拟终端发起呼叫;接收第一虚拟终端返回的用于模拟摘机应答的第一应答信号,建立第二虚拟终端与第一虚拟终端之间的呼叫连接。也即,通过第一端口接收用于模拟主叫的拨测命令,该拨测命令中携带有第一虚拟终端对应的第一虚拟号码,此时第一端口虚拟出第二虚拟终端。其他可以建立第一虚拟终端与第二虚拟终端的呼叫连接的方式,均可用来进行本实施例的呼叫连接。In an embodiment, before step S302, a call connection between the first and second virtual terminals may be established in multiple manners. For example, the first dialing command for indicating the simulated calling party may be received by the first port of the second virtual terminal, where the first dialing command carries the first virtual number; the first corresponding to the first virtual number The virtual terminal initiates a call; receives a first response signal returned by the first virtual terminal for simulating an off-hook response, and establishes a call connection between the second virtual terminal and the first virtual terminal. That is, the dialing command for simulating the calling party is received by the first port, where the dialing command carries the first virtual number corresponding to the first virtual terminal, and the first port virtualizes the second virtual terminal. Other manners in which a call connection between the first virtual terminal and the second virtual terminal can be established can be used to perform the call connection in this embodiment.
通过本发明实施例,根据拨测命令,在网元的接口虚拟出终端进行拨测测试,可以利用网元的已有结构,无需在网元中添加新的硬件或者复杂的软件模块化即可实现拨测,降低了拨测的成本,降低了拨测测试的复杂度。According to the embodiment of the present invention, according to the dialing test command, the dialing test is performed on the virtual terminal of the interface of the network element, and the existing structure of the network element can be utilized, without adding new hardware or complicated software modularization in the network element. The realization of the dial test reduces the cost of the dial test and reduces the complexity of the dial test.
在一实施方式中,在步骤S302之前,还可以在第二虚拟终端所在的网元中进行模拟被叫的拨测测试。例如,可以通过第二虚拟终端的第二端口接收模拟被叫的第二拨测命令;在第二端口接收第一虚拟终端发起呼叫的情况下,发送用于模拟摘机应答的第二应答信号;检测第一虚拟终端发送的第三拨测消息,其中,第三拨测消息中携带有第三测试数据;根据第三测试数据得到第二虚拟终端模拟被叫的第三拨测结果,并向第一虚拟终端 发送第四拨测消息,其中,第四拨测消息中携带有第四测试数据,以使第一虚拟终端根据第四测试数据得到第一虚拟终端模拟主叫的第四拨测结果。In an embodiment, before the step S302, the dial test of the simulated called party may also be performed in the network element where the second virtual terminal is located. For example, the second dialing command of the simulated called party may be received by the second port of the second virtual terminal; and the second answering signal for simulating the off-hook response is sent if the second port receives the first virtual terminal to initiate the call. Detecting a third dial test message sent by the first virtual terminal, where the third dial test message carries the third test data; and obtaining, according to the third test data, the second virtual terminal to simulate the third dial test result of the called party, and To the first virtual terminal The fourth dial test message is sent, where the fourth dial test message carries the fourth test data, so that the first virtual terminal obtains the fourth dial test result of the first virtual terminal emulation caller according to the fourth test data.
通过本发明实施例,第一虚拟终端和第二虚拟终端可以形成模拟主被叫对(同一虚拟终端可以分别与多个其他虚拟终端形成模拟主被叫对),分别对模拟主被叫对中的虚拟终端进行模拟主叫和模拟被叫的拨测测试,从而实现全面的模拟拨测。According to the embodiment of the present invention, the first virtual terminal and the second virtual terminal may form an analog main called party pair (the same virtual terminal may form a simulated calling party pair with a plurality of other virtual terminals respectively), and respectively pair the simulated calling party and the called party. The virtual terminal performs a dial test test for simulating the calling party and simulating the called party, thereby implementing a comprehensive analog dial test.
在一实施方式中,在得到拨测结果以后,可以将得到的拨测结果上报给拨测服器。例如,在根据第三测试数据得到第二虚拟终端模拟被叫的第三拨测结果之后,还包括:将得到的模拟被叫的第三拨测结果,上报给拨测服务器。又例如,在根据第二测试数据得到第二虚拟终端模拟主叫的第二拨测结果之后,将得到的模拟主叫的第二拨测结果,上报给拨测服务器。In an embodiment, after the dialing result is obtained, the obtained dialing result can be reported to the dialing server. For example, after the third virtual terminal simulates the third dialing result of the called party according to the third test data, the method further includes: reporting the obtained third dialing result of the simulated called party to the dialing test server. For example, after obtaining the second dialing result of the second virtual terminal to simulate the calling party according to the second test data, the second dialing result of the simulated calling party is reported to the dialing test server.
在本实施例中还提供了一种运行于拨测服务器的拨测方法,图4是根据本发明实施例的拨测方法的流程图二,如图4所示,该流程包括如下步骤:In the embodiment, a dialing test method is also provided, and FIG. 4 is a flowchart 2 of the dialing method according to the embodiment of the present invention. As shown in FIG. 4, the process includes the following steps:
步骤S402,确定拨测服务器所控制的网络中与第一拨测任务对应的拨测范围,其中,拨测范围包括:多对第一网元和第二网元;Step S402, determining a dialing measurement range corresponding to the first dialing task in the network controlled by the dialing server, where the dialing range includes: multiple pairs of the first network element and the second network element;
步骤S404,向拨测范围中的第一网元分别发送用于指示进行模拟主叫的第一拨测命令,向拨测范围中的第二网元分别发送用于指示进行模拟被叫的第二拨测命令,以使与第一网元对应的第一虚拟终端及与第二网元对应的第二虚拟终端建立呼叫连接,进行拨测测试;Step S404: Send a first dialing command for instructing to perform the simulated calling to the first network element in the dialing range, and send a second instruction to the second network element in the dialing range to indicate that the simulated called party is to be sent. And dialing the test command to establish a call connection between the first virtual terminal corresponding to the first network element and the second virtual terminal corresponding to the second network element, and perform a dial test test;
步骤S406,获取拨测范围中的第一网元上报的模拟主叫的第一拨测结果,以及拨测范围中的第二网元上报的模拟被叫的第二拨测结果;Step S406: Acquire a first dialing result of the simulated calling party reported by the first network element in the dialing range, and a second dialing result of the simulated called party reported by the second network element in the dialing range;
步骤S408,根据获取的第一拨测结果以及第二拨测结果,定位网络中的故障网元。Step S408: Locating the faulty network element in the network according to the obtained first dialing test result and the second dialing test result.
通过上述步骤,通过确定拨测服务器控制的网络中与拨测任务对应的拨测范围,并分别向拨测范围内的第一网元和第二网元下发模拟主被叫拨 测命令,并根据第一、第二网元上报的拨测结果,进行故障网元的定位,提高了拨测效率。同时,还可以通过软件的方式进行拨测测试,降低了网络的拨测成本。Through the above steps, the dialing measurement range corresponding to the dialing task in the network controlled by the dialing server is determined, and the simulated main called party is sent to the first network element and the second network element in the dialing range respectively. The test command is used to locate the faulty network element according to the dialed test result reported by the first and second network elements, thereby improving the dialing efficiency. At the same time, the dial test can be tested by software, which reduces the cost of dialing the network.
在一实施方式中,在步骤S402中,可以通过多种方式确定拨测任务对应的拨测范围。例如,可以以该拨测服务器控制的网络中的所有网元节点作为与拨测任务对应的拨测范围,又例如,可以在该拨测服务器控制的网络中的所有网元节点随机选取若干网元节点作为与拨测任务对应的拨测范围。又例如,还可以根据不同的网络结构,采用不同的规则选择网元节点作为与拨测任务对应的拨测范围:在网络中包括环网的情况下,确定与第一拨测任务对应的拨测范围包括:环网中的至少两个网元;在网络中包括链形网的情况下,确定与第一拨测任务对应的拨测范围包括:链形网的末端网元,以及链形网的除了末端网元以外的至少一个网元。In an embodiment, in step S402, the dialing range corresponding to the dialing task can be determined in multiple manners. For example, all the network element nodes in the network controlled by the dialing server can be used as the dialing range corresponding to the dialing task, and for example, all the network element nodes in the network controlled by the dialing server can randomly select several networks. The meta-node acts as the dialing range corresponding to the dial-up task. For example, according to different network structures, the network element node may be selected as a dialing measurement range corresponding to the dialing task according to different rules: in the case that the network includes the ring network, determining the dialing corresponding to the first dialing task The measurement range includes: at least two network elements in the ring network; in the case that the network includes the chain network, determining the dialing range corresponding to the first dialing task includes: the end network element of the chain network, and the chain shape At least one network element of the network except the end network element.
通过本发明实施例,采用不同的规则选择网元节点作为与拨测任务对应的拨测范围,可以适用于不同的网络拓扑结果,减少了拨测次数,提高了拨测效率。According to the embodiment of the present invention, the network element node is selected as the dialing measurement range corresponding to the dialing test task by using different rules, which can be applied to different network topology results, reduces the number of dialing measurements, and improves the dialing measurement efficiency.
在一实施方式中,在步骤S402中,还可以采用如下方式确定与拨测任务对应的拨测范围:根据在第一拨测任务之前执行的第二拨测任务的拨测结果,结合网络的网络拓扑结构,确定与第一拨测任务对应的拨测范围,其中,与第一拨测任务对应的第一网络拓扑范围小于与第二拨测任务所对应的第二网络拓扑范围。也即,可以先对较大的网络范围进行拨测测试,根据拨测结果,确定有进一步的拨测需求时(例如,网络中由故障网元节点),根据前次的拨测结果,缩小拨测范围,在较小的网络范围进行拨测测试。In an embodiment, in step S402, the dialing range corresponding to the dialing task can also be determined in the following manner: according to the dialing result of the second dialing task performed before the first dialing task, combined with the network The network topology determines a dialing range corresponding to the first dialing task, where the first network topology range corresponding to the first dialing task is smaller than the second network topology range corresponding to the second dialing task. That is to say, the dial test can be performed on the larger network range first, and according to the dial test result, it is determined that there is further dial test demand (for example, the faulty network element node in the network), and is reduced according to the previous dial test result. Dial the test range and perform dial test tests on a smaller network range.
通过本发明实施例,通过执行两次拨测任务进行故障网元节点的定位,可以减少故障网元定位所需的模拟主被叫的次数,提高故障网元定位的效率。According to the embodiment of the present invention, by performing the dialing test task to locate the faulty network element node, the number of simulated main and called terminals required for faulty network element positioning can be reduced, and the efficiency of faulty network element positioning is improved.
在一实施方式中,可以采用多种方式定位网络中的故障网元,例如,可以根据第一拨测结果以及第二拨测结果中包含的拨测失败的拨测信息,确定故障网元所在的链路范围;根据确定的链路范围,定位故障网元。 In an embodiment, the faulty network element in the network may be located in multiple manners. For example, the faulty network element may be determined according to the first dialing test result and the dialing test information included in the dialing test result. Link range; locate faulty network elements based on the determined link range.
基于上述实施例及实施方式,为说明方案的整个流程交互,在本实施例中,提供了一种拨测系统,以及可以应用该系统的拨测方法,下面分别对本实施例中所提供的系统及方法进行说明。Based on the foregoing embodiments and implementation manners, in order to explain the entire process interaction of the solution, in this embodiment, a dialing test system and a dialing test method to which the system can be applied are provided. The following provides the system provided in this embodiment separately. And methods to explain.
本实施例中所提供的拨测系统包括:一个或多个自动拨测服务器(作用同前述拨测服务器)。该自动拨测服务器的硬件实体可以是一台个人计算机(Personal Computer,简称为PC)或服务器。根据辖区内需要拨测的网元个数不同,对计算机的性能要求有所变化。但总得来说,并不需要很高级的服务器。因为系统支持分布部署,可以采用多级服务器组网来满足性能要求。如图5所示,该自动拨测服务器在软件方面包括以下几个模块:系统总控模块52、配置管理模块54、呼叫路由选择模块56、呼叫及结果收集模块58、结果分析模块510、结果展示模块512以及数据库模块514。下面分别对上述七个模块的进行描述。The dialing test system provided in this embodiment includes: one or more automatic dial test servers (acting the same as the dial test server). The hardware entity of the automatic dial test server may be a personal computer (Personal Computer, PC for short) or a server. According to the number of network elements that need to be dialed in the jurisdiction, the performance requirements of the computer have changed. But in general, you don't need a very advanced server. Because the system supports distributed deployment, multi-level server networking can be used to meet performance requirements. As shown in FIG. 5, the automatic dial test server includes the following modules in software: a system master control module 52, a configuration management module 54, a call routing module 56, a call and result collection module 58, a result analysis module 510, and a result. The module 512 and the database module 514 are displayed. The above seven modules are described separately below.
配置管理模块54,可以设置为:The configuration management module 54 can be set to:
(1)提供用于输入辖区内的网络拓扑、接入网元信息,以及拨测用户信息的界面;(1) providing an interface for inputting a network topology within the jurisdiction, accessing network element information, and dialing user information;
(2)提供对拨测计划进行配置的界面。(2) Provide an interface for configuring the dial plan.
系统总控模块52,可以设置为:The system master control module 52 can be set to:
(1)根据配置的拨测计划,调度启动拨测任务;(1) According to the configured dialing plan, the scheduling starts the dialing task;
(2)在拨测过程中,根据结果分析模块510的输出结果,确定是进行进一步的拨测,还是拨测结束;(2) In the dialing process, according to the output result of the result analysis module 510, it is determined whether to perform further dialing or end of dialing;
(3)接收外部的请求,对于辖区内的指定节点进行拨测,并将拨测结果返回给请求方。(3) Receiving an external request, making a dial test for the designated node in the jurisdiction, and returning the dial test result to the requester.
呼叫路由选择模块56,可以设置为:The call routing module 56 can be set to:
(1)接收系统总控模块52的拨测任务,结合网络拓扑自动分析产生拨测的拨测清单,包括主被叫网元以及拨测的号码集合,该拨测清单是最小的测试集合,并将拨测清单发送给呼叫及结果收集模块58;(1) The dialing test task of the receiving system total control module 52, combined with the network topology automatic analysis, generates a dialing test list, including the calling and called network elements and the dialed number set, which is the smallest test set. And sending the dialing list to the call and result collection module 58;
(2)在进一步拨测时,根据结果分析模块510中的过程数据,结合网络拓扑自动分析产生拨测的主被叫网元以及拨测的号码清单,该清单是足以 定位故障点的测试集合,输出给呼叫及结果收集模块58。(2) When further dialing, according to the process data in the result analysis module 510, the network topology is automatically analyzed to generate a dialed test of the called party network element and the dialed number list, which is sufficient The test set of the fault point is located and output to the call and result collection module 58.
呼叫及结果收集模块58,可以设置为:The call and result collection module 58 can be configured to:
(1)在系统总控模块52的调度下,根据呼叫路由选择模块56提供的测试集合,远程登录到主叫网元进行模拟呼叫的测试(远程登录后通过向主叫网元下发拨测命令),并收集呼叫的结果,并对呼叫结果进行简单分析,以标准形式提供成功或失败的结果;(1) Under the scheduling of the system master control module 52, according to the test set provided by the call routing module 56, remotely log in to the calling network element to perform an analog call test (after remote login, the dialing is sent to the calling network element) Command), and collect the results of the call, and perform a simple analysis of the call results to provide success or failure results in standard form;
(2)针对通信网络中的网元存在网元厂家、网元类型多样的情况,根据不同网元的拨测需求,进行相应的处理:对网元下发的拨测命令进行对应调整,从而适用不同的网元,以使模拟呼叫正常进行;(2) In the case where the network element in the communication network has a variety of network element manufacturers and network element types, the corresponding processing is performed according to the dialing test requirements of different network elements: the dialing test commands sent by the network element are correspondingly adjusted, thereby Different network elements are applied to make the analog call work normally;
(3)通过算法管理测试集合,对呼叫进行适当的并行处理(即,多个网元同时进行模拟呼叫),以减少拨测时间。(3) The test set is managed by an algorithm, and the call is appropriately parallelized (that is, multiple network elements simultaneously perform analog calls) to reduce the dialing time.
(4)拨测完成之后,得到呼叫的汇总结果,输出给结果分析模块510。(4) After the dial test is completed, the summary result of the call is obtained and output to the result analysis module 510.
结果分析模块510,可以设置为:The result analysis module 510 can be set to:
(1)对呼叫的汇总结果进行分析,判断通信网络是否存在拨测问题(拨测不成功,例如,网元作为主叫或者被叫时拨测失败);(1) Analyze the summary result of the call to determine whether there is a dial-up problem in the communication network (the dial-up test is unsuccessful, for example, the dial-up fails when the network element is used as the calling or called);
(2)在判断存在问题的情况下(即,存在故障网元),分析汇总结果,得到一个缩小的拓扑图(也就是缩小网络拓扑图,把故障节点定位在一个更小的范围内),提供给系统总控模块52,进行进一步的拨测;(2) In the case of judging that there is a problem (ie, there is a faulty network element), analyzing the summary result, and obtaining a reduced topology map (that is, reducing the network topology map and positioning the faulty node in a smaller range), Provided to the system master control module 52 for further dialing;
(3)在判断拨测完成的情况下,输出拨测的结果给结果展示模块512。(3) In the case where it is judged that the dialing is completed, the result of the dialing test is output to the result display module 512.
结果展示模块512,可以设置为:The result display module 512 can be set to:
(1)根据接收到的拨测结果进行展示;(1) Display according to the received dial test results;
(2)在展示中,对于故障点进行重点呈现;(2) In the demonstration, focus on the fault point;
(3)对历史的拨测结果进行回溯。(3) Backtracking the historical dialing results.
数据库模块514,可以设置为:The database module 514 can be set to:
存储网络拓扑、网元的拨测结果等。Storage network topology, dialing results of network elements, and so on.
在该自动拨测服务器中,除配置管理模块54、数据库模块514外,其它几个模块的协作如图6所示。系统总控模块52负责任务的下发及决策; 呼叫路由选择模块56根据任务要求分解得到呼叫清单;呼叫及结果收集模块58根据呼叫清单进行呼叫;结果分析模块510分析呼叫结果,在需要进一步呼叫时,提供必要的信息给总控模块进行详细拨测;结果展示模块512展示呼叫结果以及发现的问题。In the automatic dial test server, in addition to the configuration management module 54, the database module 514, the cooperation of several other modules is as shown in FIG. 6. The system master control module 52 is responsible for the issuance and decision making of tasks; The call routing module 56 decomposes the call list according to the task requirement; the call and result collection module 58 makes a call according to the call list; the result analysis module 510 analyzes the call result, and provides necessary information to the master control module for detailed dialing when further calls are needed. The results display module 512 displays the results of the call and the problems found.
呼叫路由选择模块56结合网络拓扑自动分析产生拨测的主被叫网元以及拨测的号码集合,在第一次是个呼叫清单的简集,第二次是缩小拓扑后的呼叫清单的全集。The call routing module 56 automatically analyzes the generated primary and called network elements and the dialed number set in combination with the network topology. The first time is a simple set of call lists, and the second time is a complete set of call lists after the topology is reduced.
下面对拨测服务器所控制的网络的拓扑结构进行说明。The topology of the network controlled by the dial-up server is described below.
图7是根据本发明实施例的通信网络的组网结构图一,如图7所示,该通信网络的组网结构为基层通信网络,该网络是一个环形加链形的网络;通信网络会存在很多这样的基层通信网络,多个网络在一起就形成如图8所示的组网结构。FIG. 7 is a network structure diagram of a communication network according to an embodiment of the present invention. As shown in FIG. 7, the networking structure of the communication network is a base layer communication network, and the network is a ring-chained network; the communication network will There are many such base layer communication networks, and a plurality of networks together form a networking structure as shown in FIG.
由图7、图8可以看出,网络上的网元数量相当多,如果进行两两的拨测,那么呼叫量非常大,占用时间长,效率不高。所以可以对测试集做一定的简化,从而提高拨测效率。It can be seen from FIG. 7 and FIG. 8 that the number of network elements on the network is quite large. If two or two dial tests are performed, the call volume is very large, takes a long time, and is inefficient. Therefore, the test set can be simplified to improve the efficiency of dialing.
可以采用下面的原则进行简化:It can be simplified by the following principles:
(1)环网,可以随机的对环上的结点采集若干个进行测试。(1) Ring network, which can randomly collect several nodes on the ring for testing.
(2)链形网,可以随机的对链上非端点的结点采集若干个进行测试,以及对链的末端结点进行测试。(2) Chain network, which can randomly test several nodes on the non-endpoint of the chain and test the end nodes of the chain.
因为测试的次数比较多,随机的测试也能保证在一段时间内网络上的所在结点都会被测试到。Because the number of tests is relatively high, random tests can guarantee that the nodes on the network will be tested for a period of time.
以图7为例,假设第一次测试的网元集合是网元A1、A2、A4、A7、B2、B3。在测试时,发现网元A4与网元A1间拨测有问题。Taking FIG. 7 as an example, it is assumed that the network element set tested for the first time is the network elements A1, A2, A4, A7, B2, and B3. During the test, it was found that there was a problem in dialing between the network element A4 and the network element A1.
为了分析故障点,缩小拓扑到该故障点所在的环网,呼叫路由选择模块分析该环网,生成对环网上的所有点进行拨测的呼叫清单,假设清单是A1分别与A2-A8各点进行拨测。In order to analyze the fault point and narrow the topology to the ring network where the fault point is located, the call routing module analyzes the ring network and generates a call list for dialing all points on the ring network, assuming that the list is A1 and A2-A8 respectively. Make a dial test.
通过呼叫及结果收集模块的拨测,根据拨测的结果来确认故障点。假设发现只有A1与A3、A1与A4不通,这样可以得到如图9所示的结果, 即A3与A2间断开,A4与A5间断开。Through the dialing test of the call and result collection module, the fault point is confirmed according to the result of the dial test. Suppose that only A1 and A3, A1 and A4 are not connected, so that the result shown in Figure 9 can be obtained. That is, A3 and A2 are disconnected, and A4 and A5 are disconnected.
在呈现方面,在结果展示模块中采用无级缩放的方式,呈现出类似于图8、图9综合起来的效果。In terms of rendering, the result display module adopts a stepless zooming manner, and presents an effect similar to that of FIG. 8 and FIG.
本实施例中所提供自动拨测服务器具有简易的堆叠的能力。它可以接受外部的请求,对于辖区内的指定节点进行拨测,并返回拨测结果给请求方。分层部署的自动拨测服务器组网如图10所示。对于图10中的上级拨测服务器,它的被测试网元分属于各下属辖区,它是所有下属辖区网元的一个子集,由这个子集组成拨测号码集合。当发现出现拨测异常时,它请求相关的下属拨测服务器进行进一步分析,当下属拨测服务器并返回结果时,在上级拨测服务器的结果呈现模块进行呈现。The automatic dial test server provided in this embodiment has the capability of simple stacking. It can accept external requests, dial the test for the specified node in the jurisdiction, and return the dial test results to the requester. Figure 10 shows the network of the automatic dial-up server deployed in a layered manner. For the superior dial-up server in FIG. 10, its tested network element belongs to each subordinate jurisdiction, which is a subset of all subordinate jurisdiction network elements, and this subset constitutes a dialed number set. When it is found that the dial-up abnormality occurs, it requests the relevant subordinate dial test server for further analysis. When the subordinate dials the test server and returns the result, the result presentation module of the upper dial test server is presented.
上级服务器与下级服务器协作如图11所示。通过协作,上级服务器可以方便的进行全网拨测而不必管理所有的网元。在网络结点更多的情况下,可以出现多级的服务器组网,这样会存在有的服务器它既是下级网络的上级服务器,也是上级网络的下级服务器的情况。此时依旧采用逐级下发的方式进行故障点的进一步拨测,最后得到的拨测结果逐级上传,从而达到堆叠组网,覆盖全网的效果。The upper server cooperates with the lower server as shown in Figure 11. Through collaboration, the upper-level server can conveniently perform network-wide dialing without having to manage all network elements. In the case of more network nodes, multi-level server networking can occur, so there will be some servers. It is both the upper-level server of the lower-level network and the lower-level server of the upper-level network. At this time, the method of sending the faults is used to perform the further dialing of the fault point, and the obtained dialing test result is uploaded step by step, thereby achieving the effect of stacking the network and covering the whole network.
下面对本发明实施例中的拨测方法进行阐述。The dialing method in the embodiment of the present invention will be described below.
大多数的接入网关均支持模拟主叫功能与模拟被叫功能。模拟主叫功能与模拟被叫功能如下:Most access gateways support analog calling and analog called. The analog calling function and the simulated called function are as follows:
1)接入网关的模拟主叫功能1) Analog caller function of the access gateway
接入网关具备的模拟主叫功能可以如图12所示。当接收到模拟主叫的命令后,网元(如,接入网关)在系统中模拟了一个虚拟用户,通过虚拟用户发起一个呼叫给测试配合人,测试配合人听到振铃之后,摘机,听到虚拟用户发出的特殊音(例如,可以是双音多频音,或者其它类型的声音),确认语音正常之后,配合测试人挂机,网元出具模拟主叫测试的结果报告。The analog calling function of the access gateway can be as shown in Figure 12. After receiving the command to simulate the calling party, the network element (for example, the access gateway) simulates a virtual user in the system, initiates a call to the test partner through the virtual user, and the test partner hears the ringing and then picks up the phone. When you hear a special tone from a virtual user (for example, it can be a dual-tone multi-tone, or other type of sound), after confirming that the voice is normal, the tester hangs up and the network element issues a result report of the simulated caller test.
从上述过程可以看出,语音的正常检测只是确认了从虚拟用户发送到测试配合人的单向语音正常。 As can be seen from the above process, the normal detection of voice only confirms that the one-way voice sent from the virtual user to the test partner is normal.
2)接入网关的模拟被叫功能2) Analog called function of the access gateway
接入网关具备的模拟被叫功能可以如图13所示。当接收到模拟被叫的命令后,网元(如,接入网关)在系统中模拟了一个虚拟用户,测试配合人发起一个呼叫给虚拟用户,虚拟用户检测到振铃的信令之后,模拟摘机,测试配合人听到虚拟用户发出的特殊音(例如,可以是双音多频音,或者其它类型的声音),确认语音正常之后,配合测试人挂机,网元出具模拟被叫测试的结果报告。The analog called function of the access gateway can be as shown in FIG. After receiving the command to simulate the called party, the network element (for example, the access gateway) simulates a virtual user in the system, and the test partner initiates a call to the virtual user. After the virtual user detects the ringing signaling, the simulation simulates Off-hook, test the person who hears the special sound from the virtual user (for example, it can be dual-tone multi-tone, or other types of sound). After confirming that the voice is normal, the tester hangs up and the network element issues the simulated called test. Results report.
从上述过程可以看出,语音的正常检测只是确认了从虚拟用户发送到测试配合人的单向语音正常。As can be seen from the above process, the normal detection of voice only confirms that the one-way voice sent from the virtual user to the test partner is normal.
本发明实施例中所提供的拨测方法,对接入网关的模拟主叫、模拟被叫功能进行改造,该拨测方法如图14所示,模拟拨测需要两个虚拟用户,假设主叫方的是虚拟用户A,被叫方的是虚拟用户B。In the dialing test method provided in the embodiment of the present invention, the function of simulating the calling party and simulating the called party of the access gateway is modified. The dialing method is shown in Figure 14. The analog dialing requires two virtual users, assuming the calling party. The virtual user A is the virtual user B and the called party is the virtual user B.
当网元A接收到虚拟用户A的模拟拨测的要求时,虚拟了一个主叫方的用户A。当网元B接收到虚拟用户B的模拟拨测试的要求时,虚拟了一个被叫方的用户B。虚拟用户A自动发起一个呼叫给虚拟用户B,B模拟摘机应答,A发送特殊音,B检测;然后B发送特殊音,A检测;然后分别挂机,释放资源。呼叫释放之后,网元A出具模拟拨测的结果报告,报告中描述虚拟用户A是否听到虚拟用户B的特殊音;网元B出具模拟拨测的结果报告,报告中描述虚拟用户B是否听到虚拟用户A的特殊音。When the network element A receives the request of the virtual user A's analog dial test, the user A of the calling party is virtualized. When the network element B receives the request of the virtual user B's analog dial test, the user B of the called party is virtualized. Virtual user A automatically initiates a call to virtual user B, B simulates an off-hook response, A sends a special tone, B detects; then B sends a special tone, A detects; then hangs up and releases the resources. After the call is released, the network element A issues a result report of the analog dial test. The report describes whether the virtual user A hears the special sound of the virtual user B. The network element B issues a report of the simulated dial test, and the report describes whether the virtual user B listens. A special tone to virtual user A.
从这个过程可以看出,模拟拨测的语音检测是双向的,确保了呼叫可达,且通话的双向语音功能正常。It can be seen from this process that the voice detection of the analog dial test is two-way, ensuring that the call is reachable, and the two-way voice function of the call is normal.
上述拨测方法,是对语音进行双向的检测。如果将它扩展到数据业务,对数据业务中的传真、Modem数据的双向通信进行检测,那么就可以将本实施例中所述的拨测方法应用于数据业务的自动拨测。The dialing method described above is a two-way detection of voice. If the data service is extended to the two-way communication of the fax and the modem data in the data service, the dialing method described in this embodiment can be applied to the automatic dialing of the data service.
关于接入网关的模拟拨测方法,下面采用一个实施范例来进行描述,主要描述呼叫及结果收集模块中的实施过程。The analog dialing method for the access gateway is described below using an embodiment, mainly describing the implementation process in the call and result collection module.
下面以某一型号的接入网关的模拟呼叫操作方法进行说明。The following describes the analog call operation method of a certain type of access gateway.
1、模拟被叫功能 1, analog called function
calleesimulate slot 2 index 0 action 1 timeout 60Calleesimulate slot 2 index 0 action 1 timeout 60
说明:将槽位2端口0模拟为被叫,它会等待有人呼入。Description: Simulate slot 2 port 0 as called, it will wait for someone to call in.
get-callsimulateinfo slot 2 index 0Get-callsimulateinfo slot 2 index 0
说明:获取模拟被叫测试的结果。Description: Get the result of the simulated called test.
2、模拟主叫功能2, analog caller function
callersimulate slot 1 index 0 action 1 dialno calledid timeout 60Callersimulate slot 1 index 0 action 1 dialno calledid timeout 60
说明:在槽位1端口0拨打calledid号码。Description: Dial the calledid number in slot 1 port 0.
get-callsimulateinfo slot 1 index 0Get-callsimulateinfo slot 1 index 0
说明:获取模拟主叫测试的结果。Description: Get the result of the simulated caller test.
3、对模拟主叫功能与模块被叫功能进行改进之后,可以得到模拟拨测功能。采用拨测功能进行拨测的过程如下:3. After the analog calling function and the called function of the module are improved, the analog dialing function can be obtained. The process of dialing the dial test function is as follows:
假设槽位2端口0的号码是19860000,设置模拟主叫的calledid的号码是19860000。模拟主叫用户记作用户A,模拟被叫用户记作用户B。Assume that the number of slot 2 port 0 is 19860000, and the number of the called id that simulates the calling party is 19860000. The simulated calling user is recorded as user A, and the simulated called user is recorded as user B.
依次执行前述模拟主叫和模拟被叫的配置操作,执行之后,用户A会自动拨打用户B;用户B自动摘机应答之后,A发送特殊音,B检测;然后B发送特殊音,A检测;然后分别挂机,释放资源。Perform the foregoing configuration operations of the simulated calling party and the simulated called party. After the execution, user A will automatically dial user B; after user B automatically picks up the phone, A sends a special tone, B detects; then B sends a special tone, A detection; Then hang up and release the resources.
在用户A听用户B特殊音正常的情况下,主叫方得到模拟主叫的拨测结果为“Result:SIM_SUCCESS”,反之,得到模拟主叫的拨测结果为“Result:SIM_FAILED”;在用户B听用户A特殊音正常的情况下,被叫方得到模拟被叫的拨测结果为“Result:SIM_SUCCESS”,反之,得到模拟被叫的拨测结果为“Result:SIM_FAILED”。In the case that user A listens to the normal sound of user B, the calling party obtains the dialing result of the simulated calling party as “Result: SIM_SUCCESS”, and vice versa, the dialing result of the simulated calling party is “Result: SIM_FAILED”; B. When the user A's special tone is normal, the called party obtains the dialed test result of the simulated called party as "Result: SIM_SUCCESS", and vice versa, the dialed test result of the simulated called party is "Result: SIM_FAILED".
一次呼叫及结果收集的主要处理过程如下:The main processing of a call and result collection is as follows:
(1)根据拓扑信息中描述的网元类型,生成模拟主叫、模拟被叫的命令。(1) Generate a command to simulate the calling party and simulate the called party according to the network element type described in the topology information.
(2)通过网元的管理通道,连接到主被叫网元上,执行模拟拨测中的模拟主叫、模拟被叫的命令。(2) Connect to the calling and called NEs through the management channel of the network element, and execute the analog caller in the analog dial test and simulate the called command.
(3)过一段时间后,在主被叫网元上获取模拟拨测的结果。 (3) After a period of time, the result of the analog dial test is obtained on the calling party and the called network element.
(4)分析得到拨测成功或失败的结果。(4) Analyze the results of successful or failed dialing tests.
通过本发明实施例,提供了一种拨测方法,该方法可以应用于一个分布式的、可堆叠的自动拨测系统,该拨测系统提供了呼叫路由选择、呼叫及结果收集、结果分析以及结果呈现的功能,为通信网络的拨测提供低成本的解决方案。Through the embodiment of the present invention, a dialing method is provided, which can be applied to a distributed, stackable automatic dialing system, which provides call routing, call and result collection, result analysis, and The resulting functionality provides a low-cost solution for dial-up testing of communication networks.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such an understanding, the present application can be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), including a plurality of instructions for causing a terminal device (may It is a mobile phone, a computer, a server, or a network device, etc.) that performs the methods described in various embodiments of the present invention.
实施例2Example 2
在本实施例中提供了一种拨测装置,该装置用于实现上述实施例及实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置可以以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a dialing device is provided, which is used to implement the foregoing embodiments and implementation manners, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图15是根据本发明实施例的拨测装置的结构框图一,如图15所示,该装置包括:Figure 15 is a block diagram showing the structure of a dialing device according to an embodiment of the present invention. As shown in Figure 15, the device includes:
发送模块152,设置为通过第二虚拟终端向第一虚拟号码对应的第一虚拟终端发送第一拨测消息,其中,第一拨测消息中携带有第一测试数据,以使第一虚拟终端根据第一测试数据得到第一虚拟终端模拟被叫的第一拨测结果;The sending module 152 is configured to send, by using the second virtual terminal, the first dialing message to the first virtual terminal corresponding to the first virtual number, where the first dialing message carries the first test data, so that the first virtual terminal Obtaining, according to the first test data, the first dialing result of the first virtual terminal to simulate the called party;
检测模块154,连接至上述发送模块152,设置为检测第一虚拟终端响应第一拨测消息发送的第二拨测消息,其中,第二拨测消息中携带有第二测试数据;The detecting module 154 is connected to the sending module 152, and configured to detect a second dialing message sent by the first virtual terminal in response to the first dialing message, where the second dialing message carries the second test data;
得到模块156,连接至上述检测模块154,设置为根据第二测试数据得 到第二虚拟终端模拟主叫的第二拨测结果。The obtaining module 156 is connected to the detecting module 154 and configured to obtain the second test data. The second virtual terminal is simulated to simulate the second dialing result of the calling party.
在一实施方式中,得到模块156,可以设置为在检测到第二测试数据的情况下,判断第二测试数据与预设测试数据是否一致;在第二测试数据与预设测试数据不一致的情况下,判断出第二虚拟终端模拟主叫的第二拨测结果为模拟拨测失败;在第二测试数据与预设测试数据一致的情况下,判断出第二虚拟终端模拟主叫的第二拨测结果为模拟拨测成功。In an embodiment, the obtaining module 156 may be configured to determine, according to the second test data, whether the second test data is consistent with the preset test data; and the second test data is inconsistent with the preset test data. Next, determining that the second dialing result of the second virtual terminal simulates the calling party is an analog dialing test failure; and if the second test data is consistent with the preset test data, determining that the second virtual terminal simulates the second calling of the calling party The dial test result is successful for the analog dial test.
在一实施方式中,得到模块156,可以设置为在未检测到第二测试数据的情况下,判断出第二虚拟终端模拟主叫的第二拨测结果为模拟拨测失败。In an embodiment, the obtaining module 156 may be configured to determine that the second dialing result of the second virtual terminal emulation caller is an analog dialing failure if the second test data is not detected.
图16是根据本发明实施例的拨测装置的结构框图二,如图16所示,该装置除包括图15所示的所有模块外,还包括:第一接收模块162,发起模块164和建立模块166,其中,16 is a structural block diagram 2 of a dialing device according to an embodiment of the present invention. As shown in FIG. 16, the device includes: a first receiving module 162, an initiating module 164, and an establishment, in addition to all the modules shown in FIG. Module 166, wherein
第一接收模块162,设置为通过第二虚拟终端的第一端口接收用于指示模拟主叫的第一拨测命令,其中,第一拨测命令中携带有第一虚拟号码;接收第一虚拟终端返回的用于模拟摘机应答的第一应答信号;The first receiving module 162 is configured to receive, by using the first port of the second virtual terminal, a first dialing command for indicating an analog calling, where the first dialing command carries the first virtual number; and the first virtual number is received; a first response signal returned by the terminal for simulating an off-hook response;
发起模块164,连接至上述第一接收模块162,设置为向第一虚拟号码对应的第一虚拟终端发起呼叫;The initiating module 164 is connected to the first receiving module 162, and is configured to initiate a call to the first virtual terminal corresponding to the first virtual number.
建立模块166,连接至上述发起模块164,设置为建立第二虚拟终端与第一虚拟终端之间的呼叫连接。The establishing module 166 is connected to the initiating module 164, and is configured to establish a call connection between the second virtual terminal and the first virtual terminal.
图17是根据本发明实施例的拨测装置的结构框图三,如图17所示,该装置除包括图15所示的所有模块外,还包括:第二接收模块172,其中,FIG. 17 is a structural block diagram of a dialing device according to an embodiment of the present invention. As shown in FIG. 17, the device includes: a second receiving module 172, in addition to all the modules shown in FIG.
第二接收模块172,设置为在通过第二虚拟终端向第一虚拟号码对应的第一虚拟终端发送第一拨测消息之前,通过第二虚拟终端的第二端口接收模拟被叫的第二拨测命令;The second receiving module 172 is configured to receive the second call of the simulated called party by using the second port of the second virtual terminal before sending the first dialing message to the first virtual terminal corresponding to the first virtual terminal by using the second virtual terminal. Test command
发送模块152,还可以设置为在第二端口接收第一虚拟终端发起呼叫的情况下,发送用于模拟摘机应答的第二应答信号;The sending module 152 may be further configured to send a second response signal for simulating an off-hook response if the second port receives the first virtual terminal to initiate a call;
检测模块154,还可以设置为检测第一虚拟终端发送的第三拨测消息,其中,第三拨测消息中携带有第三测试数据; The detecting module 154 is further configured to detect a third dialing test message sent by the first virtual terminal, where the third dialing test message carries the third test data;
得到模块156,还可以设置为根据第三测试数据得到第二虚拟终端模拟被叫的第三拨测结果,并向第一虚拟终端发送第四拨测消息,其中,第四拨测消息中携带有第四测试数据,以使第一虚拟终端根据第四测试数据得到第一虚拟终端模拟主叫的第四拨测结果。The obtaining module 156 is further configured to obtain a third dialing result of the second virtual terminal to simulate the called party according to the third test data, and send a fourth dialing test message to the first virtual terminal, where the fourth dialing test message carries There is a fourth test data, so that the first virtual terminal obtains the fourth dialing result of the first virtual terminal to simulate the calling party according to the fourth test data.
图18是根据本发明实施例的拨测装置的结构框图四,如图18所示,该装置除包括图17所示的所有模块外,还包括:FIG. 18 is a structural block diagram of a dialing device according to an embodiment of the present invention. As shown in FIG. 18, the device includes: in addition to all the modules shown in FIG.
第一上报模块182,设置为在根据第三测试数据得到第二虚拟终端模拟被叫的第三拨测结果之后,将得到的模拟被叫的第三拨测结果,上报给拨测服务器。The first reporting module 182 is configured to report the third dialed result of the simulated called party to the dialing test server after the third dialing result of the second virtual terminal is simulated according to the third test data.
图19是根据本发明实施例的拨测装置的结构框图五,如图19所示,该装置除包括图15所示的所有模块外,还包括:FIG. 19 is a block diagram 5 of a structure of a dialing device according to an embodiment of the present invention. As shown in FIG. 19, the device includes:
第二上报模块192,设置为在根据第二测试数据得到第二虚拟终端模拟主叫的第二拨测结果之后,将得到的模拟主叫的第二拨测结果,上报给拨测服务器。The second reporting module 192 is configured to report the second dialing result of the simulated calling party to the dialing test server after obtaining the second dialing result of the second virtual terminal to simulate the calling party according to the second test data.
在本实施例中还提供了一种拨测装置,图20是根据本发明实施例的拨测装置的结构框图六,如图20所示,该装置包括:In the embodiment, a dialing device is also provided. FIG. 20 is a structural block diagram of a dialing device according to an embodiment of the present invention. As shown in FIG. 20, the device includes:
确定模块202,设置为确定拨测服务器所控制的网络中与第一拨测任务对应的拨测范围,其中,拨测范围包括:多对第一网元和第二网元;The determining module 202 is configured to determine a dialing range corresponding to the first dialing task in the network controlled by the dialing server, where the dialing range includes: multiple pairs of the first network element and the second network element;
发送模块204,连接至上述确定模块202,设置为向拨测范围中的第一网元分别发送用于指示进行模拟主叫的第一拨测命令,向拨测范围中的第二网元分别发送用于指示进行模拟被叫的第二拨测命令,以使与第一网元对应的第一虚拟终端及与第二网元对应的第二虚拟终端建立呼叫连接,进行拨测测试;The sending module 204 is connected to the determining module 202, and configured to send, to the first network element in the dialing range, a first dialing command for instructing to perform the simulated calling, respectively, to the second network element in the dialing range. Sending a second dialing command for instructing the simulated called party to establish a call connection between the first virtual terminal corresponding to the first network element and the second virtual terminal corresponding to the second network element, and performing a dial test test;
获取模块206,连接至上述发送模块204,设置为获取拨测范围中的第一网元上报的模拟主叫的第一拨测结果,以及拨测范围中的第二网元上报的模拟被叫的第二拨测结果;The obtaining module 206 is connected to the sending module 204, and is configured to obtain a first dialing result of the simulated calling party reported by the first network element in the dialing range, and an analog called party reported by the second network element in the dialing range. The second dial test result;
定位模块208,连接至上述获取模块206,设置为根据获取的第一拨测结果以及第二拨测结果,定位网络中的故障网元。 The locating module 208 is connected to the acquiring module 206, and is configured to locate the faulty network element in the network according to the obtained first dialing result and the second dialing result.
在一实施方式中,确定模块202,可以设置为在网络中包括环网的情况下,确定与第一拨测任务对应的拨测范围包括如下至少之一:环网中的至少两个网元;在网络中包括链形网的情况下,确定与第一拨测任务对应的拨测范围包括:链形网的末端网元,以及链形网的除了末端网元以外的至少一个网元。In an embodiment, the determining module 202 may be configured to determine, when the ring network is included in the network, that the dialing range corresponding to the first dialing task includes at least one of the following: at least two network elements in the ring network. In the case that the network includes a chain network, determining the dialing range corresponding to the first dialing task includes: an end network element of the chain network, and at least one network element of the chain network except the end network element.
在一实施方式中,确定模块202,可以设置为根据在第一拨测任务之前执行的第二拨测任务的拨测结果,结合网络的网络拓扑结构,确定与第一拨测任务对应的拨测范围,其中,与第一拨测任务对应的第一网络拓扑范围小于与第二拨测任务所对应的第二网络拓扑范围。In an embodiment, the determining module 202 may be configured to determine, according to the dialing result of the second dialing task performed before the first dialing task, the dialing corresponding to the first dialing task according to the network topology of the network. The measurement range, wherein the first network topology range corresponding to the first dialing task is smaller than the second network topology range corresponding to the second dialing task.
在一实施方式中,定位模块208,可以设置为根据第一拨测结果以及第二拨测结果中包含的拨测失败的拨测信息,确定故障网元所在的链路范围;根据确定的链路范围,定位故障网元。In an embodiment, the positioning module 208 may be configured to determine, according to the first dialing result and the dialing test information included in the dialing test result, the link range where the faulty network element is located; Route range, locate the faulty network element.
本发明实施例中还提供了一种拨测系统,图21是根据本发明实施例的拨测系统的结构框图,如图21所示,该系统包括:第一网元212,第二网元214和拨测服务器216,其中,In the embodiment of the present invention, a dialing test system is provided. FIG. 21 is a structural block diagram of a dialing test system according to an embodiment of the present invention. As shown in FIG. 21, the system includes: a first network element 212, and a second network element. 214 and dial test server 216, wherein
第一网元212包括图15至图19中的任一拨测装置;The first network element 212 includes any of the dialing devices of FIGS. 15-19;
拨测服务器216包括图20中的拨测装置;The dialing server 216 includes the dialing device of FIG. 20;
第二网元214,设置为接收第一网元212发送的第一拨测消息,根据第一拨测消息中携带的第一测试数据得到第一虚拟终端模拟被叫的第一拨测结果;将得到的第一拨测结果上报给拨测服务器216。The second network element 214 is configured to receive the first dial test message sent by the first network element 212, and obtain the first dial test result of the first virtual terminal to simulate the called party according to the first test data carried in the first dial test message; The obtained first dial test result is reported to the dial test server 216.
在一实施方式中,在拨测服务器有多个的情况下,多个拨测服务器可以通过级连的方式进行连接。In an embodiment, when there are multiple dialing servers, the plurality of dialing servers may be connected in a cascade manner.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
实施例3Example 3
本发明的实施例中提供了一种存储介质。在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码: A storage medium is provided in an embodiment of the present invention. In this embodiment, the above storage medium may be configured to store program code for performing the following steps:
S1,通过第二虚拟终端向第一虚拟号码对应的第一虚拟终端发送第一拨测消息,其中,第一拨测消息中携带有第一测试数据,以使第一虚拟终端根据第一测试数据得到第一虚拟终端模拟被叫的第一拨测结果;S1, the first virtual test terminal sends a first test message to the first virtual terminal corresponding to the first virtual terminal, where the first test message carries the first test data, so that the first virtual terminal is tested according to the first test. The data is obtained by the first virtual terminal to simulate the first dial test result of the called party;
S2,检测第一虚拟终端响应第一拨测消息发送的第二拨测消息,其中,第二拨测消息中携带有第二测试数据;S2, detecting a second dialing test message sent by the first virtual terminal in response to the first dialing test message, where the second dialing test message carries the second test data;
S3,根据第二测试数据得到第二虚拟终端模拟主叫的第二拨测结果。S3. Obtain a second dialing result of the second virtual terminal to simulate the calling party according to the second test data.
在一实施方式中,存储介质还被设置为存储用于执行以下步骤的程序代码:In an embodiment, the storage medium is further arranged to store program code for performing the following steps:
根据第二测试数据得到第二虚拟终端模拟主叫的第二拨测结果包括:The second dialing result of the second virtual terminal emulating the calling party according to the second test data includes:
S1,在检测到第二测试数据的情况下,判断第二测试数据与预设测试数据是否一致;S1. If the second test data is detected, determine whether the second test data is consistent with the preset test data.
S2,在第二测试数据与预设测试数据不一致的情况下,判断出第二虚拟终端模拟主叫的第二拨测结果为模拟拨测失败;S2. If the second test data is inconsistent with the preset test data, determine that the second dial test result of the second virtual terminal simulates the caller is an analog dial test failure;
S3,在第二测试数据与预设测试数据一致的情况下,判断出第二虚拟终端模拟主叫的第二拨测结果为模拟拨测成功。S3. If the second test data is consistent with the preset test data, determine that the second dial test result of the second virtual terminal simulates the caller is successful for the analog dial test.
在一实施方式中,存储介质还被设置为存储用于执行以下步骤的程序代码:In an embodiment, the storage medium is further arranged to store program code for performing the following steps:
根据第二测试数据得到第二虚拟终端模拟主叫的第二拨测结果包括:The second dialing result of the second virtual terminal emulating the calling party according to the second test data includes:
S1,在未检测到第二测试数据的情况下,判断出第二虚拟终端模拟主叫的第二拨测结果为模拟拨测失败。S1. If the second test data is not detected, determine that the second dialing result of the second virtual terminal emulation caller is an analog dial test failure.
在一实施方式中,存储介质还被设置为存储用于执行以下步骤的程序代码:In an embodiment, the storage medium is further arranged to store program code for performing the following steps:
在通过第二虚拟终端向第一虚拟号码对应的第一虚拟终端发送第一拨测消息之前,还包括:Before the sending, by the second virtual terminal, the first dialing message to the first virtual terminal corresponding to the first virtual terminal, the method further includes:
S1,通过第二虚拟终端的第一端口接收用于指示模拟主叫的第一拨测命令,其中,第一拨测命令中携带有第一虚拟号码;S1, the first dialing command for indicating the simulated calling party is received by the first port of the second virtual terminal, where the first dialing command carries the first virtual number;
S2,向第一虚拟号码对应的第一虚拟终端发起呼叫; S2. A call is initiated to the first virtual terminal corresponding to the first virtual number.
S3,接收第一虚拟终端返回的用于模拟摘机应答的第一应答信号,建立第二虚拟终端与第一虚拟终端之间的呼叫连接。S3. Receive a first response signal returned by the first virtual terminal for simulating an off-hook response, and establish a call connection between the second virtual terminal and the first virtual terminal.
在一实施方式中,存储介质还被设置为存储用于执行以下步骤的程序代码:In an embodiment, the storage medium is further arranged to store program code for performing the following steps:
在通过第二虚拟终端向第一虚拟号码对应的第一虚拟终端发送第一拨测消息之前,还包括:Before the sending, by the second virtual terminal, the first dialing message to the first virtual terminal corresponding to the first virtual terminal, the method further includes:
S1,通过第二虚拟终端的第二端口接收模拟被叫的第二拨测命令;S1. The second dialing command of the simulated called party is received by the second port of the second virtual terminal.
S2,在第二端口接收第一虚拟终端发起呼叫的情况下,发送用于模拟摘机应答的第二应答信号;S2. When the second port receives the first virtual terminal to initiate a call, sending a second response signal for simulating an off-hook response.
S3,检测第一虚拟终端发送的第三拨测消息,其中,第三拨测消息中携带有第三测试数据;S3. The third dial test message sent by the first virtual terminal is detected, where the third dial test message carries the third test data.
S4,根据第三测试数据得到第二虚拟终端模拟被叫的第三拨测结果,并向第一虚拟终端发送第四拨测消息,其中,第四拨测消息中携带有第四测试数据,以使第一虚拟终端根据第四测试数据得到第一虚拟终端模拟主叫的第四拨测结果。S4: The third test result of the second virtual terminal is simulated according to the third test data, and the fourth dial test message is sent to the first virtual terminal, where the fourth dial test message carries the fourth test data. The first virtual terminal obtains the fourth dialing result of the first virtual terminal to simulate the calling party according to the fourth test data.
在一实施方式中,存储介质还被设置为存储用于执行以下步骤的程序代码:In an embodiment, the storage medium is further arranged to store program code for performing the following steps:
在根据第三测试数据得到第二虚拟终端模拟被叫的第三拨测结果之后,还包括:After obtaining the third dial test result of the second virtual terminal to simulate the called according to the third test data, the method further includes:
S1,将得到的模拟被叫的第三拨测结果,上报给拨测服务器。S1, the obtained third dial test result of the simulated called party is reported to the dialing test server.
在一实施方式中,存储介质还被设置为存储用于执行以下步骤的程序代码:In an embodiment, the storage medium is further arranged to store program code for performing the following steps:
在根据第二测试数据得到第二虚拟终端模拟主叫的第二拨测结果之后,还包括:After obtaining the second dialing result of the second virtual terminal to simulate the calling party according to the second test data, the method further includes:
S2,将得到的模拟主叫的第二拨测结果,上报给拨测服务器。S2, the second dial test result of the simulated caller is reported to the dial test server.
本发明的实施例中还提供了一种存储介质。在一实施方式中,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码: A storage medium is also provided in an embodiment of the present invention. In an embodiment, in the embodiment, the storage medium may be configured to store program code for performing the following steps:
S1,确定拨测服务器所控制的网络中与第一拨测任务对应的拨测范围,其中,拨测范围包括:多对第一网元和第二网元;S1, determining a dialing range corresponding to the first dialing task in the network controlled by the dialing server, where the dialing range includes: multiple pairs of the first network element and the second network element;
S2,向拨测范围中的第一网元分别发送用于指示进行模拟主叫的第一拨测命令,向拨测范围中的第二网元分别发送用于指示进行模拟被叫的第二拨测命令,以使与第一网元对应的第一虚拟终端及与第二网元对应的第二虚拟终端建立呼叫连接,进行拨测测试;S2. The first dialing command for instructing to perform the simulated calling is sent to the first network element in the dialing range, and the second network element in the dialing range is separately sent to indicate the second called to simulate the called party. And dialing a test command to establish a call connection between the first virtual terminal corresponding to the first network element and the second virtual terminal corresponding to the second network element, and perform a dial test test;
S3,获取拨测范围中的第一网元上报的模拟主叫的第一拨测结果,以及拨测范围中的第二网元上报的模拟被叫的第二拨测结果;S3, obtaining a first dialing result of the simulated calling party reported by the first network element in the dialing range, and a second dialing result of the simulated called party reported by the second network element in the dialing range;
S4,根据获取的第一拨测结果以及第二拨测结果,定位网络中的故障网元。S4: Locating the faulty network element in the network according to the obtained first dialing result and the second dialing result.
在一实施方式中,存储介质还被设置为存储用于执行以下步骤的程序代码:In an embodiment, the storage medium is further arranged to store program code for performing the following steps:
确定拨测服务器控制的网络中与第一拨测任务对应的拨测范围包括如下至少之一:Determining the dialing range corresponding to the first dialing task in the network controlled by the dialing server includes at least one of the following:
S1,在网络中包括环网的情况下,确定与第一拨测任务对应的拨测范围包括:环网中的至少两个网元;In the case that the ring network is included in the network, the dialing measurement range corresponding to the first dialing task is determined to include: at least two network elements in the ring network;
S2,在网络中包括链形网的情况下,确定与第一拨测任务对应的拨测范围包括:链形网的末端网元,以及链形网的除了末端网元以外的至少一个网元。S2. In the case that the network includes a chain network, determining a dialing range corresponding to the first dialing task includes: an end network element of the chain network, and at least one network element of the chain network except the end network element. .
在一实施方式中,存储介质还被设置为存储用于执行以下步骤的程序代码:In an embodiment, the storage medium is further arranged to store program code for performing the following steps:
确定拨测服务器控制的网络中与第一拨测任务对应的拨测范围包括:Determining the dialing range corresponding to the first dialing task in the network controlled by the dialing server includes:
S1,根据在第一拨测任务之前执行的第二拨测任务的拨测结果,结合网络的网络拓扑结构,确定与第一拨测任务对应的拨测范围,其中,与第一拨测任务对应的第一网络拓扑范围小于与第二拨测任务所对应的第二网络拓扑范围。S1. Determine, according to the dialing result of the second dialing task performed before the first dialing task, the dialing measurement range corresponding to the first dialing task according to the network topology of the network, where the first dialing task is The corresponding first network topology range is smaller than the second network topology range corresponding to the second dialing task.
在一实施方式中,存储介质还被设置为存储用于执行以下步骤的程序代码:In an embodiment, the storage medium is further arranged to store program code for performing the following steps:
根据获取的第一拨测结果以及第二拨测结果,定位网络中的故障网元 包括:Locating the faulty network element in the network according to the obtained first dialing result and the second dialing result include:
S1,根据第一拨测结果以及第二拨测结果中包含的拨测失败的拨测信息,确定故障网元所在的链路范围;S1, determining, according to the first dialing result and the dialing test information of the dialing test failure included in the second dialing result, determining a link range where the faulty network element is located;
S2,根据确定的链路范围,定位故障网元。S2: locate the faulty network element according to the determined link range.
在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。In this embodiment, the foregoing storage medium may include, but not limited to, a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk. A variety of media that can store program code.
在本实施例中,处理器根据存储介质中已存储的程序代码执行上述实施例中的方法步骤。In this embodiment, the processor executes the method steps in the above embodiments according to the stored program code in the storage medium.
本实施例中的示例可以参考上述实施例及实施方式中所描述的示例,本实施例在此不再赘述。For examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and implementation manners, and details are not described herein again.
上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。The modules or steps of the above embodiments of the present invention may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices, which may be implemented by computing devices. The executed program code is implemented such that they can be stored in a storage device by a computing device, and in some cases, the steps shown or described can be performed in a different order than here, or they can be Each of the integrated circuit modules is fabricated separately, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
以上所述仅为本发明的实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only for the embodiments of the present invention, and is not intended to limit the present application, and various changes and modifications may be made by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application are intended to be included within the scope of the present application.
通过本发明实施例,由于通过两个虚拟终端进行交互,互发测试数据,并根据测试数据得到模拟主被叫拨测的测试结果,从而实现网元之间的双向拨测测试,由于是两个虚拟终端之间进行的拨测,可以减少人工参与;由于成对的拨测用户可以存在多组,通过良好的设计,多组可以并行进行拨测,可以提高拨测的效率。 According to the embodiment of the present invention, since the two virtual terminals interact with each other, the test data is mutually exchanged, and the test result of the simulated calling and called calls is obtained according to the test data, thereby implementing the two-way dial test test between the network elements, because it is two Dial-up testing between virtual terminals can reduce manual participation; since pairs of dial-up users can exist in multiple groups, through good design, multiple groups can be dialed in parallel, which can improve the efficiency of dial-up testing.
Claims (26)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710254356.1A CN108737205A (en) | 2017-04-18 | 2017-04-18 | Dial testing method, apparatus and system |
| CN201710254356.1 | 2017-04-18 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018192149A1 true WO2018192149A1 (en) | 2018-10-25 |
Family
ID=63855441
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/098297 Ceased WO2018192149A1 (en) | 2017-04-18 | 2017-08-21 | Dial testing method, apparatus and system |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN108737205A (en) |
| WO (1) | WO2018192149A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112202638A (en) * | 2020-09-29 | 2021-01-08 | 北京百度网讯科技有限公司 | Data processing method, apparatus, equipment and computer storage medium |
| US20210390042A1 (en) * | 2020-06-12 | 2021-12-16 | Beijing Baidu Netcom Science And Technology Co., Ltd. | Method and apparatus for testing dialogue platform, and storage medium |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109802855B (en) * | 2018-12-28 | 2020-08-07 | 华为技术有限公司 | A fault location method and device |
| CN109769100A (en) * | 2019-01-17 | 2019-05-17 | 苏州科达科技股份有限公司 | Video conference test method, device and storage medium |
| CN109587351B (en) * | 2019-01-23 | 2020-04-07 | 北京三快在线科技有限公司 | Call testing method, device, equipment and storage medium |
| CN114257518B (en) * | 2020-09-11 | 2025-05-02 | 中兴通讯股份有限公司 | Communication network testing method and device |
| CN113645360B (en) * | 2021-07-21 | 2023-06-30 | 浙江吉利控股集团有限公司 | Test method and device for vehicle emergency call system and vehicle |
| CN116156058B (en) * | 2022-09-16 | 2025-11-07 | 马上消费金融股份有限公司 | Call function testing method and call switching platform |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101662543A (en) * | 2008-08-29 | 2010-03-03 | 中兴通讯股份有限公司 | Method and system for evaluating availability of voice service |
| US20160352467A1 (en) * | 2015-05-29 | 2016-12-01 | Apple Inc. | Radio link control recovery based on medium access feedback |
-
2017
- 2017-04-18 CN CN201710254356.1A patent/CN108737205A/en active Pending
- 2017-08-21 WO PCT/CN2017/098297 patent/WO2018192149A1/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101662543A (en) * | 2008-08-29 | 2010-03-03 | 中兴通讯股份有限公司 | Method and system for evaluating availability of voice service |
| US20160352467A1 (en) * | 2015-05-29 | 2016-12-01 | Apple Inc. | Radio link control recovery based on medium access feedback |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20210390042A1 (en) * | 2020-06-12 | 2021-12-16 | Beijing Baidu Netcom Science And Technology Co., Ltd. | Method and apparatus for testing dialogue platform, and storage medium |
| CN112202638A (en) * | 2020-09-29 | 2021-01-08 | 北京百度网讯科技有限公司 | Data processing method, apparatus, equipment and computer storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108737205A (en) | 2018-11-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018192149A1 (en) | Dial testing method, apparatus and system | |
| CN102447572B (en) | Internet-surfing assistant system and method for assisting client side user in solving encountered faults | |
| US20230081333A1 (en) | Unified interface and tracing tool for network function virtualization architecture | |
| CN104581785B (en) | wireless network test method, test device and mobile terminal | |
| CN102244592B (en) | Network service quality testing system, method, testing center and testing terminal | |
| US11032126B2 (en) | Diagnostic traffic generation for automatic testing and troubleshooting | |
| US11811844B2 (en) | Product validation based on simulated enhanced calling or messaging communications services in telecommunications network | |
| CN103024772B (en) | A kind of voice special line auto-dial testing system and method | |
| CN106412192B (en) | A kind of mobile terminal test method and its system | |
| WO2016082476A1 (en) | Service testing method and apparatus | |
| CN106776346B (en) | Test method and device of CCMTS (China center testing System) equipment | |
| CN112543473A (en) | Test method, device and equipment based on network element simulation and computer storage medium | |
| US11849492B2 (en) | Unified query tool for network function virtualization architecture | |
| CN101702811A (en) | Service quality monitoring method and device | |
| CN102801875B (en) | A kind of Bulk Call test module, system and method | |
| CN110493810A (en) | Detection method, device, equipment and the medium of recorded announcement failure | |
| CN105101237B (en) | A kind of speech quality dial testing method, server and auto-dial testing system | |
| CN115391127A (en) | Dial testing method and device, storage medium and chip | |
| CN109922484A (en) | A kind of test method and test device | |
| CN117692950A (en) | Automatic dial testing system, method, electronic equipment and storage medium | |
| CN107864488B (en) | Method, device and system for automatically testing base station service | |
| CN1893476B (en) | A device for automatically testing the performance of monitoring gateway | |
| CN117221138A (en) | Core network simulation method, device, equipment and storage medium | |
| CN113242083A (en) | Voice dialing test method, device and system | |
| Alcalde Cespedes | Log-based monitoring, detection and automated correction of anomalies in the 5G core |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17906366 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17906366 Country of ref document: EP Kind code of ref document: A1 |