Dial testing method and device

By generating test messages through a test device, the network performance of the metropolitan area network is automatically tested, which solves the problems of high cost and limited coverage of manual on-site test, and realizes more comprehensive automated test and network quality assurance.

CN121217628APending Publication Date: 2025-12-26HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410829963.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2025-12-26

AI Technical Summary

Technical Problem

Existing testing methods for metropolitan area networks require manual on-site testing of all services, resulting in high costs and insufficient testing coverage, failing to effectively cover network paths and service types.

Method used

The device acquires dial-up test information from terminal devices and generates dial-up test messages to automatically test whether the broadband access network supports terminal device dial-up online and network performance. These messages include online dial-up messages, keep-alive probe messages, and network performance test messages, covering multiple test types and supporting automated dial-up testing.

Benefits of technology

It achieves automated dial-up testing, reduces manual input, has a wider coverage, more comprehensive testing content, ensures network quality, supports dial-up testing outside the cutover window, and avoids user inability to dial up and online and service damage caused by network quality and configuration issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121217628A_ABST
    Figure CN121217628A_ABST
Patent Text Reader

Abstract

The invention discloses a dial testing method and device, relates to the technical field of communication, and aims to realize more flexible selection of dial testing equipment, more network paths and more nodes which can be tested by dial testing during dial testing, avoid the problem of high investment cost of manually getting off a station to a station, and achieve the effect that the coverage range of the dial testing is more comprehensive. Furthermore, dial test messages used during dial test can be used for testing dial online and network performance, the test content is more comprehensive, and the network quality can be more effectively guaranteed. The method comprises the following steps: the dial testing device acquires dial testing information of terminal equipment; the terminal device is a terminal device accessing a broadband access network; the dial testing device is any device on a service channel between the terminal device and the tested device; based on the dial testing information, the dial testing device sends a dial testing message to the tested device; wherein the dial test message is used for testing whether the broadband access network supports dial-up online of the terminal equipment and / or testing network performance between the terminal equipment and the tested device.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to a dialing test method and device. BACKGROUND

[0002] In the existing metropolitan area network, there may be operations such as broadband access server (BAS) new service opening, service cut-off / migration, service reconstruction, and version upgrade. In order to reduce the impact of the cut-off operation on the user's use of the network, a time window for cut-off can be set as a period when the number of users using the metropolitan area network is small, the cut-off operation is performed in the cut-off time window, and after the cut-off operation is completed, the quality and / or configuration of the metropolitan area network are tested to avoid quality and / or configuration problems of the metropolitan area network after the cut-off operation, which leads to a large number of users being unable to dial online, service damage, and the like.

[0003] At present, the quality and / or configuration of the metropolitan area network are tested by using a manual dialing test method. For example, a person manually goes to an individual site (such as a person squatting at a site in a corridor), manually connects a personal computer (PC) machine at the site, and tests whether the site can dial online and performs full-service testing after dialing online by using the PC machine to test the quality and / or configuration of the network path covered by the site.

[0004] However, the manual dialing test method needs a person to manually go to a site to perform full-service testing, needs to coordinate a large number of manpower, and has a large investment cost. At the same time, the manual dialing test method only supports external PC testing of individual sites, and the network path, node, and service type that can be covered are limited, and the testing is not comprehensive. SUMMARY

[0005] The present application provides a dialing test method and device to solve the problems of large investment cost and incomplete testing caused by manual dialing test.

[0006] In a first aspect, the present application provides a dialing test method, which can be executed by a dialing test device. The dialing test device can be referred to as a dialing test equipment. The dialing test device can refer to the dialing test device itself, or can refer to components in the dialing test device, such as a processor, a chip, or a chip system in the dialing test device, or can refer to a logic module or software that can realize all or part of the functions of the dialing test device. The method comprises: obtaining dialing test information of a terminal device; the terminal device is a terminal device accessing a broadband access network; the dialing test device is any device on a service channel between the terminal device and a device under test; based on the dialing test information, sending a dialing test packet to the device under test, the dialing test packet being used to test whether the broadband access network supports the terminal device dialing online and / or test the network performance between the terminal device and the device under test.

[0007] Based on the first aspect, the dialing test device simulates dialing test packets for testing whether the broadband access network supports the terminal device dialing online and / or testing the network performance between the terminal device and the device under test based on the dialing test information, so as to test whether the terminal device can dial online normally and / or test the network performance between the terminal device and the device under test, that is, the dialing test is automatically implemented by the dialing test device, thereby avoiding the problem of high cost of manual site input. Meanwhile, the dialing test packet provided by the present application can test the network performance of each node on the network path between the terminal device and the device under test, thereby achieving the effect of more comprehensive dialing test coverage. Further, the dialing test packet used by the present application can not only test dialing online but also test network performance, thereby testing more comprehensive content and more effectively guaranteeing network quality. In addition, the dialing test provided by the present application is automatically initiated by the dialing test device, and the dialing test process does not affect the normal use of the broadband access network by the terminal user, thereby supporting the execution of dialing test in a non-cutting window.

[0008] In a possible design, the dialing test information of the terminal device includes one or more of the following: a packet type of the dialing test packet; a packet structure of the dialing test packet; a value of a field included in the dialing test packet; a media access control (MAC) address of the terminal device; information of a service channel from the dialing test device to the device under test; and an internet protocol (IP) address of the device under test. In the present application, the service channel includes at least one of a virtual private network (VPN), a virtual local area network (VLAN), or a virtual extensible local area network (VXLAN).

[0009] Based on the possible design, more comprehensive dialing test information is provided, and the dialing test information can be flexibly selected when used, thereby improving the accuracy of dialing test based on the dialing test information.

[0010] In a possible design, the dialing test packet includes an online dialing packet and / or a keep-alive probe packet. The online dialing packet is used to test whether the broadband access network supports the terminal device dialing online, and the keep-alive probe packet is used to test whether the service channel between the terminal device and the device under test can communicate normally (or whether the connection between the terminal device and the device under test is normal) and whether the terminal device keep-alive is supported.

[0011] Based on the possible design, the packet for testing dialing and / or the packet for testing whether the service channel is alive can be generated, thereby implementing dialing test and / or keep-alive test, and improving the flexibility and comprehensiveness of the test.

[0012] In a possible design, in a case where the dialing test message comprises an online dialing message, the method for sending the dialing test message to the device under test based on the dialing test information comprises: generating a virtual terminal device corresponding to the terminal device based on the dialing test information; generating the online dialing message by taking a MAC address of the dialing test device as a source MAC address, taking an IP address of the dialing test device as a source IP address, taking a MAC address of the device under test as a destination MAC address, and taking an IP address of the device under test as a destination IP address; and sending the online dialing message through an out interface corresponding to the virtual terminal device; wherein the out interface corresponds to a service channel between the terminal device and the device under test.

[0013] Based on the possible design, the virtual terminal device can be generated on the dialing test device, and the dialing test for the real terminal device can be implemented based on the virtual terminal device, thereby simplifying system design and improving test automation.

[0014] In a possible design, the method further comprises: receiving a response message from the device under test for indicating that the terminal device succeeds in dialing online or fails in dialing online; in a case where the response message indicates that the terminal device succeeds in dialing online, carrying an IP address of the terminal device in the response message; and in a case where the response message indicates that the terminal device fails in dialing online, carrying a reason for the terminal device failing in dialing online in the response message.

[0015] Based on the possible design, different contents can be carried in the response message in a case where the terminal device succeeds in dialing online or fails in dialing online, thereby reducing the types of messages for feeding back the online status and making the system more concise.

[0016] In a possible design, the dialing test message further comprises a network performance test message, and the method for sending the dialing test message to the device under test based on the dialing test information comprises: sending a network performance dialing test message to the device under test based on the dialing test information. The network performance dialing test message can be a data packet for evaluating and monitoring network connection quality and performance between the terminal device and the device under test.

[0017] Based on the possible design, the dialing test is performed through the network performance test message, and manual dialing test is no longer needed, thereby solving the problem of high cost of manual dialing test, and meanwhile, the network performance test can avoid problems such as a large number of users failing to dial online, business being damaged, and the like, caused by quality and / or configuration problems of the metropolitan area network after a cut-in operation.

[0018] In a possible design, the dialing test information further comprises a test instruction, and the method further comprises: performing at least one or more tests of dialing online test, keep-alive detection test, user bandwidth performance test, self-generated packet performance test, BAS network stress test, and BAS network reliability test on the device under test based on the test instruction.

[0019] Based on the possible design, multiple types of tests are provided, which can cover more comprehensive dialing test business types and increase the flexibility of dialing.

[0020] In a possible design, the dialing test device includes any one or more of a metropolitan area network router device, a BAS network device, and an access network device. Based on the possible design, the dialing test provided in the present application can be performed by the access side device, and the dialing test method provided in the present application can be performed by the BAS network side device, so that the network range covered by the dialing test is more comprehensive, and the dialing test application scenarios are expanded.

[0021] In a second aspect, the present application provides a dialing test method, which can be performed by a controller. The controller in the present application can refer to a controller, a component (for example, a processor, a chip, or a chip system) in the controller, or a logic module or software capable of realizing all or part of the functions of the controller. The method includes: obtaining a dialing test strategy; the dialing test strategy is used to specify the rules followed when performing dialing test operations related to a terminal device; based on the dialing test strategy, sending dialing test information of the terminal device to a dialing test device; the terminal device is a terminal device accessing a broadband access network; and the dialing test information of the terminal device is used to generate a dialing test packet for testing whether the broadband access network supports the terminal device dialing online and / or testing the network performance between the terminal device and the dialing test device.

[0022] Based on the second aspect, the controller can determine the dialing test information through the dialing test strategy and send the determined dialing test information to the dialing test device. Since the dialing test strategy specifies the rules when performing the dialing test operation, the dialing test performed by the dialing test device based on the dialing test information determined according to the dialing test strategy is based on rules, which increases the standardization of the dialing test.

[0023] In a possible design, the dialing test strategy includes any one or more of the following: a dialing test device selection strategy, a terminal device selection strategy, a user bandwidth performance test strategy, a BAS network pressure test strategy, a BAS network reliability test strategy, and a user bandwidth spontaneous packet performance test strategy.

