CN104144188A - Service dispatching method and system and local service dispatching server - Google Patents

Service dispatching method and system and local service dispatching server Download PDF

Info

Publication number
CN104144188A
CN104144188A CN201310170399.3A CN201310170399A CN104144188A CN 104144188 A CN104144188 A CN 104144188A CN 201310170399 A CN201310170399 A CN 201310170399A CN 104144188 A CN104144188 A CN 104144188A
Authority
CN
China
Prior art keywords
server
user
service
streaming server
local node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310170399.3A
Other languages
Chinese (zh)
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 Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201310170399.3A priority Critical patent/CN104144188A/en
Publication of CN104144188A publication Critical patent/CN104144188A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a service dispatching method and system and a local service dispatching server. The method comprises the steps that the service dispatching server of a local node receives a dispatching service request; whether the local node stores the request content or not is judged; if the local node stores the request content, whether loads of streaming servers, in activated states, in the local node reach a set threshold value or not is judged; if the loads reach the threshold value, one streaming server in the dormant state is awakened; the adopted storage mode is judged; if external storage is adopted, the service request is dispatched to the streaming server with the largest load smaller than the set threshold value; if internal storage is adopted, the service request is dispatched to the streaming server storing the request content, wherein the load of the streaming server is smaller than the set threshold value and is the largest; whether the streaming servers, in the activated states, in the local node meet sleeping conditions or not is judged; if yes, sleeping instructions are sent to the corresponding streaming servers. The utilization rate of the streaming servers in the local node is improved.

Description

