CN107205030A - Server resource dispatching method and system - Google Patents

Server resource dispatching method and system Download PDF

Info

Publication number
CN107205030A
CN107205030A CN201710397510.0A CN201710397510A CN107205030A CN 107205030 A CN107205030 A CN 107205030A CN 201710397510 A CN201710397510 A CN 201710397510A CN 107205030 A CN107205030 A CN 107205030A
Authority
CN
China
Prior art keywords
server
resource
resource server
group
television
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710397510.0A
Other languages
Chinese (zh)
Other versions
CN107205030B (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.)
Chengdu Boshi Mita Culture Communication Co Ltd
Original Assignee
Chengdu Boshi Mita Culture Communication 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 Chengdu Boshi Mita Culture Communication Co Ltd filed Critical Chengdu Boshi Mita Culture Communication Co Ltd
Priority to CN201710397510.0A priority Critical patent/CN107205030B/en
Publication of CN107205030A publication Critical patent/CN107205030A/en
Application granted granted Critical
Publication of CN107205030B publication Critical patent/CN107205030B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/226Characteristics of the server or Internal components of the server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2405Monitoring of the internal components or processes of the server, e.g. server load

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention provides a kind of server resource dispatching method and system.Methods described is applied to the control server group communicated to connect respectively with multiple Resource Server groups and multiple regional multiple televisions.Wherein, each Resource Server group correspondence distributes to a regional multiple televisions, and each Resource Server group includes multiple Resource Servers, and methods described includes:The average service rate of each Resource Server group is obtained, and the average service rate of each Resource Server group is compared with a default utilization rate threshold value, comparative result is obtained.Distribution is scheduled to Resource Server according to preset schedule strategy based on comparative result.Rational dispatching distribution is carried out to Resource Server thereby, it is possible to the utilization rate according to Resource Server, the overall utilization rate of Resource Server is improved, alleviates the operating pressure of Resource Server, user experience is lifted.

Description

Server resource dispatching method and system
Technical field
The present invention relates to TV and communication technical field, in particular to a kind of server resource dispatching method and system.
Background technology
In now current digital television system, the multiple televisions correspondence distribution certain amount that can be included for each area Resource Server, television to control server initiate resource request when, control server generally using pass through IP address Resource Server is distributed to television by the mode being allocated, that is, is controlled server according to the corresponding relation pre-set, looked into The IP address for the television for initiating request is seen, corresponding Resource Server is distributed by the IP address of television.
When being allocated using existing aforesaid way to Resource Server, the overall utilization rate of Resource Server is relatively low. Also, when substantial amounts of television, which occurs, in some area initiates resource request, the corresponding Resource Server in this area can be increased Pressure, reduces the operating efficiency of Resource Server, so as to influence the usage experience of user.
The content of the invention
In order to overcome above-mentioned deficiency of the prior art, the present invention provides a kind of server resource dispatching method and system, It can carry out rational dispatching distribution according to the utilization rate of Resource Server to Resource Server, improve the whole of Resource Server Body utilization rate, alleviates the operating pressure of Resource Server, lifts user experience.
First purpose of present pre-ferred embodiments is to provide a kind of server resource dispatching method, methods described application In the control server group communicated to connect respectively with multiple Resource Server groups and multiple regional multiple televisions, wherein, often Individual Resource Server group correspondence distributes to a regional multiple televisions, and each Resource Server group includes multiple resource services Device, methods described includes:
Obtain the average service rate of each Resource Server group, and by the average service rate and one of each Resource Server group Default utilization rate threshold value is compared, and obtains comparative result;
Distribution is scheduled to Resource Server according to preset schedule strategy based on comparative result.
Second purpose of present pre-ferred embodiments is to provide a kind of server resource scheduling system, the system bag Include:Multiple Resource Server groups, multiple regional multiple televisions and respectively with the multiple Resource Server group and multiple The control server group of multiple televisions communication connection in area, each Resource Server group correspondence distribute to one it is regional many Individual television, each Resource Server group includes multiple Resource Servers, wherein,
The control server group, the average service rate for obtaining each Resource Server group, and each resource is taken The average service rate for device group of being engaged in is compared with a default utilization rate threshold value, obtains comparative result;
The control server group, is additionally operable to adjust Resource Server according to preset schedule strategy based on comparative result Degree distribution.
In terms of existing technologies, the invention has the advantages that:
The present invention provides a kind of server resource dispatching method and system.Methods described is applied to take with multiple resources respectively Device group of being engaged in and the control server group of multiple regional multiple televisions communication connections.Wherein, each Resource Server group correspondence A regional multiple televisions are distributed to, each Resource Server group includes multiple Resource Servers, and methods described includes:Obtain The average service rate of each Resource Server group is obtained, and the average service rate of each Resource Server group is preset into utilization rate with one Threshold value is compared, and obtains comparative result.Resource Server is scheduled point according to preset schedule strategy based on comparative result Match somebody with somebody.Rational dispatching distribution is carried out to Resource Server thereby, it is possible to the utilization rate according to Resource Server, resource service is improved The overall utilization rate of device, alleviates the operating pressure of Resource Server, lifts user experience.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be attached to what is used required in embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore is not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is the block diagram that the server resource that present pre-ferred embodiments are provided dispatches system.
Fig. 2 is the block diagram for the control server group that present pre-ferred embodiments are provided.
Fig. 3 is the block diagram of the dispatch server shown in Fig. 2 that present pre-ferred embodiments are provided.
Fig. 4 is the block diagram of the statistical server shown in Fig. 2 that present pre-ferred embodiments are provided.
Fig. 5 is one of step flow chart of server resource dispatching method that present pre-ferred embodiments are provided.
Fig. 6 is the sub-step flow chart of the step S120 shown in Fig. 5 that the present invention is provided.
Fig. 7 is the sub-step flow chart of the step S130 shown in Fig. 5 that the present invention is provided.
Fig. 8 is the two of the step flow chart for the server resource dispatching method that present pre-ferred embodiments are provided.
Icon:10- server resources dispatch system;100- controls server group;110- dispatch servers;112- first is deposited Reservoir;114- first processors;116- first network modules;120- statistical servers;122- second memories;At 124- second Manage device;The mixed-media network modules mixed-medias of 126- second;200- Resource Server groups;210- Resource Servers;300- televisions.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Generally herein The component of the embodiment of the present invention described and illustrated in place's accompanying drawing can be arranged and designed with a variety of configurations.Therefore, The detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit the model of claimed invention below Enclose, but be merely representative of the selected embodiment of the present invention.Based on the embodiment in the present invention, those of ordinary skill in the art are not having There is the every other embodiment made and obtained under the premise of creative work, belong to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it further need not be defined and explained in subsequent accompanying drawing.Meanwhile, the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
The present invention provides a kind of server resource scheduling system 10.Fig. 1 is refer to, Fig. 1 is that present pre-ferred embodiments are carried The server resource of confession dispatches the block diagram of system 10.The server resource scheduling system 10 includes:Multiple resource clothes Business device group 200, multiple regional multiple televisions 300 and control server group 100, each Resource Server group 200 includes many Individual Resource Server 210.The control server group 100 respectively with the multiple Resource Server group 200 and multiple regional Multiple televisions 300 are communicated to connect.
In the present embodiment, each correspondence of Resource Server group 200 distributes to a regional multiple televisions 300.Institute Control server group 100 is stated by carrying out rational dispatching distribution to multiple Resource Server groups 200, it is multiple regional to meet The resource requirement of multiple televisions 300, improves the overall utilization rate of Resource Server 210, lifts user experience.
In the present embodiment, the multiple area can be the multiple regions divided based on geographical position, such as, Chengdu Area, In Mian-yang Area, Nanchong Prefecture etc..One regional multiple television 300 refers to that such as it is multiple that In Chengdu includes Television 300, i.e., address-partitioned, In Chengdu belonging to the multiple television 300.
Fig. 2 is refer to, Fig. 2 is the block diagram for the control server group 100 that present pre-ferred embodiments are provided.It is described Control server group 100 includes being in communication with each other the dispatch server 110 and statistical server 120 of connection.The statistical server 120 are used to counting the data message of acquisition, calculate etc. and handle, such as, can obtain television 300 and/or resource service The utilization rate of device group 200, and utilization rate is counted, calculated.The dispatch server 110 is used for according to the statistical fractals The result that device 120 calculated data message, counted is scheduled distribution to Resource Server group 200.
Fig. 3 is refer to, Fig. 3 is the square frame signal of the dispatch server 110 shown in Fig. 2 that present pre-ferred embodiments are provided Figure.The dispatch server 110 includes first memory 112, first processor 114 and first network module 116.
The first memory 112, first processor 114 and first network module 116 are each other directly or indirectly It is electrically connected with, to realize the transmission or interaction of data.For example, these elements can pass through one or more communication bus each other Or signal wire is realized and is electrically connected with.The first processor 114 is stored in the software program in first memory 112 by operation And module, so as to perform various function application and data processing.
In the present embodiment, the first memory 112 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..Wherein, first memory 112 is used for storage program, and the first processor 114 exists Receive after execute instruction, perform described program.Further, the software program and module in above-mentioned first memory 112 Operating system is may also include, it may include various for management system task (such as memory management, storage device control, power supply Management etc.) component software and/or driving, and can be in communication with each other with various hardware or component software, so as to provide other software The running environment of component.
In the present embodiment, the first processor 114 can be a kind of IC chip, the processing energy with signal Power.Above-mentioned first processor 114 can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc..Can also be digital signal processor (DSP), it is special Integrated circuit (ASIC), field programmable gate array (FPGA) or other PLDs, discrete gate or transistor Logical device, discrete hardware components.It can realize or perform disclosed each method, step and the logic in the embodiment of the present invention Block diagram.General processor can be microprocessor or the processor can also be any conventional processor etc..
First network module 116 is used to set up dispatch server 110 and statistical server 120, resource service by network Communication connection between device 210 and television 300, realizes the transmission operation of network signal and data.
It is appreciated that the structure described in Fig. 3 be only signal, dispatch server 110 may also include it is more more than shown in Fig. 3 or The less component of person, or with the configuration different from shown in Fig. 3.Each component shown in Fig. 3 can using hardware, software or It, which is combined, realizes.
Fig. 4 is refer to, Fig. 4 is the square frame signal of the statistical server 120 shown in Fig. 2 that present pre-ferred embodiments are provided Figure.The statistical server 120 includes second memory 122, the mixed-media network modules mixed-media 126 of second processor 124 and second.
Wherein, the second memory 122, the mixed-media network modules mixed-media 126 of second processor 124 and second are deposited with first in Fig. 3 The hardware configuration of reservoir 112, first processor 114 and first network module 116 is identical, just no longer introduces one by one herein.
Refer to Fig. 5, Fig. 5 be the server resource dispatching method that present pre-ferred embodiments are provided step flow chart it One.Methods described is applied to what is communicated to connect respectively with multiple Resource Server groups 200 and multiple regional multiple televisions 300 Server group 100 is controlled, wherein, each correspondence of Resource Server group 200 distributes to a regional multiple televisions 300, often Individual Resource Server group 200 includes multiple Resource Servers 210.The idiographic flow of server resource dispatching method is carried out below Elaborate.
Step S120, obtains the average service rate of each Resource Server group 200, and by each Resource Server group 200 Average service rate be compared with a default utilization rate threshold value, obtain comparative result.
Fig. 6 is refer to, Fig. 6 is the sub-step flow chart of the step S120 shown in Fig. 5 that the present invention is provided.The step S120 includes:Sub-step S121, sub-step S122, sub-step S123 and sub-step S124.
Sub-step S121, statistical server 120 obtains each Resource Server 210 in the Resource Server group 200 Utilization rate.
In the present embodiment, it is provided with each Resource Server 210 for the use to the Resource Server 210 The first detecting element that rate is detected, first detecting element can be the hardware devices such as detector, probe;Described first Detecting element can also be operate in the Resource Server 210 obtaining the software module of utilization rate.
In the present embodiment, the utilization rate of above-mentioned Resource Server 210 refers to:According to default computational algorithm to resource service The many aspects such as network usage, I/O (input/output) mouths utilization rate, load occupancy, the CPU usage of device 210 carry out comprehensive Close the utilization rate calculated.
Sub-step S122, the utilization rate of the statistical server 120 based on acquisition, which is calculated, obtains each resource service The corresponding average service rate of device group 200.
In the present embodiment, multiple resources clothes included by each Resource Server group 200 of 120 pairs of the statistical server The utilization rate of business device 210 carries out average computation, obtains the corresponding average service rate of each Resource Server group 200.
Sub-step S123, the statistical server 120 is respectively by the corresponding average service rate of each Resource Server group 200 It is compared with a default utilization rate threshold value, obtains comparative result.
In the present embodiment, the default utilization rate threshold value can be set according to the actual requirements, for example, will be described default Utilization rate threshold value is set as 80%, the statistical server 120 can by the average service rate of each Resource Server group 200 with it is pre- If utilization rate threshold value (80%) is compared, different comparative results are obtained.
The comparative result is sent to dispatch server 110 by sub-step S124, the statistical server 120, in order to The dispatch server 110 is scheduled distribution according to preset schedule strategy based on comparative result to Resource Server 210.
Step S130, distribution is scheduled based on comparative result according to preset schedule strategy to Resource Server 210.
In the present embodiment, the preset schedule strategy includes:Neighbouring scheduling strategy, service divide scheduling strategy and address Allocation schedule strategy.
Fig. 7 is refer to, Fig. 7 is the sub-step flow chart of the step S130 shown in Fig. 5 that the present invention is provided.The step S130 includes:Sub-step S131, sub-step S132, sub-step S133 and sub-step S134.
Sub-step S131, the dispatch server 110 receives the comparative result that the statistical server 120 is sent.
In the present embodiment, the dispatch server 110 is receiving the comparative result that the statistical server 120 is sent Afterwards, the dispatch server 110 can be according to the comparative result using corresponding preset schedule strategy (neighbouring scheduling strategy, clothes Business divides scheduling strategy or address allocation schedule strategy) distribution is scheduled to Resource Server 210.
Sub-step S132, when the comparative result is described to exceed in the presence of the average service rate of a Resource Server group 200 During default utilization rate threshold value, the dispatch server 110 is scheduled point using neighbouring scheduling strategy to Resource Server 210 Match somebody with somebody.
In the present embodiment, the neighbouring scheduling strategy be the dispatch server 110 call average service rate not less than The neighbouring Resource Server group of the default utilization rate threshold value is multiple televisions in the Resource Server group 200 correspondence area 300 provide service.For example, when the average service rate for the Resource Server group 200 for distributing to In Chengdu has exceeded described preset Utilization rate threshold value and distribute to the average service rate of the Resource Server group 200 of the In Mian-yang Area neighbouring with In Chengdu not less than The default utilization rate threshold value, then the dispatch server 110 can be by the Resource Server group 200 for distributing to In Mian-yang Area The television 300 that part resource server 210 is scheduled to In Chengdu is used.
Sub-step S133, when the comparative result for whole Resource Server groups 200 average service rate not less than institute When stating default utilization rate threshold value, the dispatch server 110 is adjusted using address allocation schedule strategy to Resource Server 210 Degree distribution.
In the present embodiment, the address allocation schedule strategy is that the dispatch server 110 is based on each television 300 Address information (such as, IP address) distribute corresponding Resource Server 210 for each television 300.
In the present embodiment, when the average service rate of whole Resource Server groups 200 is not less than the default utilization rate During threshold value, the dispatch server 110 can check the address information (such as, IP address) for the television 300 for initiating request, and root According to pre-defined address corresponding relation, corresponding Resource Server 210 is distributed to initiate the television 300 asked.
Sub-step S134, when the average service rate that the comparative result is whole Resource Server groups 200 is more than described During default utilization rate threshold value, the control server group 100 divides scheduling strategy using service and Resource Server 210 is adjusted Degree distribution.
In the present embodiment, operation has multiple service interfaces in each television 300, when whole Resource Server groups 200 Average service rate when exceeding the default utilization rate threshold value, whole system is in Resource Server 210 and uses nervous shape State, now, can use the service divided based on service interface division scheduling strategy be scheduled to Resource Server 210 point Match somebody with somebody.
In the present embodiment, it is provided with and is visited for the utilization rate to the television 300 in each television 300 The second detecting element surveyed, second detecting element can be the hardware devices such as detector, probe;Second detecting element It can also be operate in the television 300 obtaining the software module of utilization rate.The statistical server 120 from The second detecting element being arranged in television 300 obtains the use of each service interface run in the television 300 Rate, and it is sent to dispatch server 110.
In the present embodiment, the dispatch server 110 will be run in television 300 according to utilization rate division rule Multiple service interfaces are divided into different classes of and different for different classes of service interface predistribution according to the server criteria for classifying The Resource Server 210 of predetermined number.
In the present embodiment, the utilization rate division rule is:The dispatch server 110 judges to run on television Utilization rate scope residing for the utilization rate of each service interface in 300, making residing for the utilization rate based on the service interface Rate scope is used, the service interface is divided into corresponding classification.For example, a service interface utilization rate threshold can be preset It is worth (such as, 60%), is high scope by the definition that utilization rate is more than or equal to 60%, is low scope by the definition less than 60%, by The utilization rate of each service interface, can be compared, obtain comparative result and (use by this with the service interface utilization rate threshold value Rate be more than or equal to 60%, or utilization rate be less than 60%), according to comparative result by each service interface correspondence be divided into high scope or In the classification of low scope.
In the present embodiment, the server criteria for classifying can be set according to the actual requirements, for example, according to above-mentioned act The high scope and low scope for the utilization rate that example is divided, for the Resource Server of the service interface predistribution 70% in high scope 210, for the Resource Server 210 of the service interface predistribution 30% in low scope.Such as, a Resource Server group 200 is wrapped The sum of the Resource Server 210 included is 50, then is the quantity of Resource Server 210 of the service interface predistribution in high scope For 35, the quantity of Resource Server 210 for the service interface predistribution in low scope is 15.
In the present embodiment, the statistical server 120 is sent based on the service interface for running on the television 300 Resource request and the working condition of each Resource Server 210 are calculated according to proposed algorithm to be obtained recommending Resource Server 210, and The relevant information of the recommendation Resource Server 210 is sent to dispatch server 110.
In the present embodiment, (such as, often the statistical server 120 obtains each Resource Server 210 by predeterminated frequency Minute send once) send working condition, wherein, the working condition includes:The network state of Resource Server 210, I/O State, load condition and CPU state.The statistical server 120, which is received, runs on the money that the service interface of television 300 is sent Source is asked, and obtains resource request information, wherein, the resource request information includes entering the performance state of Resource Server 210 The solicited message that row is required, the performance state includes:It is any one in network state, I/O states, load condition and CPU state Identical or different resource request can be transmitted in item or combination, different service interface.
In the present embodiment, the resource request information and each resource clothes of the statistical server 120 based on acquisition The working condition of business device 210, the recommendation Resource Server 210 for being met service interface request is calculated according to proposed algorithm. The relevant information of the recommendation Resource Server 210 is sent to dispatch server 110 by the statistical server 120.
In the present embodiment, the dispatch server 110 receives the relevant information of the recommendation Resource Server 210, and The recommendation Resource Server 210 is distributed to the service interface for the television 300 for sending resource request, with by calling The operation for recommending the resource of Resource Server 210 to complete service interface request.
Refer to Fig. 8, Fig. 8 be the server resource dispatching method that present pre-ferred embodiments are provided step flow chart it Two.Methods described also includes:
Step S110, original allocation is carried out based on area belonging to television 300 to Resource Server 210.
In the present embodiment, the control server group 100 can be each area correspondence one resource of distribution when initial Server group 200.Wherein, the quantity of the Resource Server 210 included by each Resource Server group 200 can be according to each area The quantity of television 300 configured.For example, compared with In Mian-yang Area, the quantity of television 300 of In Chengdu is more, then divides The quantity of Resource Server 210 included by the Resource Server group 200 of dispensing In Chengdu should be than distributing to In Mian-yang Area The quantity of Resource Server 210 included by Resource Server group 200 is more.
In the present embodiment, the control server group 100 obtains the address information (such as, IP address) of television 300, Based on the address information by the Resource Server 210 in regional corresponding Resource Server group 200 belonging to the television 300 The television 300 is distributed to, to provide service for the television 300.
In summary, the present invention provides a kind of server resource dispatching method and system.Methods described be applied to respectively with Multiple Resource Server groups and the control server group of multiple regional multiple televisions communication connections.Wherein, each resource clothes Business device group correspondence distributes to a regional multiple televisions, and each Resource Server group includes multiple Resource Servers, described Method includes:Obtain the average service rate of each Resource Server group, and by the average service rate of each Resource Server group with One default utilization rate threshold value is compared, and obtains comparative result.Based on comparative result according to preset schedule strategy to resource service Device is scheduled distribution.
Rational dispatching distribution is carried out to Resource Server thereby, it is possible to the utilization rate according to Resource Server, money is improved The overall utilization rate of source server, alleviates the operating pressure of Resource Server, lifts user experience.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (10)

1. a kind of server resource dispatching method, it is characterised in that methods described be applied to respectively with multiple Resource Server groups And the control server group of multiple regional multiple televisions communication connections, wherein, each Resource Server group correspondence is distributed to One regional multiple television, each Resource Server group includes multiple Resource Servers, and methods described includes:
The average service rate of each Resource Server group is obtained, and the average service rate of each Resource Server group is preset with one Utilization rate threshold value is compared, and obtains comparative result;
Distribution is scheduled to Resource Server according to preset schedule strategy based on comparative result.
2. according to the method described in claim 1, it is characterised in that used in each being averaged for Resource Server group of acquisition Rate, and the average service rate of each Resource Server group is compared with a default utilization rate threshold value, obtain comparative result Before step, methods described also includes:
Original allocation is carried out to Resource Server based on area belonging to television;Wherein, it is described right based on area belonging to television The step of Resource Server carries out original allocation includes:
A Resource Server group is distributed for each area correspondence, wherein, the resource service included by each Resource Server group The quantity of device is configured according to the television quantity in each area;
The address information of television is obtained, based on the address information by regional corresponding Resource Server belonging to the television Resource Server in group distributes to the television, to provide service for the television.
3. method according to claim 1 or 2, it is characterised in that the control server group include dispatch server and Statistical server, the average service rate of each Resource Server group of acquisition, and each being averaged for Resource Server group is made It is compared with rate with a default utilization rate threshold value, the step of obtaining comparative result includes:
The statistical server obtains the utilization rate of each Resource Server in the Resource Server group;
The utilization rate of the statistical server based on acquisition, which is calculated, obtains that each Resource Server group is corresponding averagely to be used Rate;
The statistical server respectively enters the corresponding average service rate of each Resource Server group with a default utilization rate threshold value Row compares, and obtains comparative result;
The comparative result is sent to dispatch server by the statistical server, in order to which the dispatch server is based on comparing As a result distribution is scheduled to Resource Server according to preset schedule strategy.
4. method according to claim 3, it is characterised in that the preset schedule strategy includes:Neighbouring scheduling strategy, clothes Business divides scheduling strategy and address allocation schedule strategy, described to be based on comparative result according to preset schedule strategy to Resource Server The step of being scheduled distribution includes:
The dispatch server receives the comparative result that the statistical server is sent;
When the comparative result is exceedes the default utilization rate threshold value in the presence of the average service rate of a Resource Server group, institute Stating dispatch server uses neighbouring scheduling strategy to be scheduled distribution to Resource Server, wherein, the neighbouring scheduling strategy is The dispatch server calls average service rate to be described not less than the neighbouring Resource Server group of the default utilization rate threshold value Multiple televisions in Resource Server group correspondence area provide service;
When the average service rate that the comparative result is whole Resource Server groups is not less than the default utilization rate threshold value, The dispatch server is scheduled distribution to Resource Server using address allocation schedule strategy, wherein, the address distribution Scheduling strategy is that address information of the dispatch server based on each television is that each television distributes corresponding resource clothes Business device;
When the average service rate that the comparative result is whole Resource Server groups exceedes the default utilization rate threshold value, institute State control server group and distribution is scheduled to Resource Server using service division scheduling strategy.
5. method according to claim 4, it is characterised in that operation has multiple service interfaces in each television, described Control server group divides the step of scheduling strategy is scheduled distribution to Resource Server group using service to be included:
Statistical server obtains the utilization rate of each service interface run in the television, and is sent to dispatch service Device;
The multiple service interfaces run in television are divided into difference by the dispatch server according to utilization rate division rule Classification, and according to Resource Server of the server criteria for classifying for the different classes of different predetermined numbers of service interface predistribution;
Resource request and each resource service that the statistical server is sent based on the service interface for running on the television The working condition of device is calculated according to proposed algorithm to be obtained recommending Resource Server, and the related of recommendation Resource Server is believed Breath is sent to dispatch server;
The dispatch server receives the relevant information of the recommendation Resource Server, and the recommendation Resource Server is distributed To the service interface for the television for sending resource request, with by calling the resource of the recommendation Resource Server to complete to be somebody's turn to do The operation of service interface request.
6. method according to claim 5, it is characterised in that the statistical server is based on running on the television The resource request and the working condition of each Resource Server that service interface is sent are calculated according to proposed algorithm to be obtained recommending resource Server, and by it is described recommendation Resource Server relevant information be sent to dispatch server the step of include:
The statistical server obtains each Resource Server and presses the working condition that predeterminated frequency is sent, wherein, the work shape State includes:Network state, I/O states, load condition and the CPU state of server;
The statistical server, which is received, runs on the resource request that the service interface of television is sent, and obtains resource request letter Breath, wherein, the resource request information includes the solicited message required the performance state of Resource Server, the performance State includes:Any one or combination in network state, I/O states, load condition and CPU state, different service interfaces can Send identical or different resource request;
The working condition of the resource request information and each Resource Server of the statistical server based on acquisition, according to pushing away Recommend algorithm and calculate the recommendation server for being met service interface request;
The relevant information of the recommendation Resource Server is sent to dispatch server by the statistical server.
7. a kind of server resource dispatches system, it is characterised in that the system includes:It is multiple Resource Server groups, multiple Multiple televisions in area and respectively with the multiple Resource Server group and multiple regional multiple televisions communication connections Server group is controlled, each Resource Server group correspondence distributes to a regional multiple televisions, each Resource Server group Including multiple Resource Servers, wherein:
The control server group, the average service rate for obtaining each Resource Server group, and by each Resource Server The average service rate of group is compared with a default utilization rate threshold value, obtains comparative result;
The control server group, is additionally operable to be scheduled Resource Server point according to preset schedule strategy based on comparative result Match somebody with somebody.
8. system according to claim 7, it is characterised in that the control server group includes dispatch server and statistics Server, the control server group obtains the average service rate of each Resource Server group, and by each Resource Server group Average service rate be compared with a default utilization rate threshold value, obtaining the mode of comparative result includes:
The statistical server obtains the utilization rate of each Resource Server in the Resource Server group;
The utilization rate of the statistical server based on acquisition, which is calculated, obtains that each Resource Server group is corresponding averagely to be used Rate;
The statistical server respectively enters the corresponding average service rate of each Resource Server group with a default utilization rate threshold value Row compares, and obtains comparative result;
The comparative result is sent to dispatch server by the statistical server, in order to which the dispatch server is based on comparing As a result distribution is scheduled to Resource Server according to preset schedule strategy.
9. system according to claim 8, it is characterised in that the preset schedule strategy includes:Neighbouring scheduling strategy, clothes Business divides scheduling strategy and address allocation schedule strategy, and the control server group is based on comparative result according to preset schedule strategy The mode of distribution is scheduled to Resource Server to be included:
The dispatch server receives the comparative result that the statistical server is sent;
When the comparative result is exceedes the default utilization rate threshold value in the presence of the average service rate of a Resource Server group, institute Stating dispatch server uses neighbouring scheduling strategy to be scheduled distribution to Resource Server, wherein, the neighbouring scheduling strategy is The dispatch server calls average service rate to be described not less than the neighbouring Resource Server group of the default utilization rate threshold value Multiple televisions in Resource Server group correspondence area provide service;
When the average service rate that the comparative result is whole Resource Server groups is not less than the default utilization rate threshold value, The dispatch server is scheduled distribution to Resource Server using address allocation schedule strategy, wherein, the address distribution Scheduling strategy is that address information of the dispatch server based on each television is that each television distributes corresponding resource clothes Business device;
When the average service rate that the comparative result is whole Resource Server groups exceedes the default utilization rate threshold value, institute State control server group and distribution is scheduled to Resource Server group using service division scheduling strategy.
10. the system according to claim 7-9 any one, it is characterised in that:
The control server group, is additionally operable to carry out original allocation to Resource Server based on area belonging to television;Wherein, institute Stating the mode for carrying out original allocation to Resource Server based on area belonging to television includes:
A Resource Server group is distributed for each area correspondence, wherein, the resource service included by each Resource Server group The quantity of device is configured according to the television quantity in each area;
The address information of television is obtained, based on the address information by regional corresponding Resource Server belonging to the television Resource Server in group distributes to the television, to provide service for the television.
CN201710397510.0A 2017-05-31 2017-05-31 Server resource scheduling method and system Active CN107205030B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710397510.0A CN107205030B (en) 2017-05-31 2017-05-31 Server resource scheduling method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710397510.0A CN107205030B (en) 2017-05-31 2017-05-31 Server resource scheduling method and system

Publications (2)

Publication Number Publication Date
CN107205030A true CN107205030A (en) 2017-09-26
CN107205030B CN107205030B (en) 2020-06-12

Family

ID=59906715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710397510.0A Active CN107205030B (en) 2017-05-31 2017-05-31 Server resource scheduling method and system

Country Status (1)

Country Link
CN (1) CN107205030B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107872402A (en) * 2017-11-15 2018-04-03 北京奇艺世纪科技有限公司 The method, apparatus and electronic equipment of global traffic scheduling
CN108063773A (en) * 2018-02-11 2018-05-22 清华大学 A kind of application service cut-in method and device based on mobile edge calculations
CN108984289A (en) * 2018-07-19 2018-12-11 北京车联天下信息技术有限公司 Priority control method, device and car networking service platform
CN110881058A (en) * 2018-09-06 2020-03-13 阿里巴巴集团控股有限公司 Request scheduling method, device, server and storage medium
WO2020143164A1 (en) * 2019-01-08 2020-07-16 平安科技(深圳)有限公司 Network resource allocation method and device
CN112203322A (en) * 2020-09-30 2021-01-08 中国联合网络通信集团有限公司 Statistical method and device for channel resource utilization rate
WO2021184589A1 (en) * 2020-03-19 2021-09-23 平安科技(深圳)有限公司 Flow scheduling method and device, server, and storage medium
CN113556386A (en) * 2021-06-29 2021-10-26 上海浦东发展银行股份有限公司 Server scheduling method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256164A (en) * 2011-07-12 2011-11-23 广州纳斯威尔信息技术有限公司 Video transmission system based on IP (Internet Protocol) network
US20140006597A1 (en) * 2012-06-29 2014-01-02 Mrittika Ganguli Method, system, and device for managing server hardware resources in a cloud scheduling environment
CN103974140A (en) * 2013-02-06 2014-08-06 中国科学院声学研究所 Management method and management system of TR069 protocol based large-scale interactive TV terminal
CN104869473A (en) * 2015-05-18 2015-08-26 梅红兵 Video distribution network system integrating Internet and radio and television network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256164A (en) * 2011-07-12 2011-11-23 广州纳斯威尔信息技术有限公司 Video transmission system based on IP (Internet Protocol) network
US20140006597A1 (en) * 2012-06-29 2014-01-02 Mrittika Ganguli Method, system, and device for managing server hardware resources in a cloud scheduling environment
CN103974140A (en) * 2013-02-06 2014-08-06 中国科学院声学研究所 Management method and management system of TR069 protocol based large-scale interactive TV terminal
CN104869473A (en) * 2015-05-18 2015-08-26 梅红兵 Video distribution network system integrating Internet and radio and television network

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107872402A (en) * 2017-11-15 2018-04-03 北京奇艺世纪科技有限公司 The method, apparatus and electronic equipment of global traffic scheduling
CN108063773A (en) * 2018-02-11 2018-05-22 清华大学 A kind of application service cut-in method and device based on mobile edge calculations
CN108984289A (en) * 2018-07-19 2018-12-11 北京车联天下信息技术有限公司 Priority control method, device and car networking service platform
CN108984289B (en) * 2018-07-19 2021-07-23 无锡车联天下信息技术有限公司 Priority control method and device and Internet of vehicles service platform
CN110881058A (en) * 2018-09-06 2020-03-13 阿里巴巴集团控股有限公司 Request scheduling method, device, server and storage medium
CN110881058B (en) * 2018-09-06 2022-04-12 阿里巴巴集团控股有限公司 Request scheduling method, device, server and storage medium
WO2020143164A1 (en) * 2019-01-08 2020-07-16 平安科技(深圳)有限公司 Network resource allocation method and device
WO2021184589A1 (en) * 2020-03-19 2021-09-23 平安科技(深圳)有限公司 Flow scheduling method and device, server, and storage medium
CN112203322A (en) * 2020-09-30 2021-01-08 中国联合网络通信集团有限公司 Statistical method and device for channel resource utilization rate
CN112203322B (en) * 2020-09-30 2023-06-30 中国联合网络通信集团有限公司 Statistical method and device for channel resource utilization rate
CN113556386A (en) * 2021-06-29 2021-10-26 上海浦东发展银行股份有限公司 Server scheduling method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN107205030B (en) 2020-06-12

