CN106656606A - Data path testing method, data path testing server and data path testing system - Google Patents

Data path testing method, data path testing server and data path testing system Download PDF

Info

Publication number
CN106656606A
CN106656606A CN201611226721.XA CN201611226721A CN106656606A CN 106656606 A CN106656606 A CN 106656606A CN 201611226721 A CN201611226721 A CN 201611226721A CN 106656606 A CN106656606 A CN 106656606A
Authority
CN
China
Prior art keywords
server
test
data path
test post
testing
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
Application number
CN201611226721.XA
Other languages
Chinese (zh)
Inventor
李宠波
王景正
孙雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201611226721.XA priority Critical patent/CN106656606A/en
Publication of CN106656606A publication Critical patent/CN106656606A/en
Priority to PCT/CN2017/117228 priority patent/WO2018121353A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a data path testing method, a data path testing server and a data path testing system. The testing method comprises the following steps of: sending a testing message to a first server by the testing server, wherein the first server reports testing data to a third server through at least one second server; and, according to the condition whether the third server receives the testing message or not and/or the time when the third server receives the testing message, judging whether a data path between the first server and the third server is abnormal or not. By means of the data path testing method, the data path testing server and the data path testing system provided by the invention, whether various data paths normally transmit data or not can be determined rapidly and accurately among multiple servers; therefore, when the multiple servers have a data path interruption or data transmission abnormity condition in an operation process, important reference basis can be provided for operation and maintenance persons of the multiple servers; simultaneously, testing of the data path can be realized without pausing normal service data transmission; and thus, the fact that normal data business services are provided for users can be ensured.

Description