[0024] Based on the possible design, multiple types of dialing test strategies are provided, which make the dialing test specification more comprehensive and increase the flexibility and standardization of the test.

[0025] In a possible design, obtaining the dialing test strategy includes: obtaining first information, the first information including at least one of a user model, a network path corresponding to a user, and a metropolitan area network originating router; and generating the dialing test strategy according to the first information.

[0026] Based on the possible design, the dialing test strategy includes comprehensive content, so that the information that can be used during the dialing test is more comprehensive.

[0027] In a possible design, configuration information is sent to the device under test, and the configuration information is used to indicate that no charging processing is performed on the terminal device.

[0028] Based on the possible design, the charging object of the device under test is more explicit, no charging is performed on the terminal device that is not needed, and charging accuracy is improved.

[0029] In a third aspect, the present application provides a probing device, which can be applied to the probing device in the first aspect to implement the functions performed by the probing device. The probing device can be a probing device, a chip or a chip system or a system on chip, etc. The probing device can perform the functions performed by the probing device through hardware or corresponding software. The hardware or software includes one or more modules corresponding to the functions. For example, the transceiving unit and the processing unit can independently complete the transceiving operation or can cooperate with each other to complete the transceiving operation. Correspondingly, the processing unit can independently complete the processing operation or can cooperate with the transceiving unit to complete the processing operation, which is not limited.

[0030] For example, the processing unit is configured to obtain probing information of a terminal device. The terminal device is a terminal device accessing a broadband access network. The probing information of the terminal device is used to generate a probing packet for testing whether the broadband access network supports the terminal device dialing online and / or testing network performance between the terminal device and the device under test, and is used to indicate a service channel of the terminal device.

[0031] The transceiving unit is configured to send the probing packet to the device under test based on the probing information. The probing packet is used to test whether the broadband access network supports the terminal device dialing online and / or test network performance between the terminal device and the device under test.

[0032] Optionally, the transceiving unit and the processing unit of the probing device in the third aspect can also perform the corresponding functions in any possible design of the first aspect. For details, refer to the detailed description in the method examples. The beneficial effects that can be achieved can also be referred to the foregoing related content.

[0033] In a fourth aspect, the present application provides a control device, which can be applied to the controller of the second aspect to implement the functions performed by the controller. The control device can be a controller, a chip or a chip system or a system on chip, etc. The control device can perform the functions performed by the controller through hardware or through corresponding software. The hardware or software includes one or more units corresponding to the functions. For example, a transceiving unit and a processing unit. The transceiving unit can independently complete the transceiving operations described below, or can cooperate with the processing unit to complete the transceiving operations. Correspondingly, the processing unit can also independently complete the processing operations described below, or can cooperate with the transceiving unit to complete the processing operations. No limitation is given.

[0034] For example, the processing unit is configured to obtain a dialing test strategy. The dialing test strategy is used to specify rules followed when performing dialing test operations related to a terminal device. The transceiving unit is configured to send dialing test information of the terminal device to a dialing test device based on the dialing test strategy. The terminal device is a terminal device accessing a broadband access network. The dialing test information of the terminal device is used to generate a dialing test packet for testing whether the broadband access network supports the terminal device dialing online and / or testing network performance between the terminal device and the dialing test device and a service channel for indicating the terminal device.

[0035] Optionally, the transceiving unit and the processing unit of the control device in the fourth aspect can also perform the corresponding functions in any possible design of the second aspect. For details, refer to the detailed description in the method examples. The beneficial effects that can be achieved can also be seen from the foregoing related content.

[0036] In a fifth aspect, the present application provides a dialing test device. The dialing test device includes one or more processors. The one or more processors are configured to run computer programs or instructions. When the one or more processors execute the computer programs or instructions, the dialing test method described in the first aspect is performed.

[0037] In a possible design, the dialing test device further includes one or more memories coupled to the one or more processors. The one or more memories are configured to store the computer programs or instructions. In a possible implementation, the memory is located outside the dialing test device. In another possible implementation, the memory is located inside the dialing test device. In the present application, the processor and the memory can also be integrated into one device, i.e., the processor and the memory can also be integrated together. In a possible implementation, the dialing test device further includes a transceiver. The transceiver is configured to receive information and / or send information.

[0038] In a possible design, the tamper detection apparatus further includes one or more transceivers, and the one or more transceivers are coupled to the one or more processors and configured to communicate with other modules outside the tamper detection apparatus.

[0039] In a sixth aspect, the present application provides a control apparatus, including one or more processors; and the one or more processors are configured to execute computer programs or instructions, and when the one or more processors execute the computer programs or instructions, the tamper detection method in the second aspect is performed.

[0040] In a possible design, the control apparatus further includes one or more memories, and the one or more memories are coupled to the one or more processors and configured to store the computer programs or instructions. In a possible implementation, the memory is located outside the control apparatus. In another possible implementation, the memory is located inside the control apparatus. In the present application, the processor and the memory can also be integrated into one device, that is, the processor and the memory can also be integrated together. In a possible implementation, the control apparatus further includes a transceiver, and the transceiver is configured to receive and / or send information.

[0041] In a possible design, the control apparatus further includes one or more transceivers, and the one or more transceivers are coupled to the one or more processors and configured to communicate with other modules outside the control apparatus.

[0042] In a seventh aspect, the present application provides a communication apparatus, including an interface circuit and a logic circuit; the interface circuit is configured to input and / or output information; and the logic circuit is configured to perform the tamper detection method in any one of the first aspect to the second aspect, process and / or generate information according to the information.

[0043] In an eighth aspect, the present application provides a computer readable storage medium, and the computer readable storage medium stores computer programs or instructions, and when the computer programs or instructions are executed on a computer, the tamper detection method in any one of the first aspect to the second aspect is performed.

[0044] In a ninth aspect, the present application provides a computer program product including computer programs or instructions, and when the computer programs or instructions are executed on a computer, the tamper detection method in any one of the first aspect to the second aspect is performed.

[0045] In a tenth aspect, the present application provides a computer program, and when the computer program is executed on a computer, the tamper detection method in any one of the first aspect to the second aspect is performed.

[0046] In an eleventh aspect, the present application provides a chip, comprising: one or more processors, the processor being coupled with one or more memories, the memory being used to store programs or instructions, when the programs or instructions are executed by the processor, causing the anti-detection method as described in any one of the first aspect to the second aspect to be executed.

[0047] In a twelfth aspect, the present application provides an anti-detection system, which can comprise an anti-detection device for executing the method as described in the first aspect or any possible design of the first aspect and a device under test; or the anti-detection system can comprise a controller for executing the method as described in the second aspect or any possible design of the second aspect, an anti-detection device for executing the method as described in the first aspect or any possible design of the first aspect and a device under test. BRIEF DESCRIPTION OF DRAWINGS

[0048] Figure 1 A schematic diagram of a metropolitan area network provided by an embodiment of the present application;

[0049] Figure 2 A schematic diagram of an anti-detection system provided by an embodiment of the present application;

[0050] Figure 3 A schematic diagram of another metropolitan area network provided by an embodiment of the present application;

[0051] Figure 4 A structural schematic diagram of a device provided by an embodiment of the present application;

[0052] Figure 5 A flowchart of an anti-detection method provided by an embodiment of the present application;

[0053] Figure 6 A flowchart of another anti-detection method provided by an embodiment of the present application;

[0054] Figure 7 A schematic diagram of an anti-detection device provided by an embodiment of the present application;

[0055] Figure 8 A schematic diagram of a control device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0056] Before describing the embodiments of the present application, the technical terms related to the embodiments of the present application are described.

[0057] Metropolitan area network is a computer communication network established within a city. The metropolitan area network uses optical fiber as transmission medium, and is a high-bandwidth, multi-functional, multi-service access multimedia communication network integrating data, voice and video services.

[0058] The BAS network is a network established by a broadband access server (BAS) to meet the online service of a terminal device. The BAS network can support multiple protocols, such as a point-to-point protocol over Ethernet (PPPoE), a dynamic host configuration protocol (DHCP), a remote authentication dial-in user service (RADIUS), and the like, to implement user access authentication, user IP address allocation, traffic control, billing, and the like. The server in the BAS network can include, but is not limited to, a BAS, which can include, but is not limited to, a broadband remote access server (BRAS) or a virtual broadband remote access server (vBRAS).

[0059] The combination of the metropolitan area network and the BAS network can be referred to as a BAS metropolitan area network or a BRAS metropolitan area network or a vBRAS metropolitan area network or an intelligent metropolitan area network. In this application, for ease of description, the network after the combination of the metropolitan area network and the BAS network is simply referred to as a metropolitan area network, which is uniformly described herein. For example, the metropolitan area network can include a terminal device, an access network device (for example, an optical line termination (OLT) device, a switch device), a metropolitan area network router (for example, a metropolitan area network access side LEAF device (a-leaf) or a metropolitan area network originating end router, a metropolitan area network service side LEAF device (s-leaf), a metropolitan area network backbone device (spine)), a BAS network (for example, a control plane (CP) and a forwarding plane (UP) in a vBRAS), an authentication, authorization and accounting (AAA) server, and the like.

[0060] Exemplarily, Figure 1This is a schematic diagram of a metropolitan area network (MAN), specifically a BAS MAN diagram with access network equipment consisting of OLT devices and switches, MAN routers consisting of a-leaf, s-leaf, and spine, and the BAS network consisting of the control plane (CP) and user plane (UP) of the vBRAS. For example... Figure 1 As shown, terminal devices access vBRAS through OLT devices, switch devices, a-leaf, spine, and s-leaf to use the broadband access services provided by vBRAS. The AAA server can collect statistics and billing information on the broadband traffic usage of terminal devices.

