CN110149400A - It is a kind of based on the test method, system and equipment of realizing that different sections of IP switch mutually under Linux - Google Patents
It is a kind of based on the test method, system and equipment of realizing that different sections of IP switch mutually under Linux Download PDFInfo
- Publication number
- CN110149400A CN110149400A CN201910427651.1A CN201910427651A CN110149400A CN 110149400 A CN110149400 A CN 110149400A CN 201910427651 A CN201910427651 A CN 201910427651A CN 110149400 A CN110149400 A CN 110149400A
- Authority
- CN
- China
- Prior art keywords
- server
- transfer
- destination server
- different sections
- realizing
- 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.)
- Pending
Links
- 238000010998 test method Methods 0.000 title claims abstract description 15
- 230000006870 function Effects 0.000 claims abstract description 20
- 238000012360 testing method Methods 0.000 claims abstract description 20
- 238000000034 method Methods 0.000 claims abstract description 9
- 238000012546 transfer Methods 0.000 claims description 60
- 238000004590 computer program Methods 0.000 claims description 6
- 230000003993 interaction Effects 0.000 abstract description 4
- 230000005540 biological transmission Effects 0.000 abstract 1
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3664—Environments for testing or debugging software
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/08—Protocols specially adapted for terminal emulation, e.g. Telnet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
It is proposed by the present invention a kind of based on the test method, system and equipment of realizing that different sections of IP switch mutually under Linux, the method that different sections of IP Telnets are realized by the interaction of Shell script automated prompting.It realizes and automatically completes communicating with each other for different sections of IP, save artificial contrast's time, improve efficiency.The present invention is suitable for IP sections of server test functions of SIT tester Telnet difference, and login test and its file transmission, saving is facilitated to go the local operation time, effectively improve SIT testing efficiency.
Description
Technical field
It is more particularly to a kind of different based on being realized under Linux the present invention relates to technical field of the computer network
Test method, system and the equipment that section IP switches mutually.
Background technique
Telnet (Telnet) be known as to remote server send/from remote server receive character
Information is to use the agreement of the resource of remote server.Telnet allow client computer be remotely log into via
The server of TCP/IP connection, to be used as the virtual terminal of the remote server.Therefore, in the network environment based on TCP/IP
In, as long as a server has opened Telnet port, any authorized client computer can be made by Telnet port
With the server.
When telnet server, since IP sections of differences cause not logging in, lead to that local debugged can only be gone.By
When server is in communication with each other between the different or different special projects of server placement location, need to realize the communication between different IP
Journey.But at this stage, SIT tester can not IP sections of server test functions of Telnet difference, SIT test when can only carry out
Local operation causes SIT testing efficiency lower.
Summary of the invention
In view of the above problems, being based on realizing that different sections of IP switch mutually under Linux the purpose of the present invention is to provide one kind
Test method, system and equipment, pass through Shell script automated prompting interaction realize different sections of IP Telnet.
The present invention to achieve the above object, is achieved through the following technical solutions: one kind is based on realizing different sections of IP under Linux
The test method switched mutually, comprising:
Pass through the default linkable transfer server title of interface display and the linkable purpose clothes of the transfer server
Business device title;
First selected to link to transfer server according to destination server, then reselection destination server and pass through transfer take
Business device links to destination server;
Remote debugging is carried out to destination server.
Further, the transfer server title and destination server title are digital number.
Further, described can chain by the default linkable transfer server title of interface display and the transfer server
The destination server title connect specifically: by default interface display include linkable transfer server digital number and described
The server numbered list of the linkable destination server number of transfer server.
Further, described first to be selected to link to transfer server according to destination server, then reselection destination server
And include: by the process that transfer server links to destination server
Call link transfer server function CONNECT_IP_ADDRESS (), input transfer server number and purpose clothes
Business device number;
Judgement selection digital function DEFAULTS_CONNECT () is called, if input error digital number, is prompted again
Select server number;
It calls case in function to judge the transfer server and destination server of selection, and establishes the link.
Further, after selecting transfer server, there is the chance of 3 selection destination server numbers, if 3 selections are equal
Mistake, link failure.
Further, further includes: by repeatedly calling case in function to add multiple linkable transfer servers and purpose
Server group mesh.
Correspondingly, the invention also discloses a kind of based on the test macro for realizing that different sections of IP switch mutually under Linux, packet
It includes:
Display module: for showing linkable transfer server title and the linkable purpose clothes of the transfer server
Business device title;
Link module: first selecting to link to transfer server according to destination server, and then reselection destination server is simultaneously
Destination server is linked to by transfer server;
Debugging module: for carrying out remote debugging to destination server.
Correspondingly, the invention also discloses a kind of based on the test equipment for realizing that different sections of IP switch mutually under Linux,
It is characterized in that, comprising:
Memory, for storing computer program;
Processor realizes the linux system as described in any one of claim 1 to 6 when for executing the computer program
Lower server B ios firmware updates the step of method of automatic test.
The prior art is compared, the beneficial effects of the invention are that: it is based on realizing different sections under Linux the present invention provides one kind
Test method, system and the equipment that IP switches mutually realize that different sections of IP are remotely stepped on by the interaction of Shell script automated prompting
The method of record.It realizes and automatically completes communicating with each other for different sections of IP, save artificial contrast's time, improve efficiency.The present invention
Suitable for SIT tester IP sections of server test functions of Telnet difference, facilitates login to test and its file transmits, section
It divides out the local operation time, effectively improves SIT testing efficiency.
The present invention is based on Linux systems, and system is versatile, are widely used;System environments needed for test is stablized, test
Conclusion is true and reliable.
It can be seen that compared with prior art, the present invention implementing with substantive distinguishing features outstanding and significant progress
Beneficial effect be also obvious.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Attached drawing 1 is flow diagram of the invention.
Attached drawing 2 is flow chart of the method for the present invention.
Attached drawing 3 is system construction drawing of the invention.
Specific embodiment
It explains with reference to the accompanying drawing to a specific embodiment of the invention.
It is as shown in Figure 1 and Figure 2 a kind of based on the test method for realizing that different sections of IP switch mutually under Linux, comprising:
S1: pass through the default linkable transfer server title of interface display and the linkable purpose of the transfer server
Server name.
Wherein, the transfer server title and destination server title are digital number.This step specifically: pass through
Default interface display includes linkable transfer server digital number and the linkable destination server of the transfer server
The server numbered list of number.
S2: first selecting to link to transfer server according to destination server, then reselection destination server and passes through
Turn server and links to destination server.
Firstly, call link transfer server function CONNECT_IP_ADDRESS (), input transfer server number and
Destination server number;Then, judgement selection digital function DEFAULTS_CONNECT () is called, if input error is digital
Number prompts to reselect server number;Case in function is finally called to judge transfer server and the purpose service of selection
Device, and establish the link.
Wherein, after selecting transfer server, there is the chance of 3 selection destination server numbers, if 3 selections are wrong
Accidentally, link failure.
It in step s 2, can be by repeatedly calling case in function to add multiple linkable transfer servers and mesh
Server group mesh.
S3: remote debugging is carried out to destination server.
Correspondingly, as shown in figure 3, the invention also discloses a kind of based on realizing what different sections of IP switched mutually under Linux
Test macro, comprising:
Display module: for showing linkable transfer server title and the linkable purpose clothes of the transfer server
Business device title;
Link module: first selecting to link to transfer server according to destination server, and then reselection destination server is simultaneously
Destination server is linked to by transfer server;
Debugging module: for carrying out remote debugging to destination server.
Correspondingly, the invention also discloses a kind of based on the test equipment for realizing that different sections of IP switch mutually under Linux,
It is characterized in that, comprising:
Memory, for storing computer program;
Processor is realized when for executing the computer program and is based on realizing not under Linux as described in any one above
The step of test method switched mutually with section IP.
On the basis of the above, of the present invention a kind of based on the test side for realizing that different sections of IP switch mutually under Linux
Method can write script realization by shell, and specific content for script is as follows:
Link transfer server function
Judgement selection digital function, input error number can prompt to reselect number
Human-computer interaction interface shows 1 as transfer server Beijing, and 2 be purpose server Shanghai, can add more ground herein
Destination server, such as work requirements TaiWan, China and U.S.'s server.If meeting one after having selected transfer server Beijing
The number of straight inquiry destination server, has referred to write Shanghai server at one, can add multiple groups destination server according to demand.
After selecting transfer server, the number of destination server is then selected, this function is that there are 3 selection destination servers
The chance of number, therefore write as circulation.
Case ... in ... function is to judge 1 selection transfer server Beijing, and 2 be purpose server Shanghai, can be added herein
Multiple groups destination server, such as TaiWan, China and the U.S., since function is originally identical, therefore are saved.
With reference to the drawings and specific embodiments, the invention will be further described.It should be understood that these embodiments are merely to illustrate
The present invention rather than limit the scope of the invention.In addition, it should also be understood that, after reading the content taught by the present invention, this field
Technical staff can make various changes or modifications the present invention, and such equivalent forms equally fall within range defined herein.
Claims (8)
1. a kind of based on the test method for realizing that different sections of IP switch mutually under Linux characterized by comprising by default
The linkable transfer server title of interface display and the linkable destination server title of the transfer server;
It is first selected to link to transfer server according to destination server, then reselection destination server and passes through transfer server
Link to destination server;
Remote debugging is carried out to destination server.
2. according to claim 1 based on the test method for realizing that different sections of IP switch mutually under Linux, feature exists
In the transfer server title and destination server title are digital number.
3. according to claim 2 based on the test method for realizing that different sections of IP switch mutually under Linux, feature exists
In described to pass through the default linkable transfer server title of interface display and the linkable purpose service of the transfer server
Device title specifically: including linkable transfer server digital number and the transfer server by default interface display can
The server numbered list of the destination server number of link.
4. according to claim 2 based on the test method for realizing that different sections of IP switch mutually under Linux, feature exists
In, it is described first to be selected to link to transfer server according to destination server, then reselection destination server and pass through transfer take
Business device links to the process of destination server and includes:
Call link transfer server function CONNECT_IP_ADDRESS (), input transfer server number and destination server
Number;
Judgement selection digital function DEFAULTS_CONNECT () is called, if input error digital number, prompt reselect
Server number;
It calls case in function to judge the transfer server and destination server of selection, and establishes the link.
5. according to claim 4 based on the test method for realizing that different sections of IP switch mutually under Linux, feature exists
In, after selecting transfer server, the chance for thering are 3 selection destination servers to number, if selecting equal mistake for 3 times, link failure.
6. according to claim 4 based on the test method for realizing that different sections of IP switch mutually under Linux, feature exists
In, further includes: by repeatedly calling case in function to add multiple linkable transfer servers and destination server group mesh.
7. a kind of based on the test macro for realizing that different sections of IP switch mutually under Linux characterized by comprising display module:
For showing linkable transfer server title and the linkable destination server title of the transfer server;
Link module: first selecting to link to transfer server according to destination server, then reselection destination server and passes through
Transfer server links to destination server;
Debugging module: for carrying out remote debugging to destination server.
8. a kind of based on the test equipment for realizing that different sections of IP switch mutually under Linux characterized by comprising memory is used
In storage computer program;
Processor is realized when for executing the computer program and is taken under the Linux system as described in any one of claim 1 to 6
The step of business device BIOS/firmware updates the method for automatic test.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910427651.1A CN110149400A (en) | 2019-05-22 | 2019-05-22 | It is a kind of based on the test method, system and equipment of realizing that different sections of IP switch mutually under Linux |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910427651.1A CN110149400A (en) | 2019-05-22 | 2019-05-22 | It is a kind of based on the test method, system and equipment of realizing that different sections of IP switch mutually under Linux |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110149400A true CN110149400A (en) | 2019-08-20 |
Family
ID=67592564
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910427651.1A Pending CN110149400A (en) | 2019-05-22 | 2019-05-22 | It is a kind of based on the test method, system and equipment of realizing that different sections of IP switch mutually under Linux |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110149400A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131152A (en) * | 2019-11-15 | 2020-05-08 | 苏州浪潮智能科技有限公司 | Automatic verification method and system for cross-platform remote login protection system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6408329B1 (en) * | 1996-08-08 | 2002-06-18 | Unisys Corporation | Remote login |
CN102546642A (en) * | 2012-01-16 | 2012-07-04 | 深圳市深信服电子科技有限公司 | Remote login method and device |
CN104363245A (en) * | 2014-11-28 | 2015-02-18 | 上海斐讯数据通信技术有限公司 | Remote login system and method based on telnet protocol |
CN109600416A (en) * | 2018-10-29 | 2019-04-09 | 珠海市君天电子科技有限公司 | Service server remote entry method, device, electronic equipment and storage medium |
-
2019
- 2019-05-22 CN CN201910427651.1A patent/CN110149400A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6408329B1 (en) * | 1996-08-08 | 2002-06-18 | Unisys Corporation | Remote login |
CN102546642A (en) * | 2012-01-16 | 2012-07-04 | 深圳市深信服电子科技有限公司 | Remote login method and device |
CN104363245A (en) * | 2014-11-28 | 2015-02-18 | 上海斐讯数据通信技术有限公司 | Remote login system and method based on telnet protocol |
CN109600416A (en) * | 2018-10-29 | 2019-04-09 | 珠海市君天电子科技有限公司 | Service server remote entry method, device, electronic equipment and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131152A (en) * | 2019-11-15 | 2020-05-08 | 苏州浪潮智能科技有限公司 | Automatic verification method and system for cross-platform remote login protection system |
CN111131152B (en) * | 2019-11-15 | 2022-06-10 | 苏州浪潮智能科技有限公司 | Automatic verification method and system for cross-platform remote login protection system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5889954A (en) | Network manager providing advanced interconnection capability | |
CN102447572B (en) | Internet-surfing assistant system and method for assisting client side user in solving encountered faults | |
CN106412192B (en) | A kind of mobile terminal test method and its system | |
CN109522171A (en) | A kind of fault diagnosis method and system | |
CN104394029A (en) | An AFDX bus detecting method based on a hybrid channel | |
CN103517375B (en) | A kind of to multiple mobile equipment identification, the method for communication and device | |
CN109634878A (en) | Monitoring method, monitoring device, server, terminal and readable storage medium storing program for executing | |
CN107040429A (en) | A kind of method of testing and system of port forwarding performance | |
CN107145439A (en) | A kind of test request processing method and processing device | |
CN110149400A (en) | It is a kind of based on the test method, system and equipment of realizing that different sections of IP switch mutually under Linux | |
CN102291274A (en) | System and method for realizing automatic adaptation of network testing instrument | |
CN112583663B (en) | Automatic network performance testing method based on domestic operating system | |
CN110855518B (en) | Method and system for automatically adapting test host | |
CN107592403A (en) | A kind of multiple users method for processing business and device | |
CN112637010A (en) | Equipment checking method and device | |
CA1226358A (en) | Arrangement for loop analysis testing for a digital switching system | |
CN109787865B (en) | Method, system, switch and storage medium for verifying upgrading condition | |
CN105827462A (en) | Method and tool for detecting network device | |
CN109981795A (en) | Resource request dispatching method and device | |
US4551585A (en) | Arrangement for facilitating external loop analysis testing for a digital switching system | |
CN112671723B (en) | Call control system, method and computer readable medium | |
CN113163059A (en) | IPPBX performance detection method, terminal device and storage medium | |
CN114285756A (en) | Service call dependency relationship analysis method and related device | |
CN109213487A (en) | A kind of data capture method and its relevant device | |
CN104902494B (en) | A kind of more LTE terminal automatization test systems and its test method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190820 |