The method of testing of data path, testing service device and test system
Technical field
The present invention relates to field of computer technology, specifically, the present invention relates to data path between a kind of multi-party server Method of testing, a kind of testing service device of data path and a kind of test system of data path.
Background technology
With developing rapidly for network application, the demand that people obtain the data service of information is also more and more therefore right Server processes in time the ability of big data business and also requires that more and more higher.When the data service of user's request is into hundred times or thousand times Surge when, needs linear expansion, multi-party server of the data in server cluster are carried out to server cluster in server end Between be transmitted during, tend to the factors such as factor data line failure and cause data-transmission interruptions.Prior art In, tested one by one to determine the data path of transmission fault often through the every data path to multi-party server, survey Examination is extremely inefficient, has had a strong impact on the normal operation of multi-party server;Further, since the data service between multi-party server is past It is past more complicated, and volume of transmitted data is huge, therefore easily occur by mistake sentencing in fault data path during test data path Break as the situation of normal data path, so as to reduce the accuracy rate of test result.
Therefore, a kind of method of testing of data path between multi-party server is needed badly, can be efficient, quickly, judge exactly Go out the data path of data transmission exception.
The content of the invention
To overcome above-mentioned technical problem or solving above-mentioned technical problem at least in part, spy proposes technical scheme below:
Embodiments of the invention propose a kind of method of testing of data path between multi-party server, including:
Testing service device sends test post to first server;Wherein, first server passes through at least one second Server to the 3rd server reports test data;
Whether test post is received according to the 3rd server and/or the 3rd server receives the time of test post, Judge whether the data path between first server and the 3rd server is abnormal.
Preferably, judge whether the data path between first server and the 3rd server is abnormal, including:
Testing service device will be sent to the 3rd server corresponding to the test notification message of test post, so that the 3rd clothes Business device is according to the test notification message for receiving, and whether receives test post and/or receive the time of test post, Judge whether the data path between first server and the 3rd server is abnormal;
Wherein, testing notification message includes following one or more:Test post content, the transmission time of test post, The sending object of test post, the identification information of test post.
Preferably, the 3rd server is according to the test notification message for receiving, and whether receive test post and/or The time of test post is received, data path between first server and the 3rd server whether abnormal mode is judged, Including:
If the 3rd server receives test post and receives time of test post in predetermined monitoring duration, Determine that tentation data path can be with normal transmission data;Or
If the 3rd server does not receive test post in predetermined monitoring duration, it is determined that tentation data path cannot Normal transmission data;Or
If the 3rd server receives test post and receives the time of test post more than predetermined monitoring duration, Ignore test post, determine that tentation data path cannot normal transmission data.
Preferably, judge whether the data path between first server and the 3rd server is abnormal, including:
Testing service device will be sent to the 3rd server corresponding to the test notification message of test post, and monitors the 3rd clothes Whether business device returns the feedback information of its test post for having been received by matching with test notification message;
According to monitoring result, tentation data path whether normal transmission data are judged.
Alternatively, also include:
Pre-stored service device list, wherein, server list includes multiple first servers with its each self-corresponding second clothes The service of the corresponding relation, the corresponding relation of multiple second servers and the 3rd server and each server of business device Device relevant information;
Wherein, server relevant information includes server network address, the identification information of server and server service class At least one in type.
Alternatively, also include:
Based on server list, it is determined that the test notification message that need to be sent to the 3rd server.
Another embodiment of the present invention proposes a kind of testing service device of data path between multi-party server, including:
Sending module, sends test post to first server for testing service device;Wherein, first server passes through At least one second server to the 3rd server reports test data;
Judge module, for whether receiving test post according to the 3rd server and/or the 3rd server receives survey The time of examination message, judge whether the data path between first server and the 3rd server is abnormal.
Preferably, judge module, including:
Transmitting element, will send to the 3rd service for testing service device corresponding to the test notification message of test post Whether device, so that the 3rd server is according to the test notification message for receiving, and receives test post and/or receive The time of test post, judge whether the data path between first server and the 3rd server is abnormal;
Wherein, testing notification message includes following one or more:Test post content, the transmission time of test post, The sending object of test post, the identification information of test post.
Preferably, judge module, including:
Send and monitoring unit, will send to the 3rd corresponding to the test notification message of test post for testing service device Server, and monitor the feedback whether the 3rd server returns its test post for having been received by matching with test notification message Information;
Judging unit, for according to monitoring result, judging tentation data path whether normal transmission data.
Alternatively, also include:
Pre- storing module, for pre-stored service device list, wherein, server list includes that multiple first servers are respective with it The corresponding relation of corresponding second server, the corresponding relation of multiple second servers and the 3rd server and each The server relevant information of server;
Wherein, server relevant information includes server network address, the identification information of server and server service class At least one in type.
Alternatively, also include:
Determining module, for based on server list, it is determined that the test notification message that need to be sent to the 3rd server.
The still another embodiment of the present invention proposes a kind of test system of data path, including:
Testing service device, for test post to be sent to first server, and test corresponding with test post is led to Know that message is sent to the 3rd server;
First server, for the test post for getting to be sent to the second server for matching;
Second server, for being based on tentation data path by from the test post of the first server matched with it Send to the 3rd server;
3rd server, for receiving the test notification message corresponding with test post of testing service device transmission;
According to the test notification message for receiving, and whether receive test post and/or receive test post Time, judge whether the data path between first server and the 3rd server is abnormal.
Preferably, tentation data path includes the number of the most short data path distance from second server to the 3rd server According to path.
Preferably, if second server be additionally operable to monitor it is unsuccessful by tentation data path by test post send to 3rd server, then based on the data path relation between multiple second servers and the 3rd server, select the second clothes again Optional data path between business device and the 3rd server, and test post is sent to the 3rd service by optional data path Device.
Preferably, the 3rd server is used to judge whether the data path between first server and the 3rd server is abnormal Mode, including:
If the 3rd server receives test post and receives time of test post in predetermined monitoring duration, Determine that tentation data path can be with normal transmission data;Or
If the 3rd server does not receive test post in predetermined monitoring duration, it is determined that tentation data path cannot Normal transmission data;Or
If the 3rd server receives test post and receives the time of test post more than predetermined monitoring duration, Ignore test post, determine that tentation data path cannot normal transmission data.
In embodiments of the invention, it is proposed that the testing scheme of data path, testing service device between a kind of multi-party server Test post is sent to first server, wherein, first server is by least one second server to the 3rd server Test data is reported, is realized and corresponding data path is determined according to the matching relationship between each server, and by the data Path is transmitted the test of data, it is to avoid is transmitted to unnecessary data path the situation of data test, improves The testing efficiency of data test is transmitted between multi-party server to data path, meanwhile, will test corresponding with test post Notification message is sent to the 3rd server, subsequently to judge whether normal transmission data provide necessary premise guarantor to data path Barrier;Whether test post is received according to the 3rd server and/or the 3rd server receives the time of test post, judge Whether the data path between one server and the 3rd server is abnormal, realizes and rapidly and accurately determines between multi-party server Each circuit-switched data path whether normal transmission data so that multi-party server occurs data path interruption or data in running During transmission abnormality situation, important reference frame can be provided for the operation maintenance personnel of multi-party server, meanwhile, without the need for suspending Normal business data transmission is capable of achieving the test to data path, it is ensured that provide the user normal data service clothes Business.
The additional aspect of the present invention and advantage will be set forth in part in the description, and these will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Description of the drawings
The above-mentioned and/or additional aspect of the present invention and advantage will become from the following description of the accompanying drawings of embodiments It is substantially and easy to understand, wherein:
Fig. 1 is the annexation schematic diagram in the present invention between multi-party server;
Fig. 2 be one embodiment in the present invention multi-party server between data path method of testing flow chart;
Fig. 3 is the structural representation of the testing service device of the data path of another embodiment in the present invention;
Fig. 4 is the structural representation of the test system of the data path of another preferred embodiment in the present invention.
Specific embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from start to finish Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " " used herein, " It is individual ", " described " and " being somebody's turn to do " may also comprise plural form.It is to be further understood that arranging used in the specification of the present invention Diction " including " refers to there is the feature, integer, step, operation, element and/or component, but it is not excluded that existing or adding One or more other features, integer, step, operation, element, component and/or their group.It should be understood that when we claim unit Part is " connected " or during " coupled " to another element, and it can be directly connected or coupled to other elements, or can also exist Intermediary element.Additionally, " connection " used herein or " coupling " can include wireless connection or wireless coupling.It is used herein to arrange Diction "and/or" includes the one or more associated wholes or any cell of listing item and all combination.
Those skilled in the art of the present technique are appreciated that unless otherwise defined all terms used herein are (including technology art Language and scientific terminology), with art of the present invention in those of ordinary skill general understanding identical meaning.Should also It is understood by, those terms defined in such as general dictionary, it should be understood that with the context with prior art The consistent meaning of meaning, and unless by specific definitions as here, will not otherwise use idealization or excessively formal implication To explain.
It should be noted that in embodiments of the invention, between multi-party server in the test environment of data path, including The quantity of multiple first servers and multiple second servers, first server and second server, here is not limited.
Fig. 1 is the annexation schematic diagram in the present invention between multi-party server.
Between multi-party server in the test environment of data path, including testing service device, first server ServerA01, ServerA02 and ServerA03, second server ServerB01, ServerB02 and ServerB03, and 3rd server S erverC;It should be noted that in actual operation system, first server is to get server ready, second Server is node server, and the 3rd server is data center server, and multiple servers of getting ready are corresponding to a node clothes Business device, the plurality of business datum for getting server ready is transmitted to corresponding node server, and multiple node servers will be from Each business datum for getting server ready is transmitted again to data center server;As shown in figure 1, first server ServerA01, The corresponding second servers of ServerA02 and ServerA03 be ServerB01, ServerA01, ServerA02 and The test post that ServerA03 can be respectively received on one's own initiative is transmitted to ServerB01, and will be corresponding with test post Test notification message is sent to the 3rd server S erverC;Second server ServerB01, ServerB02 and ServerB03 Corresponding 3rd server is ServerC, ServerB01, ServerB02 and ServerB03 will from its each self-corresponding the The test post of one server is transmitted to ServerC;There are two data transmission channels between ServerB01 and ServerC, one Bar is the most transmission channel of short straight line distance between ServerB01 and ServerC, and another passes through for ServerB01 The data transmission path that ServerB02 and ServerB03 is connected with ServerC.
In embodiments of the invention, the test environment of data path is described in detail by taking Fig. 1 as an example between multi-party server, meets Connected mode between other multi-party servers of this annexation also include it is various, here is not limited.
Fig. 2 be one embodiment in the present invention multi-party server between data path method of testing flow chart.
In embodiments of the invention, the Description of content performed by each step is as follows:Step S210:Testing service device will be tested Message is sent to first server;Wherein, first server reports survey by least one second server to the 3rd server Examination data;Step S220:Whether test post is received according to the 3rd server and/or the 3rd server receives test post Time, judge whether data path between first server and the 3rd server abnormal.
In embodiments of the invention, it is proposed that the method for testing of data path, testing service device between a kind of multi-party server Test post is sent to first server, wherein, first server is by least one second server to the 3rd server Test data is reported, is realized and corresponding data path is determined according to the matching relationship between each server, and by the data Path is transmitted the test of data, it is to avoid is transmitted to unnecessary data path the situation of data test, improves The testing efficiency of data test is transmitted between multi-party server to data path, meanwhile, will test corresponding with test post Notification message is sent to the 3rd server, subsequently to judge whether normal transmission data provide necessary premise guarantor to data path Barrier;Whether test post is received according to the 3rd server and/or the 3rd server receives the time of test post, judge Whether the data path between one server and the 3rd server is abnormal, realizes and rapidly and accurately determines between multi-party server Each circuit-switched data path whether normal transmission data so that multi-party server occurs data path interruption or data in running During transmission abnormality situation, important reference frame can be provided for the operation maintenance personnel of multi-party server, meanwhile, without the need for suspending Normal business data transmission is capable of achieving the test to data path, it is ensured that provide the user normal data service clothes Business.It is described further below for implementing for each step:
Step S210:Testing service device sends test post to first server;Wherein, first server is by least One second server reports test data to the 3rd server.
For example, between multi-party server in the test environment of data path, by testing service device, by test post, such as TestMsg01, sends to first server, such as ServerA01, and ServerA01 sends out the test post TestMsg01 for getting The second server for matching, such as ServerB01 are delivered to, and tentation data path is based on by ServerB01, such as The data transmission path that ServerB01 is connected by ServerB02 and ServerB03 with ServerC, TestMsg01 is sent To ServerC.
Step S220:Whether test post is received according to the 3rd server and/or the 3rd server receives test and disappears The time of breath, judge whether the data path between first server and the 3rd server is abnormal.
For example, between multi-party server in the test environment of data path, if testing service device monitors the 3rd server ServerC receives test post TestMsg01, and testing service device can determine whether first server ServerA01 and the 3rd service Data path normal transmission data between device ServerB03;If testing service device is monitored the 3rd server S erverC and is not received To test post TestMsg01, testing service device can determine whether first server ServerA01 and the 3rd server S erverB03 Between data path be unable to normal transmission data.
Preferably, data path between first server and the 3rd server whether abnormal step is judged in step S220 Suddenly step S221 is further included;Step S221:Testing service device by corresponding to test post test notification message send to 3rd server so that the 3rd server is according to the test notification message for receiving, and whether receive test post and/ Or time of test post is received, judge whether the data path between first server and the 3rd server is abnormal.
Wherein, testing notification message includes following one or more:Test post content;The transmission time of test post, For example:2016-12-12 02:10:00;The sending object of test post, for example, first server ServerA01;Test post Identification information, for example, TestMsg01.
For example, between multi-party server in the test environment of data path, by testing service device, will disappear corresponding to test The test notification message of breath TestMsg01 is sent to the 3rd server S erverC, and subsequently, the 3rd server S erverC is according to connecing The test notification message for receiving, and ServerC receives the feedback information of test post TestMsg01, ServerC can determine whether Data path between first server ServerA01 and the 3rd server S erverB03 can normal transmission data.
Preferably, the 3rd server is according to the test notification message for receiving, and whether receive test post and/or The time of test post is received, data path between first server and the 3rd server whether abnormal mode is judged, Including:
If 1) the 3rd server receives test post and receives time of test post in predetermined monitoring duration, Then determine that tentation data path can be with normal transmission data;For example, if testing service device send test post TestMsg01 when Between be 2016-12-12 02:10:00, monitor to receive the 3rd server S erverC return and " have been received by disappearing with test Breath TestMsg01!" information, receive TestMsg01 time be 2016-12-12 02:15:00, make a reservation for a length of during monitoring 15 minutes, then the time of TestMsg01 is received in predetermined monitoring duration, it is determined that tentation data path can be with normal transmission Data.Or
If 2) the 3rd server does not receive test post in predetermined monitoring duration, it is determined that tentation data path can not With normal transmission data;For example, if it is 2016-12-12 02 that testing service device sends the time of test post TestMsg01: 10:00, make a reservation for a length of 15 minutes during monitoring, if to 2016-12-12 02:25:Do not monitor always to receive the 3rd clothes when 00 What business device ServerC was returned " has been received by and test post TestMsg01!" information, it is determined that tentation data path can not With normal transmission data.Or
If 3) the 3rd server receives test post and receives the time of test post more than predetermined monitoring duration, Then ignore test post, determine that tentation data path cannot normal transmission data.For example, if testing service device sends test and disappears The time of breath TestMsg01 is 2016-12-1202:10:00, monitor to receive the return of the 3rd server S erverC " Receive and test post TestMsg01!" information, receive TestMsg01 time be 2016-12-12 02:35:00, A length of 15 minutes during predetermined monitoring, then the time for receiving TestMsg01 exceedes predetermined monitoring duration, it is determined that tentation data is led to Road cannot normal transmission data.
By the present embodiment, it is to avoid data path existed into abnormal data path is judged as can normal transmission data Situation, meanwhile, greatly save the testing time, while improve the efficiency of test.
Preferably, judge whether the data path between first server and the 3rd server enters one extremely in step S220 Step includes step S222 and step S223;Step S222:Testing service device will be sent out corresponding to the test notification message of test post Deliver to the 3rd server, and monitor the 3rd server and whether return its test for having been received by matching with test notification message and disappear The feedback information of breath;Step S223:According to monitoring result, tentation data path whether normal transmission data are judged.
For example, between multi-party server in the test environment of data path, will be disappeared corresponding to test by testing service device The test notification message of breath TestMsg01 is sent to the 3rd server S erverC, and is monitored ServerC and whether returned it and connect The feedback information of the test post TestMsg01 matched with test notification message is received, what such as ServerC was returned " receives To the test post TestMsg01 matched with test notification message!" feedback information, if testing service device monitors the 3rd What server S erverC was returned " has been received by the test post TestMsg01 matched with test notification message!" feedback letter Breath, can determine whether to determine that tentation data path can be with normal transmission data.
Preferably, the method for testing also includes step S230;Step S230:Pre-stored service device list, wherein, server row Table includes:
1) corresponding relation of multiple first servers and its each self-corresponding second server;For example, referring to Fig. 1, set up Data transfer is right between first server ServerA01, ServerA02 and ServerA03 and second server ServerB01 Should be related to, then first server ServerA01, ServerA02 and ServerA03 can directly send data to for matching Two server Ss erverB01.
2) corresponding relation of multiple second servers and the 3rd server;For example, referring to Fig. 1, second service is set up The corresponding relation of data transfer between device ServerB01 and ServerB03 and the 3rd server S erverC, then second server ServerB01 and ServerB03 can directly send data to the 3rd server S erverC, due to second server ServerB02 not directly sends data to the 3rd server S erverC, is only capable of sending data to second server ServerB01 or ServerB03, then set up between ServerB02 and ServerB01 the corresponding relation of data transfer and The corresponding relation of data transfer between ServerB02 and ServerB03.
3) server relevant information of each server.
Wherein, server relevant information includes server network address, the identification information of server and server service class At least one in type.Specifically, the IP address of server network address, such as server;The identification information of server, such as services The unique identification information of device equipment;Server service type, the type of service that such as each server is specifically responsible for, including storage number According to, data transfer and data test etc..
For example, as shown in figure 1, between multi-party server in the test environment of data path, pre-stored service device list, such as ServerList, ServerList include first server ServerA01, ServerA02 and ServerA03, second service It is device ServerB01, ServerB02 and ServerB03, the 3rd server S erverC and the respective IP address of testing service device, each From server identification information, respective type of service, and first server ServerA01, ServerA02 and The data transfer corresponding relation and second server ServerB01 of ServerA03 and second server ServerB01, The information such as the data transfer corresponding relation of ServerB03 and the 3rd server S erverC;Subsequently, can be true according to ServerList Fixed data path between each second server and the 3rd server S erverC, can be between predetermined ServerB01 and ServerC Data path be ServerB01 and ServerC most short straight lines apart from corresponding data path, when by testing service device, general Test post TestMsg01 is sent to first server ServerA01, and will test notification message corresponding with TestMsg01 Send to the 3rd server S erverC, can determine that the second server matched with ServerA01 is according to ServerList ServerB01, subsequent ServerA01 sends the TestMsg01 for getting to ServerB01;Can be true according to ServerList Determine ServerB01 and the 3rd server S erverC has data transfer corresponding relation, subsequently by ServerB01 based on predetermined TestMsg01 is sent directly to ServerC by data path.
Preferably, the method for testing also includes step S240;Step S240:Based on server list, it is determined that need to be to the 3rd The test notification message that server sends.
For example, between multi-party server in the test environment of data path, testing service device is to first server ServerA01 sends test post TestMsg01, subsequently, based on server list ServerList, determines first server The server relevant informations such as the server identification information and its IP address of ServerA01, and determine corresponding with ServerA01 the The identification information of two servers is ServerB01 etc., it may be determined that need to notify to disappear to the test that the 3rd server S erverC sends Breath, the test notification message includes the identification information of the first server of fixed reception test post TestMsg01 The identification information ServerB01 of the corresponding second server of ServerA01, ServerA01, the identification information of test post Message content of TestMsg01 and test post TestMsg01 etc..
Fig. 3 is the structural representation of the testing service device of the data path of another embodiment in the present invention.
In embodiments of the invention, the Description of content performed by each module is as follows:The testing service device of sending module 310 will be surveyed Examination message is sent to first server;Wherein, first server is reported by least one second server to the 3rd server Test data;Judge module 320 whether receives test post according to the 3rd server and/or the 3rd server receives test The time of message, judge whether the data path between first server and the 3rd server is abnormal.
In embodiments of the invention, it is proposed that the testing service device of data path, testing service between a kind of multi-party server Device sends test post to first server;Wherein, first server is serviced by least one second server to the 3rd Device reports test data, realizes and determines corresponding data path according to the matching relationship between each server, and by the number The test of data is transmitted according to path, it is to avoid be transmitted to unnecessary data path the situation of data test, improve The testing efficiency of data test is transmitted between multi-party server to data path, meanwhile, will survey corresponding with test post Examination notification message is sent to the 3rd server, subsequently to judge whether normal transmission data provide necessary premise to data path Ensure;Whether test post is received according to the 3rd server and/or the 3rd server receives the time of test post, judged Whether the data path between first server and the 3rd server is abnormal, realizes rapidly and accurately true between multi-party server Fixed each circuit-switched data path whether normal transmission data so that multi-party server occurs data path in running to interrupt or several During according to transmission abnormality situation, important reference frame can be provided for the operation maintenance personnel of multi-party server, meanwhile, without the need for temporary Stop the i.e. achievable test to data path of normal business data transmission, it is ensured that provide the user normal data service clothes Business.
The testing service device of sending module 310 sends test post to first server;Wherein, first server is by extremely A few second server reports test data to the 3rd server.
Judge module 320 whether receives test post according to the 3rd server and/or the 3rd server receives test The time of message, judge whether the data path between first server and the 3rd server is abnormal.
Preferably, judge module 320 includes transmitting element;Transmitting element testing service device is by corresponding to the survey of test post Examination notification message is sent to the 3rd server, so that the 3rd server is according to the test notification message for receiving, and whether Receive test post and/or receive the time of test post, judge the data between first server and the 3rd server Whether path is abnormal.
Wherein, testing notification message includes following one or more:Test post content, the transmission time of test post, The sending object of test post, the identification information of test post.
Preferably, judge module 320 includes sending and monitoring unit and judging unit;Send and monitoring unit testing service Device will be sent to the 3rd server corresponding to the test notification message of test post, and monitors whether the 3rd server has returned it Receive the feedback information of the test post matched with test notification message;Judging unit judges predetermined according to monitoring result Data path whether normal transmission data.
Preferably, the testing service device also includes pre- storing module;Pre- storing module pre-stored service device list, wherein, server List includes the corresponding relation of multiple first servers and its each self-corresponding second server, multiple second servers and one The corresponding relation of the 3rd server and the server relevant information of each server.
Wherein, server relevant information includes server network address, the identification information of server and server service class At least one in type.
Preferably, the testing service device also includes determining module;Determining module is based on server list, it is determined that need to be to the 3rd The test notification message that server sends.
The testing service device of data path can realize above-mentioned offer between multi-party server provided in an embodiment of the present invention Method of testing embodiment, concrete function is realized referring to the explanation in method of testing embodiment, will not be described here.
Fig. 4 is the structural representation of the test system of the data path of another preferred embodiment in the present invention.
In embodiments of the invention, the Description of content performed by each system is as follows:Testing service device 410 sends out test post First server is delivered to, and test notification message corresponding with test post is sent to the 3rd server;First server 420 The test post for getting is sent to the second server for matching;Second server 430 is based on tentation data path in the future Send to the 3rd server from the test post of the first server matched with it;3rd server 440 receives testing service The test notification message corresponding with test post that device sends;According to the test notification message for receiving, and whether receive Test post and/or time of test post is received, judge that the data path between first server and the 3rd server is No exception.
In embodiments of the invention, it is proposed that a kind of test system of data path, testing service device, for test to be disappeared Breath is sent to first server, and test notification message corresponding with test post is sent to the 3rd server;Realize root Determine corresponding data path according to the matching relationship between each server, and the survey of data is transmitted by the data path Examination, it is to avoid the situation of data test is transmitted to unnecessary data path, improves logical to data between multi-party server Road is transmitted the testing efficiency of data test, meanwhile, test notification message corresponding with test post is sent to the 3rd clothes Business device, subsequently to judge whether normal transmission data provide necessary premise guarantee to data path;First server, for inciting somebody to action The test post for getting is sent to the second server for matching, and will be sent corresponding to the test notification message of test post To the 3rd server;Second server, for being based on tentation data path by from the survey of the first server matched with it Examination message is sent to the 3rd server;3rd server, for receiving the survey corresponding with test post of testing service device transmission Examination notification message;According to the test notification message for receiving, and whether receive test post and/or receive test post Time, judge whether data path between first server and the 3rd server abnormal;Realize between multi-party server Rapidly and accurately determine each circuit-switched data path whether normal transmission data so that multi-party server occurs data in running Path interrupts or during data transmission exception situation, can for the operation maintenance personnel of multi-party server provide important reference according to According to, meanwhile, without the need for suspending the i.e. achievable test to data path of normal business data transmission, it is ensured that provide the user just Normal data service service.It is described further below for implementing for each system:
In the present embodiment, test system includes multiple first servers, multiple second servers, the 3rd server And a testing service device;Wherein, each first server has corresponding second server, multiple second server correspondences In the 3rd server.
Testing service device 410 sends test post to first server, and test corresponding with test post is notified Message is sent to the 3rd server.
Wherein, testing notification message includes following one or more:Test post content, the transmission time of test post, The sending object of test post, the identification information of test post.
Preferably, the pre-stored service device list of testing service device 410, wherein, server list includes multiple first servers Corresponding relation, the corresponding relation of multiple second servers and the 3rd server with its each self-corresponding second server, And the server relevant information of each server.
Wherein, server relevant information includes server network address, the identification information of server and server service class At least one in type.
Preferably, testing service device 410 is based on server list, it is determined that need to notify to disappear to the test that the 3rd server sends Breath.
First server 420 sends the test post for getting to the second server for matching.
Second server 430 will be sent out based on tentation data path from the test post of the first server matched with it Deliver to the 3rd server.
3rd server 440 receives the test notification message corresponding with test post that testing service device sends;According to connecing The test notification message for receiving, and whether receive test post and/or receive the time of test post, judge the first clothes Whether the data path between business device and the 3rd server is abnormal.
Preferably, tentation data path includes the number of the most short data path distance from second server to the 3rd server According to path.
For example, between multi-party server in the test environment of data path, with second server ServerB01, ServerB02 and ServerB03 carry out data transmission corresponding 3rd server for ServerC, from ServerB01 to ServerC most short data paths distance is the data path of the air line distance between ServerB01 and ServerC, can predetermined number According to the data path that path is the air line distance between ServerB01 and ServerC.
Preferably, if second server 430 is additionally operable to monitor unsuccessful send out test post by tentation data path The 3rd server is delivered to, then based on the data path relation between multiple second servers and the 3rd server, the is selected again Optional data path between two servers and the 3rd server, and test post is sent to the 3rd by optional data path Server.
For example, as shown in figure 1, between multi-party server in the test environment of data path, including testing service device, first Server S erverA01, ServerA02 and ServerA03, second server ServerB01, ServerB02 and ServerB03, and the 3rd server S erverC, with first server ServerA01 corresponding second service is carried out data transmission Device is ServerB01, and it is ServerC to carry out data transmission corresponding 3rd server with second server ServerB01, is made a reservation for Data path between ServerB01 and ServerC air line distance data path;By testing service device by test post TestMsg01 is sent to first server ServerA01, and test notification message corresponding with TestMsg01 is sent to the After three server Ss erverC, ServerA01 sends the TestMsg01 for getting to ServerB01, by predetermined data Path, ServerB01 sends the TestMsg01 for getting to ServerC, in ServerB01 by the TestMsg01 for getting During sending to ServerC, if ServerB01 monitors unsuccessful to send TestMsg01 by tentation data path To ServerC, then based on second server ServerB01, ServerB02 and ServerB03 and the 3rd server S erverC it Between data path relation, optional data path between ServerB01 and ServerC is selected again and is passed through for ServerB01 The data path between ServerC is connected to ServerB02 and ServerB03, and by the data path by TestMsg01 Send to ServerC.
Preferably, whether the data path that the 3rd server 440 is used to judging between first server and the 3rd server Abnormal mode, including:
If 1) the 3rd server receives test post and receives time of test post in predetermined monitoring duration, Then determine that tentation data path can be with normal transmission data;Or
If 2) the 3rd server does not receive test post in predetermined monitoring duration, it is determined that tentation data path can not With normal transmission data;Or
If 3) the 3rd server receives test post and receives the time of test post more than predetermined monitoring duration, Then ignore test post, determine that tentation data path cannot normal transmission data.
The test system of data path provided in an embodiment of the present invention can realize the method for testing embodiment of above-mentioned offer, Concrete function is realized referring to the explanation in method of testing embodiment, will not be described here.
During those skilled in the art of the present technique are appreciated that the present invention includes being related to for performing operation described herein One or more of equipment.These equipment can be for needed for purpose and specially design and manufacture, or can also include general Known device in computer.These equipment have the computer program being stored in it, and these computer programs are optionally Activation is reconstructed.Such computer program can be stored in equipment (for example, computer) computer-readable recording medium or be stored in It is suitable to store and e-command and is coupled to respectively in any kind of medium of bus, the computer-readable medium is included but not Be limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, only Read memory), RAM (Random Access Memory, immediately memory), EPROM (Erasable Programmable Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, EEPROM), flash memory, magnetic card or light line card Piece.It is, computer-readable recording medium include being stored in the form of it can read by equipment (for example, computer) or transmission information any Jie Matter.
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or The combination of each frame and these structure charts and/or block diagram and/or the frame in flow graph in block diagram and/or flow graph.This technology is led Field technique personnel be appreciated that can by these computer program instructions be supplied to all-purpose computer, special purpose computer or other The processor of programmable data processing method realizing, so as to pass through the process of computer or other programmable data processing methods Device is come the scheme specified in the frame or multiple frames that perform structure chart disclosed by the invention and/or block diagram and/or flow graph.
Those skilled in the art of the present technique are appreciated that in various operations, method, the flow process discussed in the present invention Step, measure, scheme can be replaced, changed, combined or deleted.Further, it is each with what is discussed in the present invention Other steps, measure in kind operation, method, flow process, scheme can also be replaced, changed, reset, decomposed, combined or deleted. Further, it is of the prior art with various operations, method, the flow process disclosed in the present invention in step, measure, scheme Can also be replaced, changed, reset, decomposed, combined or deleted.
The above is only some embodiments of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (10)

