CN106899447A - The method and device that a kind of link determines - Google Patents

The method and device that a kind of link determines Download PDF

Info

Publication number
CN106899447A
CN106899447A CN201610491353.5A CN201610491353A CN106899447A CN 106899447 A CN106899447 A CN 106899447A CN 201610491353 A CN201610491353 A CN 201610491353A CN 106899447 A CN106899447 A CN 106899447A
Authority
CN
China
Prior art keywords
link
server
identification
service device
instruction
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.)
Granted
Application number
CN201610491353.5A
Other languages
Chinese (zh)
Other versions
CN106899447B (en
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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610491353.5A priority Critical patent/CN106899447B/en
Publication of CN106899447A publication Critical patent/CN106899447A/en
Application granted granted Critical
Publication of CN106899447B publication Critical patent/CN106899447B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Landscapes

  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)

Abstract

This application discloses the method and device that a kind of link determines,Detection service device is returned according to each server in the method object information and after determining the link of the actual circulation of data to be tested,Can be according to the corresponding each server identification of specified type link for pre-saving,The corresponding server identification of each server to being related in the link judges,And then determine whether the link is specified type link,Therefore,When the attendant of business on line detects in the link to the actual circulation of data to be tested,Detection service device can replace the attendant of business on line to automatically determine out the Linktype of the link of the actual circulation of data to be tested,In terms of existing technologies,Then to business on line attendant it is determined that being brought great convenience during Linktype,And then improve efficiency when service maintenance personnel on line carry out link analysis.

Description