Service scheduling method, system and local service dispatch server
Technical field
The disclosure relates to data communication field, especially, relates to a kind of service scheduling method, system and local service dispatch server.
Background technology
CDN(Content Delivery Network, content distributing network) be by increase the network architecture that one deck is new on existing IP bearer network, contents such as video, audio frequency, Web webpage is sent to the network " edge " that approaches user most, make user can obtain required content nearby, thereby optimized network traffic conditions, the response speed of raising user access websites.CDN can solve the slow-footed problem of user's access response because backbone bandwidth is little, user's visit capacity is large, the unequal reason of network point distribution causes.
The planning and designing of CDN are to meet that online user's concurrent request is basic demand the highest time, otherwise if concurrent number surpasses design capacity, all users' access quality will can not be guaranteed, and CDN also can cause paralysis owing to exceeding its service ability.Because user's access often concentrates on evening, so most of ability of CDN is idle at ordinary times, and in order to meet the surge of the concurrent flow that some burst focus brings, CDN also must increase the redundant ability of part when planning.
Fig. 1 is concurrent user's curve synoptic diagram that user accesses domestic certain operator's business.
By Fig. 1, can be seen, user's concurrent request only 20~22 higher, this just means in other times, the utilance of CDN is all very low.
CDN is comprised of a large amount of storages and server, and low utilance means a large amount of wastings of resources, has consumed a large amount of electric power and air-conditioning etc.
Summary of the invention
The disclosure has proposed new technical scheme in view of at least one in above problem.
The disclosure provides a kind of service scheduling method aspect one, and it has improved the utilance of streaming server in local node.
The disclosure provides a kind of local service dispatch server on the other hand at it, and it has improved the utilance of streaming server in local node.
The disclosure provides a kind of service dispatch system at it aspect another, and it has improved the utilance of streaming server in local node.
According to the disclosure, a kind of service scheduling method is provided, comprising:
The service request that the user of the service dispatch server reception superior node scheduling of local node sends;
Judge whether local node has stored the content that user asks;
As stored the content that user asked, judge whether the load of each streaming server in state of activation in local node all reaches setting threshold;
If all reach setting threshold, in this node, wake a streaming server in resting state up;
The storage mode that judgement local node is used;
As local node is used external storage, the service request of user being sent is dispatched to load and is less than setting threshold and the highest streaming server of load;
As local node is used built-in storage, the service request of user being sent be dispatched to store request content to some extent, load is less than setting threshold and the highest streaming server of load;
Judge in local node, whether each streaming server in state of activation meets dormancy condition, as met, to respective streams server, sends dormancy instruction.
In embodiment more of the present disclosure, the method also comprises:
Global service dispatch server receives the service request that user sends, and according to user's affiliated area, service request is dispatched to the Area Node under user;
The regional service dispatch server of the Area Node under user is dispatched to service request according to user's affiliated area the service dispatch server of corresponding local node.
In embodiment more of the present disclosure, when storage mode is built-in storage, as need wake the streaming server in local node up, preferential wake-up packet is containing the streaming server of user institute request content.
In embodiment more of the present disclosure, the corresponding type of service of content of asking according to user, dynamically adjusts the setting threshold of each streaming server in local node.
In embodiment more of the present disclosure, judge whether each streaming server in state of activation meets dormancy condition in local node, as met, step from dormancy instruction to respective streams server that send is specially:
When storage mode is external storage, when a streaming server in state of activation without service-user and local node in other streaming servers in state of activation also possess in the situation of redundancy services ability, to this, in state of activation and without the streaming server of service-user, send dormancy instruction.
In embodiment more of the present disclosure, judge whether each streaming server in state of activation meets dormancy condition in local node, as met, step from dormancy instruction to respective streams server that send is specially:
When storage mode is built-in storage, when if a streaming server in state of activation is more than or equal in the situation of setting storage threshold without service-user and the residue storage of revising local node after this streaming server, to this, in state of activation and without the streaming server of service-user, send dormancy instruction.
According to the disclosure, a kind of local service dispatch server is also provided, comprising:
Service request receiving element, the service request of sending for receiving the user of superior node scheduling;
Content storage judging unit, for judging whether local node has stored the content that user asks;
Server load judging unit, for as stored the content that user asked, judges whether the load of each streaming server in state of activation in local node all reaches setting threshold;
Server wakeup unit, if for all reaching setting threshold, wake a streaming server in resting state up in this node;
Storage mode judging unit, for the storage mode that judges that local node is used;
External storage processing unit, is less than setting threshold and the highest streaming server of load for use external storage, the service request of user being sent to be dispatched to load as local node;
Built-in storage processing unit, for as local node, use built-in storage, the service request of user being sent to be dispatched to store request content to some extent, load is less than setting threshold and the highest streaming server of load;
Dormancy instruction sending unit, for judging in local node, whether each streaming server in state of activation meets dormancy condition, as met, sends dormancy instruction to respective streams server.
In embodiment more of the present disclosure, when storage mode is built-in storage, as need wake the streaming server in local node up, the preferential wake-up packet of server wakeup unit is containing the streaming server of user institute request content.
In embodiment more of the present disclosure, this local service dispatch server also comprises:
Threshold adjustment unit, for the corresponding type of service of content of asking according to user, dynamically adjusts the setting threshold of each streaming server in local node.
In embodiment more of the present disclosure, when storage mode is external storage, if one of the dormancy instruction sending unit judgement streaming server in state of activation also possesses redundancy services ability without other streaming servers in state of activation in service-user and local node, to this, in state of activation and without the streaming server of service-user, send dormancy instruction.
In embodiment more of the present disclosure, when storage mode is built-in storage, if if one of the dormancy instruction sending unit judgement streaming server in state of activation without service-user and after revising this streaming server the residue storage of local node be more than or equal to setting storage threshold, to this, in state of activation and without the streaming server of service-user, send dormancy instruction.
According to the disclosure, a kind of service dispatch system is also provided, comprise the local service dispatch server of global service dispatch server, regional service dispatch server, streaming server and previous embodiment.
In embodiment more of the present disclosure, global service dispatch server receives the service request that user sends, and according to user's affiliated area, service request is dispatched to the Area Node under user; The regional service dispatch server of the Area Node under user is dispatched to service request according to user's affiliated area the local service dispatch server of corresponding local node.
In technical scheme of the present disclosure, because preferentially user's service request is dispatched to load is less than setting threshold and the highest streaming server of load, therefore, can so that the less streaming server of some load the free time gets off gradually, now, the service dispatch server of local node can send dormancy instruction to these idle server, to improve the utilance of streaming server, reduces the energy consumption of streaming server and reduces operation cost.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide further understanding of the disclosure, forms the application's a part.In the accompanying drawings:
Fig. 1 is the structural representation of the service dispatch system of an embodiment of the disclosure.
Fig. 2 is disclosure CDN logical architecture schematic diagram.
Fig. 3 is the structural representation of the local service dispatch server of an embodiment of the disclosure.
Fig. 4 is the structural representation of the local service dispatch server of another embodiment of the disclosure.
Fig. 5 is the schematic flow sheet of the service scheduling method of an embodiment of the disclosure.
Fig. 6 is the schematic flow sheet of the service scheduling method of another embodiment of the disclosure.
Fig. 7 is the schematic flow sheet of the service scheduling method of the another embodiment of the disclosure.
Embodiment
The disclosure is described below with reference to accompanying drawings.Be noted that following being described in is only explanatory and exemplary in essence, never as any restriction to the disclosure and application or use.Unless stated otherwise, otherwise the parts of setting forth in an embodiment and the positioned opposite of step and numeral expression formula and numerical value do not limit the scope of the present disclosure.In addition, technology well known by persons skilled in the art, method and apparatus may not be discussed in detail, but are intended in appropriate circumstances become a part for specification.
The following embodiment of the disclosure is realized the real-time dormancy of hardware resource of CDN and is waken up by the resource regulating method of science, to reach the object of energy-saving and emission-reduction.
Fig. 1 is the structural representation of the service dispatch system of an embodiment of the disclosure.
As shown in Figure 1, the service dispatch system 10 in this embodiment can comprise global service dispatch server 102, regional service dispatch server 104, streaming server 106 and local service dispatch server 108.
Wherein, global service dispatch server 102 receives the service request that users send, and according to user's affiliated area, service request is dispatched to the Area Node under user; The regional service dispatch server 104 of the Area Node under user is dispatched to service request according to user's affiliated area the local service dispatch server 108 of corresponding local node, and the local streaming server 106 of local service dispatch server 108 recycling is realized the service request that user sends.
Fig. 2 is disclosure CDN logical architecture schematic diagram.
As shown in Figure 2, typical CDN can comprise:
Content center: it is for storing the full content of CDN;
Content caching: it is for buffer memory partial content, and content caching divides by hardware designs, can be divided into again external buffer memory and built-in buffer memory; Wherein, external buffer memory is shared the content of its storage by streaming server group, and built-in buffer memory is just used by the streaming server of itself;
Content Management: can be divided into the management of overall Content Management and area contents, be in charge of the content in its region within the jurisdiction, can include but not limited to increase newly, the function such as deletion, metadata management;
Resource management: can be divided into global resource management, region resource management and local resource management, be in charge of the server resource utilization of its region within the jurisdiction;
Service dispatch: can be divided into global service scheduling, regional service scheduling and local service scheduling, be responsible for user's service request to be dispatched on suitable server;
According to user's affiliated area, user's service access request is scheduled for corresponding regional service dispatch server through global service dispatch server, by regional service dispatch server, schedule it to corresponding local service dispatch server again, local service dispatch server last again user's request scheduling to suitable streaming server.
Fig. 3 is the structural representation of the local service dispatch server of an embodiment of the disclosure.
As shown in Figure 3, the local service dispatch server 30 in this embodiment can comprise service request receiving element 302, content storage judging unit 304, server load judging unit 306, server wakeup unit 308, storage mode judging unit 310, external storage processing unit 312, built-in storage processing unit 314 and dormancy instruction sending unit 316.Wherein,
Service request receiving element 302, the service request of sending for receiving the user of superior node scheduling;
Content storage judging unit 304, for judging whether local node has stored the content that user asks;
Server load judging unit 306, for as stored the content that user asked, judges whether the load of each streaming server in state of activation in local node all reaches setting threshold;
Server wakeup unit 308, if for all reaching setting threshold, show that each streaming server in state of activation can not receive new service request within the scope of nominal load again at present, therefore can in this node, wake a streaming server in resting state up, the service request of coming to receive new scheduling;
Storage mode judging unit 310, for judging the storage mode that local node is used, wherein, storage mode can comprise external storage and built-in storage, external storage is that content is to be stored in outside streaming server, and built-in storage is that content is to be stored in streaming server inside;
External storage processing unit 312, for using external storage as local node, the service request of user being sent is dispatched to load and is less than setting threshold and the highest streaming server of load, so that the less streaming server of load can enter as early as possible resting state in the situation that user is less;
Built-in storage processing unit 314, for using built-in storage as local node, the content of asking due to user is stored in streaming server inside, therefore the service request of user being sent be dispatched to store request content to some extent, load is less than setting threshold and the highest streaming server of load, so that the less streaming server of load can enter as early as possible resting state in the situation that user is less;
Dormancy instruction sending unit 316, for judging in local node, whether each streaming server in state of activation meets dormancy condition, as met, to respective streams server, send dormancy instruction, wherein, this dormancy condition can refer to that in certain streaming server no user in state of activation and local node, other streaming servers also have redundancy services ability, shows that the streaming server in state of activation and no user can enter resting state.
This embodiment is because preferentially user's service request is dispatched to load is less than setting threshold and the highest streaming server of load, therefore, can so that the less streaming server of some load the free time gets off gradually, now, the service dispatch server of local node can send dormancy instruction to these idle server, to improve the utilance of streaming server, reduce the energy consumption of streaming server and reduce operation cost.
Wherein, when storage mode is built-in storage, the content of asking due to user is stored in streaming server inside, therefore as waken the streaming server in local node up, server wakeup unit needs preferential wake-up packet containing the streaming server of user institute request content, and the object of service is provided to be reached for user.When storage mode is external storage, the content of asking due to user is stored in streaming server outside, and therefore, as waken the streaming server in local node up, server wakeup unit can be waken arbitrary the streaming server in resting state up.
Fig. 4 is the structural representation of the local service dispatch server of another embodiment of the disclosure.
As shown in Figure 4, compare with the embodiment in Fig. 3, the local service dispatch server 40 in this embodiment can also comprise:
Threshold adjustment unit 402, for the corresponding type of service of content of asking according to user, dynamically adjusts the setting threshold of each streaming server in local node.
For example, if accepted a VIP user's dispatch request in local node, because bandwidth resources are limited, in order to guarantee to provide quality services to this user, can be for the less load threshold of streaming server setting of service being provided to VIP user, so that the user on this streaming server is less.As the user on certain streaming server is common business of networking user, it can be the larger load threshold of this streaming server setting.
Further, when storage mode is external storage, if one of the dormancy instruction sending unit judgement streaming server in state of activation also possesses redundancy services ability without other streaming servers in state of activation in service-user and local node, to this, in state of activation and without the streaming server of service-user, send dormancy instruction.
Further, when storage mode is built-in storage, if if one of the dormancy instruction sending unit judgement streaming server in state of activation without service-user and after revising this streaming server the residue storage of local node be more than or equal to setting storage threshold, to this, in state of activation and without the streaming server of service-user, send dormancy instruction, the residue storage of considering local node when sending dormancy instruction is due to when adopting built-in storage, if streaming server is in resting state, be stored in the content of this streaming server inside also by unavailable, therefore, in the situation that being more than or equal to, the storage of the residue of local node sets storage threshold, just can allow the streaming server of no user enter resting state.
The following embodiment of the disclosure can be executed in above-mentioned local service dispatch server or service dispatch system.
Fig. 5 is the schematic flow sheet of the service scheduling method of an embodiment of the disclosure.
As shown in Figure 5, this embodiment can comprise the following steps:
S502, the service request that the user of the service dispatch server reception superior node scheduling of local node sends;
S504, judges whether local node has stored the content that user asks;
S506, as stored the content that user asked, judge whether the load of each streaming server in state of activation in local node all reaches setting threshold;
S508 if all reach setting threshold, wakes a streaming server in resting state up in this node;
S510, the storage mode that judgement local node is used;
S512, as local node is used external storage, the service request of user being sent is dispatched to load and is less than setting threshold and the highest streaming server of load;
S514, as local node is used built-in storage, the service request of user being sent be dispatched to store request content to some extent, load is less than setting threshold and the highest streaming server of load;
S516, judges in local node, whether each streaming server in state of activation meets dormancy condition, as met, to respective streams server, sends dormancy instruction.
This embodiment is because preferentially user's service request is dispatched to load is less than setting threshold and the highest streaming server of load, therefore, can so that the less streaming server of some load the free time gets off gradually, now, the service dispatch server of local node can send dormancy instruction to these idle server, to improve the utilance of streaming server, reduce the energy consumption of streaming server and reduce operation cost.
Before step S502, global service dispatch server receives the service request that user sends, and according to user's affiliated area, service request is dispatched to the Area Node under user;
The regional service dispatch server of the Area Node under user is dispatched to service request according to user's affiliated area the service dispatch server of corresponding local node.
Further, when storage mode is built-in storage, as need wake the streaming server in local node up, preferential wake-up packet is containing the streaming server of user institute request content.
In addition, the corresponding type of service of content that can also ask according to user, dynamically adjusts the setting threshold of each streaming server in local node.
In step S516, judge whether each streaming server in state of activation meets dormancy condition in local node, as met, step from dormancy instruction to respective streams server that send can be specially:
When storage mode is external storage, when a streaming server in state of activation without service-user and local node in other streaming servers in state of activation also possess in the situation of redundancy services ability, to this, in state of activation and without the streaming server of service-user, send dormancy instruction.
In step S516, judge whether each streaming server in state of activation meets dormancy condition in local node, as met, step from dormancy instruction to respective streams server that send can also be specially:
When storage mode is built-in storage, when if a streaming server in state of activation is more than or equal in the situation of setting storage threshold without service-user and the residue storage of revising local node after this streaming server, to this, in state of activation and without the streaming server of service-user, send dormancy instruction.
For example, if if certain streaming server of local service dispatch server judgement dormancy, the storage of the streaming server of residue in state of activation, higher than 20% of superior node storage, could be sent dormancy instruction to this streaming server.
Because local resource management server is in charge of local streaming media server, on it, there is total memory space of every streaming media server, use the information such as space, number of users, content number and content ID.Local resource management server and streaming media server phase mutual information interactive interface, the state of streaming media server can regularly report local resource management server.The memory capacity that local resource management server respectively activates streaming server according to the memory capacity of superior node and local node can calculate the storage percentage of the local streaming server in state of activation.Based on this percentage and storage threshold, can judge whether can send to the streaming server of no user dormancy instruction.
After streaming server dormancy, the content resource of this streaming server of local resource record management server, when needs wake streaming server up, preferentially wakes the streaming server mating with user institute request resource up.
When local node is used external storage mode, user's service of the prior art is comparatively average by streaming server group, to provide service, even in the situation that system load is less, all streaming servers are all in normal operation, and utilance is lower.
The disclosure, by increasing on local resource management server streaming server dormancy and the function waken up, increases the management of the streaming server state that it is managed, and adjusts user's scheduling flow to improve the utilance of server resource and to reduce energy consumption.
Default in the situation that, the streaming server of local node is to be all operated under the threshold values of a certain setting, and when all streaming server abilities in state of activation approach threshold values, local resource management server need to wake new server up.
It is to be noted, concrete threshold value can be by different situations adjustment, for example, if some are such as the IPTV(Internet Protocol Television of charge, internet television) the contour reliable service of high definition program request, the threshold values of streaming server can be established lowlyer; If business such as Internet PC videos, the threshold values of streaming server can be established highlyer.
Fig. 6 is the schematic flow sheet of the service scheduling method of another embodiment of the disclosure.
As shown in Figure 6, when local node is used external storage mode, this embodiment can comprise the following steps:
S602, after receiving user's service request, global service dispatch server arrives corresponding Area Node according to user's affiliated area user's request scheduling;
S604, the regional service dispatch server in Area Node according to user's affiliated area user's request scheduling to local node;
S606, the local content that whether has user to ask of local service dispatch server judgement, as do not have, turn S608, otherwise, S610 turned;
S608, the content of asking to superior node download user;
S610, is dispatched to load user and is less than threshold value and the highest streaming server of load;
S612, judges whether the load of each streaming server in server zone all reaches the threshold value of himself;
S614, if so, wakes a streaming server in resting state up, otherwise, return to S602.
Wherein, the method for specifically waking streaming server up is according to different hardware and difference, can use that webmaster wakes up, the built-in calling function of network that wakes software up and utilize server.
Webmaster wakes up and refers to the calling function of network that utilizes server by webmastering software, to given server, sends and wakes instruction up.
The built-in software that wakes up refers to that local resource management server is sent and wakes instruction up to given server by built-in software.
Calling function of network also can be called WOL power up function, is waken up confidential use ATX power supply, and mainboard will provide the support of WOL software and hardware.Concrete grammar is as follows: whether normally confirm to be waken up machine network, close after the machine of being waken up, the MAC Address that sends the machine that is waken up by waking machine use network card configuration instrument up can be waken start up.
Further, in the situation that user's access gradually reduces, certain station server no user and other servers also have certain redundancy services ability, and local resource server sends dormancy instruction, makes this streaming server enter resting state.
When local node is used built-in storage mode, because content is stored with streaming media service on same server hardware, when streaming server dormancy, the content of this server stores is also by unavailable, can reduce the cache contents of this node simultaneously, so server that in this case, can dormancy is limited to the planning of memory space.
Because the effect of CDN is by local cache, user's access can be hit at Edge Server, thereby reduce the traffic requirement to backbone network.Memory space is larger, and cacheable content is larger, thereby user's hit rate is higher.After server dormancy, memory space reduces, thereby hit rate also reduces, the traffic requirement of backbone network is just increased, so when CDN node is planned, the minimized storage space requirement that can stipulate certain node.
At present, the storage of local node should at least reach 20% of its superior node, and this is to find 80% user and access 20% content simultaneously due to statistics.In actual construction, the built-in storage of local node is because cost is low, so configuration generally all can reach the more than 50% of its superior node, to flexible resource, scheduling provides precondition for this.
In the scheme of built-in storage, service dispatch needs preferentially service request to be dispatched to substantial streaming server, if many streaming servers are simultaneously meaningful, should be dispatched to the higher server of load under safe threshold values, to improve server utilization, loading on after vanishing of the server that final load is low, can enter resting state.
Fig. 7 is the schematic flow sheet of the service scheduling method of the another embodiment of the disclosure.
As shown in Figure 7, when local node is used built-in storage mode, this embodiment can comprise the following steps:
S702, after receiving user's service request, global service dispatch server arrives corresponding Area Node according to user's affiliated area user's request scheduling;
S704, the regional service dispatch server in Area Node according to user's affiliated area user's request scheduling to local node;
S706, the local content that whether has user to ask of local service dispatch server judgement, as do not have, turn S708, otherwise, S710 turned;
S708, the content of asking to superior node download user;
S710, user be dispatched to user institute request content, load is less than threshold value and the highest streaming server of load;
S712, judges whether the load of each streaming server in server zone all reaches the threshold value of himself;
S714, if so, wakes a streaming server in resting state up, otherwise, return to S702.
One of ordinary skill in the art will appreciate that, whole and the part steps that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computing equipment read/write memory medium, this program is when carrying out, execution comprises the step of said method embodiment, and aforesaid storage medium can comprise the various media that can be program code stored such as ROM, RAM, magnetic disc and CD.
In this specification, each embodiment all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that part identical with similar between each embodiment can cross-references.For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part can be referring to the explanation of embodiment of the method part.
Disclosure above-described embodiment is designed to CDN the system that elasticity can expand by the resource regulating method of science.When user concurrent access amount is low, by user being dispatched on some concentrated streaming servers, and other streaming server dormancy, after user's visit capacity increases, then the mode of gradually streaming server of dormancy being waken up is efficiently utilized resource, significantly reduces power consumption, is reduced operation cost.
Disclosure embodiment is for meeting the user concurrent of burst, and when planning and designing, the configurable higher service ability of local node and capacity, when concrete application, by flexible scheduling method, adjust service ability in real time.
Although described the disclosure with reference to exemplary embodiment, should be understood that the disclosure is not limited to above-mentioned exemplary embodiment.It will be obvious to those skilled in the art that and can under the condition that does not deviate from the scope of the present disclosure and spirit, revise above-mentioned exemplary embodiment.The scope of appended claim should be endowed the widest explanation, with the 26S Proteasome Structure and Function that comprises all such modifications and be equal to.