1. between a kind of multi-party server data path method of testing, it is characterised in that include:
Testing service device sends test post to first server;Wherein, the first server passes through at least one second Server to the 3rd server reports test data;
Whether the test post is received according to the 3rd server and/or the 3rd server receives the test The time of message, judge whether the data path between the first server and the 3rd server is abnormal.
2. method of testing according to claim 1, it is characterised in that the judgement first server and the described 3rd Whether the data path between server is abnormal, including:
Testing service device will correspond to the test notification message of the test post and send to the 3rd server, so that described the Three servers are according to the test notification message for receiving, and whether receive the test post and/or receive institute The time of test post is stated, judges whether the data path between the first server and the 3rd server is abnormal;
Wherein, the test notification message includes following one or more:Test post content, the transmission time of test post, The sending object of test post, the identification information of test post.
3. method of testing according to claim 2, it is characterised in that the 3rd server is according to the survey for receiving Whether examination notification message, and receive the test post and/or receive the time of the test post, judges described the The whether abnormal mode of data path between one server and the 3rd server, including:
If the 3rd server receives the test post and receives the time of the test post in predetermined monitoring duration It is interior, it is determined that the tentation data path can be with normal transmission data;Or
If the 3rd server does not receive the test post in predetermined monitoring duration, it is determined that the tentation data path is not Can be with normal transmission data;Or
If the 3rd server receives the test post and receives the time of the test post more than during predetermined monitoring It is long, then ignore the test post, determine that the tentation data path cannot normal transmission data.
4. method of testing according to claim 1, it is characterised in that the judgement first server and the described 3rd Whether the data path between server is abnormal, including:
Testing service device will correspond to the test notification message of the test post and send to the 3rd server, and monitor described the Whether three servers return the feedback information of its test post for having been received by matching with the test notification message;
According to monitoring result, the tentation data path whether normal transmission data are judged.
5. method of testing according to claim 1, it is characterised in that also include:
Pre-stored service device list, wherein, the server list includes multiple first servers with its each self-corresponding second clothes The service of the corresponding relation, the corresponding relation of multiple second servers and the 3rd server and each server of business device Device relevant information;
Wherein, the server relevant information includes server network address, the identification information of server and server service class At least one in type.
6. method of testing according to claim 5, it is characterised in that also include:
Based on the server list, it is determined that the test notification message that need to be sent to the 3rd server.
7. between a kind of multi-party server data path testing service device, it is characterised in that include:
Sending module, sends test post to first server for testing service device;Wherein, the first server passes through At least one second server to the 3rd server reports test data;
Judge module, for whether receiving the test post and/or the 3rd server according to the 3rd server The time of the test post is received, judges whether is data path between the first server and the 3rd server It is abnormal.
8. testing service device according to claim 7, it is characterised in that the judge module, including:
Transmitting element, will send to the 3rd service for testing service device corresponding to the test notification message of the test post Whether device, so that the 3rd server is according to the test notification message for receiving, and receives the test and disappear The time of the test post is ceased and/or received, the data between the first server and the 3rd server are judged Whether path is abnormal;
Wherein, the test notification message includes following one or more:Test post content, the transmission time of test post, The sending object of test post, the identification information of test post.
9. testing service device according to claim 7, it is characterised in that the judge module, including:
Send and monitoring unit, will send to the 3rd corresponding to the test notification message of the test post for testing service device Server, and monitor the 3rd server and whether return it and have been received by disappearing with described test test for matching of notification message The feedback information of breath;
Judging unit, for according to monitoring result, judging the tentation data path whether normal transmission data.
10. a kind of test system of data path, it is characterised in that include:
Testing service device, for test post to be sent to first server, and test corresponding with the test post is led to Know that message is sent to the 3rd server;
First server, for the test post for getting to be sent to the second server for matching;
Second server, for being based on tentation data path by from the test post with its first server for matching Send to the 3rd server;
3rd server, for receiving the test notification message corresponding with the test post that the testing service device sends;
According to the test notification message for receiving, and whether receive the test post and/or receive the survey The time of examination message, judge whether the data path between the first server and the 3rd server is abnormal.
CN201611226721.XA 2016-12-27 2016-12-27 Data path testing method, data path testing server and data path testing system Pending CN106656606A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611226721.XA CN106656606A (en) 2016-12-27 2016-12-27 Data path testing method, data path testing server and data path testing system
PCT/CN2017/117228 WO2018121353A1 (en) 2016-12-27 2017-12-19 Method of testing data channel, test server, and test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611226721.XA CN106656606A (en) 2016-12-27 2016-12-27 Data path testing method, data path testing server and data path testing system

