Invention content
The purpose of the application is to propose a kind of improved test method and device, is carried to solve background section aboveTo the technical issues of.
In a first aspect, the embodiment of the present application provides a kind of test method, this method includes:Receive what user terminal was sentInternet protocol address, and the domain name of each server to be tested in IP address and server cluster to be tested is carried outMatch;, as destination server, the end of destination server is obtained using with the server to be tested indicated by the matched domain name of IP addressMessage ceases;Domain name and port information based on destination server generate test information, and test information is sent to destination serviceDevice;Feedback information based on destination server generates test result, returns to test result to user terminal, wherein feedback informationFor with test the relevant information of information.
In some embodiments, the domain name based on destination server and port information generate test information, and test is believedBreath is sent to destination server, including:Domain name and port information based on destination server generate uniform resource position mark URL;It is sent to destination server using URL as test information.
In some embodiments, the feedback information based on destination server generates test result, returns and surveys to user terminalTest result, including:If the feedback information of destination server is the corresponding content of pages of URL, using content of pages as test result,And it is back to user terminal.
In some embodiments, the feedback information based on destination server generates test result, returns and surveys to user terminalTest result, including:If the feedback information of destination server is the corresponding content of pages of URL, by the domain name of destination server and endMessage breath is used as test result, and is back to user terminal.
In some embodiments, the domain name based on destination server and port information generate test information, including:Determine meshWhether the quantity for marking the port indicated by the port information of server is more than the first preset value;If so, from the end of destination serverMessage breath selects predetermined number port in indicated port, the port of domain name and selected taking-up based on destination serverPort information generate predetermined number test information.
Second aspect, the embodiment of the present application provide a kind of test device, which includes:Receiving unit is configured toReceive the internet protocol address that user terminal is sent, and by each clothes to be tested in IP address and server cluster to be testedThe domain name of business device is matched;Acquiring unit, be configured to by with the server to be tested indicated by the matched domain name of IP addressAs destination server, the port information of destination server is obtained;Generation unit is configured to the domain name based on destination serverTest information is generated with port information, and test information is sent to destination server;Feedback unit is configured to be based on targetThe feedback information of server generates test result, and test result is returned to user terminal, wherein feedback information is and test informationRelevant information.
In some embodiments, generation unit further includes:Subelement is generated, the domain name based on destination server is configured toUniform resource position mark URL is generated with port information;Transmission sub-unit is configured to be sent to mesh using URL as test informationMark server.
In some embodiments, feedback unit is further configured to:If the feedback information of destination server corresponds to for URLContent of pages, using content of pages as test result, and be back to user terminal.
In some embodiments, feedback unit is further configured to:If the feedback information of destination server corresponds to for URLContent of pages, using the domain name of destination server and port information as test result, and be back to user terminal.
In some embodiments, generation unit is further configured to:It determines indicated by the port information of destination serverPort quantity whether be more than the first preset value;If so, being chosen in port indicated by port information from destination serverGo out predetermined number port, the port information of the port of domain name and selected taking-up based on destination server generates predetermined numberTest information.
The third aspect, the embodiment of the present application provide a kind of server, which includes:One or more processors;Storage device, for storing one or more programs, when one or more programs are executed by one or more processors so that oneA or multiple processors realize the test method as described in any realization method in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journeySequence realizes the test method as described in any realization method in first aspect when computer program is executed by processor.
Test method provided by the embodiments of the present application and device pass through IP address and the clothes to be tested for sending user terminalThe domain name of each server to be tested in business device cluster is matched, using the server to be tested indicated by matched domain name asDestination server;Then obtain the port information of destination server;The domain name based on destination server and port information generate againInformation is tested, and is sent to destination server;Feedback information based on destination server generates test result, to return to user's endEnd.In this way, even if increasing new server to be tested in server cluster to be tested, the domain name based on new server to be testedAnd port information, corresponding test information can also be generated.So as to reduce the modification to test data, test effect is improvedRate.
Specific implementation mode
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouchedThe specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order toConvenient for description, is illustrated only in attached drawing and invent relevant part with related.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phaseMutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the exemplary system architecture that can apply the test method of the application or the embodiment of test device100。
As shown in Figure 1, system architecture 100 may include user terminal 101,102,103, and network 104,106, server105 and server to be tested 107,108.Network 104 between user terminal 101,102,103 and server 105 providingThe medium of communication link.Network 106 is to the offer communication link between server 105 and server to be tested 107,108Medium.Network 104,106 may include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted by network 104 with server 105 using user terminal 101,102,103, to receive or send outSend message etc..Various telecommunication customer end applications can be installed, such as web browser is answered on user terminal 101,102,103With, application service testing tool, the application of shopping class, searching class application, instant messaging tools, mailbox client etc..
User terminal 101,102,103 can be the various electronic equipments for having display screen, including but not limited to intelligent handMachine, tablet computer, E-book reader, pocket computer on knee and desktop computer etc..
Server 107,108 to be tested can be to provide the server of various services, for example, to user terminal 101,102,Various applications on 103 provide the background application server supported.
Server 105 can be to provide the server of various services, such as the packet to the transmission of user terminal 101,102,103The background process server that test request containing IP (Internet Protocol, Internet protocol) address is handled.From the backgroundProcessing server can carry out the data such as the domain name of the IP address and server to be tested 107,108 received and port informationAnalyzing processing, and handling result (such as test result) is fed back into user terminal.
It should be noted that the test method that the embodiment of the present application is provided generally is executed by server 105, correspondingly,Test device is generally positioned in server 105.
It should be understood that the number of the user terminal, network, server and server to be tested in Fig. 1 is only schematic's.According to needs are realized, can have any number of terminal device, network, server and server to be tested.It needs to illustrate, server 105 and server to be tested 107,108 can be the child servers in same server, different to realizeService function.
With continued reference to Fig. 2, the flow 200 of one embodiment of the test method according to the application is shown.The test sideMethod includes the following steps:
Step 201, the internet protocol address that user terminal is sent is received, and by IP address and server set to be testedThe domain name of each server to be tested in group is matched.
In the present embodiment, test method operation electronic equipment (such as server 105 shown in FIG. 1) thereon can be withBy wired connection mode or radio connection IP address is received from user terminal.And by IP address and service to be testedThe domain name of each server to be tested in device cluster is matched.Wherein, in above-mentioned electronic equipment and server cluster to be testedEach server communication to be tested connection.
In the present embodiment, user profit can send IP address in various manners on the subscriber terminal.Such as user can be withIP address etc. is inputted in the input field of browser or test platform on the subscriber terminal.Test platform can utilize webpageWeb framing tools structure.Such as the Web application frames based on object-oriented, literal translation formula computer programming language pythonFrame, such as:The Web application frameworks such as Django, Tornado, Bottle or web.py.In addition, user can also send simultaneously it is moreA IP address can be separated between each IP address with comma (but not limiting) to distinguish.
In the present embodiment, the IP version of IP address is not limited.The IP version of IP address can be IPv4, can alsoIt is IPv6.And the IP address that user terminal is sent can be IP address corresponding with the domain name of server to be tested, it can alsoIt is IP address corresponding with the domain name of other servers.In this way before being tested, can first it be set to operating in above-mentioned electronicsStandby upper test method makes a preliminary test verification.
In the present embodiment, since the domain name of a server to be tested would generally correspond to an IP address, so above-mentionedElectronic equipment is after receiving the IP address that user terminal is sent, IP address that can be corresponding to the domain name with each server to be testedIt is matched.Above-mentioned electronic equipment can prestore each clothes to be tested in the server cluster to be tested for communicating with connectionThe domain name and IP address of business device.If in the IP address corresponding to the domain name of each server to be tested, existing and being sent out with user terminalThe identical IP address of IP address sent can then be determined in the presence of the matched server to be tested of IP address sent with user terminalDomain name.It, then can be to user if there is no the domain name of the matched server to be tested of IP address sent with user terminalTerminal sends prompt message (such as IP address is not present or it fails to match).It is understood that the application is to each clothes to be testedThe domain name of device of being engaged in and the storage location of IP address do not limit, and above-mentioned electronic equipment can also be obtained from each server to be testedCorresponding information.
Step 202, as destination server, mesh is obtained using with the server to be tested indicated by the matched domain name of IP addressMark the port information of server.
In the present embodiment, the IP address received based on step 201, above-mentioned electronic equipment can first by with IP addressServer to be tested indicated by matched domain name is determined as destination server, then obtains the port letter of the destination serverBreath.
In the present embodiment, can both there be physical port (such as serial port, parallel port) on destination server, also might be usedTo there is virtual port (such as protocol port).Above-mentioned electronic equipment mainly obtain port that destination server externally provided (such as80 ports of WWW (World Wide Web, WWW) services are distributed to, or distribute to FTP (File TransferProtocol, file transmission) service 21 ports etc.) port information.Wherein, port information may include but not limit communicationAgreement, port address, port name etc..Communication protocol may include HTTP (Hypertext Transfer Protocol,Hyper text transfer) agreement, File Transfer Protocol and SMTP (Simple Mail Transfer Protocol, simple mail transmission) agreementDeng.
In the present embodiment, above-mentioned electronic equipment can obtain the port information of destination server by various modes.ExampleSuch as, the port information of each server to be tested can be prestored in above-mentioned electronic equipment, and finds mesh in these informationMark the port information of server.As an example, above-mentioned electronic equipment can also utilize service-oriented architecture technology Web serviceTo obtain the port information of each server to be tested.Because would generally include SOAP in existing Web service services(Simple Object Access Protocol, Simple Object Access Protocol) and WSDL (Web ServicesDescription Language, web services definition language).These port informations are with XML (Extensible MarkupLanguage, extensible markup language) document form transmission, so as to transmit and be read between different server.
Step 203, the domain name based on destination server and port information generate test information, and test information is sent toDestination server.
In the present embodiment, the domain name and port information of the destination server obtained based on step 202, above-mentioned electronic equipmentThe identifiable test information of destination server can be generated.And test information is sent to destination server.
In the present embodiment, above-mentioned electronic equipment can service function described in the port information according to destination serverDifference, and generate different test information.Such as:The port address of destination server is 21, usually FTP service.At this point,Above-mentioned electronic equipment can send Passive Mode PASV orders (testing information) and arrive destination server.When control link is created asAfter work(, destination server will send out a port number to above-mentioned electronic equipment.If above-mentioned electronic equipment receives destination serviceThe port numbers (i.e. feedback information) that device is sent, can primarily determine that test passes through.Further, above-mentioned electronic equipment can be to targetServer initiates data link request, and upon success to destination server transmission data (as test information).Work as targetAfter server feedback conditional code, above-mentioned electronic equipment can be to further determine that test according to conditional code (as feedback information)It is no to pass through.Such as:2xx indicates current operation success, it may be determined that test passes through.Again for example:The port of destination serverLocation is 25, and usually SMTP is serviced.At this point, above-mentioned electronic equipment is with destination server after establishing the link, if receiving targetWhen server returns to 220 conditional code, it can primarily determine that test passes through.Further, above-mentioned electronic equipment can take to targetBusiness device sends out HELO EHLO orders (testing information).Wherein, HELO orders refer to acquiescence SMTP service, EHLO refer in addition toExpansion service is also supported except the service of acquiescence.HELO orders and EHLO orders are common journeys in prior art SMTP servicesSequence language, these programs are commercially available.Conditional code (the i.e. feedback letter that above-mentioned electronic equipment can be fed back according to destination serverBreath) it tests whether to pass through to further determine that.
In some optional realization methods of the present embodiment, following steps may be used to be based on mesh in above-mentioned electronic equipmentIt marks the domain name of server and port information generates test information:Determine the number of the port indicated by the port information of destination serverWhether amount is more than the first preset value;If so, selecting predetermined number in port indicated by port information from destination serverA port, the port information of the port of domain name and selected taking-up based on destination server generate predetermined number and test information.It should be noted that the method for choosing predetermined number port does not limit in the present embodiment, can randomly select, also may be usedTo be to be chosen according to presetting method, for example chosen according to the ascending sequence of port address.
Step 204, the feedback information based on destination server generates test result, and test result is returned to user terminal.
In the present embodiment, above-mentioned electronic equipment can generate test result based on the feedback information of destination server.AndAnd above-mentioned electronic equipment can return to test result by way of wired connection or wireless connection to user terminal.Wherein, insteadFeedforward information can be and test the relevant information of information (embodiment as shown in step 203).Test result may include but notIt is limited to test to pass through or test not passing through.As an example, above-mentioned electronic equipment can also be by the domain name of destination server and portInformation and whether by the information such as testing test report is generated, using as test result.The masterplate of test report can be advanceIt is stored in above-mentioned electronic equipment.In this way be convenient for management service, and convenient in time find and solve test not by targetServer and port.
In the present embodiment, user terminal can by various modes to user show test result, such as browser orTest platform etc..
The test method that above-described embodiment of the application provides passes through the IP address for sending user terminal and clothes to be testedThe domain name of each server to be tested in business device cluster is matched, using the server to be tested indicated by matched domain name asDestination server;Then obtain the port information of destination server;The domain name based on destination server and port information generate againInformation is tested, and is sent to destination server;The feedback information for being finally based on destination server generates test result, to return to useFamily terminal.In this way, even if increasing new server to be tested in server cluster to be tested, based on new server to be testedDomain name and port information can also generate corresponding test information.So as to reduce the modification to test data, survey is improvedTry efficiency.
With further reference to Fig. 3, it illustrates the flows 300 of another embodiment of the test method of the application.The testThe flow 300 of method, includes the following steps:
Step 301, the IP address that user terminal is sent is received, and IP address is respectively waited for server cluster to be testedThe domain name of test server is matched.
In the present embodiment, test method operation electronic equipment (such as server 105 shown in FIG. 1) thereon can be withThe IP address of user terminal transmission is received by way of wired connection or wireless connection.And above-mentioned electronic equipment can be by IPAddress is matched with the domain name of each server to be tested in server cluster to be tested.For details, reference can be made to implement shown in Fig. 2Step 201 in example, details are not described herein again.
Step 302, as destination server, mesh is obtained using with the server to be tested indicated by the matched domain name of IP addressMark the port information of server.
In the present embodiment, above-mentioned electronic equipment can by with the server to be tested indicated by the matched domain name of IP addressAs destination server, the port information of destination server is obtained.Wherein, port information can include but is not limited to communication protocolsView, port address, port name etc..For details, reference can be made to the steps 202 in embodiment illustrated in fig. 2, and details are not described herein again.
Step 303, the domain name based on destination server and port information generate uniform resource position mark URL, using URL asTest information is sent to destination server.
In the present embodiment, the domain name and port information that above-mentioned electronic equipment can be based on destination server generate URL.ExampleSuch as:The domain name of destination server is * * * .com, and port information includes http protocol, port numbers 80, can generate URL and behttp://www.***.com:80 or http://www.***.com.And above-mentioned electronic equipment can be using URL as testInformation, to send the test request for including URL to destination server.In addition, above-mentioned electronic equipment can also utilize in PythonHttplib modules in Get methods obtain content or Post methods from destination server and submit information to destination server.It needsIt is noted that Python and httplib modules are the known technologies studied and applied extensively at present, details are not described herein.
Step 304, if the feedback information of destination server is the corresponding content of pages of URL, using content of pages as testAs a result, and being back to user terminal.
In the present embodiment, letter of the above-mentioned electronic equipment in the corresponding content of pages of URL for receiving destination server feedbackAfter breath, user terminal can be back to by way of wired connection or wireless connection using content of pages as test result.
In the present embodiment, user terminal can be shown to user in the corresponding pages of URL in browser or test platformHold.Test platform can choose HTML (Hypertext Markup appropriate according to the data structure of content of pagesLanguage, hypertext markup language) masterplate, with displayed page content.
In some optional realization methods of the present embodiment, if the feedback information of destination server is the corresponding pages of URLFace content, above-mentioned electronic equipment can be using the domain name of destination server and port information as test result, and is back to userTerminal.
From figure 3, it can be seen that compared with the corresponding embodiments of Fig. 2, the flow 300 of the test method in the present embodiment is prominentThe generation step to testing information and test result is gone out.The scheme of the present embodiment description can introduce more to be measured as a result,The application service for trying server more fully tests information and more rich test result to realize.
It is a schematic diagram of the application scenarios of the test method of embodiment according to Fig.3, with continued reference to Fig. 4, Fig. 4.In the application scenarios of Fig. 4, user can input the IP address of 172.###.## in the input field on test platform first, click" test " button (as shown in label 401).Hereafter, which can be sent to server by user terminal.Server is firstCan by the domain name of each server to be tested in the IP address of the 172.###.## received and server cluster to be tested intoRow matching.Then can be www.A** by domain name after the determining and matched domain names of 172.###.## are www.A**.com.com server to be tested obtains the port information of the destination server as destination server.Then generate http://The test information of www.A**.com, and send it to destination server.The page that last server returns to destination serverContent is back to user terminal as test result.User terminal can be according to the data structure of content of pages, in test platformOn result 1 at its (such as Email Accounts login page) is showed by user with form web page, test homepage is test platformHomepage.Email Accounts login page includes " Email Accounts or cell-phone number@163.com ", " password ", " logins " button and " registration "Button (as shown in label 402).
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of test devicesOne embodiment.The device embodiment is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to various electricityIn sub- equipment.
As shown in figure 5, the test device 500 of the present embodiment includes:Receiving unit 501, acquiring unit 502, generation unit503 and feedback unit 504.Wherein, receiving unit 501 is configured to receive the internet protocol address that user terminal is sent,And IP address is matched with the domain name of each server to be tested in server cluster to be tested;Acquiring unit 502 configuresFor, as destination server, obtaining the end of destination server using with the server to be tested indicated by the matched domain name of IP addressMessage ceases;Generation unit 503 is configured to the domain name based on destination server and port information generation test information, and will testInformation is sent to destination server;Feedback unit 504 is configured to the feedback information based on destination server and generates test result,To user terminal return test result, wherein feedback information be and test the relevant information of information.
In the present embodiment, the specific reality of receiving unit 501, acquiring unit 502, generation unit 503 and feedback unit 504Existing mode and the advantageous effect of generation can be respectively referring to step 201, step 202, step 203 and the steps in Fig. 2 embodiments204, details are not described herein again.
In some optional realization methods of the present embodiment, generation unit 503 can also include:Generate subelement (figureIn be not shown), be configured to domain name based on destination server and port information generate uniform resource position mark URL;Send sonUnit (not shown) is configured to be sent to destination server using URL as test information.
In some optional realization methods of the present embodiment, feedback unit 504 can be further configured to:If targetThe feedback information of server is the corresponding content of pages of URL, using content of pages as test result, and is back to user terminal.
In some optional realization methods of the present embodiment, feedback unit 504 can be further configured to:If targetThe feedback information of server is the corresponding content of pages of URL, using the domain name of destination server and port information as test result,And it is back to user terminal.
In some optional realization methods of the present embodiment, generation unit 503 can be further configured to:Determine meshWhether the quantity for marking the port indicated by the port information of server is more than the first preset value;If so, from the end of destination serverMessage breath selects predetermined number port in indicated port, the port of domain name and selected taking-up based on destination serverPort information generate predetermined number test information.
Below with reference to Fig. 6, it illustrates the computer systems 600 suitable for the server for realizing the embodiment of the present applicationStructural schematic diagram.Server shown in Fig. 6 is only an example, should not be to the function and use scope band of the embodiment of the present applicationCarry out any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored inProgram in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 andExecute various actions appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to alwaysLine 604.
It is connected to I/O interfaces 605 with lower component:Importation 606 including keyboard, mouse etc.;It is penetrated including such as cathodeThe output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loud speaker etc.;Storage section 608 including hard disk etc.;And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as becauseThe network of spy's net executes communication process.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such asDisk, CD, magneto-optic disk, semiconductor memory etc. are mounted on driver 610, as needed in order to be read from thereonComputer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart descriptionSoftware program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable mediumOn computer program, which includes the program code for method shown in execution flow chart.In such realityIt applies in example, which can be downloaded and installed by communications portion 609 from network, and/or from detachable media611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processesAbove-mentioned function.It should be noted that the above-mentioned computer-readable medium of the application can be computer-readable signal media orComputer readable storage medium either the two arbitrarily combines.Computer readable storage medium for example can be --- butBe not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or arbitrary above combination.The more specific example of computer readable storage medium can include but is not limited to:Electrical connection with one or more conducting wires,Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only depositReservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memoryPart or above-mentioned any appropriate combination.In this application, computer readable storage medium can any be included or storeThe tangible medium of program, the program can be commanded the either device use or in connection of execution system, device.AndIn the application, computer-readable signal media may include the data letter propagated in a base band or as a carrier wave partNumber, wherein carrying computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but notIt is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computerAny computer-readable medium other than readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit useIn by instruction execution system, device either device use or program in connection.Include on computer-readable mediumProgram code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc., Huo ZheshangAny appropriate combination stated.
Flow chart in attached drawing and block diagram, it is illustrated that according to the system of the various embodiments of the application, method and computer journeyThe architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generationA part for a part for one module, program segment, or code of table, the module, program segment, or code includes one or more usesThe executable instruction of the logic function as defined in realization.It should also be noted that in some implementations as replacements, being marked in boxThe function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actuallyIt can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depended on the functions involved.Also it to noteMeaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holdingThe dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instructionCombination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hardThe mode of part is realized.Described unit can also be arranged in the processor, for example, can be described as:A kind of processor packetInclude receiving unit, acquiring unit, generation unit and feedback unit.Wherein, the title of these units not structure under certain conditionsThe restriction of the pairs of unit itself, for example, receiving unit is also described as " receiving the Internet protocol that user terminal is sentIP address, and the domain name of each server to be tested in IP address and server cluster to be tested is subjected to matched unit ".
As on the other hand, present invention also provides a kind of computer-readable medium, which can beIncluded in server described in above-described embodiment;Can also be individualism, and without be incorporated the server in.It is above-mentionedComputer-readable medium carries one or more program, when said one or multiple programs are executed by the server,Make the server:The internet protocol address that user terminal is sent is received, and by IP address and server cluster to be testedIn the domain name of each server to be tested matched;Using with the server to be tested indicated by the matched domain name of IP address asDestination server obtains the port information of destination server;Domain name and port information based on destination server generate test letterBreath, and test information is sent to destination server;Feedback information based on destination server generates test result, to user's endEnd return test result, wherein feedback information be and test the relevant information of information.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the artMember should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristicScheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent featureOther technical solutions of arbitrary combination and formation.Such as features described above has similar work(with (but not limited to) disclosed hereinCan technical characteristic replaced mutually and the technical solution that is formed.