CN104243405A - Request processing method, device and system - Google Patents

Request processing method, device and system Download PDF

Info

Publication number
CN104243405A
CN104243405A CN201310228246.XA CN201310228246A CN104243405A CN 104243405 A CN104243405 A CN 104243405A CN 201310228246 A CN201310228246 A CN 201310228246A CN 104243405 A CN104243405 A CN 104243405A
Authority
CN
China
Prior art keywords
rpc
request
response time
constraint information
time constraint
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
CN201310228246.XA
Other languages
Chinese (zh)
Other versions
CN104243405B (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.)
Huawei Technologies Co Ltd
Institute of Computing Technology of CAS
Original Assignee
Huawei Technologies Co Ltd
Institute of Computing Technology of CAS
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 Huawei Technologies Co Ltd, Institute of Computing Technology of CAS filed Critical Huawei Technologies Co Ltd
Priority to CN201310228246.XA priority Critical patent/CN104243405B/en
Priority to PCT/CN2014/079489 priority patent/WO2014194869A1/en
Publication of CN104243405A publication Critical patent/CN104243405A/en
Application granted granted Critical
Publication of CN104243405B publication Critical patent/CN104243405B/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
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a request processing method. The request processing method is used for dynamically adjusting the executing priority and resource allocation according to the request processing time. The request processing method comprises the steps that remote procedure call (RPC) requests sent by a service allocation server are received and are added to a service request queue, the executing priorities of the RPC requests are set according to the responding time constraint information of the RPC requests in the service request queue, and/or executing resources of the RPC requests are allocated.

Description