Publications (1)

Publication Number Publication Date
CN106656606A true CN106656606A (en) 2017-05-10

Family

ID=58831525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611226721.XA Pending CN106656606A (en) 2016-12-27 2016-12-27 Data path testing method, data path testing server and data path testing system

Country Status (2)

Country Link
CN (1) CN106656606A (en)
WO (1) WO2018121353A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018121353A1 (en) * 2016-12-27 2018-07-05 北京奇虎科技有限公司 Method of testing data channel, test server, and test system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992711A (en) * 2005-12-27 2007-07-04 中兴通讯股份有限公司 Method for performing link detection to server by SIP terminal
CN101183997A (en) * 2006-11-17 2008-05-21 日本电气株式会社 Method and system for verifying connectivity of logical link
CN101442501A (en) * 2007-11-22 2009-05-27 和舰科技(苏州)有限公司 Method for monitoring e-mail passageway
CN101841463A (en) * 2010-03-05 2010-09-22 清华大学 Multipath cocurrent transmission method based on SCTP (Stream Control Transmission Protocol)
CN104684014A (en) * 2015-01-09 2015-06-03 成都奥克特科技有限公司 Mobile communication network transmission testing method
WO2015171260A2 (en) * 2014-05-08 2015-11-12 Microsoft Technology Licensing, Llc Fine-grained network monitoring
CN105933153A (en) * 2016-04-25 2016-09-07 乐视控股(北京)有限公司 Cluster failure monitoring method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7304957B2 (en) * 2004-02-19 2007-12-04 Tekelec Methods and systems for simultaneous, multi-channel link fault sectionalization testing
JP4874185B2 (en) * 2007-07-19 2012-02-15 アラクサラネットワークス株式会社 Multi-fault handling system and shared link terminator used therefor
CN101710869A (en) * 2009-12-18 2010-05-19 中兴通讯股份有限公司 Device and method for detecting two-layer virtual private network failures
CN102611610B (en) * 2011-01-24 2016-03-30 中兴通讯股份有限公司 The method and system of a kind of many same paths tunnels centralized management
CN105515912B (en) * 2015-12-22 2018-10-16 河北远东通信***工程有限公司 Linkage availability detection and processing method between a kind of multinode
CN106713037A (en) * 2016-12-27 2017-05-24 北京奇虎科技有限公司 Test method, test server and test system of data path
CN106656606A (en) * 2016-12-27 2017-05-10 北京奇虎科技有限公司 Data path testing method, data path testing server and data path testing system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992711A (en) * 2005-12-27 2007-07-04 中兴通讯股份有限公司 Method for performing link detection to server by SIP terminal
CN101183997A (en) * 2006-11-17 2008-05-21 日本电气株式会社 Method and system for verifying connectivity of logical link
CN101442501A (en) * 2007-11-22 2009-05-27 和舰科技(苏州)有限公司 Method for monitoring e-mail passageway
CN101841463A (en) * 2010-03-05 2010-09-22 清华大学 Multipath cocurrent transmission method based on SCTP (Stream Control Transmission Protocol)
WO2015171260A2 (en) * 2014-05-08 2015-11-12 Microsoft Technology Licensing, Llc Fine-grained network monitoring
CN104684014A (en) * 2015-01-09 2015-06-03 成都奥克特科技有限公司 Mobile communication network transmission testing method
CN105933153A (en) * 2016-04-25 2016-09-07 乐视控股(北京)有限公司 Cluster failure monitoring method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018121353A1 (en) * 2016-12-27 2018-07-05 北京奇虎科技有限公司 Method of testing data channel, test server, and test system