[0061] For example, Figure 1 The terminal equipment in this context can be a device with wireless transceiver capabilities or a chip or chip system that can be configured on that device. It allows users to access the network and is used to provide voice and / or data connectivity to users. Terminal equipment can also be called user equipment (UE), subscriber unit, terminal, mobile station (MS), or mobile terminal (MT), etc. Specifically, Figure 1The terminal device in the present application can be a mobile phone, a tablet computer or a computer with wireless transceiver function. The terminal device can also be a user station, a mobile station, a remote station, a remote terminal device, a mobile terminal device, a user terminal device, a wireless communication device, a user agent, a user equipment, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device, a processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in Internet of Things, a household appliance, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in remote medical treatment, a wireless terminal in smart grid, a wireless terminal in smart city, a wireless terminal in smart home, a vehicle with vehicle-to-vehicle (V2V) communication capability, a smart connected vehicle, a drone with unmanned aerial vehicle to unmanned aerial vehicle (UAV to UAV, U2U) communication capability, a terminal device in future network or a terminal device in future evolved public land mobile network (PLMN), etc. It should be understood that the terminal device and the mobile user can be completely independent. All information related to the user can be stored in a subscriber identity module (SIM) card, which can be used on the terminal device.

[0062] Figure 1 The OLT device in the present application is an important local device, which is used to connect the fiber trunk, placed in the local terminal device and switch device, which can be used for traffic scheduling, buffer control, and provides a passive optical network interface and bandwidth allocation for terminal devices.

[0063] Figure 1The a-leaf, s-leaf and spine are used to build a metropolitan area network, and can be connected to an access network device and a BAS network device (such as a vBRAS). The a-leaf is a provider edge (PE) device of a local area network, and is a last kilometer device, directly connected to an access network device, and is the nearest router device to a terminal device. The s-leaf is a PE device of a VPN, and is a device connected to a BAS network, and is the farthest router device to a terminal device. The spine is generally a provider (P) device of a VPN, and is an intermediate network device.

[0064] Figure 1 The CP and UP of the vBRAS shown in the middle are used to build a BAS network, and can be used to connect a metropolitan area network device and an AAA server. For example, the BAS network device can include, but is not limited to Figure 1 The vBRAS shown in the middle includes a CP and a UP, and can also be a BRAS and other BAS network devices, without limitation. The BRAS / vBRAS is a network device specially used for processing broadband access services, and the BRAS / vBRAS is usually located at the edge of a network of an Internet service provider.

[0065] For example, the vBRAS is a broadband remote access server architecture based on virtualization technology, and the core idea is to virtualize the BRAS function, realize the software of the network function, and thus improve the flexibility and scalability of the network. Among them, the conversion control separation is one of the key technologies of the vBRAS scheme, and the conversion control separation vBRAS architecture separates the CP and the UP of the BRAS device. Optionally, the vBRAS can also include a data center network, a CP / UP, wherein the CP / UP is divided into different data center networks, and the communication between the CP and the UP needs to pass through a metropolitan area network. The CP is responsible for user access control, user management, authentication and authorization charging, address management and other function modules. The UP is responsible for traffic forwarding, traffic statistics and other forwarding plane functions, and a dynamic routing protocol and other pipeline control plane functions. The UP can be a high-performance UP or a virtualized UP (vUP).

[0066] Figure 1 The AAA server in the middle is used to connect a device of a BAS network. For example, the AAA server can be a RADIUS server device. The AAA server is used to manage user access to a network server and provide services for users with access rights. The AAA server is set in an operator network, and the above-mentioned cutting operation does not involve the operator network, so whether the AAA server participates in the stress test is not limited when the stress test is performed.

[0067] In the existing metropolitan area network, BAS new business opening, business cutting / moving, business transformation and version upgrade and other cutting operations may be involved. In order to reduce the impact of cutting operation on user use of network, the period with less user quantity using metropolitan area network can be used as cutting time window, and the cutting operation is carried out in the cutting time window, and after the completion of the cutting operation, the quality and / or configuration of the metropolitan area network are tested by using the dialing test, so as to avoid the quality and / or configuration problems of the metropolitan area network after the cutting operation, which leads to a large number of users unable to dial up, business damage and the like.

[0068] In the present application, dialing test can be replaced by dialing and / or test, dialing can refer to dialing up, and test can be network performance test, and the test types of network performance test include at least one or more tests in keep-alive probe test, user bandwidth performance test, self-generated packet performance test, BAS network stress test and BAS network reliability test.

[0069] In the metropolitan area network, the existing dialing test method is to test the quality and / or configuration of the metropolitan area network (which can be referred to as network performance test) by using manual dialing test method, which not only needs manual station to the site for full-service test, needs to coordinate a large number of manpower, and has large investment cost. Moreover, the manual dialing test method only supports individual site external PC test, and the network path, node and service type covered are limited, and the test is not comprehensive enough.

[0070] To solve the problem of large investment cost caused by manual station, optionally, self-generated packet detection technology is considered to realize network performance test, so as to realize automatic network performance test. The self-generated packet detection technology includes two-way active measurement protocol (TWAMP), packet internet groper (ping), operations administration and maintenance (oam), network quality analysis (nqa) and the like.

[0071] Taking TWAMP technology as an example, TWAMP technology is a technology for testing the two-way connectivity and / or network performance between any two IP protocol supported devices in the internet protocol (IP) network. The TWAMP technology is a self-generated packet detection measurement session between terminal devices and network devices with fixed IP. The measurement session is initiated by the terminal device, and the self-generated packet detection measurement session is completed, and then the performance management system collects the self-generated packet detection measurement results, and reports the measurement results to the network device.

[0072] However, the spontaneous packet detection technology is applied to the IP network, the IP network is a pipe network, such as providing a two-layer or three-layer data pipe through an IP device (such as a router / switch), and IP reachability or two-layer reachability is required in the IP network, so the spontaneous packet detection technology can be used for network connectivity and performance detection, but this spontaneous packet detection technology is not suitable for network performance testing of the metropolitan area network. The reasons are as follows:

[0073] 1. The terminal device in the metropolitan area network does not have an IP address before dialing up, and cannot implement spontaneous packet detection based on a fixed IP. 2. The network performance testing of the metropolitan area network needs to test whether the terminal device (or referred to as a BAS user) can dial up normally, whether the service is normal after dialing up, needs to test the service connectivity of the metropolitan area network, the processing performance of the BRAS / vBRAS, the processing performance of the AAA server, and the data consistency between components, and the like. But the spontaneous packet detection technology can only test the connectivity of the network and the performance of the router / switch, and cannot meet the testing requirements of the metropolitan area network. 3. The difference between the device (such as the BRAS / vBRAS) in the metropolitan area network and the IP device (such as the router / switch) is that the BRAS / vBRAS is not only an IP device, but also a server responsible for allocating addresses for terminal devices and processing various services, which is not a simple pipe device, and the above spontaneous packet detection technology cannot be directly applied to test the performance.

[0074] For example, taking the metropolitan area network composed of the vBRAS as an example, the network path from the terminal device to the vBRAS is long, and configuration errors such as a virtual local area network (vlan), a maximum transmission unit (MTU), a border gateway protocol (BGP) route, a domain authentication mode, and the like often occur on the devices used by each network node along the way, and the new version / new patch may also introduce differences or quality problems. Any error of any network node will affect a batch of terminal devices, and will also affect the devices in the metropolitan area network, the devices in the vBRAS, and the AAA server, and the like.

[0075] From the above, there is no suitable technology to replace manual off-site testing, and there are still problems of high investment cost and incomplete testing of manual off-site testing. In order to solve the technical problem, the application provides a dialing test method, in which a dialing test device obtains dialing test information of a terminal device; the terminal device is a terminal device accessing a broadband access network; based on the dialing test information, the dialing test device sends a dialing test message to a device under test; wherein the dialing test message is used to test whether the broadband access network supports the terminal device dialing online and / or test the network performance between the terminal device and the device under test. Wherein the dialing test device is any device on the service channel between the terminal device and the device under test, that is, the dialing test device and the device under test are the same device, which realizes automatic dialing test of the terminal device by the device itself whether the terminal device supports dialing online and / or the network performance between the terminal device and the device.

[0076] That is, the dialing test device simulates the dialing test message used to test whether the broadband access network supports the terminal device dialing online and / or test the network performance between the terminal device and the device under test based on the dialing test information, so as to test whether the terminal device can dial online normally and / or test the network performance between the terminal device and the device under test, that is, the dialing test is automatically realized by the dialing test device, which avoids the problem of high investment cost of manual off-site testing to the site. At the same time, the dialing test message provided by the application can test the network performance of each node on the network path between the terminal device and the device under test, which achieves the effect of more comprehensive dialing test coverage. Further, the dialing test message used by the application during dialing test can not only test dialing online but also test network performance, which is more comprehensive in test content and can more effectively guarantee network quality. In addition, the dialing test provided by the application is automatically initiated by the dialing test device, which does not affect the normal use of the broadband access network by the terminal user, and can support dialing test within a non-cutting window.

[0077] The implementation of the embodiments of the application will be described in detail below in combination with the drawings of the specification.

[0078] The dialing test method provided by the application can be used to automatically test whether any communication system supports terminal device dialing online and / or test whether the network accessed by the terminal device is alive and test the performance of the network accessed by the terminal device. The communication system can support terminal device access, provide network service and / or communication service for the terminal device, and the communication system can be replaced by dialing test system. Specifically, the system can be any network system in a metropolitan area network system, a BAS metropolitan area network, a BRAS metropolitan area network, and a vBRAS metropolitan area network. It can be understood that the above metropolitan area network applicable to the application is only an example, and the metropolitan area network applicable to the application is not limited to this, which is uniformly described here, and the following will not be described again.

[0079] The dialing test system provided by the embodiments of the application will be described below taking Figure 2 as an example.

[0080] Figure 2 This is a schematic diagram of a dialing test system provided in an embodiment of this application, as shown below. Figure 2 As shown, the dial-up testing system may include at least one dial-up testing device, at least one control device, and at least one device under test. It may also include at least one data presentation device and at least one terminal device. In this application, dial-up testing of the metropolitan area network after a cutover operation can be achieved through the collaborative work of the dial-up testing device, control device, device under test, and data presentation device. It should be understood that... Figure 2 The functions of each device can be implemented by the device itself, or by functional modules, units, or chips within the device; there are no restrictions. For example, taking a dial-up testing device as an example, its functions in the dial-up testing method shown in this application can be implemented by the testing device itself, or by functional modules or chips within the testing device. When the functions of the device are implemented by functional modules, units, or chips within the device... Figure 2 Each device can also be replaced with a module or device. For example, a control device can be replaced with a control module or control device; a test device can be replaced with a test device or test module; a device under test can be replaced with a test device or test module; and a data presentation device can be replaced with a data presentation device or data presentation module.

