CN109995787A - A kind of data processing method and relevant device - Google Patents
A kind of data processing method and relevant device Download PDFInfo
- Publication number
- CN109995787A CN109995787A CN201910285072.8A CN201910285072A CN109995787A CN 109995787 A CN109995787 A CN 109995787A CN 201910285072 A CN201910285072 A CN 201910285072A CN 109995787 A CN109995787 A CN 109995787A
- Authority
- CN
- China
- Prior art keywords
- time
- consuming
- destination request
- current serving
- serving node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/133—Protocols for remote procedure calls [RPC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/62—Establishing a time schedule for servicing the requests
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the invention provides a kind of data processing method and relevant device, can timely determine whether the request transmitted in request link is overtime, avoids the waste of system resource, improves the performance of system.This method comprises: receiving the destination request;Extract target total time-consuming of the destination request in the destination request link;It is time-consuming to obtain the destination request transmits in the upstream service node of current serving Node first;It is time-consuming to obtain the destination request transmits in the current serving Node second;Judge whether the destination request is overtime according to described first time-consuming, the described second time-consuming and described target total time-consuming;If so, terminating transmission of the destination request in the destination request link.
Description
Technical field
The present invention relates to data processing field, in particular to a kind of data processing method and relevant device.
Background technique
It in multistage network system architecture, is requested for long-tail, since network environment is unstable, requests to issue in long-tail
Afterwards, time-consuming may be more than the time-out time of system entry service initialization, because at present for the statistics of time-out time only needle
To service initialization two neighboring in request link, so being determined as that the long-tail of time-out is requested by portal service, downstream
It can't be identified as in time time-out in request link, which can be continued to execute in downstream service, until target
Requesting node, this causes biggish waste to Internet resources.
Summary of the invention
The embodiment of the invention provides a kind of data processing method and relevant devices, can timely determine in request link
Whether the request of middle transmission is overtime, avoids the waste of system resource, improves the performance of system.
First aspect of the embodiment of the present invention provides a kind of data processing method, comprising:
Receive the destination request;
Extract target total time-consuming of the destination request in the destination request link;
It is time-consuming to obtain the destination request transmits in the upstream service node of current serving Node first;
It is time-consuming to obtain the destination request transmits in the current serving Node second;
Judge whether the destination request surpasses according to described first time-consuming, the described second time-consuming and described target total time-consuming
When;
If so, terminating transmission of the destination request in the destination request link.
Optionally, described that the mesh is judged according to described first time-consuming, the described second time-consuming and described target total time-consuming
Whether time-out includes: for mark request
Whether judge described first time-consuming and described second time-consuming is greater than or equal to the target total time-consuming with value;
If so, determining the destination request time-out;
If not, it is determined that the destination request has not timed out, and by the destination request, it is described first time-consuming, described second
The time-consuming and described target total time-consuming is sent to the downstream service node of the current serving Node.
Optionally, described to obtain the second time-consuming that the destination request transmits in the current serving Node and include:
Obtain the first moment that the current serving Node receives the destination request;
The first transmission time that destination request described in real-time monitoring transmits in the current serving Node;
Determine that described second is time-consuming according to first moment and first transmission time.
Optionally, described to obtain the second time-consuming that the destination request transmits in the current serving Node and include:
Obtain the second moment that the destination request is issued from upstream adjacent service node;
Biography of the destination request described in real-time monitoring between the current serving Node and the upstream adjacent service node
The second transmission time transmitted in transmission link and the current serving Node;
Determine that described second is time-consuming according to second moment and second transmission time.
Second aspect of the embodiment of the present invention provides a kind of data processing equipment, comprising:
Receiving unit, for receiving the destination request;
Extraction unit, for extracting target total time-consuming of the destination request in the destination request link;
Acquiring unit, first transmitted in the upstream service node of current serving Node for obtaining the destination request
It is time-consuming;
The acquiring unit is also used to obtain the second consumption that the destination request transmits in the current serving Node
When;
Judging unit, for according to described first time-consuming, the described second time-consuming and described target total time-consuming judgement
Whether destination request is overtime;
Processing unit, for terminating the destination request in the destination request link when the destination request time-out
In transmission.
Optionally, the judging unit is specifically used for:
Whether judge described first time-consuming and described second time-consuming is greater than or equal to the target total time-consuming with value;
If so, determining the destination request time-out;
If not, it is determined that the destination request has not timed out, and by the destination request, it is described first time-consuming, described second
The time-consuming and described target total time-consuming is sent to the downstream service node of the current serving Node.
Optionally, the acquiring unit is specifically used for:
Obtain the first moment that the current serving Node receives the destination request;
The first transmission time that destination request described in real-time monitoring transmits in the current serving Node;
Determine that described second is time-consuming according to first moment and first transmission time.
Optionally, the acquiring unit also particularly useful for:
Obtain the second moment that the destination request is issued from upstream adjacent service node;
Biography of the destination request described in real-time monitoring between the current serving Node and the upstream adjacent service node
The second transmission time transmitted in transmission link and the current serving Node;
Determine that described second is time-consuming according to second moment and second transmission time.
The 5th aspect of the embodiment of the present invention provides a kind of computer readable storage medium, including instruction, when it is being calculated
When being run on machine, so that the step of computer executes data processing method described above.
The aspect of the embodiment of the present invention the 6th provides a kind of computer program product comprising instruction, when its on computers
When operation, so that the step of computer executes data processing method described above.
In view of the foregoing it is apparent that destination request is arranged before destination request transmission in embodiment provided by the invention
Target total time-consuming, and it is first time-consuming and transmit in current serving Node in the service node of upstream to obtain destination request
It is second time-consuming, and judge whether destination request overtime, works as target according to target total time-consuming, first time-consuming and the second time-consuming
When request timed out, the transmission of destination request is terminated.Thus, it is possible to timely determine whether destination request is overtime, and asked in target
When seeking time-out, the transmission of destination request is terminated, avoids the waste of system resource, improves the performance of system;Work as some simultaneously
When intermediate node failure, upstream node can return as early as possible, avoid the effect of being worn down, reaching fusing.
Detailed description of the invention
Fig. 1 is the flow diagram of data processing method provided in an embodiment of the present invention;
Fig. 2 is the virtual architecture schematic diagram of data processing equipment provided in an embodiment of the present invention;
Fig. 3 is the hardware structural diagram of data processing equipment provided in an embodiment of the present invention.
Specific embodiment
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that
Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit
In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce
The other step or units of product or equipment inherently.
Data processing method in the embodiment of the present invention is illustrated from the angle of data processing equipment below, at the data
Managing device can be server, or the service unit in server, specifically without limitation.
Referring to Fig. 1, Fig. 1 is the flow diagram of data processing method provided in an embodiment of the present invention, it is applied to target
Non- starting service node in request link, the data processing method include:
101, destination request is received.
In the present embodiment, data processing equipment can receive destination request, carries target in the destination request and always consumes
When, such as the target total time-consuming is placed in RPC (Remote Procedure Call, remote procedure call) agreement with target
Request is transmitted together, certainly also can also be using other modes, as long as the target total time-consuming can be taken in destination request
Band, specifically without limitation, the target total time-consuming are the total time-consuming that destination request transmits in destination request link.
102, target total time-consuming of the destination request in destination request link is extracted.
In the present embodiment, data processing equipment can extract destination request and ask in target after receiving destination request
Seek the target total time-consuming in link.
103, it is time-consuming to obtain destination request transmits in the upstream service node of current serving Node first.
In the present embodiment, the available destination request of data processing equipment is in the upstream service node of current serving Node
The first of transmission is time-consuming, specifically, the starting service node that can be obtained first in destination request link receives destination request
At the time of, at the time of acquisition current serving Node receives destination request, the difference at two moment is that destination request is being worked as
First transmitted in the upstream service node of preceding service node is time-consuming.
104, it is time-consuming to obtain destination request transmits in current serving Node second.
In the present embodiment, the available destination request of data processing equipment transmitted in current serving Node second consumption
When, it is illustrated in terms of two separately below: 1, when calculating the second time-consuming, not considering destination request in current serving Node
The transmission transmitted in link between the adjacent service node of upstream is time-consuming;2, when calculating the second time-consuming, consider destination request
The transmission transmitted in link between current serving Node and upstream adjacent service node is time-consuming.
1, when calculating the second time-consuming, do not consider destination request between current serving Node and upstream adjacent service node
Link in the transmission transmitted it is time-consuming, it is described to obtain the second time-consuming that destination request transmits in current serving Node and include:
Obtain the first moment that current serving Node receives destination request;
The first transmission time that real-time monitoring destination request transmits in current serving Node;
Determine that described second is time-consuming according to the first moment and first transmission time.
That is, data processing equipment can obtain first current serving Node when receiving the first of destination request
It carves, when destination request transmits in current serving Node later, real-time monitoring destination request transmits in current serving Node
First transmission time, finally the difference of first moment and the first transmission time is second time-consuming namely destination request
Transmission in current serving Node is time-consuming.Such as include service A, service B in destination request link, service C and service D,
It is illustrated for servicing B and being current serving Node, the first moment that service B receives destination request is T1, real-time monitoring
Destination request first transmission time for transmitting in service B is T2, this second it is time-consuming be service B receive destination request when
Carve the difference of T1 and destination request between the first transmission time T2 transmitted in service B, i.e. T2-T1.
2, when calculating the second time-consuming, consider destination request between current serving Node and upstream adjacent service node
The transmission transmitted in link is time-consuming, and the second time-consuming that the acquisition destination request transmits in current serving Node includes:
Obtain the second moment that destination request is issued from upstream adjacent service node;
Transmission link and current clothes of the real-time monitoring destination request between current serving Node and upstream service node
The second transmission time transmitted in business node;
The second time-consuming is determined according to the second moment and the second transmission time.
That is, the upstream adjacent service node that data processing equipment can obtain current serving Node first issues mesh
The second moment of request is marked, destination request is passed in the link between upstream adjacent service node and current serving Node
Defeated, destination request is transmitted in current serving Node after the current serving Node receives destination request, adjacent in upstream
After service node issues destination request, destination request can be monitored in real time in current serving Node and upstream adjacent service node
Between the second transmission time for being transmitted in current serving Node of link and destination request, last second moment and
The difference of two transmission times is that the second transmission time-consuming namely that the destination request is in current serving Node is time-consuming.Namely
It says, not only to consider that transmission of the destination request in service node is time-consuming, but also need to consider that destination request is adjacent in upstream
The transmission of the transmission in transmission link between service node and current serving Node is time-consuming, for example, wrapping in destination request link
Tetra- service nodes of A, B, C, D are included, the data trend in four service nodes is A → B → C → D, is current clothes to service B
It is illustrated for business node, then servicing A is upstream adjacent service node, and service A is issued to destination request, and target is asked later
It asks and is transmitted in the transmission link i.e. between service A and service B, service B later and receive destination request, target is asked later
It asks and is transmitted in service B.Such as service A issues the first moment of destination request as T1, real-time monitors destination request and exists
The second transmission time transmitted in service A and service B and service B is T2, then the second time-consuming as T2-T1.
105, according to first time-consuming, second is time-consuming and target total time-consuming whether judge destination request overtime, if so, holding
Row step 106, if it is not, thening follow the steps 107.
In the present embodiment, data processing equipment obtain destination request in the service node of upstream first it is time-consuming and
In current serving Node second it is time-consuming after in service after, can according to it is first time-consuming, second it is time-consuming should and target
Whether total time-consuming judges destination request overtime, specifically, may determine that first is time-consuming and whether the second time-consuming and value is greater than
Or it is equal to target total time-consuming;If the first time-consuming and the second time-consuming and value is more than or equal to target total time-consuming, it is determined that the mesh
Request timed out, execution step 106 are marked, if the first time-consuming and the second time-consuming and value is less than target total time-consuming, it is determined that target is asked
It asks and has not timed out, execute step 107.
106, the transmission of destination request is terminated.
In the present embodiment, if the destination request is overtime, the transmission of destination request is terminated, and return to overtime instruction.Namely
It says, when each service transmission of the destination request in destination request link, all real-time judge destination requests are in current serving Node
In transmission it is time-consuming time-consuming with the transmission in the service node of upstream and whether value is greater than or equal to target total time-consuming, when greater than mesh
Total time-consuming is marked, destination request time-out can be determined, then terminate the transmission of destination request.
107, other operations are executed.
It, can be by destination request in destination request link when determining that the destination request has not timed out in the present embodiment
Service relay is continuous to be transmitted, and destination request, first time-consuming, the second time-consuming and target total time-consuming are sent to current service
The downstream service node of node, until destination request is transmitted or is judged in destination request link destination request time-out and is
Only.
In view of the foregoing it is apparent that destination request is arranged before destination request transmission in embodiment provided by the invention
Target total time-consuming, and it is first time-consuming and transmit in current serving Node in the service node of upstream to obtain destination request
It is second time-consuming, and judge whether destination request overtime, works as target according to target total time-consuming, first time-consuming and the second time-consuming
When request timed out, the transmission of destination request is terminated.Thus, it is possible to timely determine whether destination request is overtime, and asked in target
When seeking time-out, the transmission of destination request is terminated, avoids the waste of system resource, improves the performance of system;Work as some simultaneously
When intermediate node failure, upstream node can return as early as possible, avoid the effect of being worn down, reaching fusing.
Data processing method provided in an embodiment of the present invention is illustrated above, below to provided in an embodiment of the present invention
Data processing equipment is illustrated.
Referring to Fig. 2, Fig. 2 is the virtual architecture schematic diagram of data processing equipment provided in an embodiment of the present invention, the data
Processing unit is applied to the non-starting service node in destination request link, which includes:
Receiving unit 201, for receiving the destination request;
Extraction unit 202, for extracting target total time-consuming of the destination request in the destination request link;
Acquiring unit 203 is transmitted in the upstream service node of current serving Node for obtaining the destination request
First is time-consuming;
The acquiring unit 203 is also used to obtain the destination request transmits in the current serving Node second
It is time-consuming;
Judging unit 204, for judging institute according to described first time-consuming, the described second time-consuming and described target total time-consuming
Whether overtime state destination request;
Processing unit 205, for terminating the destination request in the destination request chain when the destination request time-out
Transmission in road.
Optionally, the judging unit 204 is specifically used for:
Whether judge described first time-consuming and described second time-consuming is greater than or equal to the target total time-consuming with value;
If so, determining the destination request time-out;
If not, it is determined that the destination request has not timed out, and by the destination request, it is described first time-consuming, described second
The time-consuming and described target total time-consuming is sent to the downstream service node of the current serving Node.
Optionally, the acquiring unit 203 is specifically used for:
Obtain the first moment that the current serving Node receives the destination request;
The first transmission time that destination request described in real-time monitoring transmits in the current serving Node;
Determine that described second is time-consuming according to first moment and first transmission time.
Optionally, the acquiring unit 203 also particularly useful for:
Obtain the second moment that the destination request is issued from upstream adjacent service node;
Biography of the destination request described in real-time monitoring between the current serving Node and the upstream adjacent service node
The second transmission time transmitted in transmission link and the current serving Node;
Determine that described second is time-consuming according to second moment and second transmission time.
Interactive mode between each unit of cloud server in the present embodiment retouching in embodiment as illustrated in the foregoing fig. 1
It states, specific details are not described herein again.
In view of the foregoing it is apparent that destination request is arranged before destination request transmission in embodiment provided by the invention
Target total time-consuming, and it is first time-consuming and transmit in current serving Node in the service node of upstream to obtain destination request
It is second time-consuming, and judge whether destination request overtime, works as target according to target total time-consuming, first time-consuming and the second time-consuming
When request timed out, the transmission of destination request is terminated.Thus, it is possible to timely determine whether destination request is overtime, and asked in target
When seeking time-out, the transmission of destination request is terminated, avoids the waste of system resource, improves the performance of system;Work as some simultaneously
When intermediate node failure, upstream node can return as early as possible, avoid the effect of being worn down, reaching fusing.
Above figure 2 retouches the data processing equipment in the embodiment of the present invention from the angle of modular functionality entity
It states, the data processing equipment in the embodiment of the present invention is described in detail from the angle of hardware handles below.
Referring to Fig. 3,300 one embodiment of data processing equipment in the embodiment of the present invention, comprising:
(wherein the quantity of processor 303 can be with for input unit 301, output device 302, processor 303 and memory 304
One or more, in Fig. 3 by taking a processor 303 as an example).In some embodiments of the invention, input unit 301, output
Device 302, processor 303 and memory 304 can be connected by bus or other means, wherein to be connected by bus in Fig. 3
For.
Wherein, the operational order stored by calling memory 304, processor 303, for executing following steps:
Receive the destination request;
Extract target total time-consuming of the destination request in the destination request link;
It is time-consuming to obtain the destination request transmits in the upstream service node of current serving Node first;
It is time-consuming to obtain the destination request transmits in the current serving Node second;
Judge whether the destination request surpasses according to described first time-consuming, the described second time-consuming and described target total time-consuming
When;
If so, terminating transmission of the destination request in the destination request link
By the operational order for calling memory 304 to store, processor 303 is also used to execute in the corresponding embodiment of Fig. 1
Either formula.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
The embodiment of the invention also provides a kind of storage mediums, are stored thereon with program, when which is executed by processor
Realize the data processing method.
The embodiment of the invention also provides a kind of processor, the processor is for running program, wherein described program fortune
The data processing method is executed when row.
The embodiment of the invention also provides a kind of equipment, equipment includes processor, memory and stores on a memory simultaneously
The program that can be run on a processor, processor perform the steps of when executing program
Receive the destination request;
Extract target total time-consuming of the destination request in the destination request link;
It is time-consuming to obtain the destination request transmits in the upstream service node of current serving Node first;
It is time-consuming to obtain the destination request transmits in the current serving Node second;
Judge whether the destination request surpasses according to described first time-consuming, the described second time-consuming and described target total time-consuming
When;
If so, terminating transmission of the destination request in the destination request link.
In the specific implementation process, any embodiment party in the corresponding embodiment of Fig. 1 may be implemented when processor executes program
Formula.
Equipment herein can be server, PC, PAD, mobile phone etc..
The present invention also provides a kind of computer program products, when executing on video signal equipment, are adapted for carrying out just
The program of beginningization there are as below methods step:
Receive the destination request;
Extract target total time-consuming of the destination request in the destination request link;
It is time-consuming to obtain the destination request transmits in the upstream service node of current serving Node first;
It is time-consuming to obtain the destination request transmits in the current serving Node second;
Judge whether the destination request surpasses according to described first time-consuming, the described second time-consuming and described target total time-consuming
When;
If so, terminating transmission of the destination request in the destination request link
In the specific implementation process, any reality in the corresponding embodiment of Fig. 1 may be implemented when executing computer program product
Apply mode.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to the method for the embodiment of the present invention, equipment (system) and computer program product flow chart and/
Or block diagram describes.It should be understood that each process that can be realized by computer program instructions in flowchart and/or the block diagram and/
Or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer program instructions
To general purpose computer, special purpose computer, Embedded Processor or other programmable vision signalling arrangements processor to generate one
A machine so that by the instruction that the processor of computer or other programmable vision signalling arrangements executes generate for realizing
The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable vision signalling arrangements with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions can also be loaded on computer or other programmable vision signalling arrangements, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or
Any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, computer
Readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of the present invention can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention
Form.It is deposited moreover, the present invention can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above is only the embodiment of the present invention, are not intended to restrict the invention.To those skilled in the art,
The invention may be variously modified and varied.It is all within the spirit and principles of the present invention made by any modification, equivalent replacement,
Improve etc., it should be included within scope of the presently claimed invention.
Claims (10)
1. a kind of data processing method characterized by comprising
Receive the destination request;
Extract target total time-consuming of the destination request in the destination request link;
It is time-consuming to obtain the destination request transmits in the upstream service node of current serving Node first;
It is time-consuming to obtain the destination request transmits in the current serving Node second;
Judge whether the destination request is overtime according to described first time-consuming, the described second time-consuming and described target total time-consuming;
If so, terminating transmission of the destination request in the destination request link.
2. the method according to claim 1, wherein it is described according to it is described first time-consuming, described second it is time-consuming with
And the target total time-consuming judges whether time-out includes: the destination request
Whether judge described first time-consuming and described second time-consuming is greater than or equal to the target total time-consuming with value;
If so, determining the destination request time-out;
If not, it is determined that the destination request has not timed out, and by the destination request, described first time-consuming, described second time-consuming
And the target total time-consuming is sent to the downstream service node of the current serving Node.
3. method according to claim 1 or 2, which is characterized in that described to obtain the destination request in the current clothes
The second time-consuming for transmitting includes: in business node
Obtain the first moment that the current serving Node receives the destination request;
The first transmission time that destination request described in real-time monitoring transmits in the current serving Node;
Determine that described second is time-consuming according to first moment and first transmission time.
4. method according to claim 1 or 2, which is characterized in that described to obtain the destination request in the current clothes
The second time-consuming for transmitting includes: in business node
Obtain the second moment that the destination request is issued from upstream adjacent service node;
Chain of the destination request described in real-time monitoring between the current serving Node and the upstream adjacent service node
The second transmission time transmitted in road and the current serving Node;
Determine that described second is time-consuming according to second moment and second transmission time.
5. a kind of data processing equipment characterized by comprising
Receiving unit, for receiving the destination request;
Extraction unit, for extracting target total time-consuming of the destination request in the destination request link;
Acquiring unit, the first consumption transmitted in the upstream service node of current serving Node for obtaining the destination request
When;
It is time-consuming to be also used to obtain the destination request transmits in the current serving Node second for the acquiring unit;
Judging unit, for judging the target according to described first time-consuming, the described second time-consuming and described target total time-consuming
Whether request is overtime;
Processing unit, for terminating the destination request in the destination request link when the destination request time-out
Transmission.
6. device according to claim 5, which is characterized in that the judging unit is specifically used for:
Whether judge described first time-consuming and described second time-consuming is greater than or equal to the target total time-consuming with value;
If so, determining the destination request time-out;
If not, it is determined that the destination request has not timed out, and by the destination request, described first time-consuming, described second time-consuming
And the target total time-consuming is sent to the downstream service node of the current serving Node.
7. device according to claim 5 or 6, which is characterized in that the acquiring unit is specifically used for:
Obtain the first moment that the current serving Node receives the destination request;
The first transmission time that destination request described in real-time monitoring transmits in the current serving Node;
Determine that described second is time-consuming according to first moment and first transmission time.
8. device according to claim 5 or 6, which is characterized in that the acquiring unit also particularly useful for:
Obtain the second moment that the destination request is issued from upstream adjacent service node;
Chain of the destination request described in real-time monitoring between the current serving Node and the upstream adjacent service node
The second transmission time transmitted in road and the current serving Node;
Determine that described second is time-consuming according to second moment and second transmission time.
9. a kind of computer readable storage medium, which is characterized in that including instruction, when the computer readable storage medium is being counted
When being run on calculation machine, so that the step of data processing method described in any one of computer perform claim requirement 1 to 4.
10. a kind of computer program product comprising instruction, when the computer program product comprising instruction on computers
When operation, so that the step of computer executes data processing method described in any one of the claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910285072.8A CN109995787A (en) | 2019-04-10 | 2019-04-10 | A kind of data processing method and relevant device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910285072.8A CN109995787A (en) | 2019-04-10 | 2019-04-10 | A kind of data processing method and relevant device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109995787A true CN109995787A (en) | 2019-07-09 |
Family
ID=67132781
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910285072.8A Pending CN109995787A (en) | 2019-04-10 | 2019-04-10 | A kind of data processing method and relevant device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109995787A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110784478A (en) * | 2019-10-31 | 2020-02-11 | 深圳前海微众银行股份有限公司 | Method, device and equipment for adjusting timeout duration and computer readable storage medium |
CN112671835A (en) * | 2020-12-07 | 2021-04-16 | 深圳市晨北科技有限公司 | Request processing method, device, system and storage medium |
CN113438130A (en) * | 2021-06-23 | 2021-09-24 | 中国工商银行股份有限公司 | Overtime monitoring method and device based on micro-service |
CN113806225A (en) * | 2021-09-24 | 2021-12-17 | 上海淇玥信息技术有限公司 | Method and device for identifying service abnormal node and electronic equipment |
CN113806225B (en) * | 2021-09-24 | 2024-06-07 | 上海淇玥信息技术有限公司 | Business abnormal node identification method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105635231A (en) * | 2014-11-06 | 2016-06-01 | 阿里巴巴集团控股有限公司 | Calling method and apparatus of distributed system |
CN106454553A (en) * | 2016-11-15 | 2017-02-22 | 深圳市视维科技有限公司 | A precise time delay live video network transmission control method |
CN106447242A (en) * | 2016-11-28 | 2017-02-22 | 国网山东省电力公司济宁供电公司 | Power consumption service acceptance time limit management method and device |
US20180159777A1 (en) * | 2016-12-01 | 2018-06-07 | Cisco Technology, Inc. | Techniques for informing communications networks of desired packet transport treatment |
CN108156252A (en) * | 2018-01-04 | 2018-06-12 | 北京奇艺世纪科技有限公司 | A kind of data access method, device, server and client |
-
2019
- 2019-04-10 CN CN201910285072.8A patent/CN109995787A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105635231A (en) * | 2014-11-06 | 2016-06-01 | 阿里巴巴集团控股有限公司 | Calling method and apparatus of distributed system |
CN106454553A (en) * | 2016-11-15 | 2017-02-22 | 深圳市视维科技有限公司 | A precise time delay live video network transmission control method |
CN106447242A (en) * | 2016-11-28 | 2017-02-22 | 国网山东省电力公司济宁供电公司 | Power consumption service acceptance time limit management method and device |
US20180159777A1 (en) * | 2016-12-01 | 2018-06-07 | Cisco Technology, Inc. | Techniques for informing communications networks of desired packet transport treatment |
CN108156252A (en) * | 2018-01-04 | 2018-06-12 | 北京奇艺世纪科技有限公司 | A kind of data access method, device, server and client |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110784478A (en) * | 2019-10-31 | 2020-02-11 | 深圳前海微众银行股份有限公司 | Method, device and equipment for adjusting timeout duration and computer readable storage medium |
CN110784478B (en) * | 2019-10-31 | 2024-04-30 | 深圳前海微众银行股份有限公司 | Method, device, equipment and computer readable storage medium for adjusting timeout duration |
CN112671835A (en) * | 2020-12-07 | 2021-04-16 | 深圳市晨北科技有限公司 | Request processing method, device, system and storage medium |
CN112671835B (en) * | 2020-12-07 | 2022-08-09 | 深圳市晨北科技有限公司 | Request processing method, device, system and storage medium |
CN113438130A (en) * | 2021-06-23 | 2021-09-24 | 中国工商银行股份有限公司 | Overtime monitoring method and device based on micro-service |
CN113438130B (en) * | 2021-06-23 | 2022-11-11 | 中国工商银行股份有限公司 | Overtime monitoring method and device based on micro-service |
CN113806225A (en) * | 2021-09-24 | 2021-12-17 | 上海淇玥信息技术有限公司 | Method and device for identifying service abnormal node and electronic equipment |
CN113806225B (en) * | 2021-09-24 | 2024-06-07 | 上海淇玥信息技术有限公司 | Business abnormal node identification method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10572285B2 (en) | Method and apparatus for elastically scaling virtual machine cluster | |
JP6692000B2 (en) | Risk identification method, risk identification device, cloud risk identification device and system | |
US9535754B1 (en) | Dynamic provisioning of computing resources | |
CN109995787A (en) | A kind of data processing method and relevant device | |
Brandón et al. | Fmone: A flexible monitoring solution at the edge | |
CN106134141A (en) | A kind of method and device updating network service describer NSD | |
CN102957622B (en) | Method, device and system for data processing | |
US20180165693A1 (en) | Methods and systems to determine correlated-extreme behavior consumers of data center resources | |
CN109561128A (en) | Data transmission method and device | |
CN107370684A (en) | Business current-limiting method and business current-limiting apparatus | |
CN115033340A (en) | Host selection method and related device | |
CN110020046A (en) | A kind of data grab method and device | |
CN111984733A (en) | Data transmission method and device based on block chain and storage medium | |
CN109117295A (en) | A kind of overtime monitoring method of transaction and device | |
CN116915827A (en) | Data transmission method and device of internet of things edge gateway, electronic equipment and medium | |
CN108696559A (en) | Method for stream processing and device | |
CN112448833A (en) | Multi-management-domain communication method and device | |
US20230081545A1 (en) | Attribution of user data sources across datasets in a data sharing platform | |
CN105549911B (en) | The data transmission method and device of NVRAM | |
CN116841720A (en) | Resource allocation method, apparatus, computer device, storage medium and program product | |
Artych et al. | Security constraints for placement of latency sensitive 5G MEC applications | |
CN114024822A (en) | Block chain-based Internet of things equipment management method, equipment, server and medium | |
CN109032786A (en) | Jenkins continuous integrating cluster, APP packaging method and server | |
CN109151007B (en) | Data processing method, core server and transmission server for application scheduling | |
CN109614242A (en) | A kind of computing capability sharing method, device, equipment and medium |
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 |
Application publication date: 20190709 |
|
RJ01 | Rejection of invention patent application after publication |