Also Published As

Publication number Publication date
WO2018121353A1 (en) 2018-07-05

Similar Documents

Publication Publication Date Title
CN110730246A (en) Distributed link tracking method under micro-service architecture
US7502669B1 (en) Apparatus and method for graphically displaying disk drive enclosures and cabling in a data storage system
CN110784355B (en) Fault identification method and device
CN108683528B (en) Data transmission method, central server, server and data transmission system
JP2012242982A (en) Equipment maintenance management system for plant
US20140068329A1 (en) Identifying Unreliable Parts in an IT Infrastructure
CN106685693A (en) Network anomaly detection method, system and network device
CN112783703A (en) SAS link fault positioning method, device, equipment and storage medium
CN101800672B (en) Equipment detection method and equipment
CN106656606A (en) Data path testing method, data path testing server and data path testing system
CN105490837B (en) A kind of network monitoring processing method and device
CN112954372B (en) Streaming media fault monitoring method and device
CN112116997B (en) Remote diagnosis method, device and system, electronic equipment and computer readable storage medium
JP2006268515A (en) Pci card trouble management system
WO2013159294A1 (en) A fast detecting and locating fault method for intercom system and a system thereof
CN108512698B (en) Network disaster tolerance method and device and electronic equipment
CN111181763A (en) Network fault reporting method and device
US9898380B1 (en) Automatic vehicle wiring and configuration verification
KR20130080720A (en) Method for monitoring node failure on communication network and system thereof
CN109921869A (en) Method, apparatus, storage medium and the equipment of the quality of monitoring information transmission channel
CN106713037A (en) Test method, test server and test system of data path
US6847608B1 (en) Path management and test method for switching system
US8611236B2 (en) Communication checker, communication-state detection system and method for checking communication state
CN112199207A (en) Alarm information pushing method, device, system, equipment and medium
CN110362464B (en) Software analysis method and equipment

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: 20170510