[0081] The following is a description of each node in the testing system:

[0082] A control device is used to prepare data for testing and formulate testing strategies based on the data, automatically generating testing information based on the testing strategies; the control device sends the testing information to the testing device; and sends configuration information indicating that no charges will be incurred to the device under test (such as an AAA server). For example, the control device can be a standalone control device or a chip capable of implementing control device functions. The processing performed by a single execution entity of the control device shown in this embodiment can also be divided into multiple execution entities, which can be logically and / or physically separated, without limitation.

[0083] A dial-up testing device, also known as a dial-up testing apparatus, possesses dial-up testing capabilities. For example, it can simulate a virtual terminal device (such as configuring the corresponding outgoing interface of the terminal device) based on dial-up testing information sent by the control device, and generate dial-up test messages to test whether the broadband access network supports dial-up connection of the terminal device and / or to test the network performance between the terminal device and the device under test. These messages are then sent to the device under test through the corresponding outgoing interface of the terminal device. Furthermore, the dial-up testing device can also collect dial-up test results and report them to a data presentation device.

[0084] The device under test, which can be referred to as a device under test, is a device that is tested by the dialing test device to determine whether dial-up and / or network performance testing is supported between the device under test and the terminal device. In this application, the dialing test device and the device under test can be different functional modules in the same device, that is, different functional modules in the same device are separated, and a part of the separated modules are integrated into the dialing test device, and the other part is integrated into the device under test. Or the dialing test device and the device under test can correspond to different devices, that is, in the case of the dialing test device as the dialing test device and the device under test as the device under test, they are different devices, such as belonging to different devices with complete functions, which are not limited.

[0085] The data presentation device is used to receive the dialing test results collected by the dialing test device and / or the device under test, and directly present the dialing test results to the user or present the dialing test results to the user after visual processing, so that the user can view the dialing test situation.

[0086] Optionally, the entity device where the data presentation device is located can be one or more of the following: the dialing test device, the control device, or the device under test.

[0087] Figure 2 The dialing test system can be a metropolitan area network or other network system, which is not limited. In the following, a metropolitan area network is taken as an example to introduce the system architecture suitable for the dialing test method provided in the embodiments of the present application. Figure 2 The dialing test system is Figure 3 The dialing test system is Figure 3 The access network device is an OLT device and a switch device, the metropolitan area network router is a-leaf, s-leaf, and spine, and the BAS network is the CP and UP of the vBRAS metropolitan area network. As shown in Figure 3 The metropolitan area network can include at least one terminal device, at least one access network device, at least one metropolitan area network router device, at least one BAS network device, an AAA server, and the like.

[0088] For example, the dialing test device can be Figure 3 a metropolitan area network device, an access network device, or a BAS network device in the metropolitan area network, or a functional module in these devices. The device under test can be a BAS network device, an AAA server, or a functional module in these devices. Optionally, the BAS network device is a BRAS or a vBRAS. Compared with Figure 1 the system shown in Figure 3 The system can further include a controller configured to send dialing test information to the dialing test device.

[0089] It can be understood that the terminal device, the access network device, the metropolitan area network device, the BAS network device, and the AAA server in the embodiments of the present application can be one or more chips, or a system on chip (SOC), and the like.Figure 3 The quantity of devices included in the exemplary drawings is not limited. In addition, devices other than those shown can be included in the metropolitan area network. Figure 3 The metropolitan area network can further include other devices in addition to the devices shown. Figure 3 The names of the various devices are not limited in the naming. In addition to the names shown, the various devices, the various links can be named as other names, which are not limited. The description of the terminal device, the access network device, the metropolitan area network router device, the BAS network device, and the AAA server refer to the description in the foregoing embodiments, which will not be repeated here. Figure 3 In addition to the names shown, the various devices, the various links can be named as other names, which are not limited. The description of the terminal device, the access network device, the metropolitan area network router device, the BAS network device, and the AAA server refer to the description in the foregoing embodiments, which will not be repeated here. Figure 1 The description of the terminal device, the access network device, the metropolitan area network router device, the BAS network device, and the AAA server refer to the description in the foregoing embodiments, which will not be repeated here.

[0090] Based on the foregoing description of the terminal device, the access network device, the metropolitan area network router device, the BAS network device, and the AAA server, optionally, the method for stress testing provided in the embodiments of the present application can be implemented by the terminal device, the access network device, the metropolitan area network router device, the BAS network device, and the AAA server, or by components of the terminal device, the access network device, the metropolitan area network router device, the BAS network device, and the AAA server.

[0091] In specific implementation, the terminal device, the access network device, the metropolitan area network router device, the BAS network device, and the AAA server can have the component structure shown in the foregoing embodiments, or include the components shown in the foregoing embodiments. Figure 4 For example, the terminal device, the access network device, the metropolitan area network router device, the BAS network device, and the AAA server can have the component structure shown in the foregoing embodiments, or include the components shown in the foregoing embodiments. Figure 4 For example, the terminal device, the access network device, the metropolitan area network router device, the BAS network device, and the AAA server can have the component structure shown in the foregoing embodiments, or include the components shown in the foregoing embodiments. Figure 4 For example, the terminal device, the access network device, the metropolitan area network router device, the BAS network device, and the AAA server can have the component structure shown in the foregoing embodiments, or include the components shown in the foregoing embodiments. Figure 4 A component structure of an apparatus 400 provided in the embodiments of the present application is shown in the figure. The apparatus 400 can be deployed in any device in the stress testing system shown in the foregoing embodiments, and can be a terminal device or a chip or system on chip in the terminal device; or an access network device or a chip or system on chip in the access network device; or a metropolitan area network router device or a chip or system on chip in the metropolitan area network router device; or a BAS network device or a chip or system on chip in the BAS network device; or an AAA server or a chip or system on chip in the AAA server. Figure 2 Or Figure 3 Or As shown in the foregoing embodiments, the apparatus 400 includes a processor 401, a transceiver 402, and a communication line 403.

[0092] Figure 4 Further, the apparatus 400 can further include a memory 404. The processor 401, the memory 404, and the transceiver 402 can be connected through the communication line 403.

[0093] Further, the apparatus 400 can further include a memory 404. The processor 401, the memory 404, and the transceiver 402 can be connected through the communication line 403.

[0094] The processor 401 can be a central processing unit (CPU), a general-purpose processor network processor (NP), a digital signal processing (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD) or any combination thereof. The processor 401 can also be other apparatuses with processing functions, such as a circuit, a device or a software module, without limitation.

[0095] The transceiver 402 is configured to communicate with other devices or other communication networks. The other communication networks can be an Ethernet, a radio access network (RAN), a wireless local area network (WLAN) or the like. The transceiver 402 can be a module, a circuit, a transceiver or any apparatus capable of implementing communication.

[0096] The communication line 403 is configured to transmit information between components included in the apparatus 400.

[0097] The memory 404 is configured to store instructions. The instructions can be a computer program.

[0098] The memory 404 can be a read-only memory (ROM) or other types of static storage devices that can store static information and / or instructions, or a random access memory (RAM) or other types of dynamic storage devices that can store information and / or instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magneto-optical disk, a magnetic disk storage or other magnetic storage devices, and the like, without limitation.

[0099] It should be noted that the memory 404 can exist independently of the processor 401, or can be integrated with the processor 401. The memory 404 can be configured to store instructions or program codes or some data, etc. The memory 404 can be located in the apparatus 400, or can be located outside the apparatus 400, without limitation. The processor 401 is configured to execute the instructions stored in the memory 404 to implement the communication method provided by the embodiments described below.

[0100] In an example, the processor 401 can include one or more CPUs, such as CPU0 and CPU1 in Figure 4 .

[0101] As an optional implementation, the apparatus 400 includes multiple processors, such as the processor 407 in addition to the processor 401 in Figure 4 .

[0102] As an optional implementation, the apparatus 400 further includes an output device 405 and an input device 406. Exemplarily, the input device 406 is a keyboard, a mouse, a microphone, a joystick, or the like, and the output device 405 is a display screen, a speaker, or the like.

[0103] It should be noted that the apparatus 400 can be a desktop computer, a laptop computer, a network server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system, or a device having a structure as shown in Figure 4 . In addition, the constituent structures shown in Figure 4 do not constitute a limitation on the apparatus 400, and the apparatus 400 can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components. Figure 4

[0104] In the embodiments of the present application, the chip system can be composed of a chip, or can include a chip and other discrete devices.

[0105] The method provided by the present application will be described below in combination with the stress testing system shown in Figure 2 , taking the stress testing device as the stress testing apparatus and the device under test as the device under test. It should be understood that the actions, terms, and the like involved between the embodiments of the present application can be mutually referenced and are not limited. The message name or parameter name in the message exchanged between the devices in the embodiments of the present application is only an example, and other names can also be used in the specific implementation, which is not limited.

[0106] Figure 5 The flowchart of a stress testing method provided by the embodiments of the present application is shown in Figure 5 , and the method can include the following steps.

[0107] Step 501: The stress testing apparatus acquires stress testing information of a terminal device.

[0108] The terminal device is a terminal device accessing a broadband access network. For example, it can be a terminal device accessing a BAS network in Figure 3 .

[0109] ​The dialing device is any device on a service channel between the terminal device and the device under test. The dialing device can be replaced by a dialing device. For example Figure 3 In the system shown, the terminal device can access the BAS network through the access network device and the metropolitan area network device, and accept the network service provided by the BAS network. In this scenario, the dialing device includes any one or more of the metropolitan area network router device, the BAS network device, and the access network device. The dialing device can be a switch device or an OLT device in the metropolitan area network, a-leaf or s-leaf, a BRAS or a vBRAS, or a UP in the vBRAS. Figure 3

[0110] Optionally, the dialing device can be one device or multiple devices. The following describes an example in which the dialing device is one device.