A kind of request processing method, Apparatus and system
Technical field
The present invention relates to the communications field, particularly relate to a kind of request processing method, Apparatus and system.
Background technology
Internet, applications, as Email, search, shopping at network, social networks, Online Video, network map etc., has become a part for people's life.These application will be often more than one hundred million user service, mean that internet, applications has become a kind of social public service, and the data center that support has mass users internet, applications also becomes social core infrastructures.
Active users and user's visit capacity are the principal elements affecting Internet firm's business revenue, and service response time allows the key that user is satisfied, keep user here fast.Internet firm generally all adopts free service to attract user, so the response time is the key index weighing service quality (Quality of Service, QoS).Because internet, applications needs simultaneously for more than one hundred million user provides service, so for the consideration of performance and autgmentability, they mostly adopt distributed mode to realize, by an application decomposition be many service arrangements on multiple Service Process Server, therefore the request of a user finally can be assigned to the enterprising row relax of multiple different Service Process Server.A kind of typical service aggregating pattern of the sequentially/pattern that relies on, in such a mode, the output of serving on last stage is the input of next stage service, and the service in adjacent two stages has dependence.
Be subject to the impact of asking the many factors such as feature, network, consistency operation in data center, the response time of each service stage fluctuation change can constantly occur; Internet firm is in order to pursue low cost target simultaneously, usually Modes of Sharing Resources is adopted to improve resource utilization during heart operation in the data, this be shared in reduce costs while also can bring mutual interference problem between application, aggravation application response time fluctuation.More seriously, serve the time delay of the response time at Service Process Server on last stage, further may amplify in next stage service processes, in order/dependence service aggregating pattern, the time delay of the response time of every one-level can by superposition step by step, and the response time that end user is asked exists very large time delay.The time delay of this response time can have a strong impact on the service quality of many delay-sensitive application (as search, online shopping etc.).
In the prior art, technical staff, before deployment sharing application, carries out preanalysis and test to a large amount of existing application, selects the minimum application of interference mutually to carry out mixed deployment, thus the mutual interference reduced between application is on the impact of response time, avoids the time delay of response time as much as possible.
But, this prior art needs to carry out preanalysis and test to a large amount of existing application before deployment, operation easier is larger, and, of a great variety and uncertain due to existing application, even if analyze application before deployment, also can only reduce the mutual interference between certain applications, still there is larger interference between a lot of application, avoid the poor effect of response time time delay.
Summary of the invention
Embodiments provide a kind of request processing method, for dynamically adjusting execution priority and the Resourse Distribute of request according to the processing time of request.
The request processing method that embodiment of the present invention first aspect provides, comprising:
Service Process Server receives the remote procedure call request that traffic assignments server sends, and described RPC request comprises: response time constraint information; Described response time constraint information is for marking process confinement time of asking corresponding user to ask with described RPC and having occurred the processing time; Described RPC request is added service request queue by described Service Process Server; Described Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks, and/or distributes each RPC described execution resource of asking.
In the first method in the cards of first aspect,
If described Service Process Server can process RPC requests all in described service request queue simultaneously, then the described Service Process Server execution resource that each RPC asks according to the response time constraint information distribution of each RPC request in described service request queue;
If any one RPC that described Service Process Server only can process separately in described service request queue asks, then described Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks;
If described Service Process Server both cannot process RPC requests all in described service request queue simultaneously, neither ask by any one RPC that only can process separately in described service request queue, then described Service Process Server arranges the execution priority of each RPC request according to the response time constraint information that each RPC in described service request queue asks, and distributes each RPC described execution resource of asking.
In conjunction with the first implementation method of first aspect or first aspect, in the second of first aspect method in the cards, when Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks, described response time constraint information of asking according to each RPC in service request queue arranges the execution priority that each RPC described asks, and comprising:
The constraint remaining time of process confinement time that each RPC asks according to described response time constraint acquisition of information; Arrange the execution priority of described each RPC request according to predefine rule, described predefine rule comprises: described constraint is fewer for remaining time, then the execution priority arranged is higher.
In conjunction with the first implementation method of first aspect or first aspect, in the third method in the cards of first aspect, when the execution resource that Service Process Server each RPC according to the response time constraint information distribution of each RPC request in described service request queue asks, the described execution resource that each RPC asks according to the response time constraint information distribution of each RPC request in service request queue, comprising:
The remaining time of process confinement time that each RPC asks according to described response time constraint acquisition of information; The execution resource that each RPC asks according to predefine regular allocation, described predefine rule comprises: described constraint is fewer for remaining time, then the execution resource of distributing is more.
In conjunction with the second of first aspect or the third implementation method of first aspect, in the 4th kind of method in the cards of first aspect, described predefine rule also comprises: if be less than the prediction deadline that described RPC asks described remaining time processing confinement time, then abandon as described RPC request arranges execution priority and distributes execution resource.
In conjunction with the second of first aspect or the third implementation method of first aspect, in the 5th kind of method in the cards of first aspect, described predefine rule also comprises: if the constraint having plural RPC to ask is equal for remaining time, then obtain described constraint remaining time and the described ratio processing confinement time, the RPC request little for described ratio arranges higher execution priority, and/or distributes more execution resource.
In conjunction with the first to three any one implementation method of first aspect or first aspect, in the 6th kind of method in the cards of first aspect, after the remote procedure call request that described reception traffic assignments server sends, comprising:
The processing policy of RPC request according to described response time constraint information and urgent Threshold selection, described processing policy comprises: the first processing policy and the second processing policy, if the constraint of described response time constraint information is greater than described urgent threshold value remaining time, then select to perform described first processing policy, if the constraint of described response time constraint information is less than or equal to described urgent threshold value remaining time, then select to perform described second processing policy, the process complexity of described first processing policy is greater than described second processing policy.
In conjunction with the first to three any one implementation method of first aspect or first aspect, in the 7th kind of method in the cards of first aspect, described response time constraint information of asking according to each RPC in service request queue arranges the execution priority that each RPC described asks, and/or after the execution resource that described in distributing, each RPC asks, comprising:
The RPC request that described Service Process Server is the highest to priority processes, and records the processing time that described RPC asks, and upgrades the response time constraint information of described RPC request according to the described processing time; Described Service Process Server completes the response time constraint information of the RPC request of process to described traffic assignments server feedback.
The request processing method that embodiment of the present invention second aspect provides, comprising:
The request of traffic assignments server receives user; Described traffic assignments server is described user's request dispatching response time constraint information, and described response time constraint information is for marking the process confinement time of described user request and having occurred the processing time; Described traffic assignments server asks to generate remote procedure call request according to described user; Described traffic assignments server sends RPC request to Service Process Server, and described RPC request carries described response time constraint information; Make described Service Process Server be that described RPC request arranges execution priority according to described response time constraint information, and/or distribute execution resource.
In the first method in the cards of second aspect, the response time constraint information of the described user's request of described distribution, comprising:
Be described user's request dispatching response time constraint information according to the history value of described response time constraint information and the hardware information of described Service Process Server.
In conjunction with the first method in the cards of second aspect, in the second of second aspect method in the cards, if the hardware performance of current Service Process Server, change is there occurs relative to when recording the history value of described response time constraint information, then the hardware information of the described history value according to response time constraint information and described Service Process Server is described user's request dispatching response time constraint information, comprising:
Obtain the ratio of the first processing speed and the second processing speed, the history value of described response time constraint information is taken advantage of in described ratio, obtain the current response time constraint information for described user's request dispatching; Described first processing speed is the processing speed that the hardware performance of current Service Process Server is asked described RPC, the processing speed that the hardware performance of Service Process Server when described second processing speed is the history value recording described response time constraint information is asked described RPC;
If the hardware performance of current Service Process Server, do not change relative to when recording the history value of described response time constraint information, then the hardware information of the described history value according to response time constraint information and described Service Process Server is described user's request dispatching response time constraint information, comprising:
Using the history value of described response time constraint information as current be the response time constraint information of described user's request dispatching.
In conjunction with the first to two any one implementation method of second aspect or second aspect, in the third method in the cards of second aspect, describedly ask to generate remote procedure call request according to user, comprising:
Extract described user and ask required service parameter; Determine that described user asks the step needing to perform according to preset service logic, determined according to the described step performed that needs the Service Process Server needing to call; Be respectively the corresponding described service parameter of Service Process Server distribution that described needs call, generate the RPC corresponding with described Service Process Server and ask.
In conjunction with the first to two any one implementation method of second aspect or second aspect, in the 4th kind of method in the cards of second aspect, described to after Service Process Server sends RPC request, comprising:
Receive the response time constraint information of described Service Process Server feedback; Use the response time constraint information of the corresponding RPC request of described response time constraint information updating.
In conjunction with the 4th kind of implementation method of second aspect, in the 5th kind of method in the cards of second aspect, after the response time constraint information of the described Service Process Server feedback of described reception, comprising:
Described user is selected to ask corresponding allocation process strategy according to described response time constraint information and urgent allocation threshold, described allocation process strategy comprises: the first allocation process strategy and the second allocation process strategy, if the constraint of described response time constraint information is greater than described emergency treatment threshold value remaining time, then select to perform described first allocation process strategy, if the constraint of described response time constraint information is less than or equal to described emergency treatment threshold value remaining time, then select to perform described second allocation process strategy, the process complexity of described first allocation process strategy is greater than described second allocation process strategy.
The Service Process Server that the embodiment of the present invention third aspect provides, comprising:
Request reception unit, for receiving the remote procedure call request that traffic assignments server sends, described RPC request comprises: response time constraint information; Described response time constraint information is for marking process confinement time of asking corresponding user to ask with described RPC and having occurred the processing time; Memory cell, for adding service request queue by described RPC request; Setting unit, the response time constraint information for asking according to each RPC in described service request queue arranges the execution priority that each RPC described asks, and/or distributes each RPC described execution resource of asking.
The Service Process Server that embodiment of the present invention fourth aspect provides, comprising:
User's request reception unit, for receiving user's request; Information assigning unit, for being described user's request dispatching response time constraint information, described response time constraint information is for marking the process confinement time of described user request and having occurred the processing time; Request generation unit, generates remote procedure call request for asking according to described user; Request transmitting unit, for sending RPC request to Service Process Server, described RPC request carries described response time constraint information; Make described Service Process Server be that described RPC request arranges execution priority according to described response time constraint information, and/or distribute execution resource.
The Service Process Server that the embodiment of the present invention the 5th aspect provides, comprising:
Traffic assignments server and Service Process Server;
Described traffic assignments server is for receiving user's request; For described user's request dispatching response time constraint information, described response time constraint information is for marking the process confinement time of described user request and having occurred the processing time; Ask to generate remote procedure call request according to described user; RPC request is sent to Service Process Server; Described RPC request carries described response time constraint information;
The remote procedure call request that described Service Process Server sends for receiving traffic assignments server, adds service request queue by described RPC request; The execution priority of described each RPC request is set according to the response time constraint information of each RPC request in described service request queue, and/or distributes the execution resource of described each RPC request.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In embodiments of the present invention, remote procedure call (the Remote Procedure Call that Service Process Server receives, RPC) response time constraint information is carried in request, this response time constraint information is for marking process confinement time of asking corresponding user to ask with described RPC and having occurred the processing time, make Service Process Server before process RPC request, the execution priority that described in the response time constraint information distribution can asked according to each RPC in service request queue, each RPC asks and/or execution resource, thus make the RPC request be pressed for time to obtain priority treatment.
Accompanying drawing explanation
Fig. 1 is a schematic flow sheet of embodiment of the present invention request processing method;
Fig. 2 is another schematic flow sheet of embodiment of the present invention request processing method;
Fig. 3 is another schematic flow sheet of embodiment of the present invention request processing method;
Fig. 4 is another schematic flow sheet of embodiment of the present invention request processing method;
Fig. 5 is a structural representation of embodiment of the present invention Service Process Server;
Fig. 6 is a structural representation of embodiment of the present invention traffic assignments server;
Fig. 7 is a structural representation of embodiment of the present invention demand processing system;
Fig. 8 is the structural representation of embodiment of the present invention computer equipment.
Embodiment
Embodiments provide a kind of request processing method, for dynamically adjusting execution priority and the Resourse Distribute of request according to the processing time of request.
Refer to Fig. 1, in the embodiment of the present invention, an embodiment of request processing method comprises:
101, Service Process Server receives the RPC request that traffic assignments server sends;
Service Process Server receives the RPC request that traffic assignments server sends, and described RPC request comprises: response time constraint information; Described response time constraint information is for marking process confinement time of asking corresponding user to ask with described RPC and having occurred the processing time.
Exemplary, after getting this response time constraint information, this response time constraint information can be stored in the thread local storage (Thread Local Storage, TLS) of Service Process Server.
In actual applications, traffic assignments server can receive user's request that user sends, and be this user's request dispatching response time constraint information, this response time constraint information includes the process confinement time that an application of asking with this user or service relative are answered, for limiting the maximum response time of described user request in whole processing procedure (namely this user request need process within process confinement time), also have initial condition be zero the processing time of generation, for add up this user request each Service Process Server processing stage processing time of producing altogether.
After the traffic assignments server response time constraint information that has been user's request dispatching, traffic assignments server asks to generate RPC request according to this user, and send this RPC to the Service Process Server (Service Process Server that the application of namely asking with RPC or service relative are answered) of target and ask, this RPC carries in asking and asks corresponding response time constraint information with this user, and this RPC asks to be used for the Service Process Server requested service process to target.In actual applications, completing user's request may need a point multiple stage to process, wherein, traffic assignments server can generate a RPC request for each stage, each RPC request can be sent to corresponding traffic assignments server successively and process, simultaneously, the RPC request in each stage can carry current response time constraint information, often complete a RPC request, response time constraint information will be updated once, current response time constraint information reflects the process confinement time of this user request simultaneously, and each stage has the processing time produced altogether before.
Optionally, the process remaining time of confinement time is equaled to process owing to processing confinement time and the difference that the processing time has occurred, described this parameter of processing time that occurred also can replace with the process processing confinement time remaining time, and between parameter, apparent replacement should not be construed as limitation of the invention.
102, described RPC request is added service request queue by Service Process Server;
Described RPC request is added service request queue by Service Process Server, and described service request queue is for storing different RPC requests.
In actual applications, in order to reduce the cost of operation, improve resource utilization, resource in a Service Process Server may be shared by multiple traffic assignments server and utilize, therefore, Service Process Server probably needs to process multiple RPC at one time asks, and these RPC requests can be added into the medium process to be allocated of service request queue.
103, Service Process Server is the execution priority of RPC request dispatching and/or performs resource.
Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks, and/or distributes each RPC described execution resource of asking.
Optionally, the execution resource of distributing described each RPC request can comprise: central processing unit (Central Processing Unit, the CPU) dispatching priority of adjustment thread, I/O (I/O) priority etc. of adjustment thread.
In embodiments of the present invention, response time constraint information is carried in the RPC request that Service Process Server receives, this response time constraint information is for marking process confinement time of asking corresponding user to ask with described RPC and having occurred the processing time, make Service Process Server before process RPC request, the execution priority that described in the response time constraint information distribution can asked according to each RPC in service request queue, each RPC asks and/or execution resource, thus make the RPC request be pressed for time to obtain priority treatment.
In actual applications, Service Process Server can have multiple strategy according to the regulation and control of response time constraint information, refers to Fig. 2, and in the embodiment of the present invention, another embodiment of request processing method comprises:
201, Service Process Server receives the RPC request that traffic assignments server sends;
Service Process Server receives the remote procedure call request that traffic assignments server sends, and described RPC request comprises: response time constraint information; Described response time constraint information is for marking process confinement time of asking corresponding user to ask with described RPC and having occurred the processing time.
202, the processing policy of Service Process Server RPC request according to described response time constraint information and urgent Threshold selection;
The processing policy of Service Process Server RPC request according to described response time constraint information and urgent Threshold selection, if the constraint of described response time constraint information is greater than described urgent threshold value remaining time, then select to perform described first processing policy, if the constraint of described response time constraint information is less than or equal to described urgent threshold value remaining time, then select to perform described second processing policy, described processing policy comprises: the first processing policy and the second processing policy, and the process complexity of described first processing policy is greater than described second processing policy.
Described urgent threshold value is the judgment threshold that Service Process Server selects the processing policy of RPC request, is specifically as follows a time threshold.
Exemplary, in actual applications, described first processing policy specifically can comprise the content of recommending user to be concerned about by the mode of data mining analysis according to the request of user; Described second processing policy specifically can comprise recommends directly to user the content that current attention rate is high; Because the process complexity of the first processing policy is greater than the second processing policy, therefore, time urgent when treated (being less than or equal to the embodiment of urgent threshold value remaining time especially by constraint), Service Process Server can be selected to process the second less processing policy of complexity, to save the processing time.
Be understandable that, represented by described first processing policy and the second processing policy is only the two class strategies that process complexity is different, do not refer in particular to any two strategies, and, first processing policy can represent the same or analogous plural processing policy of process complexity, and the second processing policy also can represent the same or analogous plural processing policy of process complexity.
Further, Service Process Server can also arrange multistage urgent threshold value, with the processing policy of the corresponding Various Complex degree type of difference, is specifically not construed as limiting herein.
203, described RPC request is added service request queue by Service Process Server;
Described RPC request is added service request queue by Service Process Server, and described service request queue is for storing different RPC requests.
In actual applications, in order to reduce the cost of operation, improve resource utilization, resource in a Service Process Server may be shared by multiple traffic assignments server and utilize, therefore, Service Process Server probably needs to process multiple RPC at one time asks, and these RPC requests can be added into the medium process to be allocated of service request queue.
Be understandable that, the embodiment of the present invention in actual applications, step 202 and step 203 do not have strict precedence relationship, namely also can perform " described RPC request is added service request queue ", then perform " processing policy of RPC request according to described response time constraint information and urgent Threshold selection ".
204, Service Process Server is the execution priority of RPC request dispatching and/or performs resource;
Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks, and/or distributes each RPC described execution resource of asking.
Optionally, distribute execution priority and/or perform the scheme that resource can pass through to adjust in operating system or hypervisor (Hypervisor) the resource use amount of different request processing thread, as adjusted the CPU dispatching priority of thread, the I/O priority etc. of adjustment thread; Also can by supporting that the execution priority of hardware to request processing thread of priority adjusts, as, the cache memory of CPU, Memory Controller Hub or system bus distribute the hardware resource that each processing threads uses according to the determined priority of response time constraint information.
In actual applications, Service Process Server, can according to the disposal ability of equipment self before process RPC request, and the quantity of RPC request in service request queue and type, determines the processing mode that RPC asks; If described Service Process Server can process RPC requests all in described service request queue simultaneously, then the described Service Process Server execution resource that each RPC asks according to the response time constraint information distribution of each RPC request in described service request queue; If any one RPC that described Service Process Server only can process separately in described service request queue asks, then described Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks; If namely described Service Process Server cannot process RPC requests all in described service request queue simultaneously, any one RPC that also can not only process separately in described service request queue asks, then described Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks, and distributes each RPC described execution resource of asking.
Further, when Service Process Server arranges according to the response time constraint information that each RPC in described service request queue asks the execution priority that each RPC described asks, Service Process Server can according to described response time constraint acquisition of information constraint remaining time of process confinement time that each RPC asks; Arrange the execution priority of described each RPC request again according to predefine rule, described predefine rule comprises: described constraint is fewer for remaining time, then the execution priority arranged is higher.
When the execution resource that each RPC described in the response time constraint information distribution that Service Process Server is asked according to each RPC in described service request queue asks, Service Process Server can according to described response time constraint acquisition of information remaining time of process confinement time that each RPC asks; The execution resource that each RPC asks according to predefine regular allocation, described predefine rule comprises: described constraint is fewer for remaining time, then the execution resource of distributing is more.
Further, after Service Process Server gets constraint remaining time that each RPC asks, if the constraint finding that there is plural RPC request is equal for remaining time, then obtain described constraint remaining time and the described ratio processing confinement time, the RPC request little for described ratio arranges higher execution priority, and/or distributes more execution resource.
Further, after Service Process Server gets constraint remaining time of process confinement time, can first judge remaining time this constraint, if the described remaining time processing confinement time is less than the prediction deadline that described RPC asks, then abandon performing resource, to save the process resource of Service Process Server for described RPC request arranges execution priority and distributes; Optionally, Service Process Server now can be selected to send request failure response to traffic assignments server, the process failure that traffic assignments server is asked to this user of user feedback, makes to resend service request.
In actual applications, Service Process Server can know that user asks the minimum treat time at each processing stage (can be informed by traffic assignments server), current Service Process Server residue that described user is asked each processing stage the minimum treat time be added, the described prediction deadline can be obtained.
205, Service Process Server completes the response time constraint information of the RPC request of process to described traffic assignments server feedback.
After the distribution of the setting and/or execution resource that complete execution priority, the RPC request that Service Process Server is the highest to priority processes, record the processing time that described RPC asks, and the response time constraint information (add the processing time of generation in response time constraint information by the described processing time, obtain the processing time of generation after upgrading) of described RPC request is upgraded according to the described processing time.
Service Process Server completes the response time constraint information (the response time constraint information after namely upgrading) of the RPC request of process to described traffic assignments server feedback, make the response time constraint information of traffic assignments server update relative users request.
The above is described from the angle of Service Process Server the request processing method the embodiment of the present invention, from business distribution server side, the request processing method the embodiment of the present invention is described below, refer to Fig. 3, another embodiment of the request processing method in the embodiment of the present invention comprises:
301, traffic assignments server receives user request;
The request of traffic assignments server receives user, the demand for services that this user request proposes to network side for user or application demand, this demand for services or application demand can comprise: search, online shopping etc.
302, traffic assignments server is described user's request dispatching response time constraint information;
Traffic assignments server is described user's request dispatching response time constraint information, and described response time constraint information is for marking the process confinement time of described user request and having occurred the processing time.
Exemplary, this response time constraint information can be stored in the TLS of traffic assignments server.
This response time constraint information includes the process confinement time that an application of asking with this user or service relative are answered, for limiting the maximum response time of described user request in whole processing procedure (namely this user request need process within process confinement time), also have initial condition be zero the processing time of generation, for add up this user request each Service Process Server processing stage processing time of producing altogether.
Optionally, this response time constraint information can be arranged according to the service of different user request or application type by keeper, after completing Initialize installation, traffic assignments server can distribute automatically according to the history value of the response time constraint information of relative users request.
303, traffic assignments server asks to generate RPC request according to described user;
After the traffic assignments server response time constraint information that has been user's request dispatching, traffic assignments server asks to generate RPC request according to this user, this RPC carries in asking and asks corresponding response time constraint information with this user, and this RPC asks to be used for the Service Process Server requested service process to target.In actual applications, completing user's request may need a point multiple stage to process, wherein, traffic assignments server can generate a RPC request for each stage, each RPC request can be sent to corresponding traffic assignments server successively and process, simultaneously, the RPC request in each stage can carry current response time constraint information, often complete a RPC request, response time constraint information will be updated once, current response time constraint information reflects the process confinement time of this user request simultaneously, and each stage has the processing time produced altogether before.
304, traffic assignments server sends RPC request to Service Process Server.
Traffic assignments server sends RPC request to Service Process Server, and described RPC request carries described response time constraint information; Make described Service Process Server be that described RPC request arranges execution priority according to described response time constraint information, and/or distribute execution resource.
In embodiments of the present invention, traffic assignments server carries response time constraint information in the RPC that Service Process Server sends asks, this response time constraint information is for marking the process confinement time of described user request and having occurred the processing time, make Service Process Server before process RPC request, the execution priority that described in the response time constraint information distribution can asked according to each RPC in service request queue, each RPC asks and/or execution resource, thus make the RPC request be pressed for time to obtain priority treatment.
Perform request processing method to traffic assignments server to be below described in detail, refer to Fig. 4, another embodiment of the request processing method in the embodiment of the present invention comprises again:
401, traffic assignments server receives user request;
The request of traffic assignments server receives user, the demand for services that this user request proposes to network side for user or application demand, this demand for services or application demand can comprise: search, online shopping etc.
402, traffic assignments server is described user's request dispatching response time constraint information;
Traffic assignments server is described user's request dispatching response time constraint information, and described response time constraint information is for marking the process confinement time of described user request and having occurred the processing time;
This response time constraint information includes the process confinement time that an application of asking with this user or service relative are answered, for limiting the maximum response time of described user request in whole processing procedure (namely this user request need process within process confinement time), also have initial condition be zero the processing time of generation, for add up this user request each Service Process Server processing stage processing time of producing altogether.
Optionally, this response time constraint information can be arranged according to the service of different user request or application type by keeper, after completing Initialize installation, traffic assignments server can distribute automatically according to the history value of the response time constraint information of relative users request.
Optionally, traffic assignments server can be described user's request dispatching response time constraint information according to the hardware information of the history value of described response time constraint information and described Service Process Server; Concrete, if the hardware performance of current Service Process Server, change is there occurs relative to when recording the history value of described response time constraint information, then obtain the ratio of the first processing speed and the second processing speed, the history value of described response time constraint information is taken advantage of in described ratio, obtains the current response time constraint information for described user's request dispatching; Described first processing speed is the processing speed that the hardware performance of current Service Process Server is asked described RPC, the processing speed that the hardware performance of Service Process Server when described second processing speed is the history value recording described response time constraint information is asked described RPC; If the hardware performance of current Service Process Server, do not change relative to when recording the history value of described response time constraint information, then using the history value of described response time constraint information as current be the response time constraint information of described user's request dispatching.
403, traffic assignments server asks to generate RPC request according to described user;
After the traffic assignments server response time constraint information that has been user's request dispatching, traffic assignments server asks to generate RPC request according to this user, this RPC carries in asking and asks corresponding response time constraint information with this user, and this RPC asks to be used for the Service Process Server requested service process to target.In actual applications, completing user's request may need a point multiple stage to process, wherein, traffic assignments server can generate a RPC request for each stage, each RPC request can be sent to corresponding traffic assignments server successively and process, simultaneously, the RPC request in each stage can carry current response time constraint information, often complete a RPC request, response time constraint information will be updated once, current response time constraint information reflects the process confinement time of this user request simultaneously, and each stage has the processing time produced altogether before.
Exemplary, RPC request generation method can be: extracted described user and asked required service parameter (as request type, user ID, commodity sign etc.); Determine that described user asks the step needing to perform according to preset service logic, determined according to the described step performed that needs the Service Process Server needing to call; Be respectively the corresponding described service parameter of Service Process Server distribution that described needs call, generate the RPC corresponding with described Service Process Server and ask.
404, traffic assignments server sends RPC request to Service Process Server;
Traffic assignments server sends RPC request to Service Process Server, and described RPC request carries described response time constraint information; Make described Service Process Server be that described RPC request arranges execution priority according to described response time constraint information, and/or distribute execution resource.
405, traffic assignments server receives the response time constraint information of Service Process Server feedback;
Traffic assignments server receives the response time constraint information of Service Process Server feedback, and uses the response time constraint information of the corresponding RPC request of described response time constraint information updating.
406, traffic assignments server is according to the allocation process strategy of the response time constraint Information Selection relative users request after renewal.
Traffic assignments server selects described user to ask corresponding allocation process strategy according to described response time constraint information and urgent allocation threshold, described allocation process strategy comprises: the first allocation process strategy and the second allocation process strategy, if the constraint of described response time constraint information is greater than described emergency treatment threshold value remaining time, then select to perform described first allocation process strategy, if the constraint of described response time constraint information is less than or equal to described emergency treatment threshold value remaining time, then select to perform described second allocation process strategy, the process complexity of described first allocation process strategy is greater than described second allocation process strategy.
Described urgent allocation threshold is the judgment threshold that traffic assignments server selects the processing policy of user's request, is specifically as follows a time threshold.
Exemplary, in actual applications, described first allocation process strategy specifically can comprise the necessary business processing flow of completing user request, and optionally for promoting the data mining of service quality, statistics, analysis process content; Described second allocation process strategy specifically can comprise and only comprise the necessary business processing flow content of completing user request; Process complexity due to the first allocation process strategy is greater than the second allocation process strategy, therefore, time urgent when treated (being less than or equal to the embodiment of urgent threshold value remaining time especially by constraint), traffic assignments server can be selected to process the second less allocation process strategy of complexity, to save the processing time.
Be understandable that, represented by described first allocation process strategy and the second allocation process strategy is only the two class strategies that process complexity is different, do not refer in particular to any two strategies, and, first allocation process strategy can represent the same or analogous plural processing policy of process complexity, and the second allocation process strategy also can represent the same or analogous plural processing policy of process complexity.
Further, traffic assignments server can also arrange multistage urgent allocation threshold, with the allocation process strategy of the corresponding Various Complex degree type of difference, is specifically not construed as limiting herein.
Be described the embodiment of the Service Process Server of the present invention for performing above-mentioned request processing method below, its logical construction please refer to Fig. 5, and the embodiment of the Service Process Server in the embodiment of the present invention comprises:
Request reception unit 501, for receiving the remote procedure call request that traffic assignments server sends, described RPC request comprises: response time constraint information; Described response time constraint information is for marking process confinement time of asking corresponding user to ask with described RPC and having occurred the processing time;
Memory cell 502, for adding service request queue by described RPC request;
Setting unit 503, the response time constraint information for asking according to each RPC in described service request queue arranges the execution priority that each RPC described asks, and/or distributes each RPC described execution resource of asking.
Further, the setting unit in the embodiment of the present invention concrete 503 for:
If described Service Process Server can process RPC requests all in described service request queue simultaneously, then the described Service Process Server execution resource that each RPC asks according to the response time constraint information distribution of each RPC request in described service request queue;
If any one RPC that described Service Process Server only can process separately in described service request queue asks, then described Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks;
If namely described Service Process Server cannot process RPC requests all in described service request queue simultaneously, neither ask by any one RPC that only can process separately in described service request queue, then described Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks, and distributes each RPC described execution resource of asking.
Further, the described setting unit 503 in the embodiment of the present invention can comprise:
Resource distribution module 5031, for the constraint remaining time of process confinement time that each RPC according to described response time constraint acquisition of information asks; Arrange the execution priority of described each RPC request according to predefine rule, described predefine rule comprises: described constraint is fewer for remaining time, then the execution priority arranged is higher;
Priority arranges module 5032, for the remaining time of process confinement time that each RPC according to described response time constraint acquisition of information asks; The execution resource that each RPC asks according to predefine regular allocation, described predefine rule comprises: described constraint is fewer for remaining time, then the execution resource of distributing is more.
Further, the Service Process Server in the embodiment of the present invention can also comprise:
Processing policy selected cell 504, for the processing policy that RPC according to described response time constraint information and urgent Threshold selection asks, described processing policy comprises: the first processing policy and the second processing policy, if the constraint of described response time constraint information is greater than described urgent threshold value remaining time, then select to perform described first processing policy, if the constraint of described response time constraint information is less than or equal to described urgent threshold value remaining time, then select to perform described second processing policy, the process complexity of described first processing policy is greater than described second processing policy.
Further, the Service Process Server in the embodiment of the present invention also comprises:
Requesting processing 505, processes for the RPC request the highest to priority, records the processing time that described RPC asks, and upgrade the response time constraint information of described RPC request according to the described processing time;
Information feedback unit 506, for completing the response time constraint information of the RPC request of process to described traffic assignments server feedback.
The reciprocal process that in the embodiment of the present invention, the unit of traffic assignments server is concrete is as follows:
Request reception unit 501 receives the RPC request that traffic assignments server sends, and described RPC request comprises: response time constraint information; Described response time constraint information is for marking process confinement time of asking corresponding user to ask with described RPC and having occurred the processing time.Exemplary, after getting this response time constraint information, this response time constraint information can be stored in the thread local storage of Service Process Server.
After receiving this RPC request, described RPC request is added service request queue by memory cell 502, and described service request queue is for storing different RPC requests.In actual applications, in order to reduce the cost of operation, improve resource utilization, resource in a Service Process Server may be shared by multiple traffic assignments server and utilize, therefore, Service Process Server probably needs to process multiple RPC at one time asks, and these RPC requests can be added into the medium process to be allocated of service request queue.
Optionally, after getting this response time constraint information, can by processing policy selected cell 504 processing policy that RPC asks according to described response time constraint information and urgent Threshold selection, if the constraint of described response time constraint information is greater than described urgent threshold value remaining time, then select to perform described first processing policy, if the constraint of described response time constraint information is less than or equal to described urgent threshold value remaining time, then select to perform described second processing policy, described processing policy comprises: the first processing policy and the second processing policy, the process complexity of described first processing policy is greater than described second processing policy.
Described urgent threshold value is the judgment threshold that Service Process Server selects the processing policy of RPC request, is specifically as follows a time threshold.
Exemplary, in actual applications, described first processing policy specifically can comprise the content of recommending user to be concerned about by the mode of data mining analysis according to the request of user; Described second processing policy specifically can comprise recommends directly to user the content that current attention rate is high; Because the process complexity of the first processing policy is greater than the second processing policy, therefore, time urgent when treated (being less than or equal to the embodiment of urgent threshold value remaining time especially by constraint), Service Process Server can be selected to process the second less processing policy of complexity, to save the processing time.
After RPC request is joined service request queue, setting unit 503 arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks, and/or distributes each RPC described execution resource of asking.
Concrete, before process RPC request, can according to the disposal ability of equipment self, and the quantity of RPC request in service request queue and type, determine the processing mode that RPC asks; If described Service Process Server can process RPC requests all in described service request queue simultaneously, then the described Service Process Server execution resource that each RPC asks according to the response time constraint information distribution of each RPC request in described service request queue; If any one RPC that described Service Process Server only can process separately in described service request queue asks, then described Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks; If namely described Service Process Server cannot process RPC requests all in described service request queue simultaneously, any one RPC that also can not only process separately in described service request queue asks, then described Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks, and distributes each RPC described execution resource of asking.
Further, can by the constraint remaining time of the resource distribution module 5031 of setting unit 503 process confinement time that each RPC asks according to described response time constraint acquisition of information; Arrange the execution priority of described each RPC request according to predefine rule, described predefine rule comprises: described constraint is fewer for remaining time, then the execution priority arranged is higher; By the remaining time of priority process confinement time that each RPC asks that arranges module 5032 according to described response time constraint acquisition of information; The execution resource that each RPC asks according to predefine regular allocation, described predefine rule comprises: described constraint is fewer for remaining time, then the execution resource of distributing is more.
After the distribution of the setting and/or execution resource that complete execution priority, the requesting processing 505 pairs of RPC that priority is the highest requests process, record the processing time that described RPC asks, and the response time constraint information (add the processing time of generation in response time constraint information by the described processing time, obtain the processing time of generation after upgrading) of described RPC request is upgraded according to the described processing time.
Information feedback unit 506 completes the response time constraint information (the response time constraint information after namely upgrading) of the RPC request of process to described traffic assignments server feedback, make the response time constraint information of traffic assignments server update relative users request.
Be described the embodiment of the traffic assignments server of the present invention for performing above-mentioned request processing method below, its logical construction please refer to Fig. 6, and the embodiment of the traffic assignments server in the embodiment of the present invention comprises:
User's request reception unit 601, for receiving user's request;
Information assigning unit 602, for being described user's request dispatching response time constraint information, described response time constraint information is for marking the process confinement time of described user request and having occurred the processing time;
Request generation unit 603, generates remote procedure call request for asking according to described user;
Request transmitting unit 604, for sending RPC request to Service Process Server, described RPC request carries described response time constraint information; Make described Service Process Server be that described RPC request arranges execution priority according to described response time constraint information, and/or distribute execution resource.
Further, the information assigning unit 602 in the embodiment of the present invention specifically for:
Be described user's request dispatching response time constraint information according to the history value of described response time constraint information and the hardware information of described Service Process Server.
Further, the information assigning unit 602 in the embodiment of the present invention comprises:
First distribution module 6021, if for the hardware performance of current Service Process Server, change is there occurs relative to when recording the history value of described response time constraint information, then obtain the ratio of the first processing speed and the second processing speed, the history value of described response time constraint information is taken advantage of in described ratio, obtains the current response time constraint information for described user's request dispatching; Described first processing speed is the processing speed that the hardware performance of current Service Process Server is asked described RPC, the processing speed that the hardware performance of Service Process Server when described second processing speed is the history value recording described response time constraint information is asked described RPC;
Second distribution module 6022, if for the hardware performance of current Service Process Server, do not change relative to when recording the history value of described response time constraint information, then using the history value of described response time constraint information as current be the response time constraint information of described user's request dispatching.
Further, the request generation unit 603 in the embodiment of the present invention comprises:
Parameter extraction module 6031, asks required service parameter for having extracted described user;
Logic analysis module 6032, for having determined that according to preset service logic described user asks the step needing to perform, has determined according to the described step performed that needs the Service Process Server needing to call;
Request generation module 6033, the Service Process Server called for being respectively described needs distributes corresponding described service parameter, generates the RPC corresponding with described Service Process Server and asks.
Further, the Service Process Server in the embodiment of the present invention also comprises:
Information receiving unit 605, for receiving the response time constraint information of described Service Process Server feedback;
Information updating unit 606, for using the response time constraint information of the corresponding RPC request of described response time constraint information updating.
Allocation strategy selected cell 607, corresponding allocation process strategy is asked for selecting described user according to described response time constraint information and urgent allocation threshold, described allocation process strategy comprises: the first allocation process strategy and the second allocation process strategy, if the constraint of described response time constraint information is greater than described emergency treatment threshold value remaining time, then select to perform described first allocation process strategy, if the constraint of described response time constraint information is less than or equal to described emergency treatment threshold value remaining time, then select to perform described second allocation process strategy, the process complexity of described first allocation process strategy is greater than described second allocation process strategy.
The reciprocal process that in the embodiment of the present invention, the unit of traffic assignments server is concrete is as follows:
User's request reception unit 601 receives user's request, the demand for services that this user request proposes to network side for user or application demand, and this demand for services or application demand can comprise: search for, online shopping.
Upon receipt of a user's request, information assigning unit 602 is described user's request dispatching response time constraint information, and described response time constraint information is for marking the process confinement time of described user request and having occurred the processing time.
Optionally, if the hardware performance of current Service Process Server, change is there occurs relative to when recording the history value of described response time constraint information, then the first distribution module 6021 obtains the ratio of the first processing speed and the second processing speed, the history value of described response time constraint information is taken advantage of in described ratio, obtains the current response time constraint information for described user's request dispatching; Described first processing speed is the processing speed that the hardware performance of current Service Process Server is asked described RPC, the processing speed that the hardware performance of Service Process Server when described second processing speed is the history value recording described response time constraint information is asked described RPC; If the hardware performance of current Service Process Server, do not change relative to when recording the history value of described response time constraint information, then the second distribution module 6022 using the history value of described response time constraint information as current be the response time constraint information of described user's request dispatching.
After the traffic assignments server response time constraint information that has been user's request dispatching, request generation unit 603 asks to generate RPC request according to this user, this RPC carries in asking and asks corresponding response time constraint information with this user, and this RPC asks to be used for the Service Process Server requested service process to target.
Concrete, parameter extraction module 6031 has been extracted described user and has been asked required service parameter (as request type, user ID, commodity sign etc.); According to preset service logic, logic analysis module 6032 has determined that described user asks the step needing to perform, determine according to the described step performed that needs the Service Process Server needing to call; Request generation module 6033 is respectively the corresponding described service parameter of Service Process Server distribution that described needs call, and generates the RPC corresponding with described Service Process Server and asks.
After generation RPC request, request transmitting unit 604 sends RPC request to Service Process Server, and described RPC request carries described response time constraint information; Make described Service Process Server be that described RPC request arranges execution priority according to described response time constraint information, and/or distribute execution resource.
Information receiving unit 605 receives the response time constraint information of Service Process Server feedback, and trigger message updating block 606 uses the response time constraint information of the corresponding RPC request of described response time constraint information updating.
After have updated response time constraint information, allocation strategy selected cell 607 selects described user to ask corresponding allocation process strategy according to described response time constraint information and urgent allocation threshold, described allocation process strategy comprises: the first allocation process strategy and the second allocation process strategy, if the constraint of described response time constraint information is greater than described emergency treatment threshold value remaining time, then select to perform described first allocation process strategy, if the constraint of described response time constraint information is less than or equal to described emergency treatment threshold value remaining time, then select to perform described second allocation process strategy, the process complexity of described first allocation process strategy is greater than described second allocation process strategy.
Described urgent allocation threshold is the judgment threshold that traffic assignments server selects the processing policy of user's request, is specifically as follows a time threshold.
Exemplary, in actual applications, described first allocation process strategy specifically can comprise the necessary business processing flow of completing user request, and optionally for promoting the data mining of service quality, statistics, analysis process content; Described second allocation process strategy specifically can comprise and only comprise the necessary business processing flow content of completing user request; Process complexity due to the first allocation process strategy is greater than the second allocation process strategy, therefore, time urgent when treated (being less than or equal to the embodiment of urgent threshold value remaining time especially by constraint), traffic assignments server can be selected to process the second less allocation process strategy of complexity, to save the processing time.
Be described the embodiment of the demand processing system of the present invention for performing above-mentioned request processing method below, its logical construction please refer to Fig. 7, and the embodiment of the demand processing system in the embodiment of the present invention comprises:
Traffic assignments server 701 and Service Process Server 702;
Described traffic assignments server 701 is for receiving user's request; For described user's request dispatching response time constraint information, described response time constraint information is for marking the process confinement time of described user request and having occurred the processing time; Ask to generate remote procedure call request according to described user; RPC request is sent to Service Process Server; Described RPC request carries described response time constraint information;
The remote procedure call request that described Service Process Server 702 sends for receiving traffic assignments server, adds service request queue by described RPC request; The execution priority of described each RPC request is set according to the response time constraint information of each RPC request in described service request queue, and/or distributes the execution resource of described each RPC request.
Traffic assignments server 701 in the embodiment of the present invention and the concrete steps performed by Service Process Server 702 can consult said method embodiment, repeat no more herein.
The embodiment of the present invention additionally provides a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can have program stored therein, and comprises the part or all of step of the request processing method recorded in said method embodiment when this program performs.
Refer to Fig. 8, the embodiment of the present invention additionally provides a kind of Service Process Server, specifically can comprise:
Receiver 801, transmitter 802, (quantity of the processor in Service Process Server can be one or more for memory 803 and processor 804, for a processor in Fig. 8) in some embodiments of the invention, receiver 801, transmitter 802, memory 803 is connected by bus or alternate manner with processor 804, wherein, in Fig. 8 to be connected by bus.
Wherein, described memory 803 may be used for storing following content:
Described RPC request comprises: response time constraint information; Described response time constraint information is for marking process confinement time of asking corresponding user to ask with described RPC and having occurred the processing time;
Predefine rule: described constraint is fewer for remaining time, then the execution priority arranged is higher; Described constraint is fewer for remaining time, then the execution resource of distributing is more; If the described remaining time processing confinement time is less than the prediction deadline that described RPC asks, then abandon as described RPC request arranges execution priority and distributes execution resource; If the constraint having plural RPC to ask is equal for remaining time, then obtain described constraint remaining time and the described ratio processing confinement time, the RPC request little for described ratio arranges higher execution priority, and/or distributes more execution resource.
And first particular content of processing policy and the second processing policy.
The remote procedure call request that receiver 801 sends for receiving traffic assignments server.
Transmitter 802 is for completing the response time constraint information of the RPC request of process to described traffic assignments server feedback.
Processor 804 is for performing following steps:
After receiver 801 receives the remote procedure call request of traffic assignments server transmission, described RPC request is added service request queue; The execution priority of described each RPC request is set according to the response time constraint information of each RPC request in described service request queue, and/or distributes the execution resource of described each RPC request.Concrete, the setting of execution priority can be carried out according to predefine rule, and/or perform the distribution of resource.
If described Service Process Server can process RPC requests all in described service request queue simultaneously, then the described Service Process Server execution resource that each RPC asks according to the response time constraint information distribution of each RPC request in described service request queue;
If any one RPC that described Service Process Server only can process separately in described service request queue asks, then described Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks;
If namely described Service Process Server cannot process RPC requests all in described service request queue simultaneously, neither ask by any one RPC that only can process separately in described service request queue, then described Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks, and distributes each RPC described execution resource of asking.
The processing policy of RPC request according to described response time constraint information and urgent Threshold selection, described processing policy comprises: the first processing policy and the second processing policy, if the constraint of described response time constraint information is greater than described urgent threshold value remaining time, then select to perform described first processing policy, if the constraint of described response time constraint information is less than or equal to described urgent threshold value remaining time, then select to perform described second processing policy, the process complexity of described first processing policy is greater than described second processing policy.
Also refer to Fig. 8, the embodiment of the present invention additionally provides a kind of traffic assignments server, specifically can comprise:
Receiver 801, transmitter 802, (quantity of the processor in traffic assignments server can be one or more for memory 803 and processor 804, for a processor in Fig. 8) in some embodiments of the invention, receiver 801, transmitter 802, memory 803 is connected by bus or alternate manner with processor 804, wherein, in Fig. 8 to be connected by bus.
Wherein, the memory 803 of traffic assignments server may be used for storing following content:
Described RPC request comprises: response time constraint information; Described response time constraint information is for marking process confinement time of asking corresponding user to ask with described RPC and having occurred the processing time;
The history value of described response time constraint information and the hardware information of described Service Process Server.
The receiver 801 of traffic assignments server for receiving user's request, and receives the response time constraint information of described Service Process Server feedback.
The transmitter 802 of traffic assignments server is for sending RPC request to Service Process Server.
The processor 804 of traffic assignments server is for performing following steps:
After reception receiver 801 user request; For described user's request dispatching response time constraint information, ask to generate remote procedure call request according to described user.
Further, when for described user's request dispatching response time constraint information, if the hardware performance of current Service Process Server, change is there occurs relative to when recording the history value of described response time constraint information, then obtain the ratio of the first processing speed and the second processing speed, the history value of described response time constraint information is taken advantage of in described ratio, obtains the current response time constraint information for described user's request dispatching; Described first processing speed is the processing speed that the hardware performance of current Service Process Server is asked described RPC, the processing speed that the hardware performance of Service Process Server when described second processing speed is the history value recording described response time constraint information is asked described RPC; If the hardware performance of current Service Process Server, do not change relative to when recording the history value of described response time constraint information, then using the history value of described response time constraint information as current be the response time constraint information of described user's request dispatching.
Further, after receiving the response time constraint information of described Service Process Server feedback, described user is selected to ask corresponding allocation process strategy according to described response time constraint information and urgent allocation threshold, described allocation process strategy comprises: the first allocation process strategy and the second allocation process strategy, if the constraint of described response time constraint information is greater than described emergency treatment threshold value remaining time, then select to perform described first allocation process strategy, if the constraint of described response time constraint information is less than or equal to described emergency treatment threshold value remaining time, then select to perform described second allocation process strategy, the process complexity of described first allocation process strategy is greater than described second allocation process strategy.
In several embodiments that the application provides, should be understood that, disclosed apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (26)

