CN104734983B - Scheduling system, the method and device of service data request - Google Patents

Scheduling system, the method and device of service data request Download PDF

Info

Publication number
CN104734983B
CN104734983B CN201310721912.3A CN201310721912A CN104734983B CN 104734983 B CN104734983 B CN 104734983B CN 201310721912 A CN201310721912 A CN 201310721912A CN 104734983 B CN104734983 B CN 104734983B
Authority
CN
China
Prior art keywords
task
message
data
task queue
service
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
Application number
CN201310721912.3A
Other languages
Chinese (zh)
Other versions
CN104734983A (en
Inventor
薛峰
范晓晖
陈志刚
孙琳
朱江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201310721912.3A priority Critical patent/CN104734983B/en
Publication of CN104734983A publication Critical patent/CN104734983A/en
Application granted granted Critical
Publication of CN104734983B publication Critical patent/CN104734983B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses scheduling system, the method and devices of a kind of service data request, to provide a kind of scheme that the service data request sent to user between more data service servers is scheduled.Method realizes the rational management to service data request according to the information of the geographic area where user to determine the scheme for the data service server for responding the service data request transmitted by user.

Description

Scheduling system, the method and device of service data request
Technical field
The present invention relates to field of communication technology more particularly to scheduling system, the method and devices of a kind of service data request.
Background technology
Currently, the business datum that mobile data services can provide to the user is very diversification.Specifically, group For user by the business, the network side that request mobile communications network may be implemented is client's issuing service data of group, such as This group user of bank, so that it may to ask the network side to issue as the user of bank the bank account amount of money transition information of user Deng;And the personal user of mobile data services by the business then may be implemented that the network side is asked to be used by personal user User terminal issue all kinds of business datums, for example user can ask network side to issue the business number such as news or living information According to.
Since the business datum of diversification can meet the needs of all types of user, the portfolio of mobile data services is modern Faster growth rate is all remain over year, this also just produces the access of the network side enormous amount for mobile communications network Amount.In this case, it can not be born using single server apparatus due to the network side of mobile communications network huge in this way Big visit capacity, once and it also faces its delay machine using single server apparatus and will seriously affect what business datum issued Risk, therefore, a solution proposed at present be exactly mobile communications network network side lay more for respond use The data service server of the service data request at family.However, not proposed how but in the prior art in this more number of units according to industry It is engaged in carrying out rational management to the service data request that user sends between server.
Invention content
The embodiment of the present invention provides a kind of scheduling system, the method and device of service data request, exists to provide one kind The scheme that the service data request sent to user between more data service servers is scheduled.
The embodiment of the present invention uses following technical scheme:
The scheduling system of a kind of scheduling system of service data request, the service data request includes load balancing service Device and at least two data service servers, wherein:Load-balanced server is stated, for receiving service data request;According to not The default correspondence identified with information and the corresponding data service server of geographic area and the service data request In include user where geographic area information, determine the data corresponding to the information of the geographic area where the user Service server identifies;The service data request is sent to the represented data industry of determining data service server mark Business server;Data service server represented by the data service server mark of the determination, for receiving the load The service data request that equalization server is sent, and the business datum to match with the service data request is sent to The user terminal represented by user terminal identification for including in the service data request.
A kind of dispatching method of service data request is applied to the communication system including at least two data service servers In, the method includes:Load-balanced server receives service data request;Load-balanced server is according to different geographic regions The default correspondence that identifies of information and corresponding data service server and the service data request in include use The information of geographic area where family determines the data service server corresponding to the information of the geographic area where the user Mark;The service data request is sent to the represented number of determining data service server mark by load-balanced server According to service server;The data service server of the expression receives the business datum that the load-balanced server is sent The business datum to match with the service data request is sent to the industry by request, the data service server of the expression The user terminal represented by user terminal identification for including in business request of data.
A kind of dispatching method of service data request is applied to the communication system including at least two data service servers In, the method includes:Receive service data request;Wherein, the geographic region where user is included in the service data request The information in domain;The information of geographic area where the user and the information of different geographic regions and corresponding data The default correspondence of service server mark, determines the data service corresponding to the information of the geographic area where the user Server identification;The service data request is sent to the represented data service clothes of determining data service server mark Business device is responded.
A kind of dispatching device of service data request is applied to the communication system including at least two data service servers In, described device includes:Receiving unit, for receiving service data request;Wherein, include user in the service data request The information of the geographic area at place;Determination unit, for the information according to the geographic area where the user, and differently The default correspondence that the information in reason region is identified with corresponding data service server, determines the geographic region where the user Data service server mark corresponding to the information in domain;Transmission unit, for the service data request to be sent to determination The represented data service server of data service server mark responded.
The embodiment of the present invention has the beneficial effect that:
An embodiment of the present invention provides a kind of information according to the geographic area where user, to determine that response user is sent out The scheme of the data service server for the service data request sent realizes the rational management to service data request.
Description of the drawings
Fig. 1 is a kind of concrete structure schematic diagram of the scheduling system for service data request that embodiment 1 provides;
Fig. 2 is a kind of idiographic flow schematic diagram of the dispatching method for service data request that the embodiment of the present invention 2 provides;
Fig. 3 is a kind of idiographic flow schematic diagram of the dispatching method for service data request that the embodiment of the present invention 3 provides;
Fig. 4 is a kind of concrete structure schematic diagram of the dispatching device for service data request that the embodiment of the present invention 3 provides.
Specific implementation mode
The embodiment of the present invention provides a kind of scheduling system, the method and device of service data request, exists to provide one kind The scheme that the service data request sent to user between more data service servers is scheduled.
The embodiment of the present invention is illustrated below in conjunction with Figure of description, it should be understood that implementation described herein Example is merely to illustrate and explain the present invention, and is not intended to restrict the invention.And in the absence of conflict, the reality in this explanation Applying the feature in example and embodiment can be combined with each other.
Embodiment 1
Embodiment 1 provides a kind of scheduling system of service data request, concrete structure schematic diagram such as Fig. 1 institutes of the system Show, including load-balanced server 11 and at least two data service servers 12.Load balancing clothes are discussed in detail first below The function of business device 11:
Load-balanced server 11, for receiving service data request;And according to the information of different geographic regions and accordingly Data service server 12 identify default correspondence and service data request in include user where geographic region The information in domain determines that the data service server 12 corresponding to the information of the geographic area where user identifies;By business datum Request is sent to determining data service server 12 and identifies represented data service server 12.
Wherein, above-mentioned default correspondence can be stored in load-balanced server 11.
Usually, the information and date service server 12 of geographic area identifies corresponding, it is understood that is geographic region The information and date service server 12 in domain is corresponding.Has the information and data service server of the geographic area of correspondence Relationship between 12 can be understood as:The business datum server 12 can be the user service in the geographic area.For For specific implementation, can directly the business datum server 12 be laid in the geographic area, in order to which it can be fast The service data request of speed response user.It, can also be by the data service of the information of corresponding geographic area in the embodiment of the present invention Server 12 is known as " Edge Server ".
In the embodiment of the present invention, the number corresponding to the information of the geographic area where the user for including in service data request It there may also be according to service server 12 multiple.In this case, load-balanced server 11 can execute " load balancing principle ", The current load information of each data service server 12 i.e. corresponding to the information of the geographic area where the user, from institute Selection data service server 12 in each data service server 12 is stated, and service data request is sent to the data industry of selection Business server 12.
An embodiment of the present invention provides a kind of according to user institute it can be seen from the above-mentioned function of load-balanced server 11 Geographic area information, come determine response user transmitted by service data request data service server 12 side Case realizes the rational management to service data request.
The data service clothes in the scheduling system of service data request provided in an embodiment of the present invention are introduced further below The function of business device 12:
Data service server 12, for the service data request that balancing received load server 11 is sent, and will be with industry The business datum that business request of data matches is sent to the user represented by the user terminal identification for including in service data request Terminal.
In the embodiment of the present invention, the detailed process that data service server 12 sends business datum may include following sub-steps Suddenly:
Sub-step one:According to the business datum to match with service data request, multiple first task queues are generated;
Wherein, include that first message sends task, each first message hair in each first task queue of generation Send task be performed can trigger data service server 12 send business datum in some or all of data.
Sub-step two:According to the service share that each first task queue is respectively allocated in single sending cycle, and The message separately included in each first task queue sends the number of task, executes each first message successively and sends task.
Wherein, service share is used to indicate to be performed in corresponding first task queue in single sending cycle First message sends the maximum number of task.
Specifically, the specific implementation of sub-step two may include again:
First, the service share and each being respectively allocated in single sending cycle according to each first task queue The first message separately included in one task queue sends the number of task, determines the first message for including in first task queue Transmission task executes sequence;
Then, sequence is executed according to this, executes each first message successively and sends task.
It can be stated that above-mentioned execution sequence meets in the embodiment of the present invention:First message in first particular task queue The execution opportunity of transmission task, prior to the execution opportunity that the first message in the second particular task queue sends task.
Wherein, so-called first particular task queue refers to the service share N being assigned in single sending cycle>Including First message send task number M first task queue;So-called second particular task queue refers to sending week single The service share M being assigned in phase<Including first message send task number N first task queue.
Usually, data service server 12 can periodically carry out the transmission of business datum.For example, data Service server 12 executes sequence according to previously described, executes each first message successively in single sending cycle and sends and appoints Business.
For each sending cycle, data service server 12 specifically can be also used for executing operations described below:
First, after the single sending cycle, before next sending cycle of the single sending cycle arrives, judge With the presence or absence of third particular task queue.Wherein, the queue of third particular task be comprising specific first message send task Number is less than the first task queue of corresponding service amount;It is in the single sending cycle that specific first message, which sends task, The first message being performed sends task.
Then, judging result indicates, there are when third particular task queue, to execute for each third particular task queue: Determine that the assigned service amount of the third particular task queue subtracts the third particular task queue includes specific first and disappears The difference obtained by the number of transmission task is ceased, that is, determines the service amount surplus in the single sending cycle;
Finally, according to determining each difference, corresponding third particular task queue is assigned in single sending cycle Service amount be adjusted.
By aforesaid operations, when next sending cycle of the single sending cycle arrives, third particular task row The service amount of table is exactly the service amount after adjustment.
Wherein it should be noted that different task queues be according in data service server 12 for sending business number According to port distinguish.For example, first task queue, corresponding is the first port of data service server 12; Second task queue, corresponding is the second port of data service server 12;And so on.
Since data service server 12 may receive different service data requests, data service clothes simultaneously The task queue according to different business datum generations may be existed simultaneously in business device 12.In this case, it can adopt The processing priority of different task queue, and the sequence according to processing priority from high to low are distinguished with certain strategy, according to It is secondary that different task queues is handled, it can to avoid the occurrence of 12 parallel processing multiple tasks queue of data service server Process resource caused by energy is nervous and message sends task and handles slow problem.Based on such treatment mechanism, above-mentioned son The realization method of step 2 can be as described below:
First, it is determined that going out with the presence or absence of the second task queue generated according to other business datums.Wherein, each second Include that second message sends task in business queue, each second message transmission task, which is performed trigger, sends other industry Data some or all of in data of being engaged in.Other business datums mentioned here are different from the industry for generating first task queue Business data.For the ease of differentiation, will be hereafter known as " business datum " for generating the business datum of first task queue, and incite somebody to action It is known as " other business datums " different from " business datum " other business datums.
Then, when the determination result is yes, compare the transmission priority of business datum and other business datums.
Finally, when comparison result indicates that the transmission priority of business datum is higher than the transmission priority of other business datums When, the service share being respectively allocated in single sending cycle according to each first task queue and each first task queue In the message that separately includes send the number of task, execute each first message successively and send task, and sent in each first message After task execution, executes each second message and send task;And when comparison result indicates that the transmission priority of business datum is low When the transmission priority of other business datums, each second message is executed successively and sends task, and sends and appoints in each second message After business is finished, the service share that is respectively allocated in single sending cycle according to each first task queue and each the The message separately included in one task queue sends the number of task, executes each first message successively and sends task.
In the embodiment of the present invention, when the data that business datum is multimedia form(Such as multimedia message), other business datums are The data of non-multimedia format(Such as the short message not comprising multimedia content)When, it may be determined that the transmission priority of business datum Higher than the transmission priority of other business datums;Conversely, can then determine that the transmission priority of business datum is less than other business The transmission priority of data.
Alternatively, when the pre-set priority of the user of requested service data is default more than the user for asking other business datums When priority, it may be determined that the transmission priority of business datum is higher than the transmission priority of other business datums;Conversely, then can be with Determine that the transmission priority of business datum is less than the transmission priority of other business datums.For example, can be bank-user this Low User Priority is arranged in group user, and is that relatively high User Priority is arranged in just-plainfolk, to when one In a sending cycle, the difference generated according to the business datum that just-plainfolk and bank-user are asked respectively is existed simultaneously When message sends task, it can be identified according to the User Priority for including in service data request, determine just-plainfolk's With the User Priority of bank-user, and according to definitive result, it is requested that bank-user is preferentially sent in the sending cycle Business datum.
Alternatively, the transmission window set by the user for requested service data is more than for other business datums of request User set by transmission window when, it may be determined that the transmission priority of business datum higher than other business datums transmission it is excellent First grade;Conversely, can then determine that the transmission priority of business datum is less than the transmission priority of other business datums.Wherein, this In described transmissions window refer to the boundary of the serial number queue of frame that sender has sent but has not yet been identified, bound is distinguished Distance for the upper lower edge of window, upper lower edge is window size.
Embodiment 2
The embodiment of the present invention 2 provides a kind of dispatching method of service data request, is applied to include at least two number of units according to industry It is engaged in the communication system of server, the idiographic flow schematic diagram of this method is as shown in Fig. 2, include following key steps:
Step 21, load-balanced server receives service data request;
Step 22, load-balanced server is identified according to the information of different geographic regions with corresponding data service server Default correspondence and service data request in include user where geographic area information, where determining user Geographic area information corresponding to data service server mark;
Step 23, service data request is sent to determining data service server mark institute table by load-balanced server The data service server shown;
Step 24, the represented data service server of determining data service server mark(Hereinafter the first number According to service server)The service data request that balancing received load server is sent;
Step 25, the first data service server will be sent to business number with the business datum that service data request matches According to the user terminal represented by the user terminal identification for including in request.
Optionally, the specific implementation of step 25 may include following sub-steps:
Sub-step one:First data service server generates more according to the business datum to match with service data request A first task queue.
Wherein, include that first message sends task, each first message hair in each first task queue of generation Send task be performed can trigger the first data service server send business datum in some or all of data;
Sub-step two:First data service server is divided according to each first task queue in single sending cycle respectively The service share matched and the message separately included in each first task queue send the number of task, execute each first successively Message sends task.
Wherein, service share is used to indicate to be performed in corresponding first task queue in single sending cycle First message sends the maximum number of task.
Optionally, the specific implementation of above-mentioned sub-step two may include:
First, the first data service server is respectively allocated according to each first task queue in single sending cycle The first message separately included in service share and each first task queue sends the number of task, determines first task team The first message transmission task for including in row executes sequence;
Secondly, the first data service server executes each first message and sends task successively according to the determining sequence that executes.
In the embodiment of the present invention, above-mentioned execution sequence meets:First message in first particular task queue sends task Execution opportunity, prior in the second particular task queue first message send task execution opportunity.So-called first specific Be engaged in queue, refer in single sending cycle be assigned service share be more than comprising first message transmission task number First task queue;So-called second particular task queue refers to that the service share being assigned in single sending cycle is less than packet The first message contained sends the first task queue of the number of task.
Optionally, the first data service server specifically can execute sequence according to above-mentioned, in single sending cycle according to It is secondary to execute each first message transmission task.In this case, this method as shown in Figure 2 can further include step Suddenly:
First, the first data service server is after the single sending cycle, under the single sending cycle Before one sending cycle arrives, third particular task queue is judged whether.Wherein, the queue of third particular task be comprising spy Determine first task queue of the number less than corresponding service amount that first message sends task;Specific first message sends task First message to be performed in single sending cycle sends task.
Then, the first data service server is indicated in judging result there are when third particular task queue, for each Third particular task queue executes:Determine that the assigned service amount of the third particular task queue subtracts the third particular task The specific first message that queue includes sends the difference obtained by the number of task.
Finally, the first data service server is according to determining each difference, to corresponding third particular task queue in list The service amount being assigned in a sending cycle is adjusted.
Optionally, if the first data service server judges that there are bases before executing each first message transmission task The second task queue generated different from other business datums of business datum, wherein include in each second task queue There is second message to send task, each second message sends task and is performed and can trigger the first data service server and send it Data some or all of in his business datum then may be used following step and realize the execution for sending task to first message:
Compare the transmission priority of business datum and other business datums;And indicate the transmission of business datum in comparison result Priority be higher than other business datums transmission priority when, according to each first task queue in single sending cycle respectively by The message that is separately included in the service share of distribution and each first task queue sends the number of task, executes each the successively One message sends task, and after each first message sends task execution, executes each second message and sends task;Comparing When as a result indicating that the transmission priority of business datum is less than the transmission priority of other business datums, each second message is executed successively Transmission task, and after each second message sends task execution, according to each first task queue in single sending cycle The service share being respectively allocated and the message separately included in each first task queue send the number of task, hold successively Each first message of row sends task.
Embodiment 3
Embodiment 3 provides a kind of dispatching method and device of service data request, is applied to include at least two number of units according to industry It is engaged in the communication system of server.Wherein, this method includes following step as shown in Figure 4:
Step 31, service data request is received;
Wherein, the information of the geographic area where user is included in service data request.
Step 32, according to the information of the information of the geographic area where user and different geographic regions and corresponding number According to the default correspondence that service server identifies, the data service clothes corresponding to the information of the geographic area where user are determined Business device mark;
Step 33, service data request the represented data service of determining data service server mark is sent to take Business device is responded.
Optionally, the specific implementation of step 33 may include following sub-steps:
Sub-step one:It is identified according to the business datum mark for including in service data request, and the business datum preserved, Judging whether the represented data service server of determining data service server mark can issue to have described includes The business datum of business datum mark executes following sub-steps two when the determination result is yes.
Wherein, the business datum of preservation is identified as the represented data service service of determining data service server mark The mark for the business datum that device can issue.
Sub-step two:Service data request is sent to the represented data service of determining data service server mark Server.
The concrete structure schematic diagram of the dispatching device for the service data request that embodiment 3 provides is as shown in figure 4, under including State functional unit:
Receiving unit 41, for receiving service data request;Wherein, the geography where user is included in service data request The information in region;
Determination unit 42, the ground where the user for including in the service data request for being received according to receiving unit 41 The default correspondence that the information of the information and different geographic regions of managing region is identified with corresponding data service server, Determine the data service server mark corresponding to the information of the geographic area where user;
Transmission unit 43 is identified for service data request to be sent to the data service server that determination unit 52 determines Represented data service server is responded.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer Usable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program of upper implementation produces The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, equipment(System)And the flow of computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (6)

1. a kind of scheduling system of service data request, which is characterized in that the scheduling system of the service data request includes negative Equalization server and at least two data service servers are carried, wherein:
The load-balanced server, for receiving service data request;According to the information of different geographic regions and corresponding number According to the geographic area where the user for including in the default correspondence of service server mark and the service data request Information, determine corresponding to the information of the geographic area where the user data service server mark;By the business Request of data is sent to the represented data service server of determining data service server mark;
Data service server represented by the data service server mark of the determination, for receiving the load balancing clothes The service data request that business device is sent, and the business datum to match with the service data request is sent to the industry The user terminal represented by user terminal identification for including in business request of data;
Wherein, the data service server of the expression, is specifically used for:
According to the business datum to match with the service data request, multiple first task queues are generated;Wherein, generation is every Include that first message sends task in a first task queue, each first message transmission task, which is performed, can trigger hair Some or all of send in the business datum data;
The service share being respectively allocated in single sending cycle according to each first task queue and each first task queue In the message that separately includes send the number of task, execute each first message successively and send task;
Wherein, the service share is used to indicate to be performed in corresponding first task queue in single sending cycle First message sends the maximum number of task;
Wherein, the data service server of the expression, is specifically used for:
The service share being respectively allocated in single sending cycle according to each first task queue and each first task queue In the first message that separately includes send the number of task, determine that the first message for including in first task queue sends task Execute sequence;
Sequence is executed according to described, each first message is executed successively and sends task;
Wherein, the execution sequence meets:First message in first particular task queue sends the execution opportunity of task, prior to First message in second particular task queue sends the execution opportunity of task;
The first particular task queue be in single sending cycle be assigned service share more than comprising first message The first task queue of the number of transmission task;The second particular task queue is the clothes being assigned in single sending cycle Be engaged in share be less than comprising first message send task number first task queue;
Wherein, the data service server of the expression, is specifically used for:
Sequence is executed according to described, each first message is executed successively in single sending cycle and sends task;
The data service server of the expression is additionally operable to:
After the single sending cycle, before next sending cycle of the single sending cycle arrives, judge whether There are third particular task queues;Wherein, the third particular task queue be comprising specific first message send task Number is less than the first task queue of corresponding service share;It is in the single transmission that the specific first message, which sends task, The first message being performed in period sends task;
It indicates, there are when the third particular task queue, to execute for each third particular task queue in judging result:Really The assigned service share of the fixed third particular task queue subtracts the specific first message that the third particular task queue includes Difference obtained by the number of transmission task;
According to determining each difference, the service share that corresponding third particular task queue is assigned in single sending cycle It is adjusted.
2. the scheduling system of service data request as described in claim 1, which is characterized in that the data service of the expression takes Business device, is specifically used for:
When judging to exist according to the second task queue of other business datums generation for being different from the business datum, compare The transmission priority of the business datum and other business datums;Wherein, include in each second task queue Two message send task, and each second message sends task and is performed the part that can trigger and send in other described business datums Or total data;
When the transmission priority of the business datum is higher than the transmission priority of other business datums, according to each first The message separately included in the service share that is respectively allocated in single sending cycle of business queue and each first task queue The number of transmission task executes each first message and sends task, and after each first message sends task execution, holds successively Each second message of row sends task;
When the transmission priority of the business datum is less than the transmission priority of other business datums, each the is executed successively Two message send task, and after each second message sends task execution, are individually being sent according to each first task queue The service share being respectively allocated in period and the message separately included in each first task queue send the number of task, Each first message is executed successively sends task.
3. the scheduling system of service data request as claimed in claim 2, it is characterised in that:
When the data that the business datum is multimedia form, when other described business datums are the data of non-multimedia format, The transmission priority of the business datum is higher than the transmission priority of other business datums;Conversely, the then business datum Transmission priority be less than the transmission priority of other business datums;Or
When the pre-set priority for the user for asking the business datum is more than the default of the user of request other business datums When priority, the transmission priority of the business datum is higher than the transmission priority of other business datums;Conversely, then described The transmission priority of business datum is less than the transmission priority of other business datums;Or
It is more than for other described business datums of request when for the transmission window set by the user for asking the business datum User set by transmission window when, the transmission that the transmission priority of the business datum is higher than other business datums is excellent First grade;Conversely, then the transmission priority of the business datum is less than the transmission priority of other business datums.
4. the scheduling system of the service data request as described in claim 1 or 3, which is characterized in that when the data of the expression When service server has multiple, the load-balanced server is specifically used for:
The current load information of represented each data service server is identified according to the data service server of the determination, from Data service server is chosen in each data service server;
The service data request is sent to the data service server of selection.
5. a kind of dispatching method of service data request is applied to the communication system including at least two data service servers In, which is characterized in that the method includes:
Load-balanced server receives service data request;
The default correspondence that load-balanced server is identified according to the information of different geographic regions with corresponding data service server The information of geographic area where the user for including in relationship and the service data request, where determining the user Data service server mark corresponding to the information of geographic area;
The service data request is sent to the represented number of determining data service server mark by load-balanced server According to service server;
The data service server of the expression receives the service data request that the load-balanced server is sent;
The business datum to match with the service data request is sent to the industry by the data service server of the expression The user terminal represented by user terminal identification for including in business request of data;
Wherein, the business datum is sent to the user terminal by the data service server of the expression, is specifically included:
The data service server of the expression according to the business datum, generate multiple first task queues;Wherein, it generates Each first task queue in include that first message sends task, each first message sends task and is performed and can touch Data some or all of in the hair transmission business datum;
The clothes that the data service server of the expression is respectively allocated according to each first task queue in single sending cycle The message separately included in business share and each first task queue sends the number of task, executes each first message hair successively Send task;
Wherein, the service share is used to indicate to be performed in corresponding first task queue in single sending cycle First message sends the maximum number of task;
Wherein, the data service server of the expression is respectively allocated according to each first task queue in single sending cycle Service share and each first task queue in the message that separately includes send the number of task, execute each first successively and disappear Transmission task is ceased, including:
The clothes that the data service server of the expression is respectively allocated according to each first task queue in single sending cycle The first message separately included in business share and each first task queue sends the number of task, determines first task queue In include first message send task and execute sequence;
The data service server of the expression executes sequence according to described, executes each first message successively and sends task;
Wherein, the execution sequence meets:First message in first particular task queue sends the execution opportunity of task, prior to First message in second particular task queue sends the execution opportunity of task;
The first particular task queue be in single sending cycle be assigned service share more than comprising first message The first task queue of the number of transmission task;The second particular task queue is the clothes being assigned in single sending cycle Be engaged in share be less than comprising first message send task number first task queue;
Wherein, the data service server of the expression executes sequence according to described, executes each first message successively and sends task, Including:
The data service server of the expression executes sequence according to described, executes each first successively in single sending cycle and disappears Cease transmission task;Then
The method further includes:
The data service server of the expression is after the single sending cycle, in the next of the single sending cycle Before sending cycle arrives, third particular task queue is judged whether;Wherein, the third particular task queue be comprising The number that specific first message sends task is less than the corresponding first task queue for servicing share;The specific first message hair It is that the first message being performed in the single sending cycle sends task to send task;
It indicates, there are when the third particular task queue, to execute for each third particular task queue in judging result:Really The assigned service share of the fixed third particular task queue subtracts the specific first message that the third particular task queue includes Difference obtained by the number of transmission task;
According to determining each difference, the service share that corresponding third particular task queue is assigned in single sending cycle It is adjusted.
6. method as claimed in claim 5, which is characterized in that the data service server of the expression is according to each first task Service share that queue is respectively allocated in single sending cycle and the message separately included in each first task queue hair The number of task is sent, each first message is executed successively and sends task, specifically include:
The data service server of the expression is when other business datums for judging to have according to the business datum is different from When the second task queue generated, the transmission priority of the business datum and other business datums;Wherein, each Include that second message sends task in second task queue, each second message transmission task, which is performed, can trigger transmission Data some or all of in other described business datums;
When the transmission priority of the business datum is higher than the transmission priority of other business datums, according to each first The message separately included in the service share that is respectively allocated in single sending cycle of business queue and each first task queue The number of transmission task executes each first message and sends task, and after each first message sends task execution, holds successively Each second message of row sends task;
When the transmission priority of the business datum is less than the transmission priority of other business datums, each the is executed successively Two message send task, and after each second message sends task execution, are individually being sent according to each first task queue The service share being respectively allocated in period and the message separately included in each first task queue send the number of task, Each first message is executed successively sends task.
CN201310721912.3A 2013-12-24 2013-12-24 Scheduling system, the method and device of service data request Active CN104734983B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310721912.3A CN104734983B (en) 2013-12-24 2013-12-24 Scheduling system, the method and device of service data request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310721912.3A CN104734983B (en) 2013-12-24 2013-12-24 Scheduling system, the method and device of service data request

Publications (2)

Publication Number Publication Date
CN104734983A CN104734983A (en) 2015-06-24
CN104734983B true CN104734983B (en) 2018-10-12

Family

ID=53458430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310721912.3A Active CN104734983B (en) 2013-12-24 2013-12-24 Scheduling system, the method and device of service data request

Country Status (1)

Country Link
CN (1) CN104734983B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306553B (en) * 2015-09-30 2018-08-07 北京奇艺世纪科技有限公司 Access request dispatching method and device
CN105553870B (en) * 2015-12-11 2020-03-17 小米科技有限责任公司 Service request distribution method and device
CN105872098B (en) * 2016-06-03 2019-04-26 腾讯科技(深圳)有限公司 Data processing method, load balancer and interactive application server and system
CN108696557B (en) * 2017-04-11 2021-08-10 北京京东尚科信息技术有限公司 Information processing system, method and device
CN110417886B (en) * 2019-07-29 2020-12-29 广州竞远安全技术股份有限公司 Load balancing method, device and system for integrated service
CN110650209B (en) * 2019-10-09 2023-07-18 北京百度网讯科技有限公司 Method and device for realizing load balancing
CN113438623B (en) * 2020-03-23 2023-08-08 腾讯科技(深圳)有限公司 Service request response method, device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014002A (en) * 2006-12-12 2007-08-08 华为技术有限公司 Cluster message transmitting method and distributed cluster system
CN101018408A (en) * 2007-02-01 2007-08-15 华为技术有限公司 Service implementation method, network device and network
CN101557344A (en) * 2009-05-21 2009-10-14 南昌航空大学 Dynamic load balancing method based on spatial geographical locations
CN101599987A (en) * 2008-06-05 2009-12-09 中兴通讯股份有限公司 message queue management method and device
CN101977359A (en) * 2010-09-26 2011-02-16 北京握奇数据***有限公司 Method and device for processing mobile data service

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100575734B1 (en) * 2003-08-30 2006-05-03 엘지전자 주식회사 Packet data receive method for mobile communication device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014002A (en) * 2006-12-12 2007-08-08 华为技术有限公司 Cluster message transmitting method and distributed cluster system
CN101018408A (en) * 2007-02-01 2007-08-15 华为技术有限公司 Service implementation method, network device and network
CN101599987A (en) * 2008-06-05 2009-12-09 中兴通讯股份有限公司 message queue management method and device
CN101557344A (en) * 2009-05-21 2009-10-14 南昌航空大学 Dynamic load balancing method based on spatial geographical locations
CN101977359A (en) * 2010-09-26 2011-02-16 北京握奇数据***有限公司 Method and device for processing mobile data service

Also Published As

Publication number Publication date
CN104734983A (en) 2015-06-24

Similar Documents

Publication Publication Date Title
CN104734983B (en) Scheduling system, the method and device of service data request
Yang et al. Catalyzing cloud-fog interoperation in 5G wireless networks: An SDN approach
US9112809B2 (en) Method and apparatus for controlling utilization in a horizontally scaled software application
CN105637925B (en) Dynamic frequency and power resource allocation with refinement tactical management
CN109327550A (en) A kind of distribution method of access request, device, storage medium and computer equipment
WO2016119412A1 (en) Resource scaling method on cloud platform and cloud platform
WO2017080172A1 (en) Network scheduling method and system
CN106657379A (en) Implementation method and system for NGINX server load balancing
CN102170396A (en) QoS control method of cloud storage system based on differentiated service
CN104657207B (en) Dispatching method, service server and the scheduling system of remote authorization request
CN106254561A (en) The real-time offline download method of a kind of Internet resources file and system
CN105592110A (en) Resource scheduling method and device
CN109726004A (en) A kind of data processing method and device
CN114501351A (en) Flow control method, flow control equipment and storage medium
CN112822235A (en) Data sharing system and method of heterogeneous cloud computing system
Rankothge et al. On the scaling of virtualized network functions
CN109194586A (en) Peak clipping processing method based on distributed token bucket
CN114490826A (en) Request response method, data storage method, device, server and storage medium
CN105260245B (en) A kind of resource regulating method and device
US10691700B1 (en) Table replica allocation in a replicated storage system
Qin et al. Optimal workload allocation for edge computing network using application prediction
JPWO2019111411A1 (en) Cooperative distributed system, cooperative distributed management device, cooperative distributed method, and program
CN109286573A (en) Peak clipping system based on distributed token bucket
CN105893160B (en) A kind of dispatching method of multi-interface data
WO2012017699A1 (en) Computer system and data management method

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