The method and device that a kind of link determines
Technical field
The application is related to field of computer technology, more particularly to the method and device that a kind of link determines.
Background technology
With the continuous development of network technology, business is successive on various lines is presented in face of user, and user can pass through Some previous business for needing to be completed under line of Business Processing, so as to be brought great convenience to user, and carry on these lines The efficiency of user's processing business high.
Currently, on line the attendant of business on line is safeguarded in the normal course of operation of business, typically by logarithm It is analyzed to safeguard the normal operation of business on line according to the link of circulation.Specifically, the data of business are generally required on line By after the treatment of multiple servers, just result being exported, so, each server that data are passed through and the path that is formed are just It is the link of the stream compression, and each server is then considered as each node on the link, under normal circumstances, the data will Link according to pre-setting sequentially passes through each node, and by after the treatment of each node, obtaining correct result, so And, if the data are during incoming each node, be not passed to each node successively according to default link, then The result for going out will be inaccurate, therefore, the attendant of business needs the link of circulation actual to the data to examine on line Survey whether identical with default link to check the link of the actual circulation of the data, and when detecting different, to the data institute The link of circulation is repaired.
During the link of the actual circulation to data is detected, the attendant of business generally needs elder generation on line The link of the actual circulation of the data is got, then again the link of the actual circulation of the data and the default link of the data is carried out Compare, and then complete the link detecting of the data, and the attendant of business enters in the link to the actual circulation of the data on line Generally all it is that detection instruction is sent by detection service device respectively to each server so that each server is being received when row is obtained To after detection instruction, the testing result for including server identification and link identification, inspection are returned to detection service device respectively Survey server, can be according to the link identification included in each testing result and each server mark after each testing result is received Know, the corresponding each server of each server identification is ranked up, the link of the actual circulation of the data is obtained with this.
For example, it is assumed that detection service device is when the link of the actual circulation of data to be tested is obtained, sent out to 3 servers respectively Detection has been sent to instruct, this 3 servers can be instructed after the detection instruction for receiving the transmission of detection service device according to the detection, The server identification and link identification for each preserving are returned to detection service device respectively, wherein, server identification is corresponded to respectively Respective server, detection service device, can be according in the testing result after the testing result that this 3 servers are returned is received Comprising server identification, determine each server, namely each node, then, detection service device can be further according to inspection The link identification included in result is surveyed, each node is ranked up, wherein, included in the testing result that detection service device gets Each link identification it is as shown in table 1.
Node a Link identification:L1.1
Node b Link identification:L1.3
Node c Link identification:L1.2
Table 1
From table 1 it follows that the corresponding link identification of node a, b, c is respectively L1.1, L1.3, L1,2, therefore, detection Be ranked up for node a, b, c according to the order of L1.1, L1.2, L1.3 by server, and then obtains the actual stream of the data to be tested The link for turning is node a, c, b.
In actual applications, on line the attendant of business except needing to draw data to be tested by detection service device Outside the link of actual circulation, generally also need to know the Linktype of the link.However, in the prior art, business on line Attendant is it is determined that be generally to be determined by the way of manual analysis, for example, safeguarding people during Linktype Member generally can analyze the actual circulation of the data according to log information, table information recorded after each node processing data etc. Link Linktype, this just to business on line attendant it is determined that bring inconvenience during Linktype, enter And reduce efficiency when attendant carries out link analysis.
The content of the invention
The embodiment of the present application provides a kind of method that link determines, can be to the maintenance of business on line for solving prior art Personnel are it is determined that the problem made troubles during Linktype.
The embodiment of the present application provides the device that a kind of link determines, can be to the maintenance of business on line for solving prior art Personnel are it is determined that the problem made troubles during Linktype.
The embodiment of the present application uses following technical proposals:
The embodiment of the present application provides a kind of method that link determines, including:
Detection instruction is sent to each server;
Each object information that each server is returned is received, and link is determined according to each object information;
According to the corresponding each server identification of specified type link for pre-saving, each clothes included in the link are judged Business device identifies whether to be the server identification for pre-saving;
If, it is determined that the link is the specified type link;
If not, it is determined that the link is not the specified type link.
The embodiment of the present application provides a kind of method that link determines, including:
Receive the detection instruction that detection service device sends;
According to it is described detection instruction, to the detection service device returning result information so that the detection service device according to The object information determines link, and according to the corresponding each server identification of specified type link for pre-saving, it is determined that described Link whether be the specified type link.
The embodiment of the present application provides the device that a kind of link determines, including:
Sending module, detection instruction is sent to each server;
Determining module is received, each object information that each server is returned is received, and chain is determined according to each object information Road;
Judge determining module, according to the corresponding each server identification of specified type link for pre-saving, judge the chain Whether each server identification included in road is the server identification for pre-saving, wherein, if, it is determined that the link is The specified type link, if it is not, determining that the link is not the specified type link.
The embodiment of the present application provides the device that a kind of link determines, including:
Instruction module is received, the detection instruction that detection service device sends is received;
Module is returned to, according to the detection instruction, to the detection service device returning result information so that the detection clothes Business device determines link according to the object information, and according to the corresponding each server identification of specified type link for pre-saving, Determine the link whether be the specified type link.
Above-mentioned at least one technical scheme that the embodiment of the present application is used can reach following beneficial effect:
Determined to be detected due to the object information that in the embodiment of the present application, detection service device is returned according to each server After the link of the actual circulation of data, can be according to the corresponding each server identification of specified type link for pre-saving, to the link In the corresponding server identification of each server that is related to judged, and then determine whether the link is specified type link, Therefore, when the attendant of business on line detects in the link to the actual circulation of data to be tested, detection service device can The Linktype of the link of the actual circulation of data to be tested is automatically determined out instead of the attendant of business on line, relative to existing For technology, then to business on line attendant it is determined that brought great convenience during Linktype, Jin Erti Efficiency when service maintenance personnel carry out link analysis on line high.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this Shen Schematic description and description please does not constitute the improper restriction to the application for explaining the application.In the accompanying drawings:
The process of the link determination that Fig. 1 is provided for the embodiment of the present application;
A kind of process of link determination that Fig. 2 is provided for the embodiment of the present application;
The system schematic of the link determination that Fig. 3 is provided for the embodiment of the present application;
A kind of apparatus structure schematic diagram of link determination that Fig. 4 is provided for the embodiment of the present application;
A kind of apparatus structure schematic diagram of link determination that Fig. 5 is provided for the embodiment of the present application.
Specific embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and Corresponding accompanying drawing is clearly and completely described to technical scheme.Obviously, described embodiment is only the application one Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application is provided is described in detail.
The process of the link determination that Fig. 1 is provided for the embodiment of the present application, specifically includes following steps:
S101:Detection instruction is sent to each server.
On line the attendant of business for ensure line on business normal operation, generally can by the way of link analysis come Business on line is detected, therefore, in the embodiment of the present application, the attendant of business is needed to a certain data reality on line When the link of circulation is detected, detection instruction can respectively be sent to each server by detection service device so that follow-up each clothes Business device can be instructed after detection instruction is received according to the detection, return to respective object information to detection service device respectively.
Specifically, in actual applications, data are generally required for the treatment by multiple servers, and final by finally The server for managing the data is exported the result after treatment, wherein, the data sequentially pass through each server institute shape in order Into path just become the link of the actual circulation of the data, and each server then becomes each node on the link.By In can all leave the record such as log information after each server process data, therefore, by each server process data Left record, then can determine that the link of the actual circulation of the data afterwards, so, in the embodiment of the present application, when industry on line The attendant of business can perform certain behaviour when the link to the actual circulation of a certain data is determined on detection service device Instruct, and detection service device after the operational order of service maintenance personnel input, can be generated to that should operate on line is received The detection instruction of instruction, and detection instruction is respectively sent in each server so that each server is receiving the detection After instruction, can be instructed according to the detection, each object information is returned to detection service device, certainly, detection service device also can timing or After at regular intervals, each detection instruction is sent from each server of trend.Due to each server to detection service device return it is each Include each server in object information to the record after the data processing, therefore, subsequent detection server can be according to these knots Fruit information, determines the link of the actual circulation of the data.
S102:Each object information that each server is returned is received, and link is determined according to each object information.
Detection service device, can be according to including after receive each object information that each server is returned in the object information Link identification, each server identification included in each object information is ranked up, and then determines the actual circulation of the data Link.
Specifically, it is generally the case that each server, all can be to the processing procedure of the data after processing the data Recorded, can be specifically embodied on the record such as data structure table, log information, also, server is to the data During being processed, can also be to one such as remote procedure call protocol (Remote Procedure of the data distribution Call Protocol, RPC) ID link identification, and after the data have been processed, according to default link by the number after treatment According to this and the link identification is sent to next server, next server, can be to receiving while the data are processed The link identification that sends of a upper server changed accordingly, and then again by amended chain road sign in subsequent process The data is activation known and processed gives next server, so, can represent the chain of the actual circulation link of the data Line is then stored in each server accordingly, therefore, in the embodiment of the present application, detection service device can be to each server Send for obtain the corresponding link identification of the data each detection instruct, and each server receive the detection instruction after, The corresponding link identification of the data that itself can be stored is included in and detection service device is returned in object information, accordingly, inspection Survey server, can be according to each chain road sign included in each object information after each object information that each server is returned is received Know, determine the clooating sequence represented by each link identification, and according to the clooating sequence determined, to being included in each object information The corresponding each server identification of each link identification be ranked up, and then obtain the link of the actual circulation of the data.
For example, it is assumed that detection service device have sent detection instruction to server A, B, C, D (i.e. node A, B, C, D) respectively, And this four servers (node) can instruct the data to be tested that include after detection instruction is received according to the detection, determine The corresponding link identification of the data, and each the corresponding link identification of the data by storage is included in the object information of return Detection service device is returned to, wherein, it is as shown in table 2 that the data distinguish corresponding link identification in this four servers.
Table 2
Detection service device, can be according in each object information after the object information that this four servers are each returned is received Comprising link identification, determine this four ranking results of link identification for x1.1, x1.2, x1.3, x1.4, then, detection Server can according to this four ranking results of link identification, the correspondence that will be included in each object information this four link identifications Four server identifications are ranked up, and the ranking results for obtaining are fA, fD, fB, fC, and then define the actual circulation of the data Link to sequentially pass through server A (node A), server D (node D), server B (node B), server C (node C).
It should be noted that the data mentioned in the embodiment of the present application and not merely referring to a data, or a class Data, also, this kind of data can be same business, and for a class data of same business, each server is right During this kind of data distribution link identification, can to this kind of data distribution identical link identification, therefore, detection service device is according to each clothes The link identification that includes in each object information that business device is returned and the link determined can also be for a class data.
S103:According to the corresponding each server identification of specified type link for pre-saving, judge to be included in the link Each server identification whether be the server identification for pre-saving, if so, then perform step S104, if it is not, then performing step Rapid S105.
S104:Determine that the link is the specified type link.
S105:Determine that the link is not the specified type link.
Because the embodiment of the present application is intended to the chain that enables detection service device to automatically determine out the actual circulation of data to be tested The Linktype on road, therefore, when each object information that detection service device is returned according to each server determines the actual stream of the data After the link for turning, can judge to be included in the link according to the corresponding each server identification of specified type link for pre-saving Each server identification whether be the corresponding server identification of specified type link of default preservation, and then determine the chain The Linktype on road.
And in order to make detection service device be capable of determining that the Linktype of the actual circulation link of data to be tested, at this In application embodiment, can be collected for each self-corresponding server identification of each specified type link in advance by detection service device, enter And the determination for passing through the corresponding server identification of specified type link that is collected into complete follow-up Linktype works.Specifically , detection service device first can respectively send and include specified before each detection instruction is sent to each server to each server The extraction instruction of the corresponding specific field of type links, wherein, it is generally the case that different business generally can all be related to some to belong to The characteristic of oneself, accordingly, when by respective link, each server (each node) on link will for these data These data are processed, and the processing procedure of the data corresponding can be recorded in forms such as data structure table, daily records, and Embodied on the specific field that these characteristics tend in the record that each server is left, accordingly, these Specific field often can also embody the business corresponding to this feature data, for example, for booking business, its business diary In often include field as " ticket ", this field is known as the specific field of the booking business.Therefore, detect Server can first send to each server and include designated word to can determine the Linktype of outgoing link in subsequent process The extraction instruction of section, each server can be wrapped after the extraction for including specific field instruction is received according in extraction instruction The specific field for containing, the specific field is searched from the data manipulation daily record of itself storage, wherein, if the server is not from itself When searching out the specific field in the data manipulation daily record of storage, then the server can not return to the clothes to the detection service device The server identification of business device itself, equivalent to the server identification is individually not the corresponding characteristic institute of the specific field A server in the link of process, enters without returning to the server server identification of itself to detection service device, with to Detection service device represents that the server is not the server (node) on the specified type link, and works as server according to carrying Specific field in instruction fetch found, the specific field is included in the data manipulation daily record of the server itself storage, then to The detection service device returns to the corresponding server identification of the server, i.e., equivalent to the server is determining itself storage Data manipulation daily record in include the specific field after, can further assert that the server itself belongs to the specific field pair A server (node) on the link that the characteristic answered is passed through, and then the server identification of itself is returned by the server Back to detection service device, the server (section that the server is on the specified type link is represented with to detection service device Point).
And work as detection service device receive each server according to it is described extract each server identification that instruction is returned after, can be by These server identifications for receiving are defined as the corresponding server identification of the specified type link, and by each server identification Corresponding preservation is carried out with the specified type link.
For example, it is assumed that detection service device is it needs to be determined that the link gone out corresponding to the data of sectional drawing business is (i.e. mentioned above The link of specified type) when, can respectively to server E, F, G, H, I this 5 servers send respectively it is each extract instruction, wherein, Include the screenshot specific fields that can represent sectional drawing business datum in extraction instruction, and each server is being received After extraction instruction, the specific field can be inquired about from the data manipulation daily record of respective storage accordingly, wherein, server F, H By after inquiry, not inquiring specific field screenshot in the data manipulation daily record of respective storage, then server F, H can assert be not each the corresponding sectional drawing business datum of the specific field through the server (node) on link, and then Respective server identification, and server E, G, I are not returned to by after inquiry to detection service device, in the data of respective storage Specific field screenshot is inquired in Operation Log, then server E, G, I can assert and each be the specific field The corresponding sectional drawing business datums of screenshot through the server (node) on link, and then respective server identification is returned Back to detection service device.Detection service device, can be further after the server identification that server E, G, I are each returned is received Determine server E, G, I as sectional drawing business datum through the server (node) on link, and then by this 3 servers Server identification is defined as the corresponding server identification of sectional drawing business datum link and preserves.
Detection service device, according to the returned object information of the detection instruction, is determined to be checked subsequently through each server After surveying the link of the actual circulation of data, can be according to the corresponding each server identification of specified type link for pre-saving, judging should Whether each server identification included in link is the corresponding server identification of specified type link of default preservation, if It is that then detection service device can determine that the link as specified type link, if it is not, then determining that the link is not the specified class Type link.
As can be seen that because detection service device can be corresponding according to the specified type link for pre-saving in from the above Each server identification, the corresponding server identification of each server to being related in the link judges, and then determines the chain Whether road is specified type link, therefore, when the attendant of business on line enters in the link to the actual circulation of data to be tested During row detection, detection service device can replace the attendant of business on line to automatically determine out the link of the actual circulation of data to be tested Linktype, so as to service maintenance personnel on line it is determined that brought great convenience during Linktype, and then The efficiency that service maintenance personnel on line are improve when carrying out link analysis.
It should be noted that in actual applications, by each clothes that the data of different business are passed through during circulation Business device is probably different, therefore, detection service device tends to root after detection instruction is sent respectively to each server According to each server return each object information determine multilink, so, if detection service device have collected in advance it is various The corresponding server identification of type links, then detection service device the Linktype of each link for determining can respectively be determined, And then the attendant for business on line is checked.
For example, it is assumed that detection service device have sent detection to server a, b, c, d, e, f, g this 7 servers respectively referring to Order, this 7 servers can be returned to detection service device and included respectively after the detection instruction for receiving the transmission of detection service device Each object information of respective server identification and link identification, detection service device, can basis after each object information is received The link identification included in the object information, each link identification is classified and is sorted, wherein, what this 7 servers were returned Server identification and link identification are as shown in table 3.
Server (node) Server identification (node identification) Link identification
Server a F:fa L:ax1.2
Server b F:fb L:bx2.3
Server c F:fc L:ax1.1、L:cx3.2
Server d F:fd L:bx2.1
Server e F:fe L:cx3.1、L:bx2.2
Server f F:ff L:cx3.3
Server g F:fg L:ax1.3
Table 3
From table 3 it is observed that the link identification that this 7 servers are returned should belong to three chain road signs of different links Know, therefore, detection service device first according to " ax ", " bx ", " cx " included in link identification can be divided these link identifications Class, i.e. " ax1.2 ", " ax1.1 ", " ax1.3 " should belong to same link, " bx2.3 ", " bx2.1 ", " bx2.2 " should belong to same Link, and " cx3.2 ", " cx3.1 ", " cx3.3 " should belong to same link, so detection service device can according to " 1.1 ", " 1.2 ", , will be ranked up for this 9 link identifications for belonging to different links respectively by the order of " 1.3 ", respectively obtain " ax1.1, Ax1.2, ax1.3 ", " bx1.1, bx1.2, bx1.3 " and " cx1.1, cx1.2, cx1.3 " this ranking results, accordingly, detection Can be ranked up for each server identification respectively according to the order of these three ranking results by server, then obtain " fc, fa, Fg ", " fd, fe, fb " and " fe, fc, ff " this three links, wherein, server c and server e is respectively to detection service device The object information for including two link identifications is returned, this is indicated that, server c and server e is directed to different business respectively Data processed,
And save the corresponding link identification in home server of each data.
Detection service device, can be according to corresponding to each specified type link for pre-saving after this three links are determined Server identification, determines this three Linktypes of link respectively, wherein, each specified type that detection service device is pre-saved The corresponding each server identification of link is as shown in table 4.
Table 4
As can be seen from Table 4, detection service device have collected the corresponding server identification of various Linktypes in advance, because This, the server identification corresponding to all types of links that detection service device can be according to recorded in table 4, determine respectively " fc, Fa, fg " is that fund link, " fd, fe, fb " sectional drawing service link, " fe, fc, ff " are stock analysis service link, and then will be true The Linktype of each link made is presented to the attendant of business on line and is checked.
In the embodiment of the present application, after detection instruction is sent to each server, each server needs root to detection service device According to the content that includes in detection instruction, the detection service device data to be detected are determined, and then by the corresponding link of the data Mark returns to detection service device in being included in object information, moreover, in actual applications, the attendant of business on line Link typically to data actual circulation in a period of time detects, therefore, server is also needed to from detection instruction Determine the time period of the detection service device data to be detected, then will at this moment between the corresponding link identification of the data in section Detection service device is returned to, detailed process is as shown in Figure 2.
A kind of process of link determination that Fig. 2 is provided for the embodiment of the present application, specifically includes following steps:
S201:Receive the detection instruction that detection service device sends.
In the embodiment of the present application, the attendant of business is generally needed to the actual circulation of data in a period of time on line Link is detected, to ensure the normal operation of business on line, therefore, when the attendant of business on line is it needs to be determined that to be detected During the link of the actual circulation of data, detection instruction can respectively be sent to each server by detection service device so that each server Subsequently after detection instruction is received, can be returned to detection service device respectively each according to the content included in detection instruction From object information, wherein, the detection that detection service device is sent to each server can include wired upper service maintenance people in instructing Time range corresponding to member's data to be detected and the link actually circulated in the data the past period.
S202:According to the detection instruction, to the detection service device returning result information so that the detection service device Link is determined according to the object information, and according to the corresponding each server identification of specified type link for pre-saving, it is determined that The link whether be the specified type link.
Server receive detection service device transmission detection instruction after, can according to the detection instruction in include in Hold, determine the detection time (time i.e. mentioned above corresponding to data and the data that detection service device to be detected Scope), and because server is during to data processing, generally processing procedure can all be recorded, obtain it is all in full Recorded according to structural table, log information etc., therefore, server can further in the data manipulation daily record for itself storing, (i.e. data be grasped Note down) in search the data manipulation daily record matched with the data and time range, and after finding, this is counted It is included according to the corresponding link identification of the data recorded in Operation Log and detection service device is returned in object information, it is same with this When, can also be included in the server identification of itself in the object information and return to detection service device in the lump by server so that inspection Server is surveyed after the object information that each server is returned is received, can according to the link identification included in each object information and Server identification, determines the link of the actual circulation of data to be tested.
And due to detection service device after the link for determining the actual circulation of the data, it is necessary to further determine the chain The Linktype on road, therefore, it is corresponding specified that detection service device needs first include specified type link to the transmission of each server The extraction instruction of field, accordingly, after extraction instruction is received, this included in being instructed according to the extraction refers to server Determine the corresponding specific field of type links, the specific field is searched from each data manipulation daily record of itself storage, wherein, if Server does not find the specific field in each data manipulation daily record of storage, then do not return to the clothes to detection service device Be engaged in device itself server identification, and if server storage each data manipulation daily record in found the specific field, The server server identification of itself can be returned to detection service device.
Can be defined as these server identifications after the server identification that each server is returned is received by detection service device The corresponding server identification of specified type link is simultaneously preserved, and accordingly, subsequent detection server is returned according to each server Object information and after determining the link of the actual circulation of data to be tested, can be corresponding according to the specified type link for pre-saving Each server identification, judges whether the server identification included in the link is the specified class that detection service device is pre-saved The corresponding server identification of type link, and when result of determination is to be, determine the link of the link as specified type.When So, if detection service device is in advance collected the corresponding server identification of all kinds link, detection service device exists After determining the link of the actual circulation of the data, can according to the corresponding server identification of all types of links for pre-saving, it is determined that Go out the corresponding Linktype of the link.
It should be noted that service maintenance personnel obtain each business datum actual stream within a period of time if desired on line During each link for turning, also can make what detection service device sent to each server by the operational order being input into detection service device Not comprising there is data to be detected in detection instruction, so, each server, can first by symbol after detection instruction is received The corresponding link identification of each data for closing the time period collects, and will carry the object information of the link identification after collecting and return to Detection service device, wherein, due to identical services different pieces of information corresponding to link identification be generally all identical, therefore, it is right For the different pieces of information of same business, the common corresponding link identification of the business datum can be returned to detection service by server Device.
In addition, during the detection that detection service device is sent to each server is instructed, comprising data can also be a class number According to, i.e. the characteristic of a certain business, such as image data of sectional drawing business, and because server is to this kind of data processing During, generally all can to one link identification of this kind of data joint distribution, therefore, server is receiving detection service device After the detection instruction of transmission, the corresponding link identification of this kind of data included during can the detection be instructed returns to detection service Device so that the corresponding link identification of this kind of data that detection service device can be returned according to the link identification and other servers, Determine the link of the actual circulation of this kind of data.
In the embodiment of the present application, detection service device may be additionally located at same from each server in addition to it can be located at different systems In one system, as shown in Figure 3.
The system schematic of the link determination that Fig. 3 is provided for the embodiment of the present application.
In the system as shown in fig. 3, the server cluster of multiple business is included, the server cluster of different business can be right Respective business datum is processed successively, and generates corresponding result, wherein, for the fund business shown in Fig. 3, use When the line upper mounting plate for processing fund business carries out fund Business Processing, the terminal that user is held can be according to performed by user at family Operation, generate corresponding fund service request, and the fund service request is sent to server, server is receiving this After fund service request, the funds data included in the fund service request can be processed, and by the fund number after treatment According to the next server being sent in fund service server cluster, by that analogy, until the funds data is experienced most After latter complete funds data of server process, the result after treatment is exported.So, the funds data is successively Each server for passing through then forms the link of the actual flow of the funds data.
The attendant of business is when the operation conditions to fund business is detected on line, by detection service device to money The corresponding server set pocket transmission detection instruction of golden business, each server in server cluster is receiving the detection service device Transmission detection instruction after, can instruct according to the detection, respectively to detection service device return include respective server identification with And the object information of link identification, detection service device, can be according to each result after the object information that each server is returned is received The link identification included in information, determines each link, and the server mark according to corresponding to all types of links for pre-saving Know, determine the respective Linktype of each link, and then each link that will determine and each Linktype are presented to industry on line The attendant of business, moreover, detection service device can also compare each link with the default link for pre-saving, with this Whether the funds data to detect involved in fund business is normal during actual flow.
It should be noted that, in the embodiment of the present application, on line the attendant of business also can by detection service device come Data on given link are collected, and are trained by the detection service device and is capable of identify that the corresponding finger of the given link Determine the model of field, then, the attendant of business can send detection instruction by the detection service device to each server on line, So that each server is after detection instruction is received, is returned to detection service device and include link identification and data logging letter The object information of breath, detection service device, can respectively in each object information after the object information that each server is returned is received Comprising data log information in field be identified, after specific field is gone out by the Model Identification of training in advance, detection Server then can determine that a server in the server as given link of the object information for including the specific field (node), then after each object information has been recognized successively, can will include the corresponding server of object information of specific field Mark, is ranked up, and then determining the link according to the clooating sequence of the corresponding link identification of these server identifications Meanwhile, the Linktype of the link is also defined in the lump.
In addition, in the embodiment of the present application, detection service device also can by such as version control system (Subversion, SVN) come to monitor code implementation, because under normal circumstances, business datum is generally all by specified code by which interface Determined, i.e. the interface that business datum is flowed through generally all there can be certain corresponding pass with the appointment codes of the business datum System, so, when the code appearance change that this is specified, the interface for flowing through of the business datum will also occur corresponding change, because This, server can SVN to implement monitoring to the variation of code, determine the influence of change of these codes which interface, and then According to these interfaces determined, determine which business data flow, by these interfaces, then determines each business datum The link of actual circulation.
The method of the tasks carrying for being provided for the embodiment of the present application above, based on same thinking, the embodiment of the present application is also There is provided link determine device, as shown in Figure 4,5.
A kind of apparatus structure schematic diagram of link determination that Fig. 4 is provided for the embodiment of the present application, specifically includes:
Sending module 401, detection instruction is sent to each server;
Determining module 402 is received, each object information that each server is returned is received, and determine according to each object information Link;
Judge determining module 403, according to the corresponding each server identification of specified type link for pre-saving, judge described Whether each server identification included in link is the server identification for pre-saving, wherein, if, it is determined that the link It is the specified type link, if it is not, determining that the link is not the specified type link.
Include server identification and its corresponding link identification in the object information;
The reception determining module 402, according to each link identification included in each object information, determines each chain Clooating sequence represented by line;According to the clooating sequence, each server identification corresponding to each link identification is arranged Sequence, obtains the link.
Described device also includes:
Preserving module 404, pre-saves the corresponding each server identification of specified type link;
The preserving module 404, for each server, sends the extraction comprising specific field and refers to respectively to the server Order so that after the extraction instruction is received, according to the specific field for extracting and being included in instruction, judgement is the server No return server server identification of itself, wherein, if including the finger in the data manipulation daily record of the server storage Determine field, then return to the server identification of itself, if not including the designated word in the data manipulation daily record of the server storage Section, then do not return to the server identification of itself;Receive each server and extract each server identification that instruction is returned according to described;Will Each server identification is defined as the corresponding server identification of specified type link and preserves.
A kind of apparatus structure schematic diagram of link determination that Fig. 5 is provided for the embodiment of the present application.
Instruction module 501 is received, the detection instruction that detection service device sends is received;
Module 502 is returned to, according to the detection instruction, to the detection service device returning result information so that the inspection Survey server and link is determined according to the object information, and according to the corresponding each server mark of specified type link for pre-saving Know, determine the link whether be the specified type link.
The reception instruction module 501, receives the extraction for the including specific field instruction that the detection service device sends; According to the specific field for extracting and being included in instruction, judge whether described device returns to the server mark of the device itself Know, wherein, if including the specific field in the data manipulation daily record of described device storage, it indicates that the return module 502 Return to the server identification of itself so that the server identification is defined as specified type link pair by the detection service device should Server identification and preserve, if described device storage data manipulation daily record in do not include the specific field, do not indicate The return module 502 returns to the server identification of itself.
The embodiment of the present application provides the method and device that a kind of link determines, detection service device is according to each service in the method Object information that device is returned and after determining the link of the actual circulation of data to be tested, can be according to the specified type chain for pre-saving The corresponding each server identification in road, the corresponding server identification of each server to being related in the link judges, and then really Make whether the link is specified type link, therefore, when the attendant of business on line is to the actual circulation of data to be tested Link when being detected, detection service device can replace the attendant of business on line automatically determine out the actual stream of data to be tested The Linktype of the link for turning, in terms of existing technologies, then to business on line attendant it is determined that Linktype During bring great convenience, and then improve efficiency when service maintenance personnel on line carry out link analysis.
It should be noted that the executive agent that embodiment 1 provides each step of method may each be same equipment, or Person, the method is also by distinct device as executive agent.Such as, the executive agent of step S101 and step S102 can be detection Server, the executive agent of step 103 can be detection terminal;Again such as, the executive agent of step 101 can be for detection eventually The executive agent of end, step 102 and step 103 can be detection service device;Etc..
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.And, the present invention can be used and wherein include the computer of computer usable program code at one or more The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) is produced The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information Store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, can be used to store the information that can be accessed by a computing device.Defined according to herein, calculated Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
Also, it should be noted that term " including ", "comprising" or its any other variant be intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of key elements not only include those key elements, but also wrapping Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment is intrinsic wants Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Also there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.And, the application can be used to be can use in one or more computers for wherein including computer usable program code and deposited The shape of the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent Replace, improve etc., within the scope of should be included in claims hereof.