Claims (13)

1. a service scheduling method, is characterized in that, comprising:
The service request that the user of the service dispatch server reception superior node scheduling of local node sends;
Judge whether local node has stored the content that user asks;
As stored the content that user asked, judge whether the load of each streaming server in state of activation in local node all reaches setting threshold;
If all reach setting threshold, in this node, wake a streaming server in resting state up;
The storage mode that judgement local node is used;
As local node is used external storage, the service request of user being sent is dispatched to load and is less than setting threshold and the highest streaming server of load;
As local node is used built-in storage, the service request of user being sent be dispatched to store request content to some extent, load is less than setting threshold and the highest streaming server of load;
Judge in local node, whether each streaming server in state of activation meets dormancy condition, as met, to respective streams server, sends dormancy instruction.
2. service scheduling method according to claim 1, is characterized in that, described method also comprises:
Global service dispatch server receives the service request that user sends, and according to user's affiliated area, described service request is dispatched to the Area Node under user;
The regional service dispatch server of the Area Node under user is dispatched to described service request according to user's affiliated area the service dispatch server of corresponding local node.
3. service scheduling method according to claim 1, is characterized in that, when storage mode is built-in storage, as need wake the streaming server in local node up, preferential wake-up packet is containing the streaming server of user institute request content.
4. service scheduling method according to claim 1, is characterized in that, the corresponding type of service of content of asking according to user is dynamically adjusted the setting threshold of each streaming server in local node.
5. service scheduling method according to claim 1, is characterized in that, describedly judges whether each streaming server in state of activation meets dormancy condition in local node, and as met, step from dormancy instruction to respective streams server that send is specially:
When storage mode is external storage, when a streaming server in state of activation without service-user and local node in other streaming servers in state of activation also possess in the situation of redundancy services ability, to this, in state of activation and without the streaming server of service-user, send dormancy instruction.
6. service scheduling method according to claim 1, is characterized in that, describedly judges whether each streaming server in state of activation meets dormancy condition in local node, and as met, step from dormancy instruction to respective streams server that send is specially:
When storage mode is built-in storage, when if a streaming server in state of activation is more than or equal in the situation of setting storage threshold without service-user and the residue storage of revising local node after this streaming server, to this, in state of activation and without the streaming server of service-user, send dormancy instruction.
7. a local service dispatch server, is characterized in that, comprising:
Service request receiving element, the service request of sending for receiving the user of superior node scheduling;
Content storage judging unit, for judging whether local node has stored the content that user asks;
Server load judging unit, for as stored the content that user asked, judges whether the load of each streaming server in state of activation in local node all reaches setting threshold;
Server wakeup unit, if for all reaching setting threshold, wake a streaming server in resting state up in this node;
Storage mode judging unit, for the storage mode that judges that local node is used;
External storage processing unit, is less than setting threshold and the highest streaming server of load for use external storage, the service request of user being sent to be dispatched to load as local node;
Built-in storage processing unit, for as local node, use built-in storage, the service request of user being sent to be dispatched to store request content to some extent, load is less than setting threshold and the highest streaming server of load;
Dormancy instruction sending unit, for judging in local node, whether each streaming server in state of activation meets dormancy condition, as met, sends dormancy instruction to respective streams server.
8. local service dispatch server according to claim 7, it is characterized in that, when storage mode is built-in storage, as need wake the streaming server in local node up, the preferential wake-up packet of described server wakeup unit is containing the streaming server of user institute request content.
9. local service dispatch server according to claim 7, is characterized in that, described local service dispatch server also comprises:
Threshold adjustment unit, for the corresponding type of service of content of asking according to user, dynamically adjusts the setting threshold of each streaming server in local node.
10. local service dispatch server according to claim 7, is characterized in that,
When storage mode is external storage, if one of the described dormancy instruction sending unit judgement streaming server in state of activation also possesses redundancy services ability without other streaming servers in state of activation in service-user and local node, to this, in state of activation and without the streaming server of service-user, send dormancy instruction.
11. local service dispatch servers according to claim 7, is characterized in that,
When storage mode is built-in storage, if if one of the described dormancy instruction sending unit judgement streaming server in state of activation without service-user and after revising this streaming server the residue storage of local node be more than or equal to setting storage threshold, to this, in state of activation and without the streaming server of service-user, send dormancy instruction.
12. 1 kinds of service dispatch systems, is characterized in that, comprise the local service dispatch server described in any one in global service dispatch server, regional service dispatch server, streaming server and claim 7 to 11.
13. service dispatch systems according to claim 12, is characterized in that, described global service dispatch server receives the service request that user sends, and according to user's affiliated area, described service request are dispatched to the Area Node under user; The regional service dispatch server of the Area Node under user is dispatched to described service request according to user's affiliated area the local service dispatch server of corresponding local node.
CN201310170399.3A 2013-05-10 2013-05-10 Service dispatching method and system and local service dispatching server Pending CN104144188A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310170399.3A CN104144188A (en) 2013-05-10 2013-05-10 Service dispatching method and system and local service dispatching server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310170399.3A CN104144188A (en) 2013-05-10 2013-05-10 Service dispatching method and system and local service dispatching server