[0111] In one example, the dialing device receives dialing information of the terminal device from the controller.

[0112] The controller can communicate with each device in the metropolitan area network, as shown in Figure 3

[0113] Specifically, the controller generates dialing information and sends the dialing information to the dialing device. The process can refer to the flow shown in Figure 6

[0114] In another example, the dialing device can receive information input by a user, the information input by the user being used to indicate dialing information of the terminal device, and the dialing information of the terminal device being obtained in response to the information input by the user.

[0115] For example, the user inputs the dialing information in a configuration box on a user interface of the dialing device, so that the dialing device obtains the dialing information of the terminal device.

[0116] In this application, the dialing information of the terminal device is used to generate dialing packets for testing whether the broadband access network supports the terminal device dialing online and / or testing network performance between the terminal device and the device under test. For example, the dialing information is used to generate one or more of the online dialing packets, the keep-alive detection packets, or the network performance test packets, which can be collectively referred to as dialing packets.

[0117] For example, the dialing information of the terminal device includes one or more of the following: a packet type of the dialing packet, a packet structure of the dialing packet, a value of a field included in the dialing packet, a MAC address of the terminal device, an IP address of the device under test, and information of a service channel from the dialing device to the device under test. The service channel includes at least one of a VPN, a VLAN, or a VXLAN.

[0118] ​​​The message type of the dialing test message can be used to indicate the message type required by different dialing test requirements. For example, when the dialing test requirement is to test whether the broadband access network supports the terminal device dialing online, the online dialing message needs to be used; when the dialing test requirement is to test the network performance between the terminal device and the device under test, the keep-alive probe message and / or the network performance test message needs to be used.

[0119] The message structure of the dialing test message can be used to indicate the fields that constitute the dialing test message, and / or the transmission protocol supported by the message, such as TCP, UDP, etc. For example, the message structure includes a message header and a message body, and the message header can carry information indicating the address or transmission path, such as the source address, the destination address, etc. The message body can carry useful data information, i.e., the actual load part of the message. The structures of messages corresponding to different protocols are different.

[0120] The value of the field included in the dialing test message can be used to indicate the type of the value of the field (integer type or floating point type, etc.), and indicate the meaning / indicating significance corresponding to the specific value of the field.

[0121] The MAC address of the terminal device can be used to uniquely identify the terminal device on the network, i.e., to point to the terminal device, so that when the message is transmitted, it is known that the message is from or to the terminal device based on the message carrying the MAC address of the terminal device. The MAC address is a physical address, and the MAC address is usually fixed and bound to the hardware of the device.

[0122] The IP address of the device under test can be used to indicate the network address of the device under test, to point to the device under test. The IP address is a logical address and can be changed, and a new IP address can be allocated to the device based on the update of the network layout.

[0123] The information of the service channel is used to indicate the service channel. Specifically, the information of the service channel can include but is not limited to the identification of the service channel, such as VPN ID or VLAN ID or VXLAN ID, etc.

[0124] Step 502: The dialing test device sends the dialing test message to the device under test based on the dialing test information; correspondingly, the device under test receives the dialing test message.

[0125] As described above, the dialing test information is used to generate one or more of the online dialing message, the keep-alive probe message, or the network performance test message. Optionally, the dialing test message can be generated by the CPU, the forwarding engine or other chips in the dialing test device based on the dialing test information.

[0126] The process of generating the online dialing message, the keep-alive probe message, or the network performance test message by the dialing test device based on the dialing test information is described below:

[0127] Case one, the dialing test packet includes an online dialing packet, and the online dialing packet is used to test whether the terminal device supports dialing online.

[0128] The online dialing packet can include a source address (such as a source MAC address and a source IP address) and a destination address (such as a destination MAC address and a destination IP address), the source address is used to indicate a source end of initiating dialing, and the destination address is used to indicate a destination end of receiving dialing. Specifically, the MAC address of the dialing test device is used as the source MAC address, the IP address of the dialing test device is used as the source IP address, the MAC address of the device under test is used as the destination MAC address, and the IP address of the device under test is used as the destination IP address.

[0129] Optionally, in a case where the message type indicated by the dialing test information is the online dialing packet, the dialing test device can learn that the online dialing packet needs to be generated based on the message indicated by the dialing test information, and then obtain the IP address of the device under test from the dialing test information, and obtain the MAC address of the device under test through a MAC learning process. The source address and the destination address are carried in the packet according to the message structure and the field value of the dialing test packet indicated in the dialing test information, and the online dialing packet is generated.

[0130] Optionally, the MAC address of the device under test can be obtained through the MAC learning process, which can refer to the prior art and will not be described here.

[0131] Case two, the dialing test packet includes a keep-alive probe packet, and the keep-alive probe packet is used to test whether the terminal device supports keep-alive.

[0132] Optionally, the keep-alive probe packet can be used to automatically send between the dialing test device and the device under test, and to detect whether the opposite end of the connection is alive. The sending interval and the number of retries of the keep-alive probe packet can be set as needed, and are not limited.

[0133] Optionally, in a case where the message type indicated by the dialing test information is the keep-alive probe packet, the dialing test device can learn that the keep-alive probe packet needs to be generated based on the message indicated by the dialing test information.

[0134] It should be understood that in a case where the dialing test device and the device under test are different functional modules separately deployed in the same device, the dialing test device itself can detect whether the terminal device is alive, so it is not necessary to generate the keep-alive probe packet again for keep-alive detection. For example, when the dialing test device and the device under test are UP and CP of a vBRAS respectively, the keep-alive detection is not used for the same vBRAS.

[0135] Case three, the dialing test packet includes a network performance test packet, and the network performance test packet is used to test the network performance between the terminal device and the device under test.

[0136] Optionally, in a case where the message type indicated by the dialing test information is a network performance test message, the dialing test device can learn that a network performance test message needs to be generated based on the message indicated by the dialing test information, and generate the network performance test message according to the message structure and field values of the corresponding network performance test message in the dialing test information.

[0137] In this application, network performance can include, but is not limited to, at least one of user bandwidth performance test, spontaneous packet performance test, BAS network stress test, and BAS network reliability test. In order to specify which test is used, the dialing test information can also include a test indication, which indicates one or more of the tests. Based on the test indication, the dialing test device can generate at least one of a user bandwidth performance test message, a spontaneous packet performance test message, a BAS network stress test message, and a BAS network reliability test message to implement the corresponding performance test.

[0138] In an example, after the dialing test device generates the dialing test message, the dialing test device can send the dialing test message in the following manner:

[0139] The dialing test device generates a virtual terminal device corresponding to the terminal device based on the dialing test information, and sends the online dialing message through an out interface corresponding to the virtual terminal device; wherein the out interface corresponds to a service channel between the terminal device and the device under test, or can be understood as the out interface corresponding to a service channel between the virtual terminal device and the device under test.

[0140] For example, the dialing test device has multiple out interfaces, and the out interfaces have a binding relationship with the MAC address of the dialing test device. These out interfaces are configured to one or more terminal devices (i.e. real terminal devices), and the out interfaces correspond to a service channel between the real terminal device and the device under test. After configuration, it means that a virtual terminal device corresponding to the real terminal device is generated. Subsequently, when dialing test is needed for a certain terminal device, a dialing test message carrying the MAC address corresponding to the out interface can be generated, and then sent through the out interface corresponding to the terminal device, i.e. through the service channel corresponding to the terminal device to the device under test. When the device under test returns a response message, it can carry the MAC address corresponding to the out interface. The dialing test device receives the response message, and can learn which terminal device corresponds to the response message.

[0141] It should be noted that, in order to ensure the accuracy of the online dialing message, the network path through which the online dialing message is sent does not recognize the initiating end / source end of the online dialing message as a virtual terminal device, but as a real terminal device, i.e. the online dialing message is transparently transmitted to the device under test.

[0142] It should be understood that the probing device described in the present application can be a device in which multiple functional modules are integrated. In this case, the probing device and the device under test are independently deployed devices. Alternatively, the probing device can have some of the multiple functional modules deployed separately. For example, the functional modules with CP functions and the functional modules with UP functions in the original device can be deployed separately. In the case of separate deployment of functional modules, the separate functional modules can also be probed based on the probing method provided in the present application. One part of the separate functional modules can have the functions of the probing device described in the present application, another part of the modules can have the ability to receive probing messages and perform probing, and another part of the functional modules can have the functions of the device under test. At this time, the probing device and the device under test are different functional modules in the same device. The probing device sending a probing message to the device under test can also be understood as the device to which the probing device and the device under test belong sending a probing message to itself.

[0143] In the case where the probing device and the device under test belong to different devices deployed independently, and the probing device is any device between the terminal device and the device under test, the probing message sent by the probing device to the device under test includes at least one of the online dialing message, the keep-alive probe message, or the network performance test message. The probing device generates a virtual terminal device corresponding to the terminal device based on the probing information, and sends the online dialing message through the out-interface corresponding to the virtual terminal device; wherein the out-interface corresponds to a service channel between the terminal device and the device under test, including a VPN or a VLAN, or it can be understood that the out-interface corresponds to a service channel between the virtual terminal device and the device under test.

[0144] In the case where the probing device and the device under test are different functional modules deployed separately in the same node, the probing message sent by the probing device to the device under test includes the online dialing message and / or the network performance test message, and there is no need to generate and send the keep-alive probe message to the device under test. The probing device generates a virtual terminal device corresponding to the terminal device based on the probing information, and sends the online dialing message through the out-interface corresponding to the virtual terminal device; wherein the out-interface corresponds to a service channel between the terminal device and the device under test, including a VXLAN, or it can be understood that the out-interface corresponds to a service channel between the virtual terminal device and the device under test.

[0145] For example, the BAS device can be separated into two parts, UP and CP. The probing device includes the functional module with UP function in the BAS device, and the device under test includes the functional module with CP function in the BAS device. The UP sending a probing message to the CP can be understood as the BAS device sending a probing message to itself.

[0146] Step 503: The device under test returns a response message to the probing device.

[0147] In this application, three possible probing messages can be designed with different response messages. The following describes the response messages corresponding to the three probing messages:

[0148] Case one, the probing message is a dial-up online test, and the response message is used to indicate online success or online failure.

[0149] In one possible design, the result of the terminal device dialing up the measured device is online success, the measured device sends a BAS user table item to the probing device, and the measured device sends a response message to the probing device indicating online success. The response message sent by the measured device to the probing device includes the IP address allocated to the terminal device by the measured device.

[0150] For example, when the probing device is a vBRAS, the CP in the vBRAS sends a BAS user table item, and the CP in the vBRAS sends an IP address allocated to the terminal device by the CP in the vBRAS to the terminal device.

[0151] In one possible design, the result of the terminal device dialing up the measured device is online failure, the measured device does not allocate an IP address to the terminal device, and the terminal device cannot obtain the IP address. The response message sent by the measured device to the probing device includes the online failure reason.

[0152] For example, when the probing device is a vBRAS, the CP in the vBRAS records the online failure reason and returns the online failure reason to the probing device in the response message.

[0153] Case two, the probing message is a keep-alive probe message.

[0154] When the result of the keep-alive test is that the terminal device abnormally goes offline within the keep-alive time, the measured device records the offline reason of the terminal device. The response message sent by the measured device to the probing device includes the keep-alive probe failure reason recorded by the measured device. Conversely, when the result of the keep-alive test is that the terminal device is alive, the response message sent by the measured device to the probing device is used to indicate that the terminal device is alive.

[0155] Case three, the probing message is a network performance test message.

[0156] In this application, the network performance can include, but is not limited to, at least one of user bandwidth performance testing, self-generated packet performance testing, BAS network stress testing, and BAS network reliability testing. The response message sent by the measured device to the probing device includes the test result, such as at least one of user bandwidth performance test result, self-generated packet performance test result, BAS network stress test result, and BAS network reliability test result. The content included in these test results can refer to the prior art and will not be described here.

[0157] Based on Figure 5 As shown in the method, the dialing test device simulates dialing test packets based on the dialing test information to test whether the terminal device can dial up normally and / or test the network performance between the terminal device and the device under test, i.e., the dialing test is automatically implemented by the dialing test device, avoiding the problem of manual site investment at a high cost. Meanwhile, the dialing test packets provided by the present application can test the network performance of each node on the network path between the terminal device and the device under test, achieving a more comprehensive dialing test coverage. Further, the dialing test packets used by the present application can not only test dialing up but also test network performance, making the test content more comprehensive and effectively guaranteeing network quality. In addition, the dialing test provided by the present application is automatically initiated by the dialing test device, and the dialing test process does not affect the normal use of the broadband access network by terminal users, supporting dialing test in a non-cut window.

[0158] In the following, the dialing test information is obtained from the controller, i.e., the dialing test information is configured for the dialing test device by the controller, as an example, combined with Figure 6 The dialing test method provided by the present application is introduced, as shown in Figure 6 The flowchart of another dialing test method provided by the present application is shown in Figure 6 The dialing test method provided by the present application is introduced, as shown in

[0159] Step 601, the controller obtains first information, and generates a dialing test strategy according to the first information.

[0160] Optionally, the first information includes at least one of a user model, a network path corresponding to the user, and a metropolitan area network originating router.

[0161] The user model is used to indicate information carried by the terminal device when accessing the metropolitan area network. For example, BAS user table items, and the number of users.

[0162] The BAS user table items can include one or more of the following: user type, MAC address of the terminal device, user account information, online interface, information of a service channel, domain, value-added service data, hierarchical QoS (HQoS) data, and Network Address Translation (NAT) conversion options. In the present application, the user type can include but is not limited to PPPoE dual stack, IP over Ethernet (IPOE) dual stack, Layer 2 tunneling protocol (L2TP), WEB user, static user, etc.

[0163] The uplink interface is an interface in the network when the terminal device is dialed up online; and the value-added service data refers to a service provided by an operator or an operator and a third-party service provider through a related service platform, with the metropolitan area network as a bearing network.

[0164] The number of users can include: a number of BAS users under a peak value, and a number of BAS users of each user type. The number of BAS users under the peak value is used to indicate the number of terminal devices in the network when the bandwidth of the metropolitan area network reaches the peak value. The number of BAS users of each user type is used to indicate the number of terminal devices corresponding to each user type in the metropolitan area network.

[0165] The network path corresponding to the user refers to a path connected by network elements through which the terminal device passes when dialed up online in the metropolitan area network. The network path corresponding to the user is determined by: according to the information carried in the BAS user table item such as the information of the online interface and the service channel of the terminal device, and in combination with the topology relationship between the terminal device and the network device in the metropolitan area network as shown in Figure 3 , the network path through which the online dialing message used by the terminal device when dialed up online in the metropolitan area network is derived.

[0166] The metropolitan area network originating router can refer to the a-leaf device. It can be understood that the corresponding metropolitan area network originating router of the terminal user when accessing the metropolitan area network can be determined according to the above-mentioned network path corresponding to the user (such as determining the specific a-leaf device used), and then the message structure of the online dialing message used by the terminal device when dialed up online through each originating router can be derived. The message structure can include one or more of the following information: the VPN instance number, the online interface, and the information of the service channel carried by the online dialing message through which each originating router is dialed up online.

[0167] In a possible design, the first information can be acquired by the controller. For example: the controller collects the information carried by the terminal device when dialed up online in the metropolitan area network.

[0168] The dialing test strategy is used to specify the rules followed by the terminal device when performing the dialing test operation related to the terminal device. The dialing test strategy can include one or more of the following: dialing device selection strategy, user selection strategy, user bandwidth performance test strategy, BAS network stress test strategy, BAS network reliability test strategy, and user bandwidth spontaneous packet performance test strategy.

[0169] In this application, the dialing device selection strategy is used to determine the dialing device used when dialing, i.e., the dialing device. In combination with the topology relationship between the terminal device and the network device in the metropolitan area network as shown in Figure 3 , the network path through which the dialing message passes when the terminal device virtually generated on the dialing device is dialed can be further obtained.

[0170] For example, according to the probe device selection strategy, the a-leaf is determined as the probe device. When the vBRAS is the measured device, the network path of the metropolitan area network covered by the probe can be: a-leaf→spine→s-leaf→UP→s-leaf→spine→the data center network where the CP is located→CP→AAA server.

[0171] In another example, according to the probe device selection strategy, the UP in the vBRAS is determined as the probe device. When the vBRAS is the measured device, the network path of the metropolitan area network covered by the probe can be: UP→s-leaf→spine→the data center network where the CP is located→CP→AAA server.

[0172] Optionally, in the above path, if the AAA server does not participate in the probe or the controller cannot control the AAA server, the network path passed by the terminal device probe message does not pass through the AAA server, and the probe is performed on the remaining network elements except the AAA server.

[0173] In this application, the user selection strategy is used to indicate the user model of the terminal device used in the probe. For example, the user type of the terminal device can be determined according to the user type contained in the BAS user table item in the user model; the number of users of the terminal device can be determined according to the number of users in the user model.

[0174] In this application, the user bandwidth performance test strategy is used to determine the terminal device for user bandwidth performance test and determine the real application scenario in the user bandwidth performance test. The terminal device for user bandwidth performance test needs to be selected from the terminal devices that have successfully dialed online.

[0175] In this application, the user bandwidth performance test is performed by simulating a real application scenario. For example, simulating that the terminal device initiates a real application (for example, accessing a network server on the Internet, video) to access a network server, and the terminal device records the real bandwidth of the downlink received traffic; or simulating a real application scenario (for example, simulating ping / trace route test of the terminal device, IPTV network television (internet protocol tv, IPTV) flow guide, DNS domain name system (domain name system, DNS) request response, transmission control protocol (transmission control protocol, tcp) tcp handshake, hypertext transfer protocol (hypertext transfer protocol, http) request, the controller supports packet loss, delay, or quality analysis on the returned data of the request).

[0176] In the present application, the spontaneous packet performance test strategy is used to determine the terminal device for spontaneous packet performance test and determine the twamp / nqa configuration for spontaneous packet performance test. The probing device performs spontaneous packet performance test according to the twamp / nqa configuration. The twamp / nqa measurement session is established through the terminal device and the device under test. The IP address used by the twamp / nqa measurement session is the IP address allocated by the device under test to the terminal device after the terminal device is successfully dialed up online.

[0177] For example, the twamp / nqa configuration is used to indicate the twamp / nqa statistics function. The BAS network stress test strategy includes determining whether the probing device performs stress test on the BAS network and determining the configuration of the BAS network stress test.

[0178] For example, according to the BAS network stress test strategy, it is determined that the probing device needs to perform stress test on the BAS network. Then, the BAS network stress test is performed according to the configuration of the BAS network stress test. The configuration of the BAS network stress test includes the number M of terminal devices for one-time probing and the number N of probing devices for stress test. The BAS network stress test method is to probe M terminal devices on N probing devices according to the configuration of the BAS network stress test.

[0179] The BAS network reliability test strategy includes determining whether the probing device performs reliability test on the BAS network and determining the configuration of the BAS network reliability test.

[0180] For example, according to the BAS network reliability test strategy, it is determined that the probing device needs to perform reliability test on the BAS network. Then, the BAS network reliability test is performed according to the configuration of the BAS network reliability test. The configuration of the BAS network reliability test includes the probing frequency, the total number N of terminal devices, the number M of terminal devices for reliability test, and the number Q of probing devices for reliability test of the BAS network. The logical relationship between N and M is M<=N. Then, the BAS network reliability test has two possible designs:

[0181] In the first possible design, N terminal devices are dialed up online at a time in one probing device, and the N terminal devices are repeatedly dialed up and dialed down. In the second possible design, Q probing devices, i.e., probing devices, dial up N terminal devices at the same time and perform repeated dial-up and dial-down.

[0182] It can be understood that, based on the first information, the probing strategy used when probing is generated, and the probing strategy can select one or more of the above. The selection of the probing strategy is performed by the man-machine interaction system on the artificial operation controller.

[0183] Step 602, the controller sends the terminal device dialing test information to the dialing test device based on the dialing test strategy; correspondingly, the dialing test device receives the terminal device dialing test information sent from the controller.