Claims (10)

1. a kind of method that link determines, it is characterised in that including:
Detection instruction is sent to each server;
Each object information that each server is returned is received, and link is determined according to each object information;
According to the corresponding each server identification of specified type link for pre-saving, each server included in the link is judged Identify whether to be the server identification for pre-saving;
If, it is determined that the link is the specified type link;
If not, it is determined that the link is not the specified type link.
2. the method for claim 1, it is characterised in that include server identification and its correspondence in the object information Link identification;
Link is determined according to each object information, is specifically included:
According to each link identification included in each object information, the clooating sequence represented by each link identification is determined;
According to the clooating sequence, each server identification corresponding to each link identification is ranked up, and obtains the link.
3. the method for claim 1, it is characterised in that pre-save the corresponding each server mark of specified type link Know, specifically include:
For each server, the extraction comprising specific field is sent respectively to the server and is instructed so that the server is connecing After receiving the extraction instruction, according to the specific field for extracting and being included in instruction, judge whether to return to the server itself Server identification, wherein, if in the data manipulation daily record of the server storage include the specific field, return to itself Server identification, if not including the specific field in the data manipulation daily record of the server storage, the clothes of itself is not returned to Business device mark;
Receive each server and extract each server identification that instruction is returned according to described;
Each server identification is defined as the corresponding server identification of specified type link and is preserved.
4. a kind of method that link determines, it is characterised in that including:
Receive the detection instruction that detection service device sends;
According to the detection instruction, to the detection service device returning result information so that the detection service device is according to Object information determines link, and according to the corresponding each server identification of specified type link for pre-saving, determines the link Whether be the specified type link.
5. method as claimed in claim 4, it is characterised in that described before receiving the detection instruction that detection service device sends Method also includes:
Receive the extraction for the including specific field instruction that the detection service device sends;
According to the specific field for extracting and being included in instruction, judge whether the server returns to the server itself Server identification;
If including the specific field in the data manipulation daily record of the server storage, the server identification of itself is returned to, So that the server identification is defined as the corresponding server identification of specified type link and preserved by the detection service device;
If not including the specific field in the data manipulation daily record of the server storage, the server mark of itself is not returned Know.
6. the device that a kind of link determines, it is characterised in that including:
Sending module, detection instruction is sent to each server;
Determining module is received, each object information that each server is returned is received, and link is determined according to each object information;
Determining module is judged, according to the corresponding each server identification of specified type link for pre-saving, in judging the link Comprising each server identification whether be the server identification that pre-saves, wherein, if, it is determined that the link is described Specified type link, if it is not, determining that the link is not the specified type link.
7. device as claimed in claim 6, it is characterised in that include server identification and its correspondence in the object information Link identification;
The reception determining module, according to each link identification included in each object information, determines each link identification Represented clooating sequence;According to the clooating sequence, each server identification corresponding to each link identification is ranked up, and obtains The link.
8. device as claimed in claim 6, it is characterised in that described device also includes:
Preserving module, pre-saves the corresponding each server identification of specified type link;
The preserving module, for each server, sends the extraction comprising specific field and instructs respectively to the server so that The server, according to the specific field for extracting and being included in instruction, judges whether to return after the extraction instruction is received The server server identification of itself, wherein, if including the specific field in the data manipulation daily record of the server storage, The server identification of itself is then returned to, if not including the specific field in the data manipulation daily record of the server storage, no Return to the server identification of itself;Receive each server and extract each server identification that instruction is returned according to described;By each service Device mark is defined as the corresponding server identification of specified type link and preserves.
9. the device that a kind of link determines, it is characterised in that including:
Instruction module is received, the detection instruction that detection service device sends is received;
Module is returned to, according to the detection instruction, to the detection service device returning result information so that the detection service device Link is determined according to the object information, and according to the corresponding each server identification of specified type link for pre-saving, it is determined that The link whether be the specified type link.
10. device as claimed in claim 9, it is characterised in that the reception instruction module, receives the detection service device hair The extraction for including specific field sent is instructed;According to the specific field for extracting and being included in instruction, the dress is judged Put and whether return to the device server identification of itself, wherein, if comprising described in the data manipulation daily record of described device storage Specific field, it indicates that the return module returns to the server identification of itself so that the detection service device is by the service Device mark is defined as the corresponding server identification of specified type link and preserves, if in the data manipulation daily record of described device storage Not comprising the specific field, then the return module is not indicated to return to the server identification of itself.
CN201610491353.5A 2016-06-28 2016-06-28 Link determination method and device Active CN106899447B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610491353.5A CN106899447B (en) 2016-06-28 2016-06-28 Link determination method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610491353.5A CN106899447B (en) 2016-06-28 2016-06-28 Link determination method and device

