CN104243405B - A kind of request processing method, apparatus and system - Google Patents
A kind of request processing method, apparatus and system Download PDFInfo
- Publication number
- CN104243405B CN104243405B CN201310228246.XA CN201310228246A CN104243405B CN 104243405 B CN104243405 B CN 104243405B CN 201310228246 A CN201310228246 A CN 201310228246A CN 104243405 B CN104243405 B CN 104243405B
- Authority
- CN
- China
- Prior art keywords
- rpc
- response time
- processing
- request
- constraint information
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/64—Hybrid switching systems
- H04L12/6418—Hybrid 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 kind of request processing method, execution priority and resource allocation for dynamically adjusting request according to the processing time of request.Present invention method includes:The remote procedure call request that traffic assignments server is sent is received, RPC requests are added into service request queue;The execution priority that each RPC according to being set the response time constraint information asked of each RPC in the service request queue is asked, and/or distribute the execution resource of each RPC requests.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of request processing method, apparatus and system.
Background technology
The Internet, applications such as Email, search, shopping at network, social networks, Online Video, network map etc.,
The part lived as people.These applications often will be more than one hundred million user services, it is meant that the Internet, applications have become a kind of
Social public service, and support the data center for possessing mass users the Internet, applications also to turn into social core infrastructures.
Active users are to influence the principal element of Internet firm's business revenue with user's visit capacity, during quick service response
Between be allow user's satisfaction, keep the key of user here.Internet firm typically all attracts user using free service, so during response
Between be weigh service quality (Quality of Service, QoS) key index.Because the Internet, applications are needed simultaneously to be upper
Hundred million users provide service, so for the consideration of performance and autgmentability, they are mostly realized using distributed mode, by one
Application decomposition be many service arrangements on multiple Service Process Server, therefore the request of a user is eventually assigned to
Handled on multiple different Service Process Server.Sequentially/a kind of typical service aggregating pattern of pattern is relied on, this
Under pattern, the output serviced on last stage is the input of next stage service, and the service in two neighboring stage has dependence.
The many factors such as feature, network, consistency operation are asked to be influenceed by data center, the sound of each service stage
Can constantly occur fluctuating change between seasonable;Internet firm is in order to pursue inexpensive target simultaneously, in data center's operation
Shi Tongchang improves resource utilization using Modes of Sharing Resources, and this be shared in while reducing cost is also brought along between application
Problem is interfered, aggravates the fluctuation of application response time.More seriously, service on last stage in Service Process Server
The delay of response time, may further amplify in next stage service processes, in order/dependence service aggregating
In pattern, the delay of the response time per one-level can be by superposition step by step so that the response time of end user's request is present very
Big delay.The delay of this response time can have a strong impact on many delay-sensitive applications (such as search, online shopping)
Service quality.
In the prior art, technical staff is before deployment sharing application, substantial amounts of existing application is carried out preanalysis and
Test, the application that selection interferes minimum carries out mixed deployment, so that interfering to the response time between reducing application
Influence, the delay of response time is avoided as far as possible.
But, this prior art needs to carry out preanalysis and test to substantial amounts of existing application before deployment, and operation is difficult
Degree is larger, also, because the species of existing application is various and uncertainty, even if being analyzed before deployment application, also only
Interfering between certain applications can be reduced, still there is larger interference between many applications, it is to avoid the response time is delayed
Effect it is not good.
The content of the invention
, please for being dynamically adjusted according to the processing time of request the embodiments of the invention provide a kind of request processing method
The execution priority asked and resource allocation.
The request processing method that first aspect of the embodiment of the present invention is provided, including:
Service Process Server receives the remote procedure call request that traffic assignments server is sent, the RPC requests
Including:Response time constraint information;The response time constraint information is used to mark user's request corresponding with RPC requests
Processing confinement time and occurred processing time;RPC requests are added service request team by the Service Process Server
Row;The Service Process Server is set according to the response time constraint information asked of each RPC in the service request queue
The execution priority of each RPC requests, and/or the execution resource that each described RPC of distribution is asked.
In the first method in the cards of first aspect,
If the Service Process Server can handle RPC requests all in the service request queue, institute simultaneously
State Service Process Server and distribute described each according to the response time constraint information asked of each RPC in the service request queue
The execution resource of individual RPC requests;
If the Service Process Server is only capable of individually handling any one RPC requests in the service request queue,
Then the Service Process Server sets institute according to the response time constraint information asked of each RPC in the service request queue
State the execution priority of each RPC requests;
If the Service Process Server can not both handle RPC requests all in the service request queue simultaneously,
Be not be only capable of individually handling in the service request queue any one RPC request, then the Service Process Server according to
The response time constraint information that each RPC is asked in the service request queue sets the execution priority that each RPC is asked, and
The execution resource of distribution each RPC requests.
With reference to the first implementation method of first aspect or first aspect, in second of side in the cards of first aspect
In method, when Service Process Server is set according to the response time constraint information asked of each RPC in the service request queue
During the execution priority of each RPC requests, the response time constraint asked according to the RPC of each in service request queue
Information sets the execution priority of each RPC requests, including:
When the constraint for the processing confinement time that each RPC according to the response time constraint acquisition of information is asked is remaining
Between;The execution priority that each RPC according to being set predefined rule is asked, the predefined rule includes:The constraint
Remaining time is fewer, then the execution priority set is higher.
With reference to the first implementation method of first aspect or first aspect, in the third side in the cards of first aspect
In method, when Service Process Server is distributed according to the response time constraint information asked of each RPC in the service request queue
It is described to be believed according to the RPC of each in the service request queue response time constraints asked during the execution resource of each RPC requests
The execution resource of breath distribution each RPC requests, including:
The remaining time for the processing confinement time that each RPC according to the response time constraint acquisition of information is asked;
The execution resource that each RPC according to distributing predefined rule is asked, the predefined rule includes:During the constraint residue
Between it is fewer, then the execution resource distributed is more.
With reference to second of first aspect or the third implementation method of first aspect, in the 4th kind of possibility of first aspect
In the method for realization, the predefined rule also includes:If the remaining time of the processing confinement time asks less than the RPC
The prediction deadline, then abandon be the RPC request set execution priority and distribution perform resource.
With reference to second of first aspect or the third implementation method of first aspect, in the 5th kind of possibility of first aspect
In the method for realization, the predefined rule also includes:If there is the constraint remaining time of more than two RPC requests equal,
The ratio of the constraint remaining time and the processing confinement time are obtained, is that the small RPC requests of the ratio set higher
Execution priority, and/or the more execution resource of distribution.
With reference to first aspect or the first to three of first aspect any one implementation method, the 6th kind in first aspect can
In the method that can be realized, after the remote procedure call request for receiving the transmission of traffic assignments server, including:
The processing strategy that the RPC is asked, the processing are selected according to the response time constraint information and urgent threshold value
Strategy includes:First handles strategy and second processing strategy, if the constraint remaining time of the response time constraint information is more than
The urgent threshold value, then selection performs the first processing strategy, if the constraint remaining time of the response time constraint information
Less than or equal to the urgent threshold value, then selection performs the second processing strategy, and the processing of the first processing strategy is complicated
Degree is more than the second processing strategy.
With reference to first aspect or the first to three of first aspect any one implementation method, the 7th kind in first aspect can
It is described to set described each according to the RPC of each in the service request queue response time constraint information asked in the method that can be realized
After the execution priority of individual RPC requests, and/or the execution resource of distribution each RPC requests, including:
RPC request of the Service Process Server to highest priority is handled, and records the processing of the RPC requests
Time, and the response time constraint information that the RPC is asked is updated according to the processing time;The Service Process Server to
The traffic assignments server feedback completes the response time constraint information of the RPC requests of processing.
The request processing method that second aspect of the embodiment of the present invention is provided, including:
Traffic assignments server receives user's request;When the traffic assignments server is that the user asks assignment response
Between constraint information, the response time constraint information is used to mark the processing confinement time of user request and handled
Time;The traffic assignments server is according to user request generation remote procedure call request;The traffic assignments clothes
Device be engaged in Service Process Server transmission RPC requests, the RPC requests carry the response time constraint information;So that institute
It is that RPC requests set execution priority, and/or distribution that Service Process Server, which is stated, according to the response time constraint information
Perform resource.
In the first method in the cards of second aspect, the response time constraint of distribution user's request
Information, including:
It is institute according to the hardware information of the history value of the response time constraint information and the Service Process Server
State user's request assignment response time-constrain information.
With reference to the first method in the cards of second aspect, in second of method in the cards of second aspect
In, if the hardware performance of current Service Process Server, during relative to the history value for recording the response time constraint information
Changed, then the history value and the hardware information of the Service Process Server according to response time constraint information
Assignment response time-constrain information is asked for the user, including:
The ratio of the first processing speed and second processing speed is obtained, the history value of the response time constraint information is multiplied
In the ratio, obtain currently asking the response time constraint information of distribution for the user;First processing speed is to work as
The processing speed that the hardware performance of preceding Service Process Server is asked the RPC, the second processing speed is record institute
The processing speed that the hardware performance of Service Process Server when stating the history value of response time constraint information is asked the RPC
Degree;
If the hardware performance of current Service Process Server, relative to the history for recording the response time constraint information
Do not changed during value, then the history value according to response time constraint information and the Service Process Server is hard
Part information is that the user asks assignment response time-constrain information, including:
Using the history value of the response time constraint information as currently be the user ask distribution response time about
Beam information.
With reference to second aspect or the first to two of second aspect any one implementation method, the third in second aspect can
It is described according to user's request generation remote procedure call request in the method that can be realized, including:
Extract and complete the required service parameter of user's request;Determined to complete the user according to preset service logic
The step of request needs to perform, according to it is described need to perform the step of determine to need the Service Process Server that calls;Respectively
The corresponding service parameter of Service Process Server distribution for needing to call, generation and the Service Process Server pair
The RPC requests answered.
With reference to second aspect or the first to two of second aspect any one implementation method, the 4th kind in second aspect can
In the method that can be realized, after the transmission RPC requests to Service Process Server, including:
Receive the response time constraint information of the Service Process Server feedback;Use the response time constraint information
Update the response time constraint information of corresponding RPC requests.
It is described in the 5th kind of method in the cards of second aspect with reference to the 4th kind of implementation method of second aspect
After the response time constraint information for receiving the Service Process Server feedback, including:
The user is selected to ask corresponding distribution processing according to the response time constraint information and urgent allocation threshold
Strategy, the distribution processing strategy includes:First distribution processing strategy and the second distribution processing strategy, if the response time is about
The constraint remaining time of beam information is more than the emergent management threshold value, then selection performs the first distribution processing strategy, if institute
The constraint remaining time for stating response time constraint information is less than or equal to the emergent management threshold value, then selection performs described second
Distribution processing strategy, the processing complexity of the first distribution processing strategy is more than the described second distribution processing strategy.
The Service Process Server that the third aspect of the embodiment of the present invention is provided, including:
Request reception unit, the remote procedure call request for receiving the transmission of traffic assignments server, the RPC
Request includes:Response time constraint information;The response time constraint information is used to mark and the corresponding user of RPC requests
The processing confinement time of request and occurs processing time;Memory cell, for RPC requests to be added into service request team
Row;Setting unit, the response time constraint information for being asked according to each RPC in the service request queue sets described each
The execution priority of individual RPC requests, and/or the execution resource that each described RPC of distribution is asked.
The Service Process Server that fourth aspect of the embodiment of the present invention is provided, including:
User's request reception unit, for receiving user's request;Information assigning unit, for asking to distribute for the user
Response time constraint information, the response time constraint information is used to mark the processing confinement time of user's request and sent out
Raw processing time;Generation unit is asked, for according to user request generation remote procedure call request;Request is sent
Unit, for sending RPC requests to Service Process Server, the RPC requests carry the response time constraint information;Make
It is that RPC requests set execution priority that the Service Process Server, which is obtained, according to the response time constraint information, and/or
Distribution performs resource.
The Service Process Server that the aspect of the embodiment of the present invention the 5th is provided, including:
Traffic assignments server and Service Process Server;
The traffic assignments server is used to receive user's request;For user request assignment response time-constrain letter
Breath, the response time constraint information is used to mark the processing confinement time of user's request and has occurred processing time;Root
According to user request generation remote procedure call request;RPC requests are sent to Service Process Server;The RPC requests
Carry the response time constraint information;
The Service Process Server is used for the remote procedure call request for receiving the transmission of traffic assignments server, will
The RPC requests add service request queue;The response time constraint letter asked according to each RPC in the service request queue
Breath sets the execution priority of each RPC requests, and/or distributes the execution resource of each RPC requests.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
In embodiments of the present invention, remote procedure call (the Remote Procedure that Service Process Server is received
Call, RPC) request in carry response time constraint information, the response time constraint information be used for mark with the RPC ask
Processing confinement time and occurred processing time that corresponding user asks so that Service Process Server is in processing RPC requests
Before, what each RPC described in the response time constraint information distribution that can be asked according to the RPC of each in service request queue was asked
Execution priority and/or execution resource, so that the RPC requests being pressed for time can obtain priority treatment.
Brief description of the drawings
Fig. 1 is a schematic flow sheet of request processing method of the embodiment of the present invention;
Fig. 2 is another schematic flow sheet of request processing method of the embodiment of the present invention;
Fig. 3 is another schematic flow sheet of request processing method of the embodiment of the present invention;
Fig. 4 is another schematic flow sheet of request processing method of the embodiment of the present invention;
Fig. 5 is a structural representation of Service Process Server of the embodiment of the present invention;
Fig. 6 is a structural representation of traffic assignments server of the embodiment of the present invention;
Fig. 7 is a structural representation of demand processing system of the embodiment of the present invention;
Fig. 8 is the structural representation of computer equipment of the embodiment of the present invention.
Embodiment
, please for being dynamically adjusted according to the processing time of request the embodiments of the invention provide a kind of request processing method
The execution priority asked and resource allocation.
Referring to Fig. 1, one embodiment of request processing method includes in the embodiment of the present invention:
101st, Service Process Server receives the RPC requests that traffic assignments server is sent;
Service Process Server receives the RPC requests that traffic assignments server is sent, and the RPC requests include:During response
Between constraint information;The response time constraint information is used for the processing constraint for marking user's request corresponding with RPC requests
Time and occurs processing time.
Exemplary, after the response time constraint information is got, the 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 of user's transmission, and be user request point
With a response time constraint information, the response time constraint information includes an application asked with the user or service phase
Corresponding processing confinement time, for limiting maximum response time (the i.e. use of user request in whole processing procedure
Family request need to be handled within processing confinement time and completed), the generation processing time that also one original state is zero, for uniting
Count user request and have the processing time of generation altogether in the processing stage of each Service Process Server.
It is assigned with traffic assignments server for user's request after response time constraint information, traffic assignments server root
According to user request generation RPC requests, and to target Service Process Server (i.e. with RPC the asked applications of request or clothes
The corresponding Service Process Server of business) RPC requests are sent, carried and the corresponding sound of user request in RPC requests
Constraint information between seasonable, the RPC is asked for the Service Process Server requested service processing to target.In actual applications,
Completing user's request may need a point multiple stages to be handled, wherein, traffic assignments server can be the life of each stage
Into a RPC request, each RPC requests can be sent in sequence to corresponding traffic assignments server and be handled, meanwhile, Mei Gejie
The RPC requests of section can all carry current response time constraint information, often complete a RPC request, response time constraint information
It will be updated once, current response time constraint information reflects the processing confinement time of user request simultaneously, and
Each stage has the processing time of generation altogether before.
Optionally, because processing confinement time and processing of the difference equal to processing confinement time for having occurred processing time are remained
The remaining time, it is described occurred processing time this parameter can also with processing confinement time processing remaining time replace, parameter
Between obvious replace should not be construed as limitation of the invention.
102nd, RPC requests are added service request queue by Service Process Server;
RPC requests are added service request queue by Service Process Server, and the service request queue is used to store
Different RPC requests.
In actual applications, in order to reduce the cost of operation, improve in resource utilization, a Service Process Server
Resource may be by the shared utilization of multiple traffic assignments servers, and therefore, Service Process Server is likely to need in the same time
Multiple RPC requests are handled, and these RPC requests can be added into the medium processing to be allocated of service request queue.
103rd, Service Process Server is RPC requests distribution execution priority and/or performs resource.
Service Process Server is set according to the response time constraint information asked of each RPC in the service request queue
The execution priority of each RPC requests, and/or the execution resource that each described RPC of distribution is asked.
Optionally, distributing the execution resource of each RPC requests can include:Adjust the central processing unit of thread
(Central Processing Unit, CPU) dispatching priority, adjusts input/output (I/O) priority of thread etc..
In embodiments of the present invention, response time constraint information is carried in the RPC requests that Service Process Server is received,
The response time constraint information is used for the processing confinement time for marking user's request corresponding with RPC requests and point
The reason time so that Service Process Server can be asked before processing RPC requests according to the RPC of each in service request queue
Response time constraint information distribution each RPC requests execution priority and/or perform resource so that being pressed for time
Anxious RPC requests can obtain priority treatment.
In actual applications, Service Process Server can have a variety of strategies according to the regulation and control of response time constraint information,
Referring to Fig. 2, another embodiment of request processing method includes in the embodiment of the present invention:
201st, Service Process Server receives the RPC requests that traffic assignments server is sent;
Service Process Server receives the remote procedure call request that traffic assignments server is sent, the RPC requests
Including:Response time constraint information;The response time constraint information is used to mark user's request corresponding with RPC requests
Processing confinement time and occurred processing time.
202nd, Service Process Server selects what the RPC was asked according to the response time constraint information and urgent threshold value
Processing strategy;
Service Process Server selects the processing that the RPC is asked according to the response time constraint information and urgent threshold value
Strategy, if the constraint remaining time of the response time constraint information is more than the urgent threshold value, selection performs described first
Processing strategy, if the constraint remaining time of the response time constraint information is less than or equal to the urgent threshold value, selection is held
The row second processing strategy, the processing strategy includes:First processing strategy and second processing strategy, the first processing plan
Processing complexity slightly is more than the second processing strategy.
The urgent threshold value is the judgment threshold for the processing strategy that Service Process Server selects RPC requests, specifically can be with
For a time threshold.
Exemplary, in actual applications, the first processing strategy can specifically include being passed through according to the request of user
The content that the mode recommended user of data mining analysis may be concerned about;The second processing strategy specifically can include directly to
Recommend the high content of current attention rate in family;Because the processing complexity of the first processing strategy is more than second processing strategy, therefore, when
During processing time urgent (being less than or equal to the embodiment of urgent threshold value especially by constraint remaining time), Service Process Server can be with
The selection processing less second processing strategy of complexity, to save processing time.
It is understood that it is described first processing strategy and represented by second processing strategy be only handle complexity it is different
Two class strategies, be not specific to any two strategy, also, the first processing strategy can represent that processing complexity is same or analogous
More than two processing strategies, second processing strategy can also represent to handle the same or analogous more than two processing of complexity
Strategy.
Further, Service Process Server can also set the urgent threshold value of multistage, to correspond to Various Complex degree respectively
The processing strategy of type, is specifically not construed as limiting herein.
203rd, RPC requests are added service request queue by Service Process Server;
RPC requests are added service request queue by Service Process Server, and the service request queue is used to store
Different RPC requests.
In actual applications, in order to reduce the cost of operation, improve in resource utilization, a Service Process Server
Resource may be by the shared utilization of multiple traffic assignments servers, and therefore, Service Process Server is likely to need in the same time
Multiple RPC requests are handled, and these RPC requests can be added into the medium processing to be allocated of service request queue.
It is understood that the embodiment of the present invention is in actual applications, step 202 and step 203 are without strict priority
Relation, i.e., can also perform " RPC requests are added into service request queue ", then perform " according to the response time constraint
Information and urgent threshold value select the processing strategy of the RPC requests ".
204th, Service Process Server is RPC requests distribution execution priority and/or performs resource;
Service Process Server is set according to the response time constraint information asked of each RPC in the service request queue
The execution priority of each RPC requests, and/or the execution resource that each described RPC of distribution is asked.
Optionally, distribution execution priority and/or execution resource can be by operating system or hypervisors
(Hypervisor) scheme of the resource usage amount of the different request processing threads of adjustment, such as the CPU dispatching priorities of adjustment thread,
Adjust I/O priority of thread etc.;Can also be by supporting execution priority of the hardware of priority to request processing thread to enter
Row adjustment, e.g., according to response time constraint information institute on CPU cache memory, Memory Controller Hub or system bus
The priority of determination is allocated to hardware resource used in each processing thread.
In actual applications, Service Process Server understands the processing energy according to equipment itself before processing RPC requests
The number amount and type that RPC is asked in power, and service request queue, determine the processing mode of RPC requests;If the business processing
Server can handle RPC requests all in the service request queue simultaneously, then the Service Process Server is according to institute
State the execution resource of response time constraint information distribution each RPC requests of the RPC of each in service request queue requests;If
The Service Process Server is only capable of individually handling any one RPC requests in the service request queue, then the business
Processing server each RPC according to being set the response time constraint information asked of each RPC in the service request queue
The execution priority of request;If the Service Process Server is can not be while handling all in the service request queue
RPC is asked, and also can not only individually handle any one RPC requests in the service request queue, then the business processing clothes
It is engaged in what device each RPC according to being set the response time constraint information asked of each RPC in the service request queue was asked
Execution priority, and distribute the execution resource of each RPC requests.
Further, when the response time that Service Process Server is asked according to each RPC in the service request queue
When constraint information sets the execution priority of each RPC requests, Service Process Server can be according to the response time
Constraint information obtains the constraint remaining time of the processing confinement time of each RPC requests;Set further according to predefined rule
The execution priority of each RPC requests, the predefined rule includes:The constraint remaining time is fewer, then sets
Execution priority is higher.
The response time constraint information point asked when Service Process Server according to each RPC in the service request queue
With each described RPC ask execution resource when, Service Process Server can be according to the response time constraint acquisition of information
The remaining time of the processing confinement time of each RPC requests;What each RPC was asked according to distributing predefined rule holds
Row resource, the predefined rule includes:The constraint remaining time is fewer, then the execution resource distributed is more.
Further, after Service Process Server gets constraint remaining time of each RPC requests, if finding
There is the constraint remaining time of more than two RPC requests equal, then when obtaining the constraint remaining time with the processing constraint
Between ratio, be that the small RPC requests of the ratio set higher execution priority, and/or the more execution resource of distribution.
Further, can be with after Service Process Server gets constraint remaining time of processing confinement time
First the constraint remaining time is judged, if the remaining time of the processing confinement time is less than the prediction that the RPC is asked
Deadline, then abandon setting execution priority and distribution to perform resource for RPC requests, to save Service Process Server
Process resource;Optionally, Service Process Server now can select to send to traffic assignments server and ask unsuccessfully to ring
Should, the processing failure that traffic assignments server is asked to the user feedback user so that resend service request.
In actual applications, Service Process Server can know user's request in the minimum treat of each processing stage
Between (can be informed by traffic assignments server), each remaining processing that current Service Process Server asks the user
The minimum treat time in stage is added, you can obtain the prediction deadline.
205th, Service Process Server completes the response time of the RPC requests of processing to the traffic assignments server feedback
Constraint information.
After completing the setting of execution priority and/or performing the distribution of resource, Service Process Server is to priority
Highest RPC requests are handled, and record the processing time of the RPC requests, and update the RPC according to the processing time
Request response time constraint information (will the processing time add response time constraint information in when having handled
Between, the generation processing time after being updated).
Service Process Server completes the response time constraint of the RPC requests of processing to the traffic assignments server feedback
Information (the response time constraint information after updating) so that the response time of traffic assignments server update relative users request
Constraint information.
The above is that the request processing method in the embodiment of the present invention is described from the angle of Service Process Server,
The request processing method in the embodiment of the present invention is described from business distribution server side below, referring to Fig. 3, of the invention
Another embodiment of request processing method in embodiment includes:
301st, traffic assignments server receives user's request;
Traffic assignments server receives user's request, demand for services from user to network side or answer that user request proposes for
With demand, the demand for services or application demand can include:Search, online shopping etc..
302nd, traffic assignments server is that the user asks assignment response time-constrain information;
Traffic assignments server is that the user asks assignment response time-constrain information, the response time constraint information
For marking the processing confinement time of user's request and having occurred processing time.
Exemplary, the response time constraint information can be stored in the TLS of traffic assignments server.
The response time constraint information includes a processing corresponding with the application or service that the user asks and constrained
Time, for limiting maximum response time of the user's request in whole processing procedure, (i.e. user request need to be in processing
Processing is completed in confinement time), the generation processing time that also one original state is zero, exist for counting user request
The processing stage of each Service Process Server has the processing time of generation altogether.
Optionally, the response time constraint information can be asked by keeper according to different user service or application type
It is configured, after Initialize installation is completed, the response time constraint that traffic assignments server can be asked according to relative users
The history value of information is allocated automatically.
303rd, traffic assignments server is according to user request generation RPC requests;
It is assigned with traffic assignments server for user's request after response time constraint information, traffic assignments server root
According to user request generation RPC requests, response time constraint information corresponding with user request is carried in RPC requests,
The RPC is asked for the Service Process Server requested service processing to target.In actual applications, user's request is completed
A point multiple stages may be needed to be handled, wherein, traffic assignments server can generate a RPC request for each stage, respectively
Individual RPC requests can be sent in sequence to corresponding traffic assignments server and be handled, meanwhile, the RPC requests in each stage can
Current response time constraint information is carried, a RPC request is often completed, response time constraint information will be updated once,
Current response time constraint information reflects the processing confinement time of user request simultaneously, and each stage has altogether before
The processing time of generation.
304th, traffic assignments server sends RPC requests to Service Process Server.
Traffic assignments server sends RPC requests to Service Process Server, when the RPC requests carry the response
Between constraint information;So that the Service Process Server is that RPC request settings are held according to the response time constraint information
Row major level, and/or distribution perform resource.
In embodiments of the present invention, carried in the RPC requests that traffic assignments server is sent to Service Process Server
Response time constraint information, the response time constraint information is used to mark the processing confinement time of user's request and occurred
Processing time so that Service Process Server can be asked before processing RPC requests according to the RPC of each in service request queue
The execution priority for response time constraint information distribution each RPC requests asked and/or execution resource, so that the time
Urgent RPC requests can obtain priority treatment.
Perform request processing method to traffic assignments server below to be described in detail again, referring to Fig. 4, the present invention is real
Applying another embodiment of the request processing method in example includes:
401st, traffic assignments server receives user's request;
Traffic assignments server receives user's request, demand for services from user to network side or answer that user request proposes for
With demand, the demand for services or application demand can include:Search, online shopping etc..
402nd, traffic assignments server is that the user asks assignment response time-constrain information;
Traffic assignments server is that the user asks assignment response time-constrain information, the response time constraint information
For marking the processing confinement time of user's request and having occurred processing time;
The response time constraint information includes a processing corresponding with the application or service that the user asks and constrained
Time, for limiting maximum response time of the user's request in whole processing procedure, (i.e. user request need to be in processing
Processing is completed in confinement time), the generation processing time that also one original state is zero, exist for counting user request
The processing stage of each Service Process Server has the processing time of generation altogether.
Optionally, the response time constraint information can be asked by keeper according to different user service or application type
It is configured, after Initialize installation is completed, the response time constraint that traffic assignments server can be asked according to relative users
The history value of information is allocated automatically.
Optionally, traffic assignments server can be according to the history value and the business of the response time constraint information
The hardware information of processing server is that the user asks assignment response time-constrain information;If specifically, at current business
The hardware performance of server is managed, is changed during relative to the history value for recording the response time constraint information, then obtained
The ratio of first processing speed and second processing speed, the history value of the response time constraint information is multiplied in the ratio,
Obtain currently asking the response time constraint information of distribution for the user;First processing speed is current business processing
The processing speed that the hardware performance of server is asked the RPC, the second processing speed is to record the response time about
The processing speed that the hardware performance of Service Process Server during the history value of beam information is asked the RPC;If current industry
The hardware performance of business processing server, does not change during relative to the history value for recording the response time constraint information,
Then it regard the history value of the response time constraint information as the response time constraint information for being currently user request distribution.
403rd, traffic assignments server is according to user request generation RPC requests;
It is assigned with traffic assignments server for user's request after response time constraint information, traffic assignments server root
According to user request generation RPC requests, response time constraint information corresponding with user request is carried in RPC requests,
The RPC is asked for the Service Process Server requested service processing to target.In actual applications, user's request is completed
A point multiple stages may be needed to be handled, wherein, traffic assignments server can generate a RPC request for each stage, respectively
Individual RPC requests can be sent in sequence to corresponding traffic assignments server and be handled, meanwhile, the RPC requests in each stage can
Current response time constraint information is carried, a RPC request is often completed, response time constraint information will be updated once,
Current response time constraint information reflects the processing confinement time of user request simultaneously, and each stage has altogether before
The processing time of generation.
Exemplary, RPC requests generation method can be:Extract and complete the required service parameter of user's request (such as
Request type, user's mark, commodity sign etc.);Determine that completing user's request needs to perform according to preset service logic
The step of, according to it is described need to perform the step of determine to need the Service Process Server that calls;Respectively described needs are called
The corresponding service parameter of Service Process Server distribution, generate RPC corresponding with the Service Process Server and ask.
404th, traffic assignments server sends RPC requests to Service Process Server;
Traffic assignments server sends RPC requests to Service Process Server, when the RPC requests carry the response
Between constraint information;So that the Service Process Server is that RPC request settings are held according to the response time constraint information
Row major level, and/or distribution perform resource.
405th, 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
The response time constraint information of the corresponding RPC requests of time-constrain information updating.
406th, the distribution that traffic assignments server is asked according to the response time constraint information selection relative users after renewal
Processing strategy.
Traffic assignments server selects the user to ask according to the response time constraint information and urgent allocation threshold
Corresponding distribution processing strategy, the distribution processing strategy includes:First distribution processing strategy and the second distribution processing strategy, if
The constraint remaining time of the response time constraint information is more than the emergent management threshold value, then selection performs first distribution
Processing strategy, if the constraint remaining time of the response time constraint information is less than or equal to the emergent management threshold value, is selected
Execution the second distribution processing strategy is selected, the processing complexity of the first distribution processing strategy is more than at second distribution
Reason strategy.
The urgent allocation threshold is the judgment threshold for the processing strategy that traffic assignments server selects user's request, specifically
Can be a time threshold.
Exemplary, in actual applications, the first distribution processing strategy can specifically include completing user's request institute
Necessary business processing flow, and optionally with the data mining of lifting service quality, statistics, analysis process content;Institute
Stating the second distribution processing strategy can specifically be included only comprising business processing flow content necessary to completing user's request;Due to
The processing complexity of first distribution processing strategy is more than the second distribution processing strategy, therefore, when treated between it is urgent (especially by
Remaining time is constrained less than or equal to the embodiment of urgent threshold value) when, traffic assignments server can select processing complexity less
Second distribution processing strategy, to save processing time.
It is understood that tactful distributed with second represented by processing strategy of the first distribution processing is only to handle again
Two different class strategies of miscellaneous degree, are not specific to any two strategy, also, the first distribution processing strategy can represent to handle complexity
Same or analogous more than two processing strategies, the second distribution processing strategy can also represent that processing complexity is same or similar
More than two processing strategies.
Further, traffic assignments server can also set the urgent allocation threshold of multistage, a variety of multiple to correspond to respectively
The distribution processing strategy of miscellaneous degree type, is specifically not construed as limiting herein.
The embodiment to the Service Process Server of the present invention for performing above-mentioned request processing method is illustrated below,
Service Process Server one embodiment that its logical construction refer in Fig. 5, the embodiment of the present invention includes:
Request reception unit 501, the remote procedure call request for receiving the transmission of traffic assignments server is described
RPC requests include:Response time constraint information;It is corresponding with RPC requests that the response time constraint information is used for mark
Processing confinement time and occurred processing time that user asks;
Memory cell 502, for RPC requests to be added into service request queue;
Setting unit 503, for being set according to the response time constraint information asked of each RPC in the service request queue
Put the execution priority of each RPC requests, and/or the execution resource that each described RPC of distribution is asked.
Further, the setting unit specific 503 in the embodiment of the present invention is used for:
If the Service Process Server can handle RPC requests all in the service request queue, institute simultaneously
State Service Process Server and distribute described each according to the response time constraint information asked of each RPC in the service request queue
The execution resource of individual RPC requests;
If the Service Process Server is only capable of individually handling any one RPC requests in the service request queue,
Then the Service Process Server sets institute according to the response time constraint information asked of each RPC in the service request queue
State the execution priority of each RPC requests;
If the Service Process Server is that can not be asked while handling RPC all in the service request queue,
Be not be only capable of individually handling in the service request queue any one RPC request, then the Service Process Server according to
The response time constraint information that each RPC is asked in the service request queue sets the execution of each RPC requests preferential
Level, and distribute the execution resource of each RPC requests.
Further, the setting unit 503 in the embodiment of the present invention can include:
Resource distribution module 5031, the place asked for each RPC according to the response time constraint acquisition of information
Manage the constraint remaining time of confinement time;The execution priority that each RPC according to being set predefined rule is asked, it is described pre-
Defining rule includes:The constraint remaining time is fewer, then the execution priority set is higher;
Priority setup module 5032, is asked for each RPC according to the response time constraint acquisition of information
Handle the remaining time of confinement time;The execution resource that each RPC according to distributing predefined rule is asked, it is described predefined
Rule includes:The constraint remaining time is fewer, then the execution resource distributed is more.
Further, the Service Process Server in the embodiment of the present invention can also include:
Policy selection unit 504 is handled, for selecting the RPC according to the response time constraint information and urgent threshold value
The processing strategy of request, the processing strategy includes:First processing strategy and second processing strategy, if the response time constraint
The constraint remaining time of information is more than the urgent threshold value, then selection performs the first processing strategy, if the response time
The constraint remaining time of constraint information is less than or equal to the urgent threshold value, then selection performs the second processing strategy, described
The processing complexity of first processing strategy is more than the second processing strategy.
Further, the Service Process Server in the embodiment of the present invention also includes:
Requesting processing 505, handles for the RPC requests to highest priority, records the place of the RPC requests
The reason time, and the response time constraint information that the RPC is asked is updated according to the processing time;
Information feedback unit 506, during for completing the response that RPC is asked handled to the traffic assignments server feedback
Between constraint information.
The specific interaction of the unit of traffic assignments server is as follows in the embodiment of the present invention:
Request reception unit 501 receives the RPC requests that traffic assignments server is sent, and the RPC requests include:During response
Between constraint information;The response time constraint information is used for the processing constraint for marking user's request corresponding with RPC requests
Time and occurs processing time.Exemplary, can be by the response time after the response time constraint information is got
Constraint information is stored in the thread local storage of Service Process Server.
Receive after RPC requests, RPC requests are added service request queue, the service by memory cell 502
Request queue is used to store different RPC requests.In actual applications, in order to reduce the cost of operation, resource utilization is improved,
Resource in one Service Process Server may be by the shared utilization of multiple traffic assignments servers, therefore, business processing clothes
Business device is likely to require the multiple RPC requests of processing in the same time, and these RPC requests can be added into service request queue
Etc. processing to be allocated.
Optionally, can be by processing policy selection unit 504 according to institute after the response time constraint information is got
State response time constraint information and urgent threshold value selects the processing strategy of the RPC requests, if the response time constraint information
Constraint remaining time be more than the urgent threshold value, then selection perform it is described first processing strategy, if the response time constraint
The constraint remaining time of information is less than or equal to the urgent threshold value, then selection performs the second processing strategy, the processing
Strategy includes:First processing strategy and second processing strategy, the processing complexity of the first processing strategy are more than described second
Processing strategy.
The urgent threshold value is the judgment threshold for the processing strategy that Service Process Server selects RPC requests, specifically can be with
For a time threshold.
Exemplary, in actual applications, the first processing strategy can specifically include being passed through according to the request of user
The content that the mode recommended user of data mining analysis may be concerned about;The second processing strategy specifically can include directly to
Recommend the high content of current attention rate in family;Because the processing complexity of the first processing strategy is more than second processing strategy, therefore, when
During processing time urgent (being less than or equal to the embodiment of urgent threshold value especially by constraint remaining time), Service Process Server can be with
The selection processing less second processing strategy of complexity, to save processing time.
It is added to by RPC requests after service request queue, setting unit 503 is according to each in the service request queue
The response time constraint information of individual RPC request sets the execution priority of each RPC requests, and/or distribution it is described each
The execution resource of RPC requests.
Specifically, before processing RPC requests, understand the disposal ability according to equipment itself, and in service request queue
The number amount and type of RPC requests, determine the processing mode of RPC requests;If the Service Process Server can handle institute simultaneously
RPC requests all in service request queue are stated, then the Service Process Server is according to each in the service request queue
The execution resource of response time constraint information distribution each RPC requests of RPC requests;If the Service Process Server is only
Any one RPC requests in the service request queue can be individually handled, then the Service Process Server is according to the clothes
The response time constraint information that each RPC is asked in request queue of being engaged in sets the execution priority of each RPC requests;If institute
Stating Service Process Server can not ask while handling RPC all in the service request queue, also can not only individually locate
Any one RPC requests in the service request queue are managed, then the Service Process Server is according to the service request team
The response time constraint information of the RPC of each in row requests sets the execution priority of each RPC requests, and distributes described each
The execution resource of individual RPC requests.
Further, can be by the resource distribution module 5031 of setting unit 503 according to the response time constraint information
Obtain the constraint remaining time of the processing confinement time of each RPC requests;Each RPC according to being set predefined rule
The execution priority of request, the predefined rule includes:The constraint remaining time is fewer, then the execution priority set is got over
It is high;The processing constraint asked as each RPC according to the response time constraint acquisition of information of priority setup module 5032
The remaining time of time;The execution resource that each RPC according to distributing predefined rule is asked, the predefined rule bag
Include:The constraint remaining time is fewer, then the execution resource distributed is more.
After completing the setting of execution priority and/or performing the distribution of resource, requesting processing 505 is to priority
Highest RPC requests are handled, and record the processing time of the RPC requests, and update the RPC according to the processing time
Request response time constraint information (will the processing time add response time constraint information in when having handled
Between, the generation processing time after being updated).
Information feedback unit 506 completes the response time of the RPC requests of processing to the traffic assignments server feedback about
Beam information (the response time constraint information after updating) so that during the response of traffic assignments server update relative users request
Between constraint information.
The embodiment to the traffic assignments server of the present invention for performing above-mentioned request processing method is illustrated below,
Traffic assignments server one embodiment that its logical construction refer in Fig. 6, the embodiment of the present invention includes:
User's request reception unit 601, for receiving user's request;
Information assigning unit 602, for asking assignment response time-constrain information for the user, the response time is about
Beam information is used to mark the processing confinement time of user's request and has occurred processing time;
Generation unit 603 is asked, for according to user request generation remote procedure call request;
Request transmitting unit 604, for sending RPC requests to Service Process Server, the RPC requests carry described
Response time constraint information;So that the Service Process Server is asked according to the response time constraint information for the RPC
Execution priority, and/or distribution is set to perform resource.
Further, the information assigning unit 602 in the embodiment of the present invention specifically for:
It is institute according to the hardware information of the history value of the response time constraint information and the Service Process Server
State user's request assignment response time-constrain information.
Further, the information assigning unit 602 in the embodiment of the present invention includes:
First distribute module 6021, it is described relative to record if the hardware performance for current Service Process Server
Changed during the history value of response time constraint information, then obtain the ratio of the first processing speed and second processing speed,
The history value of the response time constraint information is multiplied in the ratio, when obtaining currently asking the response of distribution for the user
Between constraint information;The place that first processing speed is asked the RPC for the hardware performance of current Service Process Server
Speed is managed, the second processing speed is Service Process Server when recording the history value of the response time constraint information
The processing speed that hardware performance is asked the RPC;
Second distribute module 6022, it is described relative to record if the hardware performance for current Service Process Server
Do not changed during the history value of response time constraint information, then using the history value of the response time constraint information as work as
The preceding response time constraint information for asking to distribute for the user.
Further, the request generation unit 603 in the embodiment of the present invention includes:
Parameter extraction module 6031, the required service parameter of user's request is completed for extracting;
Logic analysis module 6032, for determining that completing user's request needs what is performed according to preset service logic
Step, according to it is described need to perform the step of determine to need the Service Process Server that calls;
Generation module 6033 is asked, for being respectively described in the Service Process Server distribution accordingly for needing to call
Service parameter, generates RPC requests corresponding with the Service Process Server.
Further, the Service Process Server in the embodiment of the present invention also includes:
Information receiving unit 605, the response time constraint information for receiving the Service Process Server feedback;
Information updating unit 606, during for response using the response time constraint information updating corresponding RPC requests
Between constraint information.
Allocation strategy selecting unit 607, for selecting institute according to the response time constraint information and urgent allocation threshold
The corresponding distribution processing strategy of user's request is stated, the distribution processing strategy includes:First distribution processing strategy and the second distribution
Processing strategy, if the constraint remaining time of the response time constraint information is more than the emergent management threshold value, selection is performed
The first distribution processing strategy, if the constraint remaining time of the response time constraint information is less than or equal to the urgent place
Threshold value is managed, then selection performs the second distribution processing strategy, and the processing complexity of the first distribution processing strategy is more than institute
State the second distribution processing strategy.
The specific interaction of the unit of traffic assignments server is as follows in the embodiment of the present invention:
User's request reception unit 601 receives user's request, and user request needs for the service that user proposes to network side
Ask or application demand, the demand for services or application demand can include:Search, online shopping.
Upon receipt of a user's request, information assigning unit 602 is user request assignment response time-constrain letter
Breath, the response time constraint information is used to mark the processing confinement time of user's request and has occurred processing time.
Optionally, if the hardware performance of current Service Process Server, believe relative to the response time constraint is recorded
Changed during the history value of breath, then the first distribute module 6021 obtains the ratio of the first processing speed and second processing speed
Value, the history value of the response time constraint information is multiplied in the ratio, obtains currently asking the sound of distribution for the user
Constraint information between seasonable;First processing speed is asked the RPC for the hardware performance of current Service Process Server
Processing speed, the second processing speed is business processing service when recording the history value of the response time constraint information
The processing speed that the hardware performance of device is asked the RPC;If the hardware performance of current Service Process Server, relative to note
Do not changed during the history value for recording the response time constraint information, then the second distribute module 6022 is by the response time
The history value of constraint information is used as the response time constraint information for being currently user request distribution.
It is assigned with traffic assignments server for user's request after response time constraint information, asks generation unit 603
According to user request generation RPC requests, response time constraint letter corresponding with user request is carried in RPC requests
Breath, the RPC is asked for the Service Process Server requested service processing to target.
Specifically, the required service parameter of the extraction completion of parameter extraction module 6031 user's request (such as request type,
User's mark, commodity sign etc.);Logic analysis module 6032 determines that completing the user asks need according to preset service logic
The step of performing, according to it is described need to perform the step of determine to need the Service Process Server that calls;Ask generation module
At the 6033 respectively described corresponding service parameters of Service Process Server distribution for needing to call, generation and the business
Manage the corresponding RPC requests of server.
After generation RPC requests, request transmitting unit 604 sends RPC to Service Process Server and asked, the RPC
Request carries the response time constraint information;So that the Service Process Server is according to the response time constraint information
Execution priority, and/or distribution is set to perform resource for RPC requests.
Information receiving unit 605 receives the response time constraint information of Service Process Server feedback, and triggers information more
The response time constraint information that new unit 606 is asked using the corresponding RPC of the response time constraint information updating.
After it have updated response time constraint information, allocation strategy selecting unit 607 is according to the response time constraint
Information and urgent allocation threshold select the corresponding distribution processing strategy of user's request, and the distribution processing strategy includes:The
One distribution processing is tactful to distribute processing strategy with second, if the constraint remaining time of the response time constraint information is more than described in
Emergent management threshold value, then selection performs the first distribution processing strategy, if the constraint of the response time constraint information is remaining
Time is less than or equal to the emergent management threshold value, then selection is performed at the second distribution processing strategy, first distribution
The processing complexity of reason strategy is more than the described second distribution processing strategy.
The urgent allocation threshold is the judgment threshold for the processing strategy that traffic assignments server selects user's request, specifically
Can be a time threshold.
Exemplary, in actual applications, the first distribution processing strategy can specifically include completing user's request institute
Necessary business processing flow, and optionally with the data mining of lifting service quality, statistics, analysis process content;Institute
Stating the second distribution processing strategy can specifically be included only comprising business processing flow content necessary to completing user's request;Due to
The processing complexity of first distribution processing strategy is more than the second distribution processing strategy, therefore, when treated between it is urgent (especially by
Remaining time is constrained less than or equal to the embodiment of urgent threshold value) when, traffic assignments server can select processing complexity less
Second distribution processing strategy, to save processing time.
The embodiment to the demand processing system of the present invention for performing above-mentioned request processing method is illustrated below, its
Demand processing system one embodiment that logical construction refer in Fig. 7, the embodiment of the present invention includes:
Traffic assignments server 701 and Service Process Server 702;
The traffic assignments server 701 is used to receive user's request;Assignment response time-constrain is asked for the user
Information, the response time constraint information is used to mark the processing confinement time of user's request and has occurred processing time;
According to user request generation remote procedure call request;RPC requests are sent to Service Process Server;The RPC please
Ask and carry the response time constraint information;
The Service Process Server 702 is used for the remote procedure call request for receiving the transmission of traffic assignments server,
RPC requests are added into service request queue;The response time constraint asked according to each RPC in the service request queue
Information sets the execution priority of each RPC requests, and/or distributes the execution resource of each RPC requests.
The specific steps performed by traffic assignments server 701 and Service Process Server 702 in the embodiment of the present invention
Above method embodiment can be referred to, here is omitted.
The embodiment of the present invention additionally provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with
Program, the part or all of step including the request processing method described in the above method embodiment when program is performed.
Fig. 8 is referred to, the embodiment of the present invention additionally provides a kind of Service Process Server, specifically may include:
Receiver 801, transmitter 802, memory 803 and the (number of the processor in Service Process Server of processor 804
Amount can be one or more, in Fig. 8 by taking a processor as an example) in some embodiments of the invention, receiver 801, hair
Send device 802, memory 803 and processor 804 can be connected by bus or other manner, wherein, to be connected by bus in Fig. 8
Exemplified by.
Wherein, the memory 803 can be used for storing following content:
The RPC requests include:Response time constraint information;The response time constraint information be used for mark with it is described
RPC asks the processing confinement time of corresponding user's request and has occurred processing time;
Predefined rule:The constraint remaining time is fewer, then the execution priority set is higher;During the constraint residue
Between it is fewer, then the execution resource distributed is more;If the remaining time of the processing confinement time is less than the prediction that the RPC is asked
Deadline, then abandon setting execution priority and distribution to perform resource for RPC requests;If there is more than two RPC please
The constraint remaining time asked is equal, then obtains the ratio of the constraint remaining time and the processing confinement time, be the ratio
The small RPC requests of value set higher execution priority, and/or the more execution resource of distribution.
And first processing strategy and second processing strategy particular content.
Receiver 801 is used to receive the remote procedure call request that traffic assignments server is sent.
Transmitter 802 is used for the response time constraint that the RPC requests of processing are completed to the traffic assignments server feedback
Information.
Processor 804 is used to perform following steps:
After receiver 801 receives the remote procedure call request that traffic assignments server is sent, by the RPC
Request adds service request queue;Set according to the response time constraint information asked of each RPC in the service request queue
The execution priority of each RPC requests, and/or the execution resource that each described RPC of distribution is asked.Specifically, can root
The setting of execution priority is carried out according to predefined rule, and/or performs the distribution of resource.
If the Service Process Server can handle RPC requests all in the service request queue, institute simultaneously
State Service Process Server and distribute described each according to the response time constraint information asked of each RPC in the service request queue
The execution resource of individual RPC requests;
If the Service Process Server is only capable of individually handling any one RPC requests in the service request queue,
Then the Service Process Server sets institute according to the response time constraint information asked of each RPC in the service request queue
State the execution priority of each RPC requests;
If the Service Process Server is that can not be asked while handling RPC all in the service request queue,
Be not be only capable of individually handling in the service request queue any one RPC request, then the Service Process Server according to
The response time constraint information that each RPC is asked in the service request queue sets the execution of each RPC requests preferential
Level, and distribute the execution resource of each RPC requests.
The processing strategy that the RPC is asked, the processing are selected according to the response time constraint information and urgent threshold value
Strategy includes:First handles strategy and second processing strategy, if the constraint remaining time of the response time constraint information is more than
The urgent threshold value, then selection performs the first processing strategy, if the constraint remaining time of the response time constraint information
Less than or equal to the urgent threshold value, then selection performs the second processing strategy, and the processing of the first processing strategy is complicated
Degree is more than the second processing strategy.
Fig. 8 is also referred to, the embodiment of the present invention additionally provides a kind of traffic assignments server, specifically may include:
Receiver 801, transmitter 802, memory 803 and the (number of the processor in traffic assignments server of processor 804
Amount can be one or more, in Fig. 8 by taking a processor as an example) in some embodiments of the invention, receiver 801, hair
Send device 802, memory 803 and processor 804 can be connected by bus or other manner, wherein, to be connected by bus in Fig. 8
Exemplified by.
Wherein, the memory 803 of traffic assignments server can be used for storing following content:
The RPC requests include:Response time constraint information;The response time constraint information be used for mark with it is described
RPC asks the processing confinement time of corresponding user's request and has occurred processing time;
The history value of the response time constraint information and the hardware information of the Service Process Server.
The receiver 801 of traffic assignments server is used to receive user's request, and receives the Service Process Server
The response time constraint information of feedback.
The transmitter 802 of traffic assignments server is used to send RPC requests to Service Process Server.
The processor 804 of traffic assignments server is used to perform following steps:
After the user of receiver 801 request is received;Assignment response time-constrain information is asked for the user, according to institute
State user's request generation remote procedure call request.
Further, when asking assignment response time-constrain information for the user, if current business processing service
The hardware performance of device, is changed during relative to the history value for recording the response time constraint information, is then obtained at first
The ratio of speed and second processing speed is managed, the history value of the response time constraint information is multiplied in the ratio, worked as
The preceding response time constraint information for asking to distribute for the user;First processing speed is current Service Process Server
The processing speed asked the RPC of hardware performance, the second processing speed is records the response time constraint information
History value when Service Process Server the processing speed asked the RPC of hardware performance;If current business processing
The hardware performance of server, does not change during relative to the history value for recording the response time constraint information, then by institute
The history value of response time constraint information is stated as the response time constraint information for being currently user request distribution.
Further, after the response time constraint information for receiving the Service Process Server feedback, according to the sound
Constraint information and urgent allocation threshold select the corresponding distribution processing strategy of user's request, the distribution processing plan between seasonable
Slightly include:First distribution processing strategy and the second distribution processing strategy, if the constraint of the response time constraint information is remaining
Between be more than the emergent management threshold value, then selection perform it is described first distribution processing strategy, if the response time constraint information
Constraint remaining time be less than or equal to the emergent management threshold value, then selection perform it is described second distribution processing strategy, it is described
The processing complexity of first distribution processing strategy is more than the described second distribution processing strategy.
In several embodiments provided herein, it should be understood that disclosed apparatus and method can be by it
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed
Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical of device or unit by some interfaces
Letter connection, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially
The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (26)
1. a kind of request processing method, it is characterised in that including:
Service Process Server receives the remote procedure call request that traffic assignments server is sent, the RPC request bags
Include:Response time constraint information;The response time constraint information is used to mark user's request corresponding with RPC requests
Handle confinement time and occur processing time;
RPC requests are added service request queue by the Service Process Server;
The Service Process Server is set according to the response time constraint information asked of each RPC in the service request queue
The execution priority of each RPC requests, and/or the execution resource that each described RPC of distribution is asked.
2. according to the method described in claim 1, it is characterised in that
If the Service Process Server can handle RPC requests all in the service request queue, the industry simultaneously
Be engaged in processing server according in the service request queue each RPC ask response time constraint information distribution described in each
The execution resource of RPC requests;
If the Service Process Server is only capable of individually handling any one RPC requests in the service request queue, institute
State Service Process Server and set described each according to the response time constraint information asked of each RPC in the service request queue
The execution priority of individual RPC requests;
If the Service Process Server can not both handle RPC requests all in the service request queue simultaneously, nor
It is only capable of individually handling any one RPC requests in the service request queue, then the Service Process Server is according to described
The response time constraint information of the RPC of each in service request queue requests sets the execution priority that each RPC is asked, and distributes
The execution resource of each RPC requests.
3. method according to claim 2, it is characterised in that when Service Process Server is according to the service request queue
In the response time constraint information asked of each RPC when the execution priority of each RPC requests is set, it is described according to service
The response time constraint information of the RPC of each in request queue requests sets the execution priority of each RPC requests, including:
The constraint remaining time for the processing confinement time that each RPC according to the response time constraint acquisition of information is asked;
The execution priority that each RPC according to being set predefined rule is asked, the predefined rule includes:The constraint
Remaining time is fewer, then the execution priority set is higher.
4. method according to claim 2, it is characterised in that when Service Process Server is according to the service request queue
In response time constraint information distribution each RPC requests for asking of each RPC execution resource when, it is described please according to service
The execution resource for response time constraint information distribution each RPC requests for asking the RPC of each in queue to ask, including:
The remaining time for the processing confinement time that each RPC according to the response time constraint acquisition of information is asked;
The execution resource that each RPC according to distributing predefined rule is asked, the predefined rule includes:During the constraint
Between remaining time it is fewer, then the execution resource distributed is more.
5. the method according to claim 3 or 4, it is characterised in that the predefined rule also includes:If the processing is about
The remaining time of beam time is less than the prediction deadline that the RPC is asked, then abandons setting execution preferential for RPC requests
Level and distribution perform resource.
6. the method according to claim 3 or 4, it is characterised in that the predefined rule also includes:If there is two or more
RPC request constraint remaining time it is equal, then obtain it is described constraint remaining time with it is described processing confinement time ratio, be
The small RPC requests of the ratio set higher execution priority, and/or the more execution resource of distribution.
7. the method according to Claims 1-4 any one, it is characterised in that the reception traffic assignments server hair
After the remote procedure call request sent, including:
The processing strategy that the RPC is asked, the processing strategy are selected according to the response time constraint information and urgent threshold value
Including:First processing strategy and second processing strategy, if the constraint remaining time of the response time constraint information is more than described
Urgent threshold value, then selection performs the first processing strategy, if the constraint remaining time of the response time constraint information is less than
Or equal to the urgent threshold value, then selection performs the second processing strategy, and the processing complexity of the first processing strategy is big
In the second processing strategy.
8. the method according to Claims 1-4 any one, it is characterised in that described according to each in service request queue
The response time constraint information of individual RPC request sets the execution priority of each RPC requests, and/or distribution it is described each
After the execution resource of RPC requests, including:
RPC request of the Service Process Server to highest priority is handled, when recording the processing of the RPC requests
Between, and the response time constraint information that the RPC is asked is updated according to the processing time;
The Service Process Server completes the response time constraint of the RPC requests of processing to the traffic assignments server feedback
Information.
9. a kind of request processing method, it is characterised in that including:
Traffic assignments server receives user's request;
The traffic assignments server is that the user asks assignment response time-constrain information, the response time constraint information
For marking the processing confinement time of user's request and having occurred processing time;
The traffic assignments server is according to user request generation remote procedure call request;
The traffic assignments server sends RPC requests to Service Process Server, when the RPC requests carry the response
Between constraint information;So that the Service Process Server is that RPC request settings are held according to the response time constraint information
Row major level, and/or distribution perform resource.
10. method according to claim 9, it is characterised in that the response time constraint of distribution user's request
Information, including:
Used according to the hardware information of the history value of the response time constraint information and the Service Process Server to be described
Ask assignment response time-constrain information in family.
11. method according to claim 10, it is characterised in that
If the hardware performance of current Service Process Server, during relative to the history value for recording the response time constraint information
Changed, then the history value and the hardware information of the Service Process Server according to response time constraint information
Assignment response time-constrain information is asked for the user, including:
The ratio of the first processing speed and second processing speed is obtained, the history value of the response time constraint information is multiplied in institute
Ratio is stated, obtains currently asking the response time constraint information of distribution for the user;First processing speed is current
The processing speed that the hardware performance of Service Process Server is asked the RPC, the second processing speed is to record the sound
The processing speed that the hardware performance of Service Process Server between seasonable during the history value of constraint information is asked the RPC;
If the hardware performance of current Service Process Server, during relative to the history value for recording the response time constraint information
Do not change, then it is described to be believed according to the history value of response time constraint information and the hardware of the Service Process Server
Cease and ask assignment response time-constrain information for the user, including:
It regard the history value of the response time constraint information as the response time constraint letter for being currently user request distribution
Breath.
12. the method according to claim 9 to 11 any one, it is characterised in that described remote according to user's request generation
Journey invocation of procedure RPC is asked, including:
Extract and complete the required service parameter of user's request;
Determined to complete the step of user's request needs to perform according to preset service logic, according to the step for needing to perform
The rapid Service Process Server for determining to need to call;
At the respectively described corresponding service parameter of Service Process Server distribution for needing to call, generation and the business
Manage the corresponding RPC requests of server.
13. the method according to claim 9 to 11 any one, it is characterised in that described to be sent out to Service Process Server
Send RPC ask after, including:
Receive the response time constraint information of the Service Process Server feedback;
Use the response time constraint information of the corresponding RPC requests of the response time constraint information updating.
14. method according to claim 13, it is characterised in that the sound of the reception Service Process Server feedback
Between seasonable after constraint information, including:
The corresponding distribution processing strategy of user's request is selected according to the response time constraint information and urgent allocation threshold,
The distribution processing strategy includes:First distribution processing strategy and the second distribution processing strategy, if the response time constraint is believed
The constraint remaining time of breath is more than the urgent allocation threshold, then selection performs the first distribution processing strategy, if the sound
The constraint remaining time of constraint information is less than or equal to the emergent management threshold value between seasonable, then selection performs second distribution
Processing strategy, the processing complexity of the first distribution processing strategy is more than the described second distribution processing strategy.
15. a kind of Service Process Server, it is characterised in that including:
Request reception unit, the remote procedure call request for receiving the transmission of traffic assignments server, the RPC requests
Including:Response time constraint information;The response time constraint information is used to mark user's request corresponding with RPC requests
Processing confinement time and occurred processing time;
Memory cell, for RPC requests to be added into service request queue;
Setting unit, described in being set according to the response time constraint information of each RPC requests in the service request queue
The execution priority of each RPC requests, and/or the execution resource that each described RPC of distribution is asked.
16. Service Process Server according to claim 15, it is characterised in that the setting unit specifically for:
If the Service Process Server can handle RPC requests all in the service request queue, the industry simultaneously
Be engaged in processing server according in the service request queue each RPC ask response time constraint information distribution described in each
The execution resource of RPC requests;
If the Service Process Server is only capable of individually handling any one RPC requests in the service request queue, institute
State Service Process Server and set described each according to the response time constraint information asked of each RPC in the service request queue
The execution priority of individual RPC requests;
If the Service Process Server is that can not be asked while handling RPC all in the service request queue, nor
It is only capable of individually handling any one RPC requests in the service request queue, then the Service Process Server is according to described
The response time constraint information of the RPC of each in service request queue requests sets the execution priority of each RPC requests, and
The execution resource of distribution each RPC requests.
17. Service Process Server according to claim 16, it is characterised in that the setting unit includes:
Resource distribution module, when being constrained for the processing asked of each RPC according to the response time constraint acquisition of information
Between constraint remaining time;The execution priority that each RPC according to being set predefined rule is asked, the predefined rule
Including:The constraint remaining time is fewer, then the execution priority set is higher;
Priority setup module, the processing constraint asked for each RPC according to the response time constraint acquisition of information
The remaining time of time;The execution resource that each RPC according to distributing predefined rule is asked, the predefined rule bag
Include:The constraint remaining time is fewer, then the execution resource distributed is more.
18. the Service Process Server according to claim 15 to 17 any one, it is characterised in that the business processing
Server also includes:
Policy selection unit is handled, for selecting what the RPC was asked according to the response time constraint information and urgent threshold value
Processing strategy, the processing strategy includes:First processing strategy and second processing strategy, if the response time constraint information
Remaining time is constrained more than the urgent threshold value, then selection performs the first processing strategy, if response time constraint letter
The constraint remaining time of breath is less than or equal to the urgent threshold value, then selection is performed at the second processing strategy, described first
The processing complexity of reason strategy is more than the second processing strategy.
19. the Service Process Server according to claim 15 to 17 any one, it is characterised in that the business processing
Server also includes:
Requesting processing, handles for the RPC requests to highest priority, records the processing time of the RPC requests,
And the response time constraint information that the RPC is asked is updated according to the processing time;
Information feedback unit, the response time constraint of the RPC requests for completing processing to the traffic assignments server feedback
Information.
20. a kind of traffic assignments server, it is characterised in that including:
User's request reception unit, for receiving user's request;
Information assigning unit, for asking assignment response time-constrain information, the response time constraint information for the user
For marking the processing confinement time of user's request and having occurred processing time;
Generation unit is asked, for according to user request generation remote procedure call request;
Request transmitting unit, for sending RPC requests to Service Process Server, when the RPC requests carry the response
Between constraint information;So that the Service Process Server is that RPC request settings are held according to the response time constraint information
Row major level, and/or distribution perform resource.
21. traffic assignments server according to claim 20, it is characterised in that described information allocation unit is specifically used
In:
Used according to the hardware information of the history value of the response time constraint information and the Service Process Server to be described
Ask assignment response time-constrain information in family.
22. traffic assignments server according to claim 21, it is characterised in that information assigning unit includes:
First distribute module, if the hardware performance for current Service Process Server, relative to recording the response time
Changed during the history value of constraint information, then obtain the ratio of the first processing speed and second processing speed, by the sound
The history value of constraint information multiplies in the ratio between seasonable, obtains currently asking the response time constraint letter of distribution for the user
Breath;The processing speed that first processing speed is asked the RPC for the hardware performance of current Service Process Server, institute
State the hardware performance that second processing speed is Service Process Server when recording the history value of the response time constraint information
The processing speed asked the RPC;
Second distribute module, if the hardware performance for current Service Process Server, relative to recording the response time
Do not changed during the history value of constraint information, then using the history value of the response time constraint information as it is current be described
The response time constraint information of user's request distribution.
23. the traffic assignments server according to claim 20 to 22 any one, it is characterised in that the request generation
Unit includes:
Parameter extraction module, the required service parameter of user's request is completed for extracting;
Logic analysis module, for being determined to complete the step of user's request needs to perform, root according to preset service logic
According to it is described need to perform the step of determine to need the Service Process Server that calls;
Generation module is asked, for being respectively the corresponding business ginseng of the Service Process Server distribution for needing to call
Number, generates RPC requests corresponding with the Service Process Server.
24. the traffic assignments server according to claim 20 to 22 any one, it is characterised in that the traffic assignments
Server also includes:
Information receiving unit, the response time constraint information for receiving the Service Process Server feedback;
Information updating unit, for the response time constraint using the corresponding RPC requests of the response time constraint information updating
Information.
25. traffic assignments server according to claim 24, it is characterised in that the traffic assignments server is also wrapped
Include:
Allocation strategy selecting unit, for selecting the user please according to the response time constraint information and urgent allocation threshold
Corresponding distribution processing strategy is sought, the distribution processing strategy includes:First distribution processing strategy and the second distribution processing strategy,
If the constraint remaining time of the response time constraint information is more than the urgent allocation threshold, selection performs described first point
With processing strategy, if the constraint remaining time of the response time constraint information is less than or equal to the emergent management threshold value,
Selection performs the second distribution processing strategy, and the processing complexity of the first distribution processing strategy is more than the described second distribution
Processing strategy.
26. a kind of demand processing system, it is characterised in that including:
Traffic assignments server and Service Process Server;
The traffic assignments server is used to receive user's request;Assignment response time-constrain information, institute are asked for the user
Stating response time constraint information is used to mark the processing confinement time of user's request and has occurred processing time;According to described
User's request generation remote procedure call request;RPC requests are sent to Service Process Server;The RPC requests are carried
The response time constraint information;
The Service Process Server is used for the remote procedure call request for receiving the transmission of traffic assignments server, will be described
RPC requests add service request queue;Set according to the response time constraint information asked of each RPC in the service request queue
Put the execution priority of each RPC requests, and/or the execution resource that each described RPC of distribution is asked.
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 CN104243405A (en) | 2014-12-24 |
CN104243405B true 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) |
Families Citing this family (17)
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 |
CN106612241B (en) * | 2015-10-27 | 2020-02-21 | 中国移动通信集团浙江有限公司 | Service control method and device |
CN108475240A (en) * | 2016-01-13 | 2018-08-31 | 慧与发展有限责任合伙企业 | The input/output request of reconstruct |
CN107172656B (en) * | 2016-03-07 | 2021-01-22 | 京东方科技集团股份有限公司 | Non-blocking request processing method and device |
CN108023908B (en) * | 2016-10-31 | 2020-04-24 | 腾讯科技(深圳)有限公司 | Data updating method, device and system |
CN106789726B (en) * | 2016-12-20 | 2019-09-10 | 兴唐通信科技有限公司 | A kind of high concurrent service resource allocation method based on service priority |
CN106790092B (en) * | 2016-12-23 | 2020-06-19 | 北京奇艺世纪科技有限公司 | Remote procedure call server control system and method |
CN106775990A (en) * | 2016-12-31 | 2017-05-31 | 中国移动通信集团江苏有限公司 | Request scheduling method and device |
CN109391588B (en) * | 2017-08-04 | 2021-03-12 | 北京国双科技有限公司 | Request processing method and device |
CN109391589B (en) * | 2017-08-04 | 2021-06-29 | 北京国双科技有限公司 | 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 |
CN110012053B (en) * | 2018-12-25 | 2021-07-20 | 创新先进技术有限公司 | System calling method, device and equipment under SOA system architecture and SOA system architecture |
CN109840144B (en) * | 2018-12-28 | 2023-09-19 | 航天信息股份有限公司 | Information service scheduling method and system for cross-mechanism batch service request |
CN111813536B (en) * | 2019-04-11 | 2024-06-11 | 华为技术有限公司 | Task processing method, device, terminal and computer readable storage medium |
CN111245822B (en) * | 2020-01-08 | 2023-03-14 | 北京小米松果电子有限公司 | Remote procedure call processing method and device and computer storage medium |
CN116708297B (en) * | 2023-05-31 | 2024-06-11 | 杭州复恒科技有限公司 | Cross-platform server flow resource adjusting method, system and device |
Citations (3)
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8490105B2 (en) * | 2009-08-17 | 2013-07-16 | Sybase, Inc. | Pluggable component interface |
CN102316154B (en) * | 2010-06-22 | 2016-05-11 | 微软技术许可有限责任公司 | Optimize the access to the resource based on federation infrastructure |
-
2013
- 2013-06-08 CN CN201310228246.XA patent/CN104243405B/en active Active
-
2014
- 2014-06-09 WO PCT/CN2014/079489 patent/WO2014194869A1/en active Application Filing
Patent Citations (3)
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 |
Non-Patent Citations (1)
Title |
---|
云计算环境下动态资源管理关键技术研究;李冰;《中国博士学位论文全文数据库信息科技辑(2013)》;20130115(第1期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
WO2014194869A1 (en) | 2014-12-11 |
CN104243405A (en) | 2014-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104243405B (en) | A kind of request processing method, apparatus and system | |
CN104657220B (en) | Scheduling model and method based on deadline and expense restriction in mixed cloud | |
CN105637925B (en) | Dynamic frequency and power resource allocation with refinement tactical management | |
US8392928B1 (en) | Automated workload placement recommendations for a data center | |
CN112165691B (en) | Content delivery network scheduling method, device, server and medium | |
US20170329643A1 (en) | Distributed node intra-group task scheduling method and system | |
CN109246229A (en) | A kind of method and apparatus of distribution resource acquisition request | |
US20160337208A1 (en) | Method and System for Evaluating User Perception | |
US12099884B2 (en) | Scheduling method for selecting optimal cluster within cluster of distributed collaboration type | |
CN102970379A (en) | Method for realizing load balance among multiple servers | |
CN103064744B (en) | The method for optimizing resources that a kind of oriented multilayer Web based on SLA applies | |
CN111614754B (en) | Fog-calculation-oriented cost-efficiency optimized dynamic self-adaptive task scheduling method | |
CN104734983B (en) | Scheduling system, the method and device of service data request | |
TW202121274A (en) | Cloud resource management method and apparatus, and electronic device and computer readable storage medium | |
Paymard et al. | Resource allocation in PD‐NOMA–based mobile edge computing system: multiuser and multitask priority | |
CN102904824A (en) | Service providing entity selection method and device | |
CN108055701A (en) | A kind of resource regulating method and base station | |
CN115794358B (en) | Cloud workflow task scheduling method and device, electronic equipment and storage medium | |
CN103713852A (en) | Method for processing information, service platform and electronic devices | |
CN112219191A (en) | Self-configuration of services and servers in a data center | |
Qin et al. | Optimal workload allocation for edge computing network using application prediction | |
CN108933675B (en) | Conference resource allocation method, device and storage medium | |
CN116703601B (en) | Data processing method, device, equipment and storage medium based on block chain network | |
Fan et al. | MEC network slicing: Stackelberg-game-based slice pricing and resource allocation with QoS guarantee | |
CN105988949A (en) | Terminal equipment and data interactive processing method and system |
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 |