Publications (1)

Publication Number Publication Date
CN104144188A true CN104144188A (en) 2014-11-12

Family

ID=51853256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310170399.3A Pending CN104144188A (en) 2013-05-10 2013-05-10 Service dispatching method and system and local service dispatching server

Country Status (1)

Country Link
CN (1) CN104144188A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331036A (en) * 2015-06-30 2017-01-11 联想(北京)有限公司 Server control method and device
CN106612334A (en) * 2017-01-22 2017-05-03 阔地教育科技有限公司 Server management method and system, server and regional and global scheduling centers
CN111131272A (en) * 2019-12-27 2020-05-08 广州酷狗计算机科技有限公司 Scheduling method, device and system of stream server, computing equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238423A (en) * 2010-04-21 2011-11-09 华为技术有限公司 Equipment scheduling method, device and system
CN102571880A (en) * 2010-12-27 2012-07-11 中国移动通信集团公司 Service dispatching method and system as well as service dispatching node
CN102904824A (en) * 2012-09-25 2013-01-30 中国联合网络通信集团有限公司 Service providing entity selection method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238423A (en) * 2010-04-21 2011-11-09 华为技术有限公司 Equipment scheduling method, device and system
CN102571880A (en) * 2010-12-27 2012-07-11 中国移动通信集团公司 Service dispatching method and system as well as service dispatching node
CN102904824A (en) * 2012-09-25 2013-01-30 中国联合网络通信集团有限公司 Service providing entity selection method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331036A (en) * 2015-06-30 2017-01-11 联想(北京)有限公司 Server control method and device
CN106331036B (en) * 2015-06-30 2020-05-26 联想(北京)有限公司 Server control method and device
CN106612334A (en) * 2017-01-22 2017-05-03 阔地教育科技有限公司 Server management method and system, server and regional and global scheduling centers
CN111131272A (en) * 2019-12-27 2020-05-08 广州酷狗计算机科技有限公司 Scheduling method, device and system of stream server, computing equipment and storage medium