[0184] Optionally, the controller sending the terminal device dialing test information to the dialing test device based on the dialing test strategy can be alternatively described as: the controller generates the dialing test information based on the dialing test strategy, and sends the generated terminal device dialing test information to the dialing test device. Wherein the controller generating the terminal device dialing test information based on the dialing test strategy can include: the controller can know which terminal devices need to be dialing tested according to the terminal devices that need to be dialed and / or tested in the dialing test strategy, and then generate the terminal device dialing test information.

[0185] It can be understood that the above dialing test strategy can include one or more, which can be selected by manually operating the man-machine interaction system on the controller to execute the selection of the dialing test strategy, and the dialing test information used by the controller based on the user-selected dialing test strategy to improve user experience.

[0186] Wherein, the related description of the dialing test device and the dialing test information can refer to the description of step 501 described above, and will not be repeated.

[0187] Step 603, the controller sends the configuration information to the measured device. Correspondingly, the measured device receives the configuration information sent from the controller.

[0188] Wherein, the configuration information is used to instruct the measured device not to perform charging processing on the terminal device.

[0189] In this application, the dialing test information and the configuration information in the above steps 602 and 603 can be sent by the user touching the sending button on the man-machine interaction interface of the controller, or the user's voice control instruction to the controller, etc.

[0190] Optionally, the dialing test information and the configuration information in the above steps 602 and 603 can not be sent by the controller, but can be manually sent to the dialing test device.

[0191] Step 604, the dialing test device sends the dialing test packet to the measured device based on the dialing test information; correspondingly, the measured device receives the dialing test packet sent from the dialing test device.

[0192] Specifically, the related description of this step 604 can refer to the description of the above step 502, and will not be repeated.

[0193] Exemplarily, the controller sends the terminal device dialing information to the dialing device based on the dialing strategy, and when generating the virtual terminal device corresponding to the terminal device according to the dialing information, the user model of the terminal device used during dialing can be indicated according to the user selection strategy in the dialing strategy (for example, terminal device 1 corresponds to a WEB user type and terminal device 2 corresponds to a static user type). It can be understood that the number of users corresponding to different user types can be one or more, and the number is not limited.

[0194] Step 605: The device under test performs dialing according to the dialing message.

[0195] The dialing message is generated based on the dialing information. The dialing message is used for dialing between the dialing device and the device under test.

[0196] Exemplarily, when the dialing device is a vBRAS, the CP in the vBRAS receives the dialing message sent by the UP in the vBRAS.

[0197] The device under test performs dialing based on the type of the dialing message sent by the dialing device. The dialing message includes an online dialing message, a keep-alive probe message, or a network performance test message.

[0198] The test strategy used when performing user bandwidth performance testing, spontaneous packet performance testing, BAS network stress testing, and BAS network reliability testing according to the network performance test message can refer to the description in step 601, and will not be described here.

[0199] Step 606: The device under test sends a response message to the dialing device. Correspondingly, the dialing device receives the response message sent by the device under test.

[0200] Specifically, the related description of step 606 can refer to the description of step 503, which will not be described here.

[0201] Step 607: The dialing device and / or the device under test sends the dialing result to the controller. Correspondingly, the controller receives the dialing result from the dialing device and / or the device under test.

[0202] Optionally, the dialing result can be determined based on the response message, such as carrying the content carried and / or indicated in the response message in the dialing result and sending it to the controller, that is, the dialing result includes the content in the response message sent by the device under test to the dialing device. The related description of the response message can refer to the description in step 503, which will not be described here.

[0203] Optionally, the probing result further comprises: a logout result of the terminal device from the probing device and the measured device. The logout of the terminal device from the probing device and the measured device can mean that the terminal device does not access the probing device and the measured device, stops the communication with the probing device and the measured device, disconnects, and does not use the network service provided by the probing device and the measured device. The logout result has two types: logout success and logout failure.

[0204] In a possible design, the terminal device logs out successfully, and the probing device records the logout success and feeds back the logout result to the controller as the probing result. In another possible design, the terminal device fails to log out. The probing device and / or the measured device record the logout failure reason and feed back the logout result and the logout failure reason to the controller as the probing result.

[0205] For example, the terminal device fails to log out in the probing device, and the probing device records the logout failure reason and feeds back the logout result and the logout failure reason to the controller as the probing result. Alternatively, after the terminal device logs out in the probing device, the measured device checks the residual BAS user table item in the measured device, and the probing device and the measured device record the logout failure reason and feed back the logout result and the logout failure reason to the controller as the probing result. For example, when the probing device is a vBRAS, there is a residual BAS user table item in the UP and CP of the vBRAS, and the UP and CP of the vBRAS record the logout failure reason and feed back the logout result and the logout failure reason to the controller as the probing result.

[0206] In step 608, the controller performs data presentation and visualization processing on the probing result by using a data presentation module, so as to enable a user to view the probing result.

[0207] The data presentation module supports command line and northbound interface to view the probing result. The data presentation module can be integrated in the controller or deployed on another device other than the controller, which is not limited.

[0208] For example, when the probing device is an s-leaf, a spine or another metropolitan network router, the measured device is a BRAS / vBRAS device, and the data presentation module is deployed on the controller, the above-described probing method can be used to perform steps 601-608 to perform the probing, which is not repeated here.

[0209] It can be understood that when the above dialing device is a vBRAS, and the vBRAS includes a separately deployed UP and CP, the dialing device can specifically be one UP or multiple UPs in the vBRAS, that is, the dialing method is initiated by one UP in the vBRAS to the terminal device, or the dialing method is initiated by multiple UPs / single UP to multiple terminal devices, to implement whether there is a configuration error or a quality problem in the network path from the UP to the CP and then to the AAA server. Specifically, the dialing method can refer to the above, and will not be described again.

[0210] Optionally, the above dialing method based on the metropolitan area network can also be applied to dialing by taking an external plug-in device such as a smart optical module as a dialing device. The smart optical module is a kind of optical-electric conversion accessory, which is composed of optoelectronic devices (transmitters and receivers), functional circuits, optical interfaces, and the like, and is used to convert electrical signals into optical signals at the sending end, and then convert the optical signals into electrical signals at the receiving end after transmission through an optical fiber. The smart optical module plugged on the interface of the device in the metropolitan area network is a specific optical module, which has the ability to simulate a virtual terminal device for dialing and can be controlled by a controller. The dialing information is issued by the controller, and the smart optical module constructs / generates a dialing message based on the dialing information to implement dialing.

[0211] For example, for a-leaf, the smart optical module can be plugged on the interface of a-leaf for hanging a switch / OLT device, and for the UP of vBRAS, only the smart optical module plugged on the interface of s-leaf needs to be connected, that is, the smart optical module can implement the functions of the dialing device described in the present application, and implement dialing to the terminal device.

[0212] In addition, the smart optical module can also be plugged on the access network device such as a switch or an OLT to replace the dialing device for dialing, so as to extend the dialing path to the access network path, and is not limited to the metropolitan area network and the BAS network. It should be understood that when the dialing method provided in the present application is not executed, the smart optical module has no difference from the ordinary optical module. When the dialing method provided in the present application is executed, the dialing message (such as the online dialing message) generated by the smart optical module has no difference from the forwarding message generated by the smart optical module in the execution of the conventional function, that is, the device with the external plug-in smart optical module, such as a-leaf, has no perceptual difference for the dialing message (such as the online dialing message) generated by the smart optical module and the forwarding message generated by the smart optical module in the execution of the conventional function, and only considers that the ordinary message, that is, the conventional forwarding message, is received. It can be understood that in the embodiments of the present application, the execution subject can execute part or all of the steps in the embodiments of the present application, and these steps or operations are only examples, and the embodiments of the present application can also execute other operations or various modifications of the operations. In addition, each step can be executed in a different order as presented in the embodiments of the present application, and it is possible that not all the operations in the embodiments of the present application are executed.

[0213] The foregoing primarily describes the solutions provided in this application from the perspective of device-to-device interaction. It is understood that each device, in order to achieve the aforementioned functions, includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0214] This application embodiment can divide each device into functional modules according to the above method example. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0215] When dividing each function into modules according to its corresponding function. Figure 7 A dialing test device 700 is shown, which can perform the above-described... Figure 5 or Figure 6 The actions performed by the testing device in the method shown, and all related content of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module. The technical effects that can be obtained can be referred to the above method embodiment, and will not be repeated here.

[0216] The dialing testing apparatus 700 can include a transceiver unit 701 and a processing unit 702. Exemplarily, the dialing testing apparatus 700 can be a dialing testing device, or a chip applied in a communication device, or other combined device or component having the dialing testing apparatus function. When the dialing testing apparatus 700 is a communication device, the transceiver unit 701 can be a transceiver, which can include an antenna and a radio frequency circuit, etc. The processing unit 702 can be a processor (or processing circuit), for example, a baseband processor, which can include one or more CPUs. When the dialing testing apparatus 700 is a component having the dialing testing apparatus function, the transceiver unit 701 can be a radio frequency unit. The processing unit 702 can be a processor (or processing circuit), for example, a baseband processor. When the dialing testing apparatus 700 is a chip system, the transceiver unit 701 can be an input / output interface of a chip (for example, a baseband chip). The processing unit 702 can be a processor (or processing circuit) of the chip system, which can include one or more central processing units. It should be understood that the transceiver unit 701 in the embodiments of the present application can be implemented by a transceiver or a transceiver related circuit component. The processing unit 702 can be implemented by a processor or a processor related circuit component (or processing circuit).

[0217] For example, the transceiver unit 701 can be configured to perform all the transceiver operations of the dialing testing apparatus in the embodiments shown in Figure 5 or Figure 6 and / or other processes for supporting the techniques described herein. The processing unit 702 can be configured to perform all the operations of the dialing testing apparatus in the embodiments shown in Figure 5 or Figure 6 except the transceiver operations, and / or other processes for supporting the techniques described herein.

[0218] Figure 8 A control apparatus 800 is shown, which can perform the actions performed by the controller in the methods described above in Figure 5 or Figure 6 The above-described methods embodiments involve all related contents of each step, which can be referred to the function description of the corresponding function module, and the technical effects can be referred to the above-described methods embodiments, which will not be described here again.

