CN109005071A - A kind of decision and deployment method and controlling equipment - Google Patents

A kind of decision and deployment method and controlling equipment Download PDF

Info

Publication number
CN109005071A
CN109005071A CN201811033629.0A CN201811033629A CN109005071A CN 109005071 A CN109005071 A CN 109005071A CN 201811033629 A CN201811033629 A CN 201811033629A CN 109005071 A CN109005071 A CN 109005071A
Authority
CN
China
Prior art keywords
target
unit
deployment
equipment
decision
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
CN201811033629.0A
Other languages
Chinese (zh)
Other versions
CN109005071B (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.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and Technology 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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201811033629.0A priority Critical patent/CN109005071B/en
Publication of CN109005071A publication Critical patent/CN109005071A/en
Application granted granted Critical
Publication of CN109005071B publication Critical patent/CN109005071B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of decision and deployment method and controlling equipments, belong to load-balancing technique field.The described method includes: the objective decision unit of target dispatch equipment obtains the corresponding target dispatch number of target domain name system;The objective decision unit is based on the target dispatch data, generates the target deployment task for updating the corresponding target configuration information of the target domain name system, and the target deployment task is sent to the target deployment unit of the target dispatch equipment;The target deployment unit executes the target deployment task, updates the target configuration information.Using the present invention, the efficiency of decision and deployment can be improved.

Description

A kind of decision and deployment method and controlling equipment
Technical field
The present invention relates to load-balancing technique field, in particular to a kind of decision and deployment method and controlling equipment.
Background technique
CDN (Content Delivery Network, content distributing network) system may include controlling equipment and be used for A large amount of CDN servers of CDN service request are handled, controlling equipment is scheduled pipe to above-mentioned CDN server according to configuration information Reason, wherein can recorde each domain name system IP of corresponding CDN server under different demarcation level in configuration information Location set.
Over time, some CDN servers are it is possible that insufficient, performance decline even failure of bandwidth etc. is discontented The scene of sufficient bearer service demand, therefore, it is desirable to configuration information is updated, these CDN for being unsatisfactory for scheduling requirement are taken Business device is replaced or deletes.The scheduling data of each CDN server in the available CDN system of controlling equipment, such as certain Domain name system belonging to CDN server, the redundancy bandwidth of disaster tolerance information and the CDN server, health value etc. dispatch data, And above-mentioned configuration information is updated based on these scheduling data.When being updated to above-mentioned configuration information, controlling equipment In decision package be based on above-mentioned scheduling data, generate the deployment task that is updated to configuration information, then decision package will Deployment task is sent to the deployment unit in controlling equipment.Deployment unit can execute the deployment after receiving deployment task Task is updated above-mentioned configuration information.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
With the continuous expansion of CDN server quantity, the scheduling data of magnanimity are produced, and existing controlling equipment is usual It is single decision package and single deployment unit framework, single decision package and single deployment unit is caused to face higher load, The update that needing the long period just can complete to configuration information is handled, so the efficiency of above-mentioned decision and deployment processing is lower.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of decision and deployment method and controlling equipments. The technical solution is as follows:
In a first aspect, providing a kind of decision and deployment method, the decision and deployment method is applied to controlling equipment, the tune Degree equipment includes multiple decision packages and multiple deployment units, and the controlling equipment is each decision package and each in advance The deployment unit distributes domain name system, wherein the described method includes:
The objective decision unit of target dispatch equipment obtains the corresponding target dispatch data of target domain name system;
The objective decision unit is based on the target dispatch data, generates and updates the corresponding mesh of the target domain name system The target deployment task of configuration information is marked, and the target deployment task is sent to the target deployment of the target dispatch equipment Unit;
The target deployment unit executes the target deployment task, updates the target configuration information.
Further, the target dispatch equipment is each decision package and each deployment unit distribution in advance Domain name system, comprising:
The target dispatch equipment is each decision package and each deployment unit configuration unit mark, is established The mapping relations of each domain name system and each unit marks, and be each decision package based on the mapping relations Domain name system is distributed with each deployment unit.
Further, the objective decision unit of the target dispatch equipment obtains the corresponding target dispatch of target domain name system Data, comprising:
Unit marks of the objective decision unit based on the target domain name system and the objective decision unit reflect Relationship is penetrated, scheduling data acquisition request is sent to the target dispatch equipment, so that the target dispatch equipment will obtain in advance The corresponding target dispatch data of the target domain name system be back to the objective decision unit.
Further, the target deployment unit that the target deployment task is sent to the target dispatch equipment, Include:
The mapping of unit marks of the objective decision unit based on the target domain name system and target deployment unit is closed System, determines the unit marks of the corresponding target deployment unit of the target domain name system;
Unit marks of the objective decision unit based on the target deployment unit send the target deployment task To the target deployment unit.
Further, the method also includes:
The target dispatch device periodically detects the work shape of each decision package and each deployment unit State;
If detecting that the objective decision unit is in malfunction, based on default disaster tolerance standard in the target tune It spends in other controlling equipments in equipment or except the target dispatch equipment, determines that the disaster tolerance of the objective decision unit is determined Plan unit;
Alternatively, if detecting that the target deployment unit is in malfunction, based on default disaster tolerance standard described In other controlling equipments in target dispatch equipment or except the target dispatch equipment, the target deployment unit is determined Disaster tolerance deployment unit.
Further, it is described based on default disaster tolerance standard in the target dispatch equipment or the target dispatch equipment Except other controlling equipments in, determine the disaster tolerance decision package of the objective decision unit, comprising:
When the target dispatch equipment exist meet default disaster tolerance standard at least one decision package when, it is described at least The disaster tolerance decision package of the objective decision unit is determined in one decision package;
Alternatively, remaining decision package when the target dispatch equipment does not meet default disaster tolerance standard, and the mesh When there is at least one decision package for meeting default disaster tolerance standard in other controlling equipments of cluster where mark controlling equipment, The disaster tolerance decision package of the objective decision unit is determined at least one described decision package;
Alternatively, when the target dispatch equipment remaining decision package and cluster where the target dispatch equipment it is other Decision package in controlling equipment does not meet default disaster tolerance standard, and other outside cluster where the target dispatch equipment When there is at least one decision package for meeting default disaster tolerance standard in controlling equipment, at least one described decision package really The disaster tolerance decision package of the fixed objective decision unit.
Further, it is described based on default disaster tolerance standard in the target dispatch equipment or the target dispatch equipment Except other controlling equipments in, determine the disaster tolerance deployment unit of the target deployment unit, comprising:
When the target dispatch equipment exist meet default disaster tolerance standard at least one deployment unit when, it is described at least The disaster tolerance deployment unit of the target deployment unit is determined in one deployment unit;
Alternatively, remaining deployment unit when the target dispatch equipment does not meet default disaster tolerance standard, and the mesh When there is at least one deployment unit for meeting default disaster tolerance standard in other controlling equipments of cluster where mark controlling equipment, The disaster tolerance deployment unit of the target deployment unit is determined at least one described deployment unit;
Alternatively, when the target dispatch equipment remaining deployment unit and cluster where the target dispatch equipment it is other Deployment unit in controlling equipment does not meet default disaster tolerance standard, and other outside cluster where the target dispatch equipment When there is at least one deployment unit for meeting default disaster tolerance standard in controlling equipment, at least one described deployment unit really The disaster tolerance deployment unit of the fixed target deployment unit.
Second aspect, provides a kind of controlling equipment, and the controlling equipment includes that multiple decision packages and multiple deployment are single Member, the controlling equipment are each decision package and each deployment unit distribution domain name system in advance, in which:
The objective decision unit, for obtaining the corresponding target dispatch data of target domain name system;
The objective decision unit is also used to be generated based on the target dispatch data and updated the target domain name system The target deployment task of corresponding target configuration information, and the target deployment task is sent to the target deployment unit;
The target deployment unit updates the target configuration information for executing the target deployment task.
Further, the controlling equipment further includes allocation unit, is used for:
For each decision package and each deployment unit configuration unit mark, each domain name system and each is established The mapping relations of a unit marks, and be that each decision package and each deployment are single based on the mapping relations Member distribution domain name system.
Further, the controlling equipment further includes disaster tolerance unit, is used for:
It is periodically detected the working condition of each decision package and each deployment unit;
If detecting that the objective decision unit is in malfunction, based on default disaster tolerance standard in the target tune It spends in other controlling equipments in equipment or except the target dispatch equipment, determines that the disaster tolerance of the objective decision unit is determined Plan unit;
Alternatively, if detecting that the target deployment unit is in malfunction, based on default disaster tolerance standard described In other controlling equipments in target dispatch equipment or except the target dispatch equipment, the target deployment unit is determined Disaster tolerance deployment unit.
Technical solution provided in an embodiment of the present invention has the benefit that
In the present embodiment, the objective decision unit of target dispatch equipment obtains the corresponding target dispatch of target domain name system Data;The objective decision unit is based on the target dispatch data, generates and updates the corresponding target of the target domain name system The target deployment task of configuration information, and the target deployment task is sent to the target deployment list of the target dispatch equipment Member;The target deployment unit executes the target deployment task, updates the target configuration information.In this way, by by one Single decision package in controlling equipment is split as multiple decision packages, and single deployment unit is split as multiple deployment units, The controlling equipment framework of a kind of more decision packages and more deployment units has been built, it can be as unit of unit, by all domain name systems System distributes to each decision package and deployment unit, so that each decision package only is responsible for generating to the domain name system institute being assigned to The deployment task that corresponding configuration information is updated, each deployment unit are only responsible for executing corresponding to the domain name system being assigned to Deployment task, and then the system resource of controlling equipment can be made full use of, improve the treatment effeciency of each unit, shortened to each The time that the corresponding configuration information of a domain name system is updated, so as to improve the treatment effeciency of decision and deployment.In addition, adjusting Degree equipment can be scheduled management to CDN server based on last updated configuration information as far as possible, adjust so as to improve Spend quality.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of decision and deployment method flow diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of controlling equipment structural schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of controlling equipment structural schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of controlling equipment structural schematic diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of controlling equipment structural schematic diagram provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
The embodiment of the invention provides a kind of decision and deployment method, the executing subject of this method can be controlling equipment, adjust Degree equipment can be the dispatch server of CDN system, can be deployed in the computer room of CDN service quotient.Controlling equipment can be to matching Confidence breath is safeguarded that the configuration information can recorde the set of the IP address of the corresponding CDN server of each domain name system, And the information such as Main Domain, second level domain, region in domain name system.When user is with any terminal (such as smart phone, plate electricity Brain etc.) when accessing certain domain name, if the domain name is provided by above-mentioned domain name system accelerates service, controlling equipment can be based on above-mentioned Configuration information determines that one or more suitable CDN servers provide acceleration service for the domain name, i.e., by the CDN server IP address returns to above-mentioned terminal by parsing, and later, user can request respective network resource by the IP address.It is above-mentioned The CDN service cluster that CDN server can be an arbitrary server or be made of multiple servers, the CDN server It can be used for buffer network resource, if existing Internet resources in CDN server, can directly be returned to end End, otherwise the CDN server can pull above-mentioned Internet resources to source station, then be returned to terminal again.
It should be noted that single decision package can be split as multiple decision packages by above-mentioned controlling equipment, and will be single Deployment unit is split as multiple deployment units, wherein each decision package can be operate in it is any in target dispatch equipment Decision-making process or decision thread, each deployment unit can be any deployment process or the deployment operated in target dispatch equipment Thread.The deployment task being updated to configuration information corresponding to certain domain name system can be generated in above-mentioned decision package, above-mentioned Deployment unit can receive the above-mentioned deployment task that above-mentioned decision package generates, and then can execute the deployment task, match at this By IP (Internet Protocol, the net of the CDN server to be scheduled corresponding with the domain name system of record in confidence breath Network interconnection agreement) address is updated.Above-mentioned controlling equipment can distribute in advance for each decision package and each deployment unit Domain name system.
It may include processor, memory, transceiver in above-mentioned controlling equipment, processor can be used for carrying out following processes In dispatch deal, memory can be used for storing the data of the data and generation that need in following treatment processes, transceiver It can be used for sending and receiving the related data in following treatment processes.
It is detailed to a kind of process flow progress of decision and deployment method shown in FIG. 1 below in conjunction with specific embodiment Explanation, content can be such that
Step 101: the objective decision unit of target dispatch equipment obtains the corresponding target dispatch data of target domain name system.
In an implementation, certain controlling equipment (can be described as target dispatch equipment) of CDN system can be based on CNAME technology, in advance First hereafter only added for ease of description with webpage for access domain name system of each website domain name system configuration in CDN system Be illustrated for speed, above-mentioned CDN system acceleration service platform target domain name system can be www.abc.com, when with When family accesses www.baidu.com, user's domain name www.baidu.com can be accessed to the domain name of above-mentioned acceleration service platform System www.abc.com carries out acceleration service.Specifically, can be in domain name mapping configuration to above-mentioned domain name addition CNAME note Record, so as to which domain name www.baidu.com is directed toward www.abc.com (in general, platform interior also supports CNAME to two Grade domain name, for example www.abc.com can be with CNAME to www.xyx.abc.com, which does not do emphasis in this programme and says It is bright).When user accesses domain name www.baidu.com, user can input the user in the browser program of terminal operating Domain name, and click access buttons and access the website.In this way, terminal is initiated to above-mentioned acceleration service platform to above-mentioned domain name The domain name mapping of www.baidu.com is requested.Later, target dispatch equipment can be requested based on above-mentioned domain name mapping, be based on mesh It marks the corresponding configuration information of domain name system www.abc.com and returns to the IP address of a CDN server to terminal.And then terminal can To obtain corresponding Internet resources by the corresponding CDN server of above-mentioned IP address.
In this way, target dispatch equipment can be based on target domain name system, it is corresponding each wait adjust to obtain target domain name system The scheduling data (can be described as target dispatch data) of the CDN server of degree, target dispatch data may include dynamic data and quiet State data, wherein dynamic data may include the data such as the real-time bandwidth, peak bandwidth, health value of each CDN server;It is static Data may include the modeling data of all CDN servers in above-mentioned CDN system, such as Main Domain, second level domain, region, collection The data such as group, IP, and record have the corresponding disaster tolerance decision package of each decision package or the corresponding disaster tolerance of each deployment unit The data such as the disaster tolerance information of deployment unit, static data can store in the database, which can be deployed in target tune It spends in equipment, can also be not limited thereof here with distributed deployment in other controlling equipments.Later, target dispatch Decision package (can be described as objective decision unit) corresponding with above-mentioned target domain name system in equipment, can be to above-mentioned target dispatch Data are obtained.
Optionally, above-mentioned target dispatch equipment can distribute domain name system in advance for each decision package, correspondingly, specifically Processing can be such that target dispatch equipment identifies for each decision package configuration unit, and be each decision based on unit marks Unit distributes domain name system.
In an implementation, target dispatch equipment can based on its own device identification and each decision-making process process sequence Number, it is in advance each decision package configuration unit mark.Specifically, target dispatch equipment can use dispatchIP+ ServerID identifies each decision package, wherein dispatchIP can be the device identification of target dispatch equipment, such as mesh The IP address of controlling equipment is marked, serverID can be the pre-assigned unit number of target dispatch equipment, can be a string Character, such as 001,002, by taking dispatchIP is IP address 210.61.180.132 as an example, if target dispatch equipment is run There are four decision packages, then can use 210.61.180.132:001,210.61.180.132:002,210.61.180.132: 003,210.61.180.132:004 identifies this four decision packages respectively.Later, target dispatch equipment can be based on each The respective unit marks of decision package distribute domain name system for each decision package.It is with M domain name system, N number of decision package Example (M >=N), M domain name system, which can mark, is1、A2、A3……AM, N number of decision package, which can mark, is1、B2、B3…… BN, M domain name system can distribute to N number of decision package at random by target dispatch equipment, can also carry out according to default rule Distribution, is such as allocated in such a way that serial number is equal to or differs N, then allocation result can be such that
B1: A1、AN+1、A2N+1……;
B2: A2、AN+2、A2N+2……;
B3: A3、AN+3、A2N+3……;
BN: AN、A2N、A3N……。
Optionally, the objective decision unit of above-mentioned target dispatch equipment obtains the corresponding target dispatch number of target domain name system According to processing can be such that unit marks of the objective decision unit based on target domain name system and objective decision unit, to target Controlling equipment sends scheduling data acquisition request, so that the corresponding mesh of target domain name system that target dispatch equipment will obtain in advance Mark scheduling data are back to objective decision unit.
In an implementation, target dispatch equipment can obtain the corresponding scheduling data of each domain name system in advance, can also be After receiving the scheduling data acquisition request to certain domain name system, the corresponding scheduling data of the domain name system are obtained in real time.In this way, Objective decision unit can the unit marks based on target domain name system and objective decision unit, to target dispatch equipment send adjust Spend data acquisition request.Target dispatch equipment can be based on objective decision list after receiving above-mentioned scheduling data acquisition request The corresponding target dispatch data of the target domain name system of acquisition obtain in advance or real-time are back to by the unit marks of member Objective decision unit.In this way, objective decision unit can receive the corresponding mesh of target domain name system from target dispatch equipment Mark scheduling data.
Step 102: objective decision unit is based on target dispatch data, generates the corresponding target of update target domain name system and matches The target deployment task of confidence breath, and target deployment task is sent to the target deployment unit of target dispatch equipment.
In an implementation, objective decision unit, can be with base after getting the corresponding target dispatch data of target domain name system Decision-making treatment is carried out in target dispatch data, is judged each to be scheduled in current configuration information corresponding to target domain name system Whether CDN server meets scheduling requirement, and when there is the CDN server for not meeting scheduling requirement, objective decision unit can be with By way of sending deployment task to the target deployment unit of target dispatch equipment, to the CDN service for being unsatisfactory for scheduling requirement Device such as is deleted or is replaced at the processing.
Optionally, above-mentioned target dispatch equipment can distribute domain name system in advance for each deployment unit, correspondingly, specifically Processing can be such that target dispatch equipment identifies for each deployment unit configuration unit, and be each deployment based on unit marks Unit distributes domain name system.
In an implementation, target dispatch equipment can based on its own device identification and each deployment process process sequence Number, it is in advance each deployment unit configuration unit mark.Specifically, target dispatch equipment equally can be according to above-mentioned The mode of dispatchIP+serverID, to identify each deployment unit.Later, target dispatch equipment can be based on each portion The respective unit marks of unit are affixed one's name to, distribute domain name system for each deployment unit.By taking M domain name system, N number of deployment unit as an example (M >=N), M domain name system, which can mark, is1、A2、A3……AM, N number of deployment unit, which can mark, is1、C2、C3……CN, M domain name system can be distributed to N number of deployment unit at random by target dispatch equipment, can also be divided according to default rule Match, be such as allocated in such a way that serial number is equal to or differs N, then allocation result can be such that
C1: A1、AN+1、A2N+1……;
C2: A2、AN+2、A2N+2……;
C3: A3、AN+3、A2N+3……;
CN: AN、A2N、A3N……。
Optionally, target deployment task is sent to the processing of target deployment unit by above-mentioned objective decision unit, specifically may be used With as follows: objective decision unit is based on target domain name system, determines the unit of the corresponding target deployment unit of target domain name system Mark;Target deployment task is sent to target deployment unit by unit marks of the objective decision unit based on target deployment unit.
In an implementation, objective decision unit is generating the target portion for updating the corresponding target configuration information of target domain name system After acting business, it can be based on target domain name system, determine the unit marks of the corresponding target deployment unit of target domain name system.It Afterwards, target deployment task can be sent to target deployment list based on the unit marks of target deployment unit by objective decision unit Member.
Step 103: target deployment unit performance objective deployment task, more fresh target configuration information.
In an implementation, target deployment unit can execute the target deployment task after receiving target deployment task, right The corresponding target configuration information of target domain name system is updated.Specifically, target deployment unit is based on target deployment task Task details, the available modification information to the corresponding current configuration information of target domain name system, such as target domain name system Each region in the IP address of CDN server to be deleted or the IP address of newly-increased CDN server, later, target portion The modification information can be based on by affixing one's name to unit, be updated to target configuration information.
Optionally, corresponding disaster tolerance unit can also be configured for each decision package and each deployment unit, correspondingly, tool Body processing can be such that target dispatch device periodically detects the working condition of each decision package and each deployment unit;Such as Fruit detects that objective decision unit is in malfunction, then based on default disaster tolerance standard in target dispatch equipment or target tune It spends in other controlling equipments except equipment, determines the disaster tolerance decision package of objective decision unit;Alternatively, if detecting target Deployment unit is in malfunction, then based on default disaster tolerance standard in target dispatch equipment or except target dispatch equipment In other controlling equipments, the disaster tolerance deployment unit of target deployment unit is determined.
In an implementation, CDN system can dispose multiple controlling equipments in different computer rooms, meet in each controlling equipment pre- If the decision package of disaster tolerance standard can be used as the disaster tolerance decision package of other decision packages, wherein default disaster tolerance standard can be with It is less than default processing time (x ') including average handling time (x), queue space utilization rate (y) is less than preset threshold (y ') etc. Disaster tolerance standard.
For example, the function f (x, y) of disaster tolerance can be expressed as simply by two dimensional pointer, and 0: disaster tolerance, 1: it is normal,
Further, target dispatch equipment can be periodically detected the work shape of each decision package and each deployment unit State.Specifically, controlling equipment can be with the health data of each decision package of periodic harvest, such as average handling time, heartbeat The information such as packet, capacity of queue, IO read-write, CPU usage, for example, controlling equipment can be after every wheel decision terminates to each The above-mentioned health data of decision package is collected.In this way, controlling equipment can be based on above-mentioned health data, each decision is judged Unit or each deployment unit whether failure.
In this way, target dispatch equipment can be based on above-mentioned default when detecting that objective decision unit is in malfunction In other controlling equipments of disaster tolerance standard in target dispatch equipment or except target dispatch equipment, objective decision unit is determined Disaster tolerance decision package;When detecting that target deployment unit is in malfunction, target dispatch equipment can be held based on default In other controlling equipments of calamity standard in target dispatch equipment or except target dispatch equipment, target deployment unit is determined Disaster tolerance deployment unit.
Optionally, the processing of the disaster tolerance decision package of above-mentioned determining objective decision unit specifically can be such that when target tune When degree equipment has at least one decision package for meeting default disaster tolerance standard, determine that target is determined at least one decision package The disaster tolerance decision package of plan unit;Alternatively, remaining decision package when target dispatch equipment does not meet default disaster tolerance standard, and And there is at least one decision package for meeting default disaster tolerance standard where target dispatch equipment in other controlling equipments of cluster When, the disaster tolerance decision package of objective decision unit is determined at least one decision package;Alternatively, working as its of target dispatch equipment Decision package where remaining decision package and target dispatch equipment in other controlling equipments of cluster does not meet default disaster tolerance mark Standard, and exist in other controlling equipments where target dispatch equipment outside cluster and meet at least one of default disaster tolerance standard and determine When plan unit, the disaster tolerance decision package of objective decision unit is determined at least one decision package.
In an implementation, when detecting objective decision cell failure, target dispatch equipment can be based on the appearance of nearest disaster tolerance Calamity rule, determines the disaster tolerance decision package of objective decision unit.For example, meeting default disaster tolerance standard when target dispatch equipment exists At least one decision package when, target dispatch equipment can meet the decision of default disaster tolerance standard in target dispatch equipment Select a decision package as the disaster tolerance decision package of objective decision unit in unit;When remaining decision of target dispatch equipment Unit does not meet default disaster tolerance standard, but default in the presence of meeting in other controlling equipments of cluster where target dispatch equipment When at least one decision package of disaster tolerance standard, target dispatch equipment can be in other scheduling of cluster where target dispatch equipment Meeting in the decision package of default disaster tolerance standard in equipment selects a decision package as the disaster tolerance decision of objective decision unit Unit;Decision where remaining decision package of target dispatch equipment and target dispatch equipment in other controlling equipments of cluster Unit does not meet default disaster tolerance standard, but pre- in the presence of meeting in other controlling equipments where target dispatch equipment outside cluster If when at least one decision package of disaster tolerance standard, target dispatch equipment can be other outside cluster where target dispatch equipment Meet one decision package of selection, the disaster tolerance as objective decision unit in the decision package of default disaster tolerance standard in controlling equipment Decision package.
Optionally, the processing of the disaster tolerance deployment unit of above-mentioned determining target deployment unit specifically can be such that when target tune When degree equipment has at least one deployment unit for meeting default disaster tolerance standard, target portion is determined at least one deployment unit Affix one's name to the disaster tolerance deployment unit of unit;Alternatively, remaining deployment unit when target dispatch equipment does not meet default disaster tolerance standard, and And there is at least one deployment unit for meeting default disaster tolerance standard where target dispatch equipment in other controlling equipments of cluster When, the disaster tolerance deployment unit of target deployment unit is determined at least one deployment unit;Alternatively, working as its of target dispatch equipment Deployment unit where remaining deployment unit and target dispatch equipment in other controlling equipments of cluster does not meet default disaster tolerance mark Standard, and there is at least one portion for meeting default disaster tolerance standard in other controlling equipments where target dispatch equipment outside cluster When affixing one's name to unit, the disaster tolerance deployment unit of target deployment unit is determined at least one deployment unit.
In an implementation, when detecting target deployment cell failure, target dispatch equipment can be based on the appearance of nearest disaster tolerance Calamity rule, determines the disaster tolerance deployment unit of target deployment unit.For example, meeting default disaster tolerance standard when target dispatch equipment exists At least one deployment unit when, target dispatch equipment can meet the deployment of default disaster tolerance standard in target dispatch equipment Select a deployment unit as the disaster tolerance deployment unit of target deployment unit in unit;When remaining deployment of target dispatch equipment Unit does not meet default disaster tolerance standard, but default in the presence of meeting in other controlling equipments of cluster where target dispatch equipment When at least one deployment unit of disaster tolerance standard, target dispatch equipment can be in other scheduling of cluster where target dispatch equipment Meet in equipment and a deployment unit is selected to dispose in the deployment unit of default disaster tolerance standard as the disaster tolerance of target deployment unit Unit;Deployment where remaining deployment unit of target dispatch equipment and target dispatch equipment in other controlling equipments of cluster Unit does not meet default disaster tolerance standard, but pre- in the presence of meeting in other controlling equipments where target dispatch equipment outside cluster If when at least one deployment unit of disaster tolerance standard, target dispatch equipment can be other outside cluster where target dispatch equipment Controlling equipment, which meets, selects a deployment unit, the disaster tolerance portion as target deployment unit in the deployment unit of default disaster tolerance standard Affix one's name to unit.
In the present embodiment, the objective decision unit of target dispatch equipment obtains the corresponding target dispatch of target domain name system Data;Objective decision unit is based on target dispatch data, generates the mesh for updating the corresponding target configuration information of target domain name system Deployment task is marked, and target deployment task is sent to the target deployment unit of target dispatch equipment;Target deployment unit executes Target deployment task, more fresh target configuration information.In this way, multiple by the way that single decision package in a controlling equipment to be split as Decision package, and single deployment unit is split as multiple deployment units, build a kind of more decision packages and more deployment units Controlling equipment framework, all domain name systems can be distributed into each decision package and deployment unit as unit of unit, from And each decision package is only responsible for generating the deployment task for being updated configuration information corresponding to the domain name system being assigned to, Each deployment unit is only responsible for executing deployment task corresponding to the domain name system being assigned to, and then scheduling can be made full use of to set Standby system resource, improves the treatment effeciency of each unit, and shortening is updated the corresponding configuration information of each domain name system Time, so as to improve the treatment effeciency of decision and deployment.In addition, controlling equipment can be matched based on last updated as far as possible Confidence breath is scheduled management to CDN server, so as to improve scheduling quality.
Based on the same technical idea, the embodiment of the invention also provides a kind of controlling equipments, as shown in Fig. 2, the tune Degree equipment includes multiple decision packages and multiple deployment units, and the controlling equipment is each decision package and each in advance The deployment unit distributes domain name system, in which:
The objective decision unit 201, for obtaining the corresponding target dispatch data of target domain name system;
The objective decision unit 201 is also used to be generated based on the target dispatch data and updated target domain name system It unites the target deployment task of corresponding target configuration information, and the target deployment task is sent to the target deployment unit 202;
The target deployment unit 202 updates the target configuration information for executing the target deployment task.
As shown in figure 3, optional, the controlling equipment further includes allocation unit 203, is used for:
For each decision package and each deployment unit configuration unit mark, each domain name system and each is established The mapping relations of a unit marks, and be that each decision package and each deployment are single based on the mapping relations Member distribution domain name system.
Optionally, the objective decision unit 201 is also used to:
Unit marks based on the target domain name system and the objective decision unit 201, set to the target dispatch Preparation send scheduling data acquisition request, so that the target dispatch equipment is corresponding by the target domain name system obtained in advance Target dispatch data are back to the objective decision unit 201.
Optionally, the objective decision unit 201 is also used to:
Based on the target domain name system, the unit of the corresponding target deployment unit 202 of the target domain name system is determined Mark;
Based on the unit marks of the target deployment unit 202, the target deployment task is sent to the target portion Affix one's name to unit 202.
As shown in figure 4, optional, the controlling equipment further includes disaster tolerance unit 204, is used for:
It is periodically detected the working condition of each decision package and each deployment unit;
If detecting that the objective decision unit 201 is in malfunction, based on default disaster tolerance standard in the mesh It marks in other controlling equipments in controlling equipment or except the target dispatch equipment, determines the objective decision unit 201 Disaster tolerance decision package;
Alternatively, if detecting that the target deployment unit 202 is in malfunction, based on default disaster tolerance standard in institute It states in other controlling equipments in target dispatch equipment or except the target dispatch equipment, determines the target deployment unit 202 disaster tolerance deployment unit.
Optionally, the disaster tolerance unit 204, is also used to:
When the target dispatch equipment exist meet default disaster tolerance standard at least one decision package when, it is described at least The disaster tolerance decision package of the objective decision unit 201 is determined in one decision package;
Alternatively, remaining decision package when the target dispatch equipment does not meet default disaster tolerance standard, and the mesh When there is at least one decision package for meeting default disaster tolerance standard in other controlling equipments of cluster where mark controlling equipment, The disaster tolerance decision package of the objective decision unit 201 is determined at least one described decision package;
Alternatively, when the target dispatch equipment remaining decision package and cluster where the target dispatch equipment it is other Decision package in controlling equipment does not meet default disaster tolerance standard, and other outside cluster where the target dispatch equipment When there is at least one decision package for meeting default disaster tolerance standard in controlling equipment, at least one described decision package really The disaster tolerance decision package of the fixed objective decision unit 201.
Optionally, the disaster tolerance unit 204, is also used to:
When the target dispatch equipment exist meet default disaster tolerance standard at least one deployment unit when, it is described at least The disaster tolerance deployment unit of the target deployment unit 202 is determined in one deployment unit;
Alternatively, remaining deployment unit when the target dispatch equipment does not meet default disaster tolerance standard, and the mesh When there is at least one deployment unit for meeting default disaster tolerance standard in other controlling equipments of cluster where mark controlling equipment, The disaster tolerance deployment unit of the target deployment unit 202 is determined at least one described deployment unit;
Alternatively, when the target dispatch equipment remaining deployment unit and cluster where the target dispatch equipment it is other Deployment unit in controlling equipment does not meet default disaster tolerance standard, and other outside cluster where the target dispatch equipment When there is at least one deployment unit for meeting default disaster tolerance standard in controlling equipment, at least one described deployment unit really The disaster tolerance deployment unit of the fixed target deployment unit 202.
It should be understood that controlling equipment provided by the above embodiment scheduling when, only with above-mentioned each functional module draw Divide and be illustrated, in practical application, can according to need and be completed by different functional modules above-mentioned function distribution, i.e., The internal structure of device is divided into different functional modules, to complete all or part of the functions described above.On in addition, The controlling equipment and decision and deployment embodiment of the method for stating embodiment offer belong to same design, and specific implementation process is detailed in method Embodiment, which is not described herein again.
Fig. 5 is the structural schematic diagram of controlling equipment provided in an embodiment of the present invention.The controlling equipment 500 can be because of configuration or property Energy is different and generates bigger difference, may include one or more central processing units 522 (for example, one or one The above processor) and memory 532, the 530 (example of storage medium of one or more storage application programs 542 or data 544 Such as one or more mass memory units).Wherein, memory 532 and storage medium 530 can be of short duration storage or lasting Storage.The program for being stored in storage medium 530 may include one or more modules (diagram does not mark), and each module can To include to the series of instructions operation in controlling equipment.Further, central processing unit 522 can be set to be situated between with storage Matter 530 communicates, and the series of instructions operation in storage medium 530 is executed on controlling equipment 500.
Controlling equipment 500 can also include one or more power supplys 526, one or more wired or wireless nets Network interface 550, one or more input/output interfaces 558, and/or, one or more operating systems 531, such as Windows Server TM, Mac OS XTM, Unix TM, Linux TM, FreeBSD TM etc..
Controlling equipment 500 may include have memory and one perhaps more than one program one of them or one A procedure above is stored in memory, and is configured to execute one or one by one or more than one processor A procedure above includes the instruction for carrying out above-mentioned scheduling.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of decision and deployment method, which is characterized in that the decision and deployment method is applied to controlling equipment, the controlling equipment Including multiple decision packages and multiple deployment units, the controlling equipment is each decision package and each portion in advance It affixes one's name to unit and distributes domain name system, wherein the described method includes:
The objective decision unit of target dispatch equipment obtains the corresponding target dispatch data of target domain name system;
The objective decision unit is based on the target dispatch data, generates the corresponding target of the update target domain name system and matches The target deployment task of confidence breath, and the target deployment task is sent to the target deployment list of the target dispatch equipment Member;
The target deployment unit executes the target deployment task, updates the target configuration information.
2. the method according to claim 1, wherein the target dispatch equipment is each decision list in advance First and each deployment unit distributes domain name system, comprising:
The target dispatch equipment is each decision package and each deployment unit configuration unit mark, and is based on institute Stating unit marks is that each decision package and each deployment unit distribute domain name system.
3. according to the method described in claim 2, it is characterized in that, the objective decision unit of the target dispatch equipment obtains mesh Mark the corresponding target dispatch data of domain name system, comprising:
Unit marks of the objective decision unit based on the target domain name system and the objective decision unit, to the mesh It marks controlling equipment and sends scheduling data acquisition request, so that the target domain name system that the target dispatch equipment will obtain in advance Corresponding target dispatch data of uniting are back to the objective decision unit.
4. according to the method described in claim 2, it is characterized in that, described be sent to the target for the target deployment task The target deployment unit of controlling equipment, comprising:
The objective decision unit is based on the target domain name system, determines the corresponding target deployment list of the target domain name system The unit marks of member;
The target deployment task is sent to institute by unit marks of the objective decision unit based on the target deployment unit State target deployment unit.
5. the method according to claim 1, wherein the method also includes:
The target dispatch device periodically detects the working condition of each decision package and each deployment unit;
If detecting that the objective decision unit is in malfunction, set based on default disaster tolerance standard in the target dispatch In other controlling equipments in standby or except the target dispatch equipment, the disaster tolerance decision list of the objective decision unit is determined Member;
Alternatively, if detecting that the target deployment unit is in malfunction, based on default disaster tolerance standard in the target In other controlling equipments in controlling equipment or except the target dispatch equipment, the disaster tolerance of the target deployment unit is determined Deployment unit.
6. according to the method described in claim 5, it is characterized in that, described set based on default disaster tolerance standard in the target dispatch In other controlling equipments in standby or except the target dispatch equipment, the disaster tolerance decision list of the objective decision unit is determined Member, comprising:
When the target dispatch equipment exist meet default disaster tolerance standard at least one decision package when, it is described at least one The disaster tolerance decision package of the objective decision unit is determined in decision package;
Alternatively, remaining decision package when the target dispatch equipment does not meet default disaster tolerance standard, and the target tune When there is at least one decision package for meeting default disaster tolerance standard in other controlling equipments of cluster where degree equipment, described The disaster tolerance decision package of the objective decision unit is determined at least one decision package;
Alternatively, when other scheduling of remaining decision package of the target dispatch equipment and target dispatch equipment place cluster Decision package in equipment does not meet default disaster tolerance standard, and other scheduling where the target dispatch equipment outside cluster When there is at least one decision package for meeting default disaster tolerance standard in equipment, institute is determined at least one described decision package State the disaster tolerance decision package of objective decision unit.
7. according to the method described in claim 5, it is characterized in that, described set based on default disaster tolerance standard in the target dispatch In other controlling equipments in standby or except the target dispatch equipment, determine that the disaster tolerance deployment of the target deployment unit is single Member, comprising:
When the target dispatch equipment exist meet default disaster tolerance standard at least one deployment unit when, it is described at least one The disaster tolerance deployment unit of the target deployment unit is determined in deployment unit;
Alternatively, remaining deployment unit when the target dispatch equipment does not meet default disaster tolerance standard, and the target tune When there is at least one deployment unit for meeting default disaster tolerance standard in other controlling equipments of cluster where degree equipment, described The disaster tolerance deployment unit of the target deployment unit is determined at least one deployment unit;
Alternatively, when other scheduling of remaining deployment unit of the target dispatch equipment and target dispatch equipment place cluster Deployment unit in equipment does not meet default disaster tolerance standard, and other scheduling where the target dispatch equipment outside cluster When there is at least one deployment unit for meeting default disaster tolerance standard in equipment, institute is determined at least one described deployment unit State the disaster tolerance deployment unit of target deployment unit.
8. a kind of controlling equipment, which is characterized in that the controlling equipment includes multiple decision packages and multiple deployment units, described Controlling equipment is each decision package and each deployment unit distribution domain name system in advance, in which:
The objective decision unit, for obtaining the corresponding target dispatch data of target domain name system;
The objective decision unit is also used to that it is corresponding to generate the update target domain name system based on the target dispatch data Target configuration information target deployment task, and the target deployment task is sent to the target deployment unit;
The target deployment unit updates the target configuration information for executing the target deployment task.
9. controlling equipment according to claim 8, which is characterized in that the controlling equipment further includes allocation unit, is used for:
It is identified for each decision package and each deployment unit configuration unit, and is each based on the unit marks The decision package and each deployment unit distribute domain name system.
10. controlling equipment according to claim 8, which is characterized in that the controlling equipment further includes disaster tolerance unit, is used In:
It is periodically detected the working condition of each decision package and each deployment unit;
If detecting that the objective decision unit is in malfunction, set based on default disaster tolerance standard in the target dispatch In other controlling equipments in standby or except the target dispatch equipment, the disaster tolerance decision list of the objective decision unit is determined Member;
Alternatively, if detecting that the target deployment unit is in malfunction, based on default disaster tolerance standard in the target In other controlling equipments in controlling equipment or except the target dispatch equipment, the disaster tolerance of the target deployment unit is determined Deployment unit.
CN201811033629.0A 2018-09-05 2018-09-05 Decision deployment method and scheduling equipment Active CN109005071B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811033629.0A CN109005071B (en) 2018-09-05 2018-09-05 Decision deployment method and scheduling equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811033629.0A CN109005071B (en) 2018-09-05 2018-09-05 Decision deployment method and scheduling equipment

Publications (2)

Publication Number Publication Date
CN109005071A true CN109005071A (en) 2018-12-14
CN109005071B CN109005071B (en) 2021-05-25

Family

ID=64590369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811033629.0A Active CN109005071B (en) 2018-09-05 2018-09-05 Decision deployment method and scheduling equipment

Country Status (1)

Country Link
CN (1) CN109005071B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379244A (en) * 2018-12-28 2019-02-22 北京云中融信网络科技有限公司 The network acceleration means of communication, device and electronic equipment
CN109889569A (en) * 2019-01-03 2019-06-14 网宿科技股份有限公司 CDN service dispatching method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252381A (en) * 2013-06-30 2014-12-31 北京百度网讯科技有限公司 Method and equipment for scheduling ETL (Extraction-Transform-Loading) task
WO2016064589A1 (en) * 2014-10-24 2016-04-28 Asurion, Llc Centralized control and management systems for digital devices
CN106982236A (en) * 2016-01-18 2017-07-25 阿里巴巴集团控股有限公司 A kind of information processing method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252381A (en) * 2013-06-30 2014-12-31 北京百度网讯科技有限公司 Method and equipment for scheduling ETL (Extraction-Transform-Loading) task
WO2016064589A1 (en) * 2014-10-24 2016-04-28 Asurion, Llc Centralized control and management systems for digital devices
CN106982236A (en) * 2016-01-18 2017-07-25 阿里巴巴集团控股有限公司 A kind of information processing method, device and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379244A (en) * 2018-12-28 2019-02-22 北京云中融信网络科技有限公司 The network acceleration means of communication, device and electronic equipment
CN109889569A (en) * 2019-01-03 2019-06-14 网宿科技股份有限公司 CDN service dispatching method and system
CN109889569B (en) * 2019-01-03 2022-04-22 网宿科技股份有限公司 CDN service scheduling method and system

Also Published As

Publication number Publication date
CN109005071B (en) 2021-05-25

Similar Documents

Publication Publication Date Title
CN104486445B (en) Distributed extendable resource monitoring system based on cloud platform
CN109218355B (en) Load balancing engine, client, distributed computing system and load balancing method
CN103516807B (en) A kind of cloud computing platform server load balancing system and method
CN102971724B (en) The method and apparatus relevant with the management based on modular virtual resource in data center environment
CN103152393B (en) A kind of charging method of cloud computing and charge system
CN109117265A (en) The method, apparatus, equipment and storage medium of schedule job in the cluster
Téllez et al. A tabu search method for load balancing in fog computing
CN109075988B (en) Task scheduling and resource issuing system and method
CN111897638B (en) Distributed task scheduling method and system
CN106919445A (en) A kind of method and apparatus of the container of Parallel Scheduling in the cluster
CN110417613A (en) Distributed performance test method, device, equipment and storage medium based on Jmeter
CN108111586A (en) The web cluster system and method that a kind of high concurrent is supported
CN103607424B (en) Server connection method and server system
US8606908B2 (en) Wake-up server
US20220318071A1 (en) Load balancing method and related device
CN103491024A (en) Job scheduling method and device for streaming data
CN103207920A (en) Parallel metadata acquisition system
CN109478973A (en) For task schedule, the SDN controller of resource granting and service offer, system and method
CN108900626A (en) Date storage method, apparatus and system under a kind of cloud environment
CN109951320A (en) A kind of expansible multi layer monitoing frame and its monitoring method of facing cloud platform
CN109634735A (en) A kind of method and device for dispatching Pod
CN110914805A (en) Computing system for hierarchical task scheduling
CN109005071A (en) A kind of decision and deployment method and controlling equipment
CN109639796A (en) A kind of implementation of load balancing, device, equipment and readable storage medium storing program for executing
CN106547790A (en) A kind of relevant database service system

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