Similar Documents

Publication Publication Date Title
US8433931B2 (en) Integrating energy budgets for power management
CN104238712B (en) Distributed power conveying
EP2399183B1 (en) Energy-aware server management
WO2018130162A1 (en) Method and device for managing and controlling cloud computing terminal and operation of cloud server
US20120198254A1 (en) Capping power consumption in a data storage system
US8726053B2 (en) Method for processing a request by selecting an appropriate computer node in a plurality of computer nodes in a storage cluster based on a calculated bid value in each computer node
KR100898198B1 (en) Method and apparatus for adjusting a duty cycle to save power in a computing system
CN102955549B (en) The method for managing power supply of a kind of multi-core CPU, system and CPU
CN107111553B (en) System and method for providing dynamic caching extension in more cluster heterogeneous processor frameworks
US9778871B1 (en) Power-reducing memory subsystem having a system cache and local resource management
US10862992B2 (en) Resource cache management method and system and apparatus
CN103748529B (en) The method produced for the heat energy reduced in portable computing and system
CN101479686A (en) A device and a method for managing power consumption of a plurality of data processing units
CN111625080B (en) Server energy saving method and device, electronic equipment and storage medium
CN102143563A (en) Control method, equipment and systems of short message center cluster
CN104144188A (en) Service dispatching method and system and local service dispatching server
CN112600761A (en) Resource allocation method, device and storage medium
US20140141793A1 (en) System and method to manage qos in a bandwidth-constrained network (cellular) by sending tower-initiated policy changes to individual phones
JP5150598B2 (en) Network management device
CN105320244A (en) Input-output device management using dynamic clock frequency
Huang et al. An energy-efficient middleware for supporting multimedia services in mobile grid environments
CN114003238B (en) Container deployment method, device, equipment and storage medium based on transcoding card
Noureddine et al. A review of middleware approaches for energy management in distributed environments
Chen et al. A downlink and uplink alignment scheme for power saving in IEEE 802.16 protocol
CN104133782A (en) Adaptive management method and device of digital monitoring platform memory

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20141112

RJ01 Rejection of invention patent application after publication