[0219] The control device 800 can include a transceiver unit 801 and a processing unit 802. Exemplarily, the control device 800 can be a communication device, or a chip applied in the communication device, or other combination device, component, etc. having the above-mentioned control device function. When the control device 800 is a communication device, the transceiver unit 801 can be a transceiver, which can include an antenna and a radio frequency circuit, etc.; the processing unit 802 can be a processor (or processing circuit), for example, a baseband processor, which can include one or more CPUs. When the control device 800 is a component having the above-mentioned control device function, the transceiver unit 801 can be a radio frequency unit; the processing unit 802 can be a processor (or processing circuit), for example, a baseband processor. When the control device 800 is a chip system, the transceiver unit 801 can be an input / output interface of a chip (for example, a baseband chip); the processing unit 802 can be a processor (or processing circuit) of the chip system, which can include one or more central processing units. It should be understood that the transceiver unit 801 in the embodiments of the present application can be implemented by a transceiver or a transceiver-related circuit component; the processing unit 802 can be implemented by a processor or a processor-related circuit component (or processing circuit).

[0220] For example, the transceiver unit 801 can be configured to perform all the transceiving operations performed by the controller in the embodiments shown in Figure 5 or Figure 6 , and / or other processes for supporting the techniques described herein; the processing unit 802 can be configured to perform all the operations other than the transceiving operations performed by the controller in the embodiments shown in Figure 5 or Figure 6 , and / or other processes for supporting the techniques described herein.

[0221] As another implementation manner, Figure 7 the transceiver unit 701 in the penetration testing device 700 can be replaced by a transceiver, which can integrate the functions of the transceiver unit 701; the processing unit 702 can be replaced by a processor, which can integrate the functions of the processing unit 702. Further, Figure 7 the penetration testing device 700 shown in can further include a memory. Alternatively, Figure 8 the transceiver unit 801 in the control device 800 can be replaced by a transceiver, which can integrate the functions of the transceiver unit 801; the processing unit 802 can be replaced by a processor, which can integrate the functions of the processing unit 802. Further, Figure 8 the control device 800 shown in can further include a memory.

[0222] Alternatively, the processing unit 702 is replaced by a processor, and the transceiver unit 701 is replaced by a transceiver, wherein the processor can be a logic circuit, and the transceiver can be an interface circuit.

[0223] The embodiment of the present application further provides a computer program product, which can realize the functions of any of the method embodiments above when executed by a computer.

[0224] The embodiment of the present application further provides a computer program, which can realize the functions of any of the method embodiments above when executed by a computer.

[0225] The embodiment of the present application further provides a computer readable storage medium. All or part of the flow of the method embodiments above can be instructed by a computer program to relevant hardware to complete, the program can be stored in the computer readable storage medium, and the program can include the flow of the method embodiments above when executed. The computer readable storage medium can be an internal storage unit of the terminal (including the data sending terminal and / or the data receiving terminal) of any of the preceding embodiments, for example, a hard disk or a memory of the terminal. The computer readable storage medium above can also be an external storage device of the terminal, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card and the like. Further, the computer readable storage medium above can include both the internal storage unit and the external storage device of the terminal. The computer readable storage medium above is used to store the computer program above and other programs and data required by the terminal. The computer readable storage medium above can also be used to temporarily store data that has been output or will be output.

[0226] It should be noted that the terms "first" and "second" and the like in the specification of the present application, claims and drawings are used to distinguish different objects, and are not used to describe a specific order. "First", "second" are only for description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more features. In the description of the present embodiment, unless otherwise stated, the meaning of "a plurality of" is two or more.

[0227] In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but can optionally include steps or units not listed, or can optionally include other steps or units inherent to the process, method, product or device.

[0228] It should be understood that in the present application, "at least one" means one or more. "Multiple" means two or more. "At least two" means two or three and more. "And / or" is used to describe the relationship between the associated objects, which means that there can be three relationships. For example, "A and / or B" can mean that there are three cases: only A, only B, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects. "At least one of the following" or similar expressions means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b or c, can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple. "When" and "if" both mean that under certain objective circumstances, the corresponding processing will be done, not limited to time, and does not require a judgment action when implemented, nor does it mean that there are other limitations.

[0229] In the embodiments of the present application, the words such as "exemplary" or "for example" are used to mean an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the words "exemplary" or "for example" are intended to present the relevant concept in a specific manner for understanding.

[0230] In the present application, "sending information to (a terminal device)" can be understood as that the destination of the information is the terminal device. It can include directly or indirectly sending information to the terminal device. "Receiving information from (a terminal device)" can be understood as that the source of the information is the terminal device, and it can include directly or indirectly receiving information from the terminal device. The information may be processed as necessary between the source and the destination of the information transmission, such as format change, etc., but the destination can understand the valid information from the source.

[0231] Through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of functional modules is taken as an example, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0232] In several embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented by other manners. For example, the apparatus embodiments described above are merely illustrative, for example, the division of the modules or units is merely a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another apparatus, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units or components shown or discussed can be indirect coupling or communication connection through some interfaces, apparatuses or units, and can be electrical, mechanical or other forms.

[0233] The units described as separate components can or can not be physically separated, and the components shown as units can be one physical unit or a plurality of physical units, that is, can be located in one place or can be distributed to a plurality of different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0234] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0235] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a readable storage medium. Based on such understanding, the technical scheme of the embodiment of the present application can be embodied in the form of a software product in essence or all or part of the technical scheme. The software product is stored in a storage medium and includes a plurality of instructions for causing an apparatus (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The foregoing storage medium includes a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk and various program code storage media.

Claims

1. A dialing test method, characterized in that, The method is applied to a dialing device, and the method includes: Obtain dialing test information of the terminal device; the terminal device is a terminal device connected to a broadband access network; the dialing test device is any device on the service channel between the terminal device and the device under test; Based on the dialing test information, a dialing test message is sent to the device under test; wherein, the dialing test message is used to test whether the broadband access network supports the terminal device to dial up and / or to test the network performance between the terminal device and the device under test.

2. The method according to claim 1, characterized in that, The terminal device's dialing information includes one or more of the following: The message type of the dial-up test message; The message structure of the test message; The values ​​of the fields included in the test message; The media access control MAC address of the terminal device; Information on the service channel from the testing device to the device under test, wherein the service channel includes at least one of Virtual Private Network (VPN), Virtual Local Area Network (VLAN), or Virtual Extensible Local Area Network (VXLAN); The Internet Protocol (IP) address of the device under test.

3. The method according to claim 1 or 2, characterized in that, The acquisition of terminal device testing information includes: Receive dial-up information from the terminal device of the controller; or, Receive information from user input, which is used to instruct the terminal device on dialing information.

4. The method according to any one of claims 1-3, characterized in that, The dialing test message includes an online dialing message and / or a keep-alive detection message; The online dialing message is used to test whether the terminal device supports dialing online. The keep-alive probe message is used to test whether the terminal device supports keep-alive.

5. The method according to any one of claims 1-4, characterized in that, The dial test message includes an online dialing message. The step of sending the dial test message to the device under test based on the dial test information includes: Based on the dialing information, a virtual terminal device corresponding to the terminal device is generated; The online dialing message is generated by using the MAC address of the testing device as the source MAC address, the IP address of the testing device as the source IP address, the MAC address of the device under test as the destination MAC address, and the IP address of the device under test as the destination IP address. The online dialing message is sent through the outgoing interface corresponding to the virtual terminal device; wherein, the outgoing interface corresponds to the service channel between the terminal device and the device under test.

6. The method according to claim 5, characterized in that, The method further includes: Receive a response message from the device under test; the response message is used to indicate whether the terminal device successfully dialed online or failed to dial online. If the response message indicates that the terminal device has successfully dialed online, the response message carries the IP address of the terminal device.

7. The method according to claim 6, characterized in that, If the response message indicates that the terminal device failed to connect to the internet, the response message shall include the reason for the failure.

8. The method according to any one of claims 1-7, characterized in that, The dial test message includes a network performance test message. The step of sending the dial test message to the device under test based on the dial test information includes: sending a network performance test message to the device under test.

9. The method according to any one of claims 1-8, characterized in that, The test information also includes a test instruction; the method further includes: Based on the test instructions, perform at least one or more of the following tests on the device under test: user bandwidth performance test, self-generated packet performance test, BAS network stress test, and BAS network reliability test.

10. The method according to any one of claims 1-9, characterized in that, The testing device includes one or more of the following: metropolitan area network router equipment, BAS network equipment, and access network equipment.

11. A dialing test method, characterized in that, The method is applied to a controller, and the method includes: Obtain the dialing test policy; the dialing test policy is used to specify the rules to be followed when performing dialing test operations related to the terminal device; Based on the aforementioned testing strategy, testing information of the terminal device is sent to the testing device; the terminal device is a terminal device connected to a broadband access network; the testing information of the terminal device is used to generate testing messages for testing whether the broadband access network supports the terminal device dialing up and / or testing the network performance between the terminal device and the device under test.

12. The method according to claim 11, characterized in that, The probe strategy includes any one or more of the following: Testing device selection strategy, terminal equipment selection strategy, user bandwidth performance testing strategy, BAS network stress testing strategy, BAS network reliability testing strategy, and user bandwidth self-sent packet performance testing strategy.

13. The method according to claim 11 or 12, characterized in that, The acquisition and testing strategy includes: Obtain first information, which includes at least one of the following: user model, network path corresponding to the user, and metropolitan area network originating router; The dialing strategy is generated based on the first information.

14. The method according to any one of claims 11-13, characterized in that, The method further includes: The configuration information is sent to the device under test, which is used to indicate that the terminal device is not billed.

15. An apparatus, characterized in that, The device includes a processor and a transceiver, the processor and the transceiver being configured to support the device in performing the dialing test method as described in any one of claims 1-10, or in performing the dialing test method as described in any one of claims 11-14.

16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1-10, or cause the computer to perform the method as described in any one of claims 11-14.

17. A computer program product, characterized in that, The computer program product includes computer instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1-10, or cause the computer to perform the method as described in any one of claims 11-14.