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
- client
- dialing
- server
- 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
The present invention relates to a method of carrying out a test against an access server and belongs to the technical field of network equipment. The method comprises the following steps: a network is built up for PCs; a centralized control server and dialing PCs used for tests are set; an access server is connected with the PCs by an exchanger; running programs and configuration are respectively installed for the centralized control server and a client side; the client side sends a connection request message to the centralized control server, the client side is connected with the centralized control server, and information from the client side is reported; the centralized control server displays information from all the client sides connected with the centralized control server; the client sides wait for commands issued by the centralized control server, the corresponding operation is executed, and results of execution are reported to the centralized control server. The method of the present invention uses one PC as the centralized control server to control a plurality of dialing PCs. Therefore, the access server can be effectively and fully tested, manpower is farthest saved, and the testing work efficiency is enhanced.
Description
Technical field
The present invention relates to a kind of method that access server is tested, belong to network equipment field.
Background technology
Access server is the dialing user necessary network equipment of surfing the Net, and access server must carry out necessary test before dropping into online operation.In the test process of access server,, must carry out performance test and stability test for it is tested fully.Present method of testing generally is the multiple pc machine (generally can reach or two hundred) of installing in the laboratory, when testing, by the dialing of manually carrying out a platform, carry out the modal order (hereinafter to be referred as PING, be a kind of common method whether test network can reach that is used for), the operation of related service such as file download, after finishing, operation also wants each collection record data, waste time and energy, owing to be subjected to artificial factor, the concurrency of operation and real-time are to be difficult to guarantee, thereby make the effect of test also have a greatly reduced quality.
Existing method of testing by manually realizing, takes time and effort fully, can't carry out sufficient performance test and stability test to access server, makes the quality of access server be difficult to guarantee.
Summary of the invention
The objective of the invention is to propose a kind of method that access server is tested, carry out dialing, PING operation, file and upload down operation, thereby access server is effectively tested to realize controlling automatically multiple pc.
The method that access server is tested that the present invention proposes comprises following each step:
1, the multiple pc machine is carried out networking, set one therein as the centralized control server, other is client for test with the dialing PC, and access server to be measured is connected with the dialing PC with test by switch;
2, be respectively centralized control server and client side installation and operation program, the centralized control server is carried out the dialing properties configuration, client is carried out the configuration of network connection attribute;
3, client sends the connection request message to the centralized control server end, connects with the centralized control server, reports client-side information;
4, the centralized control server end sends execution command to client, and the centralized control server shows the link information of all connected clients according to feedback information;
5, client awaits centralized control server transmitting order to lower levels is carried out operation accordingly, and reports execution result to the centralized control server.
In the said method, centralized control server and all dialing PC are in the same network segment.
In the said method, when the multiple pc machine is carried out networking, for each dialing PC installs modulator-demodulator, modulator-demodulator links to each other with switch by telephone wire, switch links to each other with tested access server by trunk line, each dialing PC links to each other with the centralized control server by Ethernet switch, installs for tested access server to be used to provide file the file download service device of uploading download service and the PC that is used for modal.
In the said method, the working procedure of installing for the centralized control server makes the centralized control server be in " monitoring " state, waits for each client come " registration ".
In the said method, the dialing properties of centralized control server is configured to:
(1) the dialing mode of configuration dialing mechanism, dial mode can be for continuing dialing or disposable dialing;
(2) time interval between twice dialing of configuration;
(3) the IP address of configuration dialing success back modal PC, and the address of file download service device.
In the said method, the network connection attribute of client is configured to:
(1) the IP address of Control Server in the config set;
(2) dispose the port numbers that client and centralized control server connect;
(3) connected mode of configuration client and centralized control server, connected mode can be for connecting or manually connecting automatically.
In the said method, the information of client is that the IP address and the client dialing of client connects title.
In the said method, the centralized control server end shows that the process of the link information of all connected clients is:
(1) all clients are dialled;
(2) dialing success back file in download from the file download service device of access server;
(3) client reports execution result to the centralized control server;
(4) check test result at the centralized control server end.
In the said method, client awaits centralized control server transmitting order to lower levels is carried out operation accordingly, and reports the execution result process as follows to the centralized control server:
(1) client is in the state of waiting for centralized control server transmitting order to lower levels;
(2) client is received the order of centralized control server, and resolves its command type;
(3) client is carried out corresponding operation according to the command type that parses;
(4) report execution result to the centralized control server.
In the said method, the centralized control server end shows the information of all connected clients with tree-shaped form.
The method that access server is tested that the present invention proposes, overcome the shortcoming that test in the prior art can only be finished by manual operation, access server to be measured is connected with the dialing PC with test by switch, by a PC as the centralized control server, in order to many dialing PCs of centralized control, carry out automatic dialing, PING operation and the file down operation of dialing PC.The inventive method not only can be carried out test effectively and fully to access server, and has farthest saved manpower, has improved test job efficient.
Description of drawings
Fig. 1 is a client flow chart in the inventive method.
Fig. 2 is a server end flow chart in the inventive method.
Fig. 3 uses the networking schematic diagram that method control multiple pc of the present invention is tested.
Fig. 4 is the schematic diagram that the server end in the inventive method shows with tree view.
Embodiment
The method that access server is tested that the present invention proposes is at first carried out networking to the multiple pc machine, sets one therein as central controlled server, and other is a client for the dialing PC of test usefulness then; Be respectively server and client side's installation and operation program and configuration; The user end to server end sends the connection request message, connects with server, reports client-side information to server; Server end shows the information of all connected clients with tree-shaped form; Client awaits server transmitting order to lower levels is carried out operation accordingly, and reports execution result to server.
Detailed process is described below:
At first carry out correct network organizing, as shown in Figure 3, selected PC is as central controlled server, and other PC just is somebody's turn to do the client in the invention as the dialing PC of test usefulness, and server and all dialing PC will be in the same network segment.Each dialing PC installs Modem (modulator-demodulator), and Modem links to each other with switch by telephone wire, and switch links to each other with tested access server by trunk line.Dialing mechanism utilizes Modem can pull out on the tested access server to go like this, thereby can carry out the test of every performance index to access server.
Build-in services device and client software.After finishing, networking on server PC and each dialing pc client, distinguish build-in services device program and client-side program.
The operation of server program and main configuration: runtime server end program at first, program running success back server end will be in " monitoring " state, wait for each client come " registration ".The dialing mode of mainly carrying out following configuration: a, configuration dialing mechanism at server end is to continue dialing or disposable dialing, lasting dialing can be controlled dialing PC exactly and carry out dialing repeatedly, repeat dialing, hang up, the process of dialing, disposable dialing is controlled after the dialing PC dialing success forever online exactly.The time interval between b, twice dialing of configuration.The IP address of c, configuration dialing user dialing success back PING, and the address that will carry out the server that file uploads or download.
Client configuration: the IP address of mainly carrying out following configuration: a, its server of configuration control behind the running client program.B, dispose the port numbers that itself and server connect.C, configuration client are from being dynamically connected or manually being connected with the connected mode of server, be exactly regularly to detect after client-side program starts whether to have to be connected from being dynamically connected with server, if no, the request that will initiate to connect connects with server negotiate.Manually connecting is exactly manually to carry out a certain order by the user, and client just can begin to set up and being connected of server, if because network or other are former thereby cause connecting and interrupt, just can not rebulid connection.
The idiographic flow of the inventive method as depicted in figs. 1 and 2, the user end to server end sends the connection request message, with set up one after the server negotiate and be connected, when connecting, client will report some local information to server, connect title etc. as the IP address of this locality, local all dialings.
Because all clients all can be set up one with server and be connected, and show the client rs PC that all are attached thereto at server end with tree-shaped form, as shown in Figure 4.User by selecting wherein several or all dialing PC can control the action of client by the form that issues various command.Can select whole clients to bring in such as the user controls, allow all clients carry out dialing, dialing success back file in download from the file download service device, after finishing, client executing can report execution result to server, thereby can check test result at server end, as percept of call completed, user unloading speed etc.
Can be in the state of waiting for server transmitting order to lower levels after client and server successfully connect, when client is received the command messages of server, can resolve its command type, be dialing, hang up, file in download or modal etc.The client meeting go to carry out corresponding operation according to the command type that parses, and can report execution result to server after complete, data of failing, running succeeded and being correlated with as carrying out or the like.
The inventive method is by a machine centralized control, work such as dialing when sending various control commands and just can finish many machines to other machines, PING, FTP upload, download, and after test is finished, return test data.
The inventive method adopts client, and whole invention is divided into server and client-side program two parts.On client rs PC, install and running client program, in last installation and runtime server end program, what the tester will do is exactly only need control server end, issues various command control client rs PC and carries out operations such as automatic dialing, PING, file download.
The tree view as shown in Figure 4 of server end shows, for operating personnel provide good man-machine interface, adopts machine name as each client machine, modulation connection name, connection status etc.
Claims (10)
1, a kind of method that access server is tested comprises following each step:
(1) the multiple pc machine is carried out networking, set one therein as central controlled server, other dialing PC for test usefulness is a client, and access server to be measured is connected with the dialing PC by switch;
(2) be respectively centralized control server and client side installation and operation program, the centralized control server is carried out the dialing properties configuration, client is carried out the configuration of network connection attribute;
(3) client sends the connection request message to the centralized control server end, connects with the centralized control server, reports client-side information to server;
(4) the centralized control server end sends execution command to client, and the centralized control server shows the link information of all connected clients according to feedback information;
(5) client awaits centralized control server transmitting order to lower levels is carried out operation accordingly, and reports execution result to the centralized control server.
2, the method for claim 1 is characterized in that centralized control server and all the dialing PC in the step (1) is in the same network segment.
3, the method for claim 1, when it is characterized in that wherein the multiple pc machine being carried out networking, for each dialing PC installs modulator-demodulator, modulator-demodulator links to each other with switch by telephone wire, switch links to each other with tested access server by trunk line, each dialing PC links to each other with the centralized control server by Ethernet switch, installs for tested access server to be used to provide file the file download service device of uploading download service and the PC that is used for modal.
4, the method for claim 1 is characterized in that wherein making the centralized control server be in " monitoring " state for the working procedure that the centralized control server is installed, and waits for each client come " registration ".
5, the method for claim 1 is characterized in that wherein the dialing properties of centralized control server is configured to:
(1) the dialing mode of configuration dialing mechanism;
(2) time interval between twice dialing of configuration;
(3) the IP address of configuration dialing success back modal PC, and the address of file download service device.
6, the method for claim 1 is characterized in that wherein the network connection attribute of client is configured to:
(1) the IP address of Control Server in the config set;
(2) dispose the port numbers that client and centralized control server connect;
(3) connected mode of configuration client and centralized control server.
7, the method for claim 1 is characterized in that in the step (3), and the information of client is that the IP address and the client dialing of client connects title.
8, the method for claim 1 is characterized in that in the step (4), and the centralized control server end shows that the process of the link information of all connected clients is:
(1) make all clients carry out dialing;
(2) dialing success back is from the file download service device file in download of access server;
(3) client reports execution result to the centralized control server;
(4) check test result at the centralized control server end.
9, the method for claim 1 is characterized in that step (5) comprises following process:
(1) client is in the state of waiting for centralized control server transmitting order to lower levels;
(2) client is received the order of centralized control server, and resolves its command type;
(3) client is carried out corresponding operation according to the command type that parses;
(4) report execution result to the centralized control server.
10, the method for claim 1 is characterized in that wherein centralized control server end shows the information of all connected clients with tree-shaped form.
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 | 华为技术有限公司 | Automatic testing device and method for user interface |
CN100361079C (en) * | 2005-11-09 | 2008-01-09 | 浪潮电子信息产业股份有限公司 | Method for testing synchronous automatic installation for system including multiple complete computers |
CN100407667C (en) * | 2005-11-18 | 2008-07-30 | 华为技术有限公司 | Network communication apparatus protocol testing system and method |
CN100446484C (en) * | 2006-07-06 | 2008-12-24 | 华为技术有限公司 | Method and device for pressure detection of wideband network cut-in device |
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 test 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 | |
CN1859125A (en) | System and its method for central remote automatic upgrading software | |
CN101052020A (en) | Monitor method and system for automatically measuring executing process | |
CN1859187A (en) | Method and system for centrally configurating terminal equipment | |
CN1791037A (en) | Method for realizing Web service automatic test | |
CN107203617B (en) | The online migratory system of mysql and method based on MHA | |
CN1051622C (en) | Client-server type network | |
CN1606282A (en) | Home appliance network system and method for operating the same | |
CN101042673A (en) | Software testing system and testing method | |
CN1787000A (en) | System and method for centralized managing and dispatching of batch work | |
CN101056280A (en) | An upgrade management method and system for instant message client | |
CN1901568A (en) | Method for realizing historical property collection in net managing system | |
CN1731748A (en) | Testing system and method | |
CN1805383A (en) | Automatization testing device and method for service system | |
CN101060370A (en) | A PON terminal management method and system | |
CN101056220A (en) | Central monitoring method of the data service system without network management interface | |
CN1863102A (en) | System and method for testing apparatus based on managing information base | |
CN1753404A (en) | Method of using communication apparatus to select communication protocol | |
CN107179977A (en) | Database Full-automatic monitoring system based on mpm models | |
CN1841336A (en) | Computer testing method | |
CN1508689A (en) | System and method for long-distace obtaining informtion of monitroed computer | |
CN1946031A (en) | Central managing system and method for multiple protocol data and transmission network device | |
CN101035025A (en) | Network device management method and system | |
CN1901453A (en) | Embedded far remote central maintenance device and method | |
CN101056193A (en) | A network operation analysis server, analysis system and analysis method |
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 |