CN1254047C - Method of carrying out test against join up service instrument - Google Patents
Method of carrying out test against join up service instrument Download PDFInfo
- Publication number
- CN1254047C CN1254047C CN 02150117 CN02150117A CN1254047C CN 1254047 C CN1254047 C CN 1254047C CN 02150117 CN02150117 CN 02150117 CN 02150117 A CN02150117 A CN 02150117A CN 1254047 C CN1254047 C CN 1254047C
- Authority
- CN
- China
- Prior art keywords
- centralized control
- control server
- server
- client
- dial
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种对接入服务器进行测试的方法,属网络设备领域。The invention relates to a method for testing an access server, which belongs to the field of network equipment.
背景技术Background technique
接入服务器是拔号用户上网所必须的网络设备,接入服务器在投入网上运行之前必须进行必要的测试。在接入服务器的测试过程中,为了对其进行充分的测试,必须进行性能测试和稳定性测试。目前的测试方法一般是在实验室中安装多台PC机(一般会多达一二百台),在进行测试时,由人工进行一台台的拔号,进行强制回应命令(以下简称PING,是一种用于测试网络可达与否的常用方法)、文件下载等相关业务的操作,在操作完成后还要各台收集记录数据,费时费力,由于受到人为因素的影响,操作的并发性和实时性是很难保证的,从而使得测试的效果也大打折扣。The access server is a necessary network device for dial-up users to access the Internet, and the access server must undergo necessary tests before it is put into operation on the Internet. In the testing process of the access server, in order to fully test it, performance testing and stability testing must be carried out. Present test method generally is to install a plurality of PCs (generally meeting as many as one or two hundred) in the laboratory, when carrying out test, carry out the dial-up of each station manually, carry out mandatory response order (hereinafter referred to as PING, It is a common method used to test whether the network is reachable), file download and other related business operations. After the operation is completed, each station needs to collect and record data, which is time-consuming and laborious. Due to the influence of human factors, the concurrency of operations And real-time is difficult to guarantee, so that the effect of the test is also greatly reduced.
现行的测试方法完全由人工来实现,耗时耗力,无法对接入服务器进行充分的性能测试和稳定性测试,使得接入服务器的品质很难保证。The current test method is completely implemented manually, which is time-consuming and labor-intensive. It cannot fully test the performance and stability of the access server, making it difficult to guarantee the quality of the access server.
发明内容Contents of the invention
本发明的目的是提出一种对接入服务器进行测试的方法,以实现自动控制多台PC进行拔号、PING操作、文件上传下载操作,从而对接入服务器进行有效的测试。The purpose of the present invention is to propose a method for testing the access server, so as to automatically control multiple PCs to perform dialing, PING operations, and file upload and download operations, thereby effectively testing the access server.
本发明提出的对接入服务器进行测试的方法,包括如下各步骤:The method for testing the access server proposed by the present invention includes the following steps:
1、对多台PC机进行组网,在其中设定一台作为集中控制服务器,其它为测试用拔号PC机即客户端,待测接入服务器通过交换机与测试用拨号PC机相连接;1. Network multiple PCs, set one of them as a centralized control server, and the others as test dial-up PCs, namely clients, and the access server to be tested is connected to the test dial-up PC through a switch;
2、分别为集中控制服务器和客户端安装运行程序,对集中控制服务器进行拨号属性配置,对客户端进行网络连接属性配置;2. Install and run programs for the centralized control server and client respectively, configure dial-up attributes for the centralized control server, and configure network connection attributes for the client;
3、客户端向集中控制服务器端发送连接请求报文,与集中控制服务器建立连接,上报客户端信息;3. The client sends a connection request message to the centralized control server, establishes a connection with the centralized control server, and reports the client information;
4、集中控制服务器端向客户端发送执行指令,集中控制服务器根据反馈信息显示所有与其连接的客户端的连接信息;4. The centralized control server sends execution instructions to the client, and the centralized control server displays the connection information of all connected clients according to the feedback information;
5、客户端等待集中控制服务器下发命令,执行相应的操作,并向集中控制服务器上报执行结果。5. The client waits for the command issued by the centralized control server, executes the corresponding operation, and reports the execution result to the centralized control server.
上述方法中,集中控制服务器与所有拔号PC处于同一网段。In the above method, the centralized control server is in the same network segment as all dial-up PCs.
上述方法中,对多台PC机进行组网时,为各拔号PC安装调制解调器,调制解调器通过电话线与交换机相连,交换机通过中继线与被测试接入服务器相连,各拔号PC通过以太网交换机与集中控制服务器相连,为被测试接入服务器安装用于提供文件上传下载服务的文件下载服务器和用于强制回应的PC机。In the above method, when multiple PCs are networked, a modem is installed for each dial-up PC, the modem is connected to the switch through a telephone line, the switch is connected to the tested access server through a trunk line, and each dial-up PC is connected to the server through an Ethernet switch. The centralized control server is connected, and a file download server for providing file upload and download services and a PC for forced response are installed for the tested access server.
上述方法中,为集中控制服务器安装的运行程序使集中控制服务器处于“监听”状态,等待各个客户端前来“注册”。In the above method, the operating program installed for the centralized control server puts the centralized control server in the "monitoring" state, waiting for each client to "register".
上述方法中,集中控制服务器的拨号属性配置为:In the above method, the dial-up attribute of the centralized control server is configured as:
(1)配置拔号机的拔号方式,拨号方式可以为持续拔号或一次性拔号;(1) Configure the dialing mode of the dialing machine, the dialing mode can be continuous dialing or one-time dialing;
(2)配置两次拔号之间的时间间隔;(2) Configure the time interval between two dial-ups;
(3)配置拔号成功后强制回应PC机的IP地址,以及文件下载服务器的地址。(3) Configure the IP address of the PC and the address of the file download server to force a response after the dial-up is successful.
上述方法中,客户端的网络连接属性配置为:In the above method, the network connection properties of the client are configured as follows:
(1)配置集中控制服务器的IP地址;(1) configure the IP address of the centralized control server;
(2)配置客户端与集中控制服务器建立连接的端口号;(2) configure the port number that the client connects with the centralized control server;
(3)配置客户端与集中控制服务器的连接方式,连接方式可以为自动连接或手动连接。(3) Configure the connection mode between the client and the centralized control server. The connection mode can be automatic connection or manual connection.
上述方法中,客户端的信息为客户端的IP地址和客户端拔号联接名称。In the above method, the information of the client is the IP address of the client and the name of the dial-up connection of the client.
上述方法中,集中控制服务器端显示所有与其连接的客户端的连接信息的过程为:In the above method, the process of centrally controlling the server to display the connection information of all connected clients is as follows:
(1)使所有客户端进行拨号;(1) Make all clients dial;
(2)拔号成功后从接入服务器的文件下载服务器上下载文件;(2) download the file from the file download server of the access server after the dial-up is successful;
(3)客户端向集中控制服务器上报执行结果;(3) The client reports the execution result to the centralized control server;
(4)在集中控制服务器端查看测试结果。(4) Check the test results on the centralized control server.
上述方法中,客户端等待集中控制服务器下发命令,执行相应的操作,并向集中控制服务器上报执行结果过程如下:In the above method, the client waits for the centralized control server to issue a command, executes the corresponding operation, and reports the execution result to the centralized control server. The process is as follows:
(1)客户端处于等待集中控制服务器下发命令的状态;(1) The client is in the state of waiting for the command issued by the centralized control server;
(2)客户端收到集中控制服务器的命令,并解析其命令类型;(2) The client receives the command from the centralized control server and parses the command type;
(3)客户端根据解析出来的命令类型执行相应的操作;(3) The client performs corresponding operations according to the parsed command type;
(4)向集中控制服务器上报执行结果。(4) Report the execution result to the centralized control server.
上述方法中,集中控制服务器端以树状形式显示所有与其连接的客户端的信息。In the above method, the centralized control server displays the information of all connected clients in a tree form.
本发明提出的对接入服务器进行测试的方法,克服了已有技术中测试只能由人工操作来完成的缺点,使待测接入服务器通过交换机与测试用拨号PC机相连接,由一台PC作为集中控制服务器,用以集中控制多台拔号PC机,进行拔号PC的自动拔号、PING操作和文件下载操作。本发明方法不但可以对接入服务器进行有效而充分的测试,而且最大程度地节省了人力,提高了测试工作效率。The method for testing the access server proposed by the present invention overcomes the shortcoming that the test can only be completed by manual operation in the prior art, and the access server to be tested is connected with the dial-up PC for testing through a switch, and a As a centralized control server, the PC is used to centrally control multiple dial-up PCs, and perform automatic dial-up, PING operations and file download operations of the dial-up PCs. The method of the invention can not only effectively and fully test the access server, but also save manpower to the greatest extent and improve the test work efficiency.
附图说明Description of drawings
图1是本发明方法中客户端流程图。Fig. 1 is a flowchart of the client in the method of the present invention.
图2是本发明方法中服务器端流程图。Fig. 2 is a server-side flowchart in the method of the present invention.
图3是应用本发明的方法控制多台PC进行测试的组网原理图。Fig. 3 is a schematic diagram of networking for controlling multiple PCs for testing by applying the method of the present invention.
图4是本发明方法中的服务器端用树状视图显示的示意图。Fig. 4 is a schematic diagram of the server side in the method of the present invention displayed in a tree view.
具体实施方式Detailed ways
本发明提出的对接入服务器进行测试的方法,首先对多台PC机进行组网,在其中设定一台作为集中控制的服务器,其它则为测试用的拔号PC即客户端;分别为服务器和客户端安装运行程序和配置;客户端向服务器端发送连接请求报文,与服务器建立连接,向服务器上报客户端信息;服务器端以树状形式显示所有与其连接的客户端的信息;客户端等待服务器下发命令,执行相应的操作,并向服务器上报执行结果。The method that the present invention proposes testing the access server, at first a plurality of PCs are networked, one of which is set as a server for centralized control, and the other is the dial-up PC or client for testing; respectively The server and client install and run programs and configurations; the client sends a connection request message to the server, establishes a connection with the server, and reports the client information to the server; the server displays the information of all connected clients in a tree form; the client Wait for the server to issue a command, execute the corresponding operation, and report the execution result to the server.
具体过程描述如下:The specific process is described as follows:
首先进行正确的网络组网,如图3所示,选定一台PC机作为集中控制的服务器,其它PC机作为测试用的拔号PC,也就是该发明中的客户端,服务器与所有拔号PC要处于同一网段。各拔号PC安装Modem(调制解调器),Modem通过电话线与交换机相连,交换机通过中继线与被测试的接入服务器相连。这样拔号机利用Modem可以拔入到被测试的接入服务器上去,从而可以对接入服务器进行各项性能指标的测试。First carry out correct network networking, as shown in Figure 3, select a PC as the server of centralized control, other PCs are used as the dial-up PC for testing, that is, the client in the invention, the server and all dial-up No. PCs must be on the same network segment. Each dial-up PC is equipped with a Modem (modem), and the Modem is connected to the switch through a telephone line, and the switch is connected to the tested access server through a trunk line. In this way, the dial-up machine can be dialed into the access server to be tested by using the Modem, so that the access server can be tested for various performance indicators.
安装服务器和客户端软件。组网完成之后要在服务器PC和各个拔号PC客户端上分别安装服务器程序和客户端程序。Install server and client software. After the networking is completed, the server program and client program should be installed on the server PC and each dial-up PC client respectively.
服务器程序的运行及主要配置:首先运行服务器端程序,程序运行成功后服务器端将处于“监听”状态,等待各个客户端前来“注册”。在服务器端主要进行如下配置:a、配置拔号机的拔号方式是持续拔号还是一次性拔号,持续拔号就是可以控制拔号PC进行反复拔号,重复拔号、挂断、拔号的过程,一次性拔号就是控制拔号PC拔号成功后永久在线。b、配置两次拔号之间的时间间隔。c、配置拔号用户拔号成功后PING的IP地址,以及要进行文件上传或是下载的服务器的地址。The operation and main configuration of the server program: first run the server-side program, after the program runs successfully, the server-side will be in the "monitoring" state, waiting for each client to "register". The following configurations are mainly performed on the server side: a. Configure the dialing mode of the dialing machine as continuous dialing or one-time dialing. Continuous dialing means that the dialing PC can be controlled to repeatedly dial, repeat dialing, hang up, and dial One-time dialing is to control the dialing process, and the PC is permanently online after the dialing is successful. b. Configure the time interval between two dial-ups. c. Configure the IP address of PING after the dial-up user dials successfully, and the address of the server to upload or download files.
客户端配置:运行客户端程序后主要进行如下的配置:a、配置控制其服务器的IP地址。b、配置其与服务器建立连接的端口号。c、配置客户端与服务器的连接方式是自动连接还是手动连接,自动连接就是客户端程序启动后就会定时检测是否与服务器建有连接,如果没有,就会发起建立连接的请求,与服务器协商建立连接。手动连接就是由用户手动执行某一命令,客户端才会开始建立与服务器的连接,如果由于网络或者其它原因而导致连接中断,就不会重新建立连接。Client configuration: After running the client program, the following configurations are mainly performed: a. Configure the IP address of the control server. b. Configure the port number for establishing connection with the server. c. Configure whether the connection mode between the client and the server is automatic connection or manual connection. Automatic connection means that after the client program starts, it will regularly check whether there is a connection with the server. If not, it will initiate a connection establishment request and negotiate with the server. establish connection. Manual connection means that the client will start to establish a connection with the server after the user manually executes a certain command. If the connection is interrupted due to network or other reasons, the connection will not be re-established.
本发明方法的具体流程如图1和图2所示,客户端向服务器端发送连接请求报文,与服务器协商后建立起一个连接,在建立连接时,客户端将向服务器上报本地的一些信息,如本地的IP地址、本地所有的拔号联接名称等。The specific process of the method of the present invention is shown in Figure 1 and Figure 2. The client sends a connection request message to the server, and after negotiating with the server, a connection is established. When the connection is established, the client will report some local information to the server. , such as the local IP address, the names of all local dial-up connections, etc.
由于所有的客户端都会和服务器建立一条连接,在服务器端以树状的形式显示所有与之连接的客户端PC,如图4所示。用户通过选择其中的几台或是全部拔号PC可以通过下发各种命令的形式来控制客户端的动作。比如用户可以选择全部客户端来进行控制,让所有客户端进行拔号,拔号成功后从文件下载服务器上下载文件,客户端执行完成后会向服务器上报执行结果,从而在服务器端可以查看测试结果,如呼叫接通率、用户下载速率等。Since all clients will establish a connection with the server, all connected client PCs will be displayed in a tree form on the server side, as shown in Figure 4. The user can control the actions of the client by sending various commands by selecting some or all of the dial-up PCs. For example, the user can select all clients to control, let all clients dial-up, download the file from the file download server after the dial-up is successful, and the client will report the execution result to the server after the execution is completed, so that the test can be viewed on the server Results such as call completion rate, user download rate, etc.
客户端与服务器成功建立连接后会处于等待服务器下发命令的状态,当客户端收到服务器的命令消息时会解析其命令类型,是拔号、挂断、下载文件还是强制回应等。客户端会根据解析出来的命令类型去执行相应的操作,在执行完成后会向服务器上报执行结果,如执行失败、执行成功以及相关的数据等等。After the client successfully establishes a connection with the server, it will be in the state of waiting for the server to issue a command. When the client receives the command message from the server, it will analyze the command type, whether it is dialing, hanging up, downloading a file, or forcing a response. The client will execute the corresponding operation according to the parsed command type, and will report the execution result to the server after the execution is completed, such as execution failure, execution success and related data, etc.
本发明方法通过一台机器集中控制,给其他机器发送各种控制命令就可以完成多台机器的同时拨号、PING、FTP上传、下载等工作,并在测试完成后返回测试数据。The method of the invention is centralized control by one machine, sending various control commands to other machines to complete the simultaneous dialing, PING, FTP uploading, downloading and other work of multiple machines, and returns the test data after the test is completed.
本发明方法采用客户/服务器体系结构,整个发明分为服务器端程序和客户端程序两部分。在客户端PC上安装并运行客户端程序,在上安装并运行服务器端程序,测试人员所要做的就是只需要对服务器端进行控制,下发各种命令控制客户端PC进行自动拔号、PING、文件下载等操作。The method of the invention adopts the client/server architecture, and the whole invention is divided into two parts: a server-side program and a client-side program. Install and run the client program on the client PC, and install and run the server program on the PC. All the testers need to do is to control the server and send various commands to control the client PC to perform automatic dial-up and PING. , file download and other operations.
服务器端的如图4所示的树状视图显示,为操作人员提供了良好的人机接口,采用如各客户端机器的机器名、调制解调连接名、连接状态等。The tree view display on the server side as shown in Figure 4 provides operators with a good man-machine interface, such as the machine name, modem connection name, and connection status of each client machine.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 02150117 CN1254047C (en) | 2002-11-02 | 2002-11-02 | Method of carrying out test against join up service instrument |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 02150117 CN1254047C (en) | 2002-11-02 | 2002-11-02 | Method of carrying out test against join up service instrument |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1494263A CN1494263A (en) | 2004-05-05 |
| CN1254047C true CN1254047C (en) | 2006-04-26 |
Family
ID=34233875
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 02150117 Expired - Fee Related CN1254047C (en) | 2002-11-02 | 2002-11-02 | Method of carrying out test against join up service instrument |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1254047C (en) |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100356737C (en) * | 2004-12-02 | 2007-12-19 | 华为技术有限公司 | System and method for detecting large volume of medium service |
| CN100421394C (en) * | 2005-06-28 | 2008-09-24 | 华为技术有限公司 | An automatic testing device and method for a user interface |
| CN100361079C (en) * | 2005-11-09 | 2008-01-09 | 浪潮电子信息产业股份有限公司 | Synchronous automatic installation and testing method of multiple computer complete system |
| CN100407667C (en) * | 2005-11-18 | 2008-07-30 | 华为技术有限公司 | Network communication equipment protocol testing system and method |
| CN100446484C (en) * | 2006-07-06 | 2008-12-24 | 华为技术有限公司 | A method and device for stress testing broadband network access equipment |
| CN101155079B (en) * | 2006-09-26 | 2012-03-07 | 阿里巴巴集团控股有限公司 | Method, device and system for monitoring instant communication server |
| CN100466840C (en) * | 2006-12-19 | 2009-03-04 | 华为技术有限公司 | Automatic dial testing system and method |
| CN100450255C (en) * | 2007-02-05 | 2009-01-07 | 浪潮乐金信息系统有限公司 | Method for cross-testing validating reliability in wireless network central monitoring service |
| JP5040472B2 (en) * | 2007-06-28 | 2012-10-03 | 富士通株式会社 | Display control apparatus, display control program and method |
| CN101494654B (en) * | 2009-03-13 | 2012-09-12 | 阿里巴巴集团控股有限公司 | Method and apparatus for determining server accessibility |
| CN106713037A (en) * | 2016-12-27 | 2017-05-24 | 北京奇虎科技有限公司 | Test method, test server and test system of data path |
-
2002
- 2002-11-02 CN CN 02150117 patent/CN1254047C/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN1494263A (en) | 2004-05-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1254047C (en) | Method of carrying out test against join up service instrument | |
| CN101227343A (en) | A kind of TCPv6 and/or UDPv6 test equipment and method | |
| WO2008000132A1 (en) | A system and method for collecting the entire network signaling information and a system for tracing the entire network signaling | |
| CN1791037A (en) | Method for realizing Web service automatic test | |
| CN108833565A (en) | A kind of method, apparatus of monitoring server, server and storage medium | |
| CN1753404A (en) | Method of using communication apparatus to select communication protocol | |
| CN105224442A (en) | A performance test method for multi-client shared file system | |
| CN106899454A (en) | A kind of method and system based on automatic test RoCE performances under linux system | |
| CN1780237A (en) | Logic topological network for protocol test and method for realizing protocol test | |
| CN107315803A (en) | A kind of automatic building method of data-base cluster and system | |
| CN116886516A (en) | Cross-platform equipment monitoring method and system based on OPC UA protocol | |
| CN1866869A (en) | Service network tracking system and method | |
| CN112634685A (en) | Remote experiment teaching system | |
| CN100461712C (en) | A method for testing network signaling | |
| CN100343817C (en) | Remote server monitoring device, monitoring method and monitoring system | |
| CN1801853A (en) | Telecommunication managerial grid service shearing and connecting method and system | |
| CN1905498A (en) | Method for collecting network performance data | |
| CN1900869A (en) | Production automatic service system and method | |
| CN100340991C (en) | Cross-platform computer testing system and method | |
| CN1859185A (en) | Managing method for network equipment | |
| CN1758611A (en) | On-line monitoring and testing method for communication interface | |
| CN110278219B (en) | Procedural Internet of things equipment simulation tool and simulation method | |
| CN113204694A (en) | Method for intelligent data exchange of service system | |
| CN118972246B (en) | A 5G core network sub-slice configuration troubleshooting method and system | |
| CN119363654B (en) | A session aggregation method and system for an operation and maintenance audit system based on a single port |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20060426 Termination date: 20111102 |