1. a request processing method, is characterized in that, comprising:
Service Process Server receives the remote procedure call request that traffic assignments server sends, and described RPC request comprises: response time constraint information; Described response time constraint information is for marking process confinement time of asking corresponding user to ask with described RPC and having occurred the processing time;
Described RPC request is added service request queue by described Service Process Server;
Described Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks, and/or distributes each RPC described execution resource of asking.
2. method according to claim 1, is characterized in that,
If described Service Process Server can process RPC requests all in described service request queue simultaneously, then the described Service Process Server execution resource that each RPC asks according to the response time constraint information distribution of each RPC request in described service request queue;
If any one RPC that described Service Process Server only can process separately in described service request queue asks, then described Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks;
If described Service Process Server both cannot process RPC requests all in described service request queue simultaneously, neither ask by any one RPC that only can process separately in described service request queue, then described Service Process Server arranges the execution priority of each RPC request according to the response time constraint information that each RPC in described service request queue asks, and distributes each RPC described execution resource of asking.
3. method according to claim 1 and 2, it is characterized in that, when Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks, described response time constraint information of asking according to each RPC in service request queue arranges the execution priority that each RPC described asks, and comprising:
The constraint remaining time of process confinement time that each RPC asks according to described response time constraint acquisition of information;
Arrange the execution priority of described each RPC request according to predefine rule, described predefine rule comprises: described constraint is fewer for remaining time, then the execution priority arranged is higher.
4. method according to claim 1 and 2, it is characterized in that, when the execution resource that Service Process Server each RPC according to the response time constraint information distribution of each RPC request in described service request queue asks, the described execution resource that each RPC asks according to the response time constraint information distribution of each RPC request in service request queue, comprising:
The remaining time of process confinement time that each RPC asks according to described response time constraint acquisition of information;
The execution resource that each RPC asks according to predefine regular allocation, described predefine rule comprises: described constraint is fewer for remaining time, then the execution resource of distributing is more.
5. the method according to claim 3 or 4, it is characterized in that, described predefine rule also comprises: if be less than the prediction deadline that described RPC asks described remaining time processing confinement time, then abandon as described RPC request arranges execution priority and distributes execution resource.
6. the method according to claim 3 or 4, it is characterized in that, described predefine rule also comprises: if the constraint having plural RPC to ask is equal for remaining time, then obtain described constraint remaining time and the described ratio processing confinement time, the RPC request little for described ratio arranges higher execution priority, and/or distributes more execution resource.
7. the method according to Claims 1-4 any one, is characterized in that, after the remote procedure call request that described reception traffic assignments server sends, comprising:
The processing policy of RPC request according to described response time constraint information and urgent Threshold selection, described processing policy comprises: the first processing policy and the second processing policy, if the constraint of described response time constraint information is greater than described urgent threshold value remaining time, then select to perform described first processing policy, if the constraint of described response time constraint information is less than or equal to described urgent threshold value remaining time, then select to perform described second processing policy, the process complexity of described first processing policy is greater than described second processing policy.
8. the method according to Claims 1-4 any one, it is characterized in that, described response time constraint information of asking according to each RPC in service request queue arranges the execution priority that each RPC described asks, and/or after the execution resource that described in distributing, each RPC asks, comprising:
The RPC request that described Service Process Server is the highest to priority processes, and records the processing time that described RPC asks, and upgrades the response time constraint information of described RPC request according to the described processing time;
Described Service Process Server completes the response time constraint information of the RPC request of process to described traffic assignments server feedback.
9. a request processing method, is characterized in that, comprising:
The request of traffic assignments server receives user;
Described traffic assignments server is described user's request dispatching response time constraint information, and described response time constraint information is for marking the process confinement time of described user request and having occurred the processing time;
Described traffic assignments server asks to generate remote procedure call request according to described user;
Described traffic assignments server sends RPC request to Service Process Server, and described RPC request carries described response time constraint information; Make described Service Process Server be that described RPC request arranges execution priority according to described response time constraint information, and/or distribute execution resource.
10. method according to claim 9, is characterized in that, the response time constraint information of the described user's request of described distribution, comprising:
Be described user's request dispatching response time constraint information according to the history value of described response time constraint information and the hardware information of described Service Process Server.
11. methods according to claim 10, is characterized in that,
If the hardware performance of current Service Process Server, change is there occurs relative to when recording the history value of described response time constraint information, then the hardware information of the described history value according to response time constraint information and described Service Process Server is described user's request dispatching response time constraint information, comprising:
Obtain the ratio of the first processing speed and the second processing speed, the history value of described response time constraint information is taken advantage of in described ratio, obtain the current response time constraint information for described user's request dispatching; Described first processing speed is the processing speed that the hardware performance of current Service Process Server is asked described RPC, the processing speed that the hardware performance of Service Process Server when described second processing speed is the history value recording described response time constraint information is asked described RPC;
If the hardware performance of current Service Process Server, do not change relative to when recording the history value of described response time constraint information, then the hardware information of the described history value according to response time constraint information and described Service Process Server is described user's request dispatching response time constraint information, comprising:
Using the history value of described response time constraint information as current be the response time constraint information of described user's request dispatching.
12. methods according to claim 9 to 11 any one, is characterized in that, describedly ask to generate remote procedure call request according to user, comprising:
Extract described user and ask required service parameter;
Determine that described user asks the step needing to perform according to preset service logic, determined according to the described step performed that needs the Service Process Server needing to call;
Be respectively the corresponding described service parameter of Service Process Server distribution that described needs call, generate the RPC corresponding with described Service Process Server and ask.
13. methods according to claim 9 to 11 any one, is characterized in that, described to after Service Process Server sends RPC request, comprising:
Receive the response time constraint information of described Service Process Server feedback;
Use the response time constraint information of the corresponding RPC request of described response time constraint information updating.
14. methods according to claim 13, is characterized in that, after the response time constraint information of the described Service Process Server feedback of described reception, comprising:
Described user is selected to ask corresponding allocation process strategy according to described response time constraint information and urgent allocation threshold, described allocation process strategy comprises: the first allocation process strategy and the second allocation process strategy, if the constraint of described response time constraint information is greater than described emergency treatment threshold value remaining time, then select to perform described first allocation process strategy, if the constraint of described response time constraint information is less than or equal to described emergency treatment threshold value remaining time, then select to perform described second allocation process strategy, the process complexity of described first allocation process strategy is greater than described second allocation process strategy.
15. 1 kinds of Service Process Server, is characterized in that, comprising:
Request reception unit, for receiving the remote procedure call request that traffic assignments server sends, described RPC request comprises: response time constraint information; Described response time constraint information is for marking process confinement time of asking corresponding user to ask with described RPC and having occurred the processing time;
Memory cell, for adding service request queue by described RPC request;
Setting unit, the response time constraint information for asking according to each RPC in described service request queue arranges the execution priority that each RPC described asks, and/or distributes each RPC described execution resource of asking.
16. Service Process Server according to claim 15, is characterized in that, described setting unit specifically for:
If described Service Process Server can process RPC requests all in described service request queue simultaneously, then the described Service Process Server execution resource that each RPC asks according to the response time constraint information distribution of each RPC request in described service request queue;
If any one RPC that described Service Process Server only can process separately in described service request queue asks, then described Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks;
If namely described Service Process Server cannot process RPC requests all in described service request queue simultaneously, neither ask by any one RPC that only can process separately in described service request queue, then described Service Process Server arranges the execution priority of described each RPC request according to the response time constraint information that each RPC in described service request queue asks, and distributes each RPC described execution resource of asking.
17. Service Process Server according to claim 15 or 16, it is characterized in that, described setting unit comprises:
Resource distribution module, for the constraint remaining time of process confinement time that each RPC according to described response time constraint acquisition of information asks; Arrange the execution priority of described each RPC request according to predefine rule, described predefine rule comprises: described constraint is fewer for remaining time, then the execution priority arranged is higher;
Priority arranges module, for the remaining time of process confinement time that each RPC according to described response time constraint acquisition of information asks; The execution resource that each RPC asks according to predefine regular allocation, described predefine rule comprises: described constraint is fewer for remaining time, then the execution resource of distributing is more.
18., according to claim 15 to the Service Process Server described in 17 any one, is characterized in that, described Service Process Server also comprises:
Processing policy selected cell, for the processing policy that RPC according to described response time constraint information and urgent Threshold selection asks, described processing policy comprises: the first processing policy and the second processing policy, if the constraint of described response time constraint information is greater than described urgent threshold value remaining time, then select to perform described first processing policy, if the constraint of described response time constraint information is less than or equal to described urgent threshold value remaining time, then select to perform described second processing policy, the process complexity of described first processing policy is greater than described second processing policy.
19., according to claim 15 to the Service Process Server described in 17 any one, is characterized in that, described Service Process Server also comprises:
Requesting processing, processes for the RPC request the highest to priority, records the processing time that described RPC asks, and upgrade the response time constraint information of described RPC request according to the described processing time;
Information feedback unit, for completing the response time constraint information of the RPC request of process to described traffic assignments server feedback.
20. 1 kinds of traffic assignments servers, is characterized in that, comprising:
User's request reception unit, for receiving user's request;
Information assigning unit, for being described user's request dispatching response time constraint information, described response time constraint information is for marking the process confinement time of described user request and having occurred the processing time;
Request generation unit, generates remote procedure call request for asking according to described user;
Request transmitting unit, for sending RPC request to Service Process Server, described RPC request carries described response time constraint information; Make described Service Process Server be that described RPC request arranges execution priority according to described response time constraint information, and/or distribute execution resource.
21. traffic assignments servers according to claim 20, is characterized in that, described information assigning unit specifically for:
Be described user's request dispatching response time constraint information according to the history value of described response time constraint information and the hardware information of described Service Process Server.
22. traffic assignments servers according to claim 21, it is characterized in that, information assigning unit comprises:
First distribution module, if for the hardware performance of current Service Process Server, change is there occurs relative to when recording the history value of described response time constraint information, then obtain the ratio of the first processing speed and the second processing speed, the history value of described response time constraint information is taken advantage of in described ratio, obtains the current response time constraint information for described user's request dispatching; Described first processing speed is the processing speed that the hardware performance of current Service Process Server is asked described RPC, the processing speed that the hardware performance of Service Process Server when described second processing speed is the history value recording described response time constraint information is asked described RPC;
Second distribution module, if for the hardware performance of current Service Process Server, do not change relative to when recording the history value of described response time constraint information, then using the history value of described response time constraint information as current be the response time constraint information of described user's request dispatching.
23. traffic assignments servers according to claim 20 to 22 any one, it is characterized in that, described request generation unit comprises:
Parameter extraction module, asks required service parameter for having extracted described user;
Logic analysis module, for having determined that according to preset service logic described user asks the step needing to perform, has determined according to the described step performed that needs the Service Process Server needing to call;
Request generation module, the Service Process Server called for being respectively described needs distributes corresponding described service parameter, generates the RPC corresponding with described Service Process Server and asks.
24. traffic assignments servers according to claim 20 to 22 any one, it is characterized in that, described Service Process Server also comprises:
Information receiving unit, for receiving the response time constraint information of described Service Process Server feedback;
Information updating unit, for using the response time constraint information of the corresponding RPC request of described response time constraint information updating.
25. traffic assignments servers according to claim 24, is characterized in that, described traffic assignments server also comprises:
Allocation strategy selected cell, corresponding allocation process strategy is asked for selecting described user according to described response time constraint information and urgent allocation threshold, described allocation process strategy comprises: the first allocation process strategy and the second allocation process strategy, if the constraint of described response time constraint information is greater than described emergency treatment threshold value remaining time, then select to perform described first allocation process strategy, if the constraint of described response time constraint information is less than or equal to described emergency treatment threshold value remaining time, then select to perform described second allocation process strategy, the process complexity of described first allocation process strategy is greater than described second allocation process strategy.
26. 1 kinds of demand processing systems, is characterized in that, comprising:
Traffic assignments server and Service Process Server;
Described traffic assignments server is for receiving user's request; For described user's request dispatching response time constraint information, described response time constraint information is for marking the process confinement time of described user request and having occurred the processing time; Ask to generate remote procedure call request according to described user; RPC request is sent to Service Process Server; Described RPC request carries described response time constraint information;
The remote procedure call request that described Service Process Server sends for receiving traffic assignments server, adds service request queue by described RPC request; The execution priority of described each RPC request is set according to the response time constraint information of each RPC request in described service request queue, and/or distributes the execution resource of described each RPC request.
CN201310228246.XA 2013-06-08 2013-06-08 A kind of request processing method, apparatus and system Active CN104243405B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310228246.XA CN104243405B (en) 2013-06-08 2013-06-08 A kind of request processing method, apparatus and system
PCT/CN2014/079489 WO2014194869A1 (en) 2013-06-08 2014-06-09 Request processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310228246.XA CN104243405B (en) 2013-06-08 2013-06-08 A kind of request processing method, apparatus and system