Publications (2)

Publication Number Publication Date
CN106899447A true CN106899447A (en) 2017-06-27
CN106899447B CN106899447B (en) 2020-07-21

Family

ID=59190495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610491353.5A Active CN106899447B (en) 2016-06-28 2016-06-28 Link determination method and device

Country Status (1)

Country Link
CN (1) CN106899447B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110348684A (en) * 2019-06-06 2019-10-18 阿里巴巴集团控股有限公司 Service call risk model generation method, prediction technique and respective device
CN111711544A (en) * 2020-05-15 2020-09-25 北京奇艺世纪科技有限公司 Link dial testing method and device, electronic equipment and storage medium
CN111726373A (en) * 2019-03-18 2020-09-29 阿里巴巴集团控股有限公司 Communication link construction method, device and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436962A (en) * 2008-12-04 2009-05-20 金蝶软件(中国)有限公司 Log management method and system
US20120020357A1 (en) * 2009-06-25 2012-01-26 Hitachi, Ltd. Transport control system and transport control server
US20140003224A1 (en) * 2012-06-27 2014-01-02 Google Inc. Deterministic network failure detection
CN104346365A (en) * 2013-07-30 2015-02-11 阿里巴巴集团控股有限公司 Device and method for determining specific service associated logs

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436962A (en) * 2008-12-04 2009-05-20 金蝶软件(中国)有限公司 Log management method and system
US20120020357A1 (en) * 2009-06-25 2012-01-26 Hitachi, Ltd. Transport control system and transport control server
US20140003224A1 (en) * 2012-06-27 2014-01-02 Google Inc. Deterministic network failure detection
CN104346365A (en) * 2013-07-30 2015-02-11 阿里巴巴集团控股有限公司 Device and method for determining specific service associated logs

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111726373A (en) * 2019-03-18 2020-09-29 阿里巴巴集团控股有限公司 Communication link construction method, device and equipment
CN111726373B (en) * 2019-03-18 2022-06-03 阿里巴巴集团控股有限公司 Communication link construction method, device and equipment
CN110348684A (en) * 2019-06-06 2019-10-18 阿里巴巴集团控股有限公司 Service call risk model generation method, prediction technique and respective device
CN111711544A (en) * 2020-05-15 2020-09-25 北京奇艺世纪科技有限公司 Link dial testing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106899447B (en) 2020-07-21

Similar Documents

Publication Publication Date Title
US20170109657A1 (en) Machine Learning-Based Model for Identifying Executions of a Business Process
CN104503891B (en) The method and apparatus that JVM thread is monitored online
CN106656536A (en) Method and device for processing service invocation information
US20170109676A1 (en) Generation of Candidate Sequences Using Links Between Nonconsecutively Performed Steps of a Business Process
CN107111625A (en) Realize the method and system of the efficient classification and exploration of data
CN107122369A (en) A kind of business data processing method, device and system
CN103544554B (en) The system and method for the program degree of deferring to of evaluation operation personnel in nuclear power station
CN107483381A (en) The monitoring method and device of interlock account
Braun et al. Improving card fraud detection through suspicious pattern discovery
Lee et al. An approximate duplicate elimination in RFID data streams
CN106899447A (en) The method and device that a kind of link determines
CN103823852B (en) The treating method and apparatus of database server daily record
Jonnalagadda et al. Credit card fraud detection using Random Forest Algorithm
US20220229854A1 (en) Constructing ground truth when classifying data
Almaguer-Angeles et al. Choosing machine learning algorithms for anomaly detection in smart building iot scenarios
CN103929339B (en) A kind of web data acquisition method and system
CN115358481A (en) Early warning and identification method, system and device for enterprise ex-situ migration
US20170109640A1 (en) Generation of Candidate Sequences Using Crowd-Based Seeds of Commonly-Performed Steps of a Business Process
CN107992402A (en) Blog management method and log management apparatus
KR102257139B1 (en) Method and apparatus for collecting information regarding dark web
CN104714947A (en) Preset type number recognition method and device
Imam et al. Discovering attribute dependence in databases by integrating symbolic learning and statistical analysis techniques
CN107145421A (en) A kind of abnormal information acquisition methods and device
CN107368500A (en) Data pick-up method and system
US20170109637A1 (en) Crowd-Based Model for Identifying Nonconsecutive Executions of a Business Process

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201014

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201014

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.

TR01 Transfer of patent right