Similar Documents

Publication Publication Date Title
CN107205030A (en) Server resource dispatching method and system
CN110276182B (en) API distributed current limiting realization method
CN107688496B (en) Task distributed processing method and device, storage medium and server
JP6061968B2 (en) Method and system for controlling network quality of service
CN105279027B (en) A kind of virtual machine deployment method and device
EP1183845B1 (en) Method and apparatus for server bandwidth utilization management
CN107018175A (en) The dispatching method and device of mobile cloud computing platform
CN110830391A (en) Resource allocation method and device and cluster system
CN109167674A (en) Methods of marking, domain name system DNS dispatching method and the server of service node
CN105335231A (en) Dynamic distribution method and device for server threads
CN107819797A (en) Access request treating method and apparatus
CN103812750A (en) Message receiving and sending protecting system and method for CPU of data communication equipment
CN112492628B (en) Network slice management method, slice proxy server and system
CN106648900A (en) Smart television-based supercomputing method and system
CN108510093A (en) Community service reservation system
CN104301241B (en) A kind of SOA dynamic load distributing methods and system
CN107015864B (en) Business method for controlling batch processing and device
WO2004004249A1 (en) Method and apparatus for load estimation and call admission control in a call processing environment
CN107493607A (en) Network resource allocation method and Internet resources distributor
CN109617889A (en) Video transmission system and video transmission method, device and storage medium
CN111222810A (en) Method and device for real-time grid allocation
CN109670932B (en) Credit data accounting method, apparatus, system and computer storage medium
CN112202614B (en) Method and device for communication between systems
CN105208119A (en) Cloud data central task allocation method, device and system
CN108307206A (en) A kind of distribution method and device of live streaming encoding tasks

Legal Events

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