Publications (2)

Publication Number Publication Date
CN104243405A true CN104243405A (en) 2014-12-24
CN104243405B CN104243405B (en) 2017-09-29

Family

ID=52007588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310228246.XA Active CN104243405B (en) 2013-06-08 2013-06-08 A kind of request processing method, apparatus and system

Country Status (2)

Country Link
CN (1) CN104243405B (en)
WO (1) WO2014194869A1 (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612241A (en) * 2015-10-27 2017-05-03 ***通信集团浙江有限公司 Service control method and service control device
CN106789726A (en) * 2016-12-20 2017-05-31 兴唐通信科技有限公司 A kind of high concurrent service resource allocation method based on service priority
CN106775990A (en) * 2016-12-31 2017-05-31 ***通信集团江苏有限公司 Request scheduling method and device
WO2017152535A1 (en) * 2016-03-07 2017-09-14 京东方科技集团股份有限公司 Non-blocking request processing method and device
CN108023908A (en) * 2016-10-31 2018-05-11 腾讯科技(深圳)有限公司 Data-updating method, apparatus and system
CN108475240A (en) * 2016-01-13 2018-08-31 慧与发展有限责任合伙企业 The input/output request of reconstruct
CN109391588A (en) * 2017-08-04 2019-02-26 北京国双科技有限公司 Request processing method and device
CN109391589A (en) * 2017-08-04 2019-02-26 北京国双科技有限公司 Request processing method and device
CN109660612A (en) * 2018-12-11 2019-04-19 北京潘达互娱科技有限公司 A kind of request processing method and server
CN109840144A (en) * 2018-12-28 2019-06-04 航天信息股份有限公司 A kind of information service dispatching method and system for the request of across mechanism bulk service
CN110012053A (en) * 2018-12-25 2019-07-12 阿里巴巴集团控股有限公司 System call method, device, equipment and SOA system architecture under SOA system architecture
CN111245822A (en) * 2020-01-08 2020-06-05 北京松果电子有限公司 Remote procedure call processing method and device and computer storage medium
CN111813536A (en) * 2019-04-11 2020-10-23 华为技术有限公司 Task processing method, device, terminal and computer readable storage medium
US11196843B2 (en) 2018-09-04 2021-12-07 International Business Machines Corporation Application data access priority for remote storage systems
CN116708297A (en) * 2023-05-31 2023-09-05 杭州复恒科技有限公司 Cross-platform server flow resource adjusting method, system and device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106470169A (en) * 2015-08-19 2017-03-01 阿里巴巴集团控股有限公司 A kind of service request method of adjustment and equipment
CN106790092B (en) * 2016-12-23 2020-06-19 北京奇艺世纪科技有限公司 Remote procedure call server control system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6067580A (en) * 1997-03-11 2000-05-23 International Business Machines Corporation Integrating distributed computing environment remote procedure calls with an advisory work load manager
CN101471869A (en) * 2007-12-27 2009-07-01 华为技术有限公司 Method, system and device for processing session
CN101795289A (en) * 2009-12-30 2010-08-04 华为技术有限公司 Method, device and system for remote procedure call control
US20110041134A1 (en) * 2009-08-17 2011-02-17 Sybase, Inc. Pluggable component interface

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316154B (en) * 2010-06-22 2016-05-11 微软技术许可有限责任公司 Optimize the access to the resource based on federation infrastructure

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6067580A (en) * 1997-03-11 2000-05-23 International Business Machines Corporation Integrating distributed computing environment remote procedure calls with an advisory work load manager
CN101471869A (en) * 2007-12-27 2009-07-01 华为技术有限公司 Method, system and device for processing session
US20110041134A1 (en) * 2009-08-17 2011-02-17 Sybase, Inc. Pluggable component interface
CN101795289A (en) * 2009-12-30 2010-08-04 华为技术有限公司 Method, device and system for remote procedure call control

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李冰: "云计算环境下动态资源管理关键技术研究", 《中国博士学位论文全文数据库信息科技辑(2013)》 *

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612241B (en) * 2015-10-27 2020-02-21 ***通信集团浙江有限公司 Service control method and device
CN106612241A (en) * 2015-10-27 2017-05-03 ***通信集团浙江有限公司 Service control method and service control device
CN108475240A (en) * 2016-01-13 2018-08-31 慧与发展有限责任合伙企业 The input/output request of reconstruct
US10313253B2 (en) 2016-03-07 2019-06-04 Boe Technology Group Co., Ltd. Non-blocking request processing method and device
WO2017152535A1 (en) * 2016-03-07 2017-09-14 京东方科技集团股份有限公司 Non-blocking request processing method and device
CN108023908B (en) * 2016-10-31 2020-04-24 腾讯科技(深圳)有限公司 Data updating method, device and system
CN108023908A (en) * 2016-10-31 2018-05-11 腾讯科技(深圳)有限公司 Data-updating method, apparatus and system
CN106789726B (en) * 2016-12-20 2019-09-10 兴唐通信科技有限公司 A kind of high concurrent service resource allocation method based on service priority
CN106789726A (en) * 2016-12-20 2017-05-31 兴唐通信科技有限公司 A kind of high concurrent service resource allocation method based on service priority
CN106775990A (en) * 2016-12-31 2017-05-31 ***通信集团江苏有限公司 Request scheduling method and device
CN109391589A (en) * 2017-08-04 2019-02-26 北京国双科技有限公司 Request processing method and device
CN109391588A (en) * 2017-08-04 2019-02-26 北京国双科技有限公司 Request processing method and device
CN109391589B (en) * 2017-08-04 2021-06-29 北京国双科技有限公司 Request processing method and device
CN109391588B (en) * 2017-08-04 2021-03-12 北京国双科技有限公司 Request processing method and device
US11196843B2 (en) 2018-09-04 2021-12-07 International Business Machines Corporation Application data access priority for remote storage systems
CN109660612A (en) * 2018-12-11 2019-04-19 北京潘达互娱科技有限公司 A kind of request processing method and server
CN110012053A (en) * 2018-12-25 2019-07-12 阿里巴巴集团控股有限公司 System call method, device, equipment and SOA system architecture under SOA system architecture
CN110012053B (en) * 2018-12-25 2021-07-20 创新先进技术有限公司 System calling method, device and equipment under SOA system architecture and SOA system architecture
CN109840144A (en) * 2018-12-28 2019-06-04 航天信息股份有限公司 A kind of information service dispatching method and system for the request of across mechanism bulk service
CN109840144B (en) * 2018-12-28 2023-09-19 航天信息股份有限公司 Information service scheduling method and system for cross-mechanism batch service request
CN111813536A (en) * 2019-04-11 2020-10-23 华为技术有限公司 Task processing method, device, terminal and computer readable storage medium
CN111245822A (en) * 2020-01-08 2020-06-05 北京松果电子有限公司 Remote procedure call processing method and device and computer storage medium
CN116708297A (en) * 2023-05-31 2023-09-05 杭州复恒科技有限公司 Cross-platform server flow resource adjusting method, system and device

Also Published As

Publication number Publication date
WO2014194869A1 (en) 2014-12-11
CN104243405B (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN104243405A (en) Request processing method, device and system
CN109218355B (en) Load balancing engine, client, distributed computing system and load balancing method
US20190324819A1 (en) Distributed-system task assignment method and apparatus
CN112165691B (en) Content delivery network scheduling method, device, server and medium
US8918792B2 (en) Workflow monitoring and control system, monitoring and control method, and monitoring and control program
US20170070567A1 (en) Load balancing apparatus and load balancing method
CN110753131A (en) Microservice distributed current limiting method and device, storage medium and electronic equipment
CN111770157B (en) Business processing method and device, electronic equipment and storage medium
CN104052803A (en) Decentralized distributed rendering method and system
CN108540568B (en) Computing capacity sharing method and intelligent equipment
CN103401947A (en) Method and device for allocating tasks to multiple servers
US20220075665A1 (en) Scheduling method for selecting optimal cluster within cluster of distributed collaboration type
CN111694646A (en) Resource scheduling method and device, electronic equipment and computer readable storage medium
US20200050479A1 (en) Blockchain network and task scheduling method therefor
CN114155026A (en) Resource allocation method, device, server and storage medium
CN109428926B (en) Method and device for scheduling task nodes
US8725868B2 (en) Interactive service management
CN110417876B (en) Session method, node server in distributed system and master control equipment
US20100274621A1 (en) Method and System for Integration of Systems Management with Project and Portfolio Management
US20130166751A1 (en) Distributed resource management systems and methods for resource management thereof
CN104202305A (en) Transcoding processing method and device, server
CN103428260A (en) System and method for allocating server to terminal and efficiently delivering messages to the terminal
CN103713852A (en) Method for processing information, service platform and electronic devices
WO2022062981A1 (en) Resource scheduling method and system, electronic device, and computer-readable storage medium
EP2863597A1 (en) Computer-implemented method, computer system, computer program product to manage traffic in a network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant