CN105847398A - Business scheduling method, scheduling server and business server - Google Patents

Business scheduling method, scheduling server and business server Download PDF

Info

Publication number
CN105847398A
CN105847398A CN201610262871.XA CN201610262871A CN105847398A CN 105847398 A CN105847398 A CN 105847398A CN 201610262871 A CN201610262871 A CN 201610262871A CN 105847398 A CN105847398 A CN 105847398A
Authority
CN
China
Prior art keywords
service
information
type
client
business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610262871.XA
Other languages
Chinese (zh)
Inventor
夏彦刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Holding Beijing Co Ltd
LeTV Cloud Computing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Cloud Computing 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 LeTV Holding Beijing Co Ltd, LeTV Cloud Computing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610262871.XA priority Critical patent/CN105847398A/en
Publication of CN105847398A publication Critical patent/CN105847398A/en
Pending legal-status Critical Current

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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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
    • H04L67/1014Server selection for load balancing based on the content of a request
    • 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/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a business scheduling method, a scheduling server and a business server. The business scheduling method comprises: the scheduling server receives the node request information of a request service node sent by the business server, wherein the node request information carries the business type information requested by a client, and he business type information is configured to indicate the type of the client, and/or the type of the business requested by the client; a plurality of service nodes are scheduled according to the business type information; and the scheduling result is carried by the returning information of the node request information, and the return information is sent to the business server. According to the embodiment of the invention, the data amount, required to be processed, of CDN scheduling is reduced, and the speed of service providing by the service nodes is improved.

Description

Business scheduling method, dispatch server and service server
Technical field
The present invention relates to content distribution techniques field, particularly relate to a kind of business scheduling method, one Dispatch server and a kind of service server.
Background technology
CDN (Content Delivery Network, content distributing network) is by network everywhere Place node server, be formed in one layer of intelligent virtual network on existing Internet basic. CDN system can be in real time according to network traffics and the connection of each node, load state and to using The request of user is re-directed to from the nearest clothes of user by the integrated informations such as the distance at family and response time On business node, make user can obtain required content nearby, solve the situation of network congestion, improve and use The response speed of access website, family.
But, along with increasing of Internet user, a large number of users is in identical time period central access The situation of same website often occurs, the business that existing CDN scheduling scheme sends according to client Business information in request, selects in a large amount of service nodes in a big way and dispatches.
But, this CDN scheduling scheme needs select in substantial amounts of service node and dispatch, Need data volume to be processed big, inefficiency, and then affect user and use the experience of CDN service.
Summary of the invention
It is an object of the invention to provide a kind of business scheduling method, a kind of dispatch server and one Service server, to solve existing CDN scheduling needs data volume to be processed big, inefficiency, Affect the problem that user uses the experience of CDN service.
According to an aspect of the present invention, it is provided that a kind of business scheduling method, including dispatch service Device receives the node solicited message of the request service node that service server sends, wherein, described joint Point solicited message carries the information of the type of service of the business of client request, described service class The information of type is used for indicating the client-class of described client, and/or, the request of described client The class of service of described business;According to the information of described type of service, multiple service nodes are carried out Scheduling;The result of described scheduling is carried in the return information of described node solicited message, and to Described service server sends described return information.
Preferably, the information of described type of service includes at least one of: setting of described client The business that standby grouping information belonging to type information, described client, described client are asked Action type information.
Preferably, according to the information of described type of service, the step that multiple service nodes are scheduling Suddenly include: described node solicited message is resolved by described dispatch server according to setting rule, Described node solicited message after analytically obtains the information of described type of service;According to described industry Multiple service nodes are scheduling by the information of service type.
Preferably, described node solicited message is HTTP request message;Described dispatch server is pressed According to set rule described node solicited message is resolved, analytically after described node request letter The step of the information obtaining described type of service in breath includes: described dispatch server is according to setting rule Then resolve the setting field in described HTTP request message, obtain described business according to analysis result The information of type.
Preferably, according to the information of described type of service, the step that multiple service nodes are scheduling Suddenly include: described dispatch server is according to the information of described type of service, according to default with described Multiple service nodes are scheduling by the type of service scheduling strategy that type of service is corresponding.
According to a further aspect in the invention, additionally provide a kind of business scheduling method, including: business Server receives the service request that client sends, and wherein, carries described in described service request The information of the type of service of the business of client request, the information of described type of service is used for indicating institute State the client-class of client, and/or, the class of service of the described business of described client request; According to the information of described type of service, generate node solicited message, wherein, described node request letter Breath is for asking service node to dispatch server;Sending described node to described dispatch server please Seek information.
Preferably, the information of described type of service includes at least one of: setting of described client The business that standby grouping information belonging to type information, described client, described client are asked Action type information.
Preferably, after send the step of described node solicited message to described dispatch server, Described method also includes: receive what described dispatch server returned according to the information of described type of service Scheduling result information;According to described scheduling result information preparation M3U8 list, and by described M3U8 List feeds back to described client.
In accordance with a further aspect of the present invention, additionally provide a kind of dispatch server, including: first connects Receive module, for receiving the node solicited message of the request service node that service server sends, its In, described node solicited message carries the information of the type of service of the business of client request, The information of described type of service is used for indicating the client-class of described client, and/or, described visitor The class of service of the described business of family end request;Scheduler module, for according to described type of service Multiple service nodes are scheduling by information;Return module, for the result of described scheduling being taken Band is in the return information of described node solicited message, and returns to described in the transmission of described service server Write in reply and cease.
Preferably, the information of described type of service includes at least one of: setting of described client The business that standby grouping information belonging to type information, described client, described client are asked Action type information.
Preferably, described scheduler module includes: parsing module, for according to setting rule to described Node solicited message resolves, analytically after described node solicited message in obtain described business The information of type;Scheduling performs module, for the information according to described type of service, to multiple clothes Business node is scheduling.
Preferably, described node solicited message is HTTP request message;Described parsing module, uses According to the setting field set in HTTP request message described in rule parsing, according to analysis result Obtain the information of described type of service.
Preferably, scheduling performs module, for the information according to described type of service, according to presetting The type of service scheduling strategy corresponding with described type of service, multiple service nodes are adjusted Degree.
According to another aspect of the invention, additionally provide a kind of service server, including: second connects Receive module, for receiving the service request that client sends, wherein, described service request is carried Having the information of the type of service of the business that described client asks, the information of described type of service is used for Indicate the client-class of described client, and/or, the industry of the described business of described client request Business classification;Generation module, for the information according to described type of service, generates node solicited message, Wherein, described node solicited message is for asking service node to dispatch server;Sending module, For sending described node solicited message to described dispatch server.
Preferably, the information of described type of service includes at least one of: setting of described client The business that standby grouping information belonging to type information, described client, described client are asked Action type information.
Preferably, described service server also includes: the 3rd receiver module, in described transmission Module, after dispatch server sends described node solicited message, receives described dispatch server root The scheduling result information returned according to the information of described type of service;Feedback module, for according to described Scheduling result information preparation M3U8 list, and described M3U8 list is fed back to described client.
The traffic scheduling scheme provided by the embodiment of the present invention, when carrying out the traffic scheduling of CDN, Service server includes what client was asked in the node solicited message that dispatch server sends The information of the type of service of business, by the information of this type of service, dispatch server can be clear and definite Ground determines the type of the service node required for client, determines and needs to select and the service joint of scheduling Point range, and then the multiple service nodes in the range of this are scheduling, finally client is carried For business service.Wherein, because service node can configure according to type of service, just for certain One type of service carries out corresponding scheduling, and then provides service, thus scheduling and the efficiency of service Higher, and, it is greatly reduced selection and the scheduling scope of service node, reduces CDN scheduling Need data volume to be processed, improve service node and the speed of service is provided.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of a kind of business scheduling method of according to embodiments of the present invention;
Fig. 2 is the flow chart of steps of a kind of business scheduling method of according to embodiments of the present invention two;
Fig. 3 is the flow chart of steps of a kind of business scheduling method of according to embodiments of the present invention three;
Fig. 4 is the flow chart of steps of a kind of business scheduling method of according to embodiments of the present invention four;
Fig. 5 is the flow chart of steps of a kind of business scheduling method of according to embodiments of the present invention five;
Fig. 6 is the structured flowchart of a kind of dispatch server of according to embodiments of the present invention six;
Fig. 7 is the structured flowchart of a kind of dispatch server of according to embodiments of the present invention seven;
Fig. 8 is the hardware architecture diagram of a kind of dispatch server of according to embodiments of the present invention eight;
Fig. 9 is the structured flowchart of a kind of service server of according to embodiments of the present invention nine;
Figure 10 is the structured flowchart of a kind of service server of according to embodiments of the present invention ten;
Figure 11 is the hardware configuration signal of a kind of service server of according to embodiments of the present invention 11 Figure.
Detailed description of the invention
Describe the exemplary embodiment of the present invention below in conjunction with the accompanying drawings in detail.
Embodiment one
With reference to Fig. 1, it is shown that the step of a kind of business scheduling method of according to embodiments of the present invention Flow chart.
The present embodiment is from the angle of dispatch server, the traffic scheduling side providing the embodiment of the present invention Method illustrates.The business scheduling method of the present embodiment comprises the following steps:
Step S102: dispatch server receives the node of the request service node that service server sends Solicited message.
Wherein, node solicited message carries the information of the type of service of the business of client request, The information of type of service is used for indicating the client-class of client, and/or, the industry of client request The class of service of business.
In the embodiment of the present invention, it is possible to receive the service request for requested service that client sends, This service request is processed, generates node solicited message according to the information carried in service request, To be sent to dispatch server request service node distribution and the server of scheduling, it is construed as Service server.
In CDN, when client needs business service, business can be sent to service server Request;Service server, after receiving the service request that client sends, can be asked according to this business Seek survival into node solicited message, ask corresponding service node to dispatch server.
Compared with traditional above-mentioned flow process, in the embodiment of the present invention, client please in the business sent The information of the type of service of asked business is carried in asking, so that the client-class of client to be described, And/or, the class of service of the business of client request.After receiving this service request, business service Device can generate the request of corresponding node, includes the information of above-mentioned type of service in this node is asked, Targetedly service node is selected according to the information of this type of service with request dispatch server Take and dispatch.
Step S104: multiple service nodes, according to the information of type of service, are carried out by dispatch server Scheduling.
In the embodiment of the present invention, multiple mean two or more.Multiple service nodes are in advance Configure targetedly according to type of service, such that it is able to be greatly improved the level of resources utilization, Even if so that when a large number of services having burst is asked, by the configuration of service node and Scheduling can also effectively meet demand.Such as, service node cluster A000~A100 is exclusively used in as north The cellphone subscriber in area, capital provides net cast service, and this service node cluster has higher hardware And network configuration, such as higher network speed, the wider network bandwidth etc..Service node cluster The cellphone subscriber that B000~B100 is exclusively used in as Beijing area provides video transmission and download service, should Service node cluster has bigger memory space, higher network speed etc..Then dispatch server is entering Row scheduling time, as receive be Beijing area cellphone subscriber net cast request, then service Select among node cluster A000~A100 and distribute service node, only providing at these service nodes In the case of source is inadequate, then the service node scheduling resource outside this cluster.
Step S106: the return that the result of scheduling is carried in node solicited message by dispatch server is believed In breath, and send return information to service server.
Wherein, the result of scheduling includes the information of the service node that dispatch server returns.
The business scheduling method provided by the present embodiment, when carrying out the traffic scheduling of CDN, industry Business server includes, in the node solicited message that dispatch server sends, the industry that client is asked The information of the type of service of business, by the information of this type of service, dispatch server can be clearly Determine the type of service node required for client, determine and need to select and the service node of scheduling Scope, and then the multiple service nodes in the range of this are scheduling, finally client is provided Business service.Wherein, because service node can configure according to type of service, just for a certain Type of service carries out corresponding scheduling, and then provides service, thus the efficiency of scheduling and service is more Height, and, it is greatly reduced selection and the scheduling scope of service node, reducing CDN scheduling needs Data volume to be processed, improves service node and provides the speed of service.
Embodiment two
With reference to Fig. 2, it is shown that the step of a kind of business scheduling method of two according to embodiments of the present invention Flow chart.
The business scheduling method of the embodiment of the present invention, from the angle of dispatch server, is entered by the present embodiment Row explanation, the business scheduling method of the present embodiment comprises the following steps:
Step S202: after service server receives the service request that client transmission comes, therefrom obtain Take the information of the type of service of the business that client is asked, and the information according to this type of service is raw Become node solicited message.
Wherein, the node solicited message that service server generates is for dispatch server request service Node, carries the information of the type of service of the business of client request in node solicited message, should The information of type of service is used for indicating the client-class of client, and/or, the industry of client request The class of service of business.
Wherein, the information of type of service includes but not limited at least one of: the equipment of client The action type letter of the business that the grouping information belonging to type information, client, client are asked Breath.Such as, the device type of client be mobile terminal device (can also more be refined to mobile phone, Panel computer or IPAD etc.) or PC equipment or other client device;Or, visitor Business Name belonging to the end of family;Or, the action type of the business that client is asked is live going back It is to relay, is directly broadcasting or download etc..
Step S204: dispatch server receives the node of the request service node that service server sends Solicited message.
Step S206: node solicited message is resolved by dispatch server according to setting rule, from Node solicited message after parsing obtains the information of type of service.
Certain agreement is followed in communication between dispatch server and service server, the two mutual Message follows the form of regulation in agreement.Such as, it is intended that node solicited message certain field or The information of the type of service of the business that client is asked is carried in certain position.In the case, adjust Node solicited message can be resolved, it is then determined that carry the letter of type of service by degree server The respective field of breath or position, and then the industry of the business asked from this field or position acquisition client The information of service type.Wherein, the field of the information of type of service or position are carried by art technology Personnel are appropriately arranged with according to actually used agreement and interaction message, and this is not made by the embodiment of the present invention Limit.Can be appropriately arranged with according to actual conditions by those skilled in the art that is, set rule.
As a example by the most conventional http protocol, those skilled in the art may be set in former HTTP The last information increasing type of service of request message, or, after the home position of client Increase information of type of service etc..The most such as, other feasibility signaling is used to carry out interacting message Time, new field can be increased in this signaling and carry the information of type of service, or, using should Reserved field information carrying type of service of signaling etc..
Visible, when node solicited message is resolved by dispatch server according to setting rule, one Plant feasible mode to include: dispatch server is according to setting in rule parsing HTTP request message Set field, obtain the information of type of service according to analysis result.
Step S208: dispatch server is according to the information of type of service, according to default and service class Multiple service nodes are scheduling by the type of service scheduling strategy that type is corresponding.
Such as, it is exclusively used in service node cluster C000~C100 and provides service for cellphone subscriber, clothes Business node cluster D000~D100 is exclusively used in as a example by providing service for PC user.Dispatch server When carrying out service node scheduling, certain scheduling strategy can be followed, e.g., when judging client When device type is mobile phone, then select the suitable service node in C000~C100;When judging client When the device type of end is PC, then select the suitable service node in D000~D100.
The most such as, in service node cluster C000~C100, C000~C050 is mainly cellphone subscriber Offer net cast services, C051~C100 is mainly cellphone subscriber and provides video download services, when When the information instruction cell-phone customer terminal request net cast of type of service services, then from C000~C050 Middle selection and dispatch service node.
It is, of course, also possible to use other suitable type of service scheduling strategy, so that service node to be entered Row effectively scheduling, provides abundant resource to client.
Step S210: the return that the result of scheduling is carried in node solicited message by dispatch server is believed In breath, and send described return information to service server.
The result of scheduling includes the service class of the business that dispatch server is asked according to client The information of the service node that the information of type selects, these information are carried and are being returned letter by dispatch server Breath is sent to service server, informs client by service server, and then carry for client For service.
By the business scheduling method of the present embodiment, dispatch server is knowing what client was asked After the type of service of business, can select targetedly and dispatch service node, with efficiently, fill Divide ground to provide corresponding Service Source, improve the service efficiency of Service Source, decrease scheduling office The data volume of reason, improves user's experience.
Embodiment three
With reference to Fig. 3, it is shown that the step of a kind of business scheduling method of three according to embodiments of the present invention Flow chart.
The present embodiment is from the angle of service server, the traffic scheduling side providing the embodiment of the present invention Method illustrates.The business scheduling method of the present embodiment comprises the following steps:
Step S302: service server receives the service request that client sends.
Wherein, service request carries the information of the type of service of the business of client request, industry The information of service type is used for indicating the client-class of client, and/or, the business of client request Class of service.
Client in CDN provides corresponding business service (such as video playback) at needs server Time, service request can be sent by the service server in CDN, be provided with requested service server The service node of service resources.In the embodiment of the present invention, unlike traditional business request, visitor The service request that family end sends also carries the information of type of service.
Step S304: service server, according to the information of type of service, generates node solicited message.
Wherein, node solicited message is for asking service node to dispatch server, and this node is asked Information carries the information of above-mentioned type of service.
Step S306: service server is to dispatch server sending node solicited message.
By the business scheduling method of the present embodiment, service server generates node solicited message, should Node solicited message carries the information of the type of service of the business that client is asked, in order to adjust Degree server distributes and dispatch service node according to the information of this type of service, targetedly to subtract Few distribution and traffic control amount, improve service node distribution and the speed of scheduling and efficiency.
Embodiment four
With reference to Fig. 4, it is shown that the step of a kind of business scheduling method of four according to embodiments of the present invention Flow chart.
The traffic scheduling side that the embodiment of the present invention is still provided by the present embodiment from business server side Method illustrates.The business scheduling method of the present embodiment comprises the following steps:
Step S402: client sends service request to service server.
Wherein, described service request carries the information of the type of service of the business of client request, The information of type of service is used for indicating the client-class of client, and/or, the institute of client request State the class of service of business.Service request can use the HTTP request following http protocol Form.
Client needs when CDN server requested service, and can send business to service server please Ask, unlike traditional business request, in the embodiment of the present invention, except comprising in service request The relevant information (such as Business Name etc.) of the business that has and asked outward, also carries type of service Information.
Step S404: service server receives the service request that client sends.
Step S406: service server, according to the information of type of service, generates node solicited message.
Wherein, node solicited message is for asking service node, node request letter to dispatch server Breath can be to use the form of the HTTP request following http protocol.
Such as, first service request is resolved by service server, therefrom obtains type of service Information, then, carries this information in node solicited message, to be sent to dispatch server.
Wherein, the information of type of service includes at least one of: the device type information of client, The action type information of the business that the grouping information belonging to client, client are asked.
Step S408: service server is to dispatch server sending node solicited message.
Step S410: service server receives what dispatch server returned according to the information of type of service Scheduling result information.
Dispatch server, after receiving node solicited message, therefrom obtains the industry that client is asked The information of the type of service of business, and then according to the information of this type of service, according to setting rule from one Service node in the range of Ding chooses node, then the information of the node chosen is returned to business Server.
Step S412: service server generates the response message of response service request according to scheduling result, This response message is sent to client.
In a kind of feasible pattern, service server according to scheduling result information preparation M3U8 list, And this M3U8 list is fed back to client.Wherein, M3U8 list is a playlist. Content Organizing and Consumer's Experience for convenience, the video file of service node such as direct broadcast server can quilt It is cut into multiple video-frequency band (the such as every section video-frequency band of 10 seconds).When user wants to watch live, Direct broadcast server generates a playlist, has several sections of video files (such as 3 sheets inside list Section), it is exactly this section of content (10 seconds * 3=30 that the player of client links up broadcasting these fragments Second) live.Certainly, live carrying out, the playlist once obtained can not be contained always Later all of content, so at set intervals, client will be again new to server request List, to obtain new data, it is achieved the most live.
It should be noted that in actual applications, the response to service request is not limited to M3U8 table, Those skilled in the art can send the most suitable response message according to actual conditions to client, Scheduling result is notified client.
By the business scheduling method of the present embodiment, service server is in the node solicited message generated In carry the information of type of service of the business that client is asked, and be sent to dispatch server, So that dispatch server selects and dispatch service node targetedly according to the information of this type of service, To reduce distribution and traffic control amount, improve service node distribution and the speed of scheduling and efficiency.
Embodiment five
With reference to Fig. 5, it is shown that the step of a kind of business scheduling method of five according to embodiments of the present invention Flow chart.
The present embodiment is from the mutual angle of client, service server and dispatch server, to this The business scheduling method that bright embodiment provides illustrates.The business scheduling method of the present embodiment includes Following steps:
Step S502: client sends the service request for requested service to service server.
Wherein, in described service request in addition to carrying the relevant information of the business asked, also Carry the information of the type of service of the business that client is asked.
The information of type of service includes but not limited at least one of: the device type of client is believed The action type information of the business that the grouping information belonging to breath, client, client are asked.Example As, the device type of client is that mobile terminal device (can also more be refined to mobile phone, flat board electricity Brain or IPAD etc.) or PC equipment or other client device;Or, client institute The Business Name belonged to;Or, the action type of the business that client is asked is live or relays, It is directly broadcasting or download etc..
Step S504: service server receives described service request, obtains visitor from service request The information of the business that family end is asked.
Wherein, the information of the business that the client that service server obtains from service request is asked Include but not limited to the information of the type of service of the business that client asked, and, the industry asked The relevant information of business, e.g., the title of the business asked, kind etc..
Step S506: service server, according to the information of the business obtained, generates node solicited message.
Wherein, node solicited message is for asking service node, node request letter to dispatch server Breath carries the information of above-mentioned business, especially carries the industry of the business that above-mentioned client is asked The information of service type.
Step S508: service server is to dispatch server sending node solicited message.
Step S510: dispatch server receives the node solicited message that service server sends, therefrom Obtain information and other relevant information of business of the type of service of the business that client is asked.
Step S512: the information of the type of service of the business that dispatch server is asked according to client With other relevant information of business, from multiple service nodes, scheduling is chosen as client and provides service Service node.
Step S514: the information of the service node selected is carried in responsive node by dispatch server In the return information of solicited message, send to service server.
Step S516: service server receives the return information that dispatch server sends, and therefrom obtains Take the information of service node.
Step S518: the information of the service node of acquisition is carried at customer in response end by service server Service request response message in, to client send.
Step S520: client receives the response message that service server returns, and therefrom obtains clothes The information of business node, sets up with this service node and is connected, obtain service resources.
By the present embodiment, client carries the letter of type of service in the service request of requested service Breath, arrives dispatch server via service server, so that dispatch server is according to this business The information of type is dispatched targetedly and selects service node, to reduce distribution and traffic control amount, Improve service node distribution and the speed of scheduling and efficiency.
Embodiment six
With reference to Fig. 6, it is shown that the structural frames of a kind of dispatch server of six according to embodiments of the present invention Figure.
The dispatch server of the present embodiment includes: the first receiver module 602, is used for receiving business clothes The node solicited message of the request service node that business device sends, wherein, carries in node solicited message Having the information of the type of service of the business that client asks, the information of type of service is used for indicating client The client-class of end, and/or, the class of service of the business of client request;Scheduler module 604, For the information according to type of service, multiple service nodes are scheduling;Return module 606, For the result of scheduling is carried in the return information of node solicited message, and to service server Send return information.
By the present embodiment, dispatch server can be according to the type of service of client institute requested service Information, determine the type of service node required for client clearly, determine needs select and The service node scope of scheduling, and then the multiple service nodes in the range of this are scheduling, Business service is provided eventually to client.Wherein, can join according to type of service because of service node Put, carry out corresponding scheduling just for a certain type of service, and then service is provided, thus scheduling In hgher efficiency with service, and, it is greatly reduced selection and the scheduling scope of service node, fall Low CDN scheduling needs data volume to be processed, improves service node and provides the speed of service.
Embodiment seven
With reference to Fig. 7, it is shown that the structural frames of a kind of dispatch server of seven according to embodiments of the present invention Figure.
The dispatch server of the present embodiment includes: the first receiver module 702, is used for receiving business clothes The node solicited message of the request service node that business device sends, wherein, carries in node solicited message Having the information of the type of service of the business that client asks, the information of type of service is used for indicating client The client-class of end, and/or, the class of service of the business of client request;Scheduler module 704, For the information according to type of service, multiple service nodes are scheduling;Return module 706, For the result of scheduling is carried in the return information of node solicited message, and to service server Send return information.
Preferably, the information of type of service includes at least one of: the device type of client is believed The action type information of the business that the grouping information belonging to breath, client, client are asked.
Preferably, scheduler module 704 includes: parsing module 7042, for right according to setting rule Node solicited message resolves, analytically after node solicited message in obtain the letter of type of service Breath;Scheduling performs module 7044, for the information according to type of service, enters multiple service nodes Row scheduling.
Preferably, node solicited message is HTTP request message;Parsing module 7042, is used for pressing According to the setting field set in rule parsing HTTP request message, obtain business according to analysis result The information of type.
Preferably, scheduling performs module 7044, for the information according to type of service, according to presetting The type of service scheduling strategy corresponding with type of service, multiple service nodes are scheduling.
The dispatch server of the present embodiment is used for realizing dispatching accordingly in aforesaid plurality of embodiment of the method The business scheduling method of server end, and there is the beneficial effect of corresponding embodiment of the method, at this Repeat no more.
Embodiment eight
With reference to Fig. 8, it is shown that the hardware knot of a kind of dispatch server of eight according to embodiments of the present invention Structure schematic diagram.
The hardware configuration of the dispatch server of the present embodiment is illustrated as shown in Figure 8, in fig. 8, adjusts Degree server includes first processor 802, first transceiver 804, first memory 806 and first Bus 808.Wherein, first processor 802, first transceiver 804, first memory 806 lead to Cross the first bus 808 to communicate.
Wherein, dispatch server receives, by first transceiver 804, the request that service server sends The node solicited message of service node, wherein, carries client request in node solicited message The information of the type of service of business, the information of type of service is used for indicating the client-class of client, And/or, the class of service of the business of client request;By first processor 802 according to service class Multiple service nodes are scheduling by the information of type, and the result of scheduling are carried in node request In the return information of information;Return information is sent to service server again by first transceiver 804.
In the optional embodiment of one, the information of type of service includes at least one of: visitor The business that grouping information belonging to the device type information of family end, client, client are asked Action type information.
In the optional embodiment of one, first processor 802 in the information according to type of service, When multiple service nodes are scheduling, according to setting rule, node solicited message is resolved, Node solicited message after analytically obtains the information of type of service;According to the information of type of service, Multiple service nodes are scheduling.Wherein, set rule to be stored in first memory 806. Additionally, also storage has the relevant information of multiple service node in first memory 806.First processes Device 802 is according to multiple service nodes of storage in the information of type of service and first memory 806 Multiple service nodes are scheduling by relevant information.
If node solicited message is HTTP request message, then first processor 802 is according to setting rule Then resolve the setting field in HTTP request message, obtain the letter of type of service according to analysis result Breath.
In the optional embodiment of one, first processor 802 in the information according to type of service, When multiple service nodes are scheduling, according to the information of type of service, according to default and business Multiple service nodes are scheduling by the type of service scheduling strategy that type is corresponding.Wherein, in advance If the type of service scheduling strategy corresponding with type of service be stored in first memory 806, First processor 802 obtains the industry corresponding with type of service preset from first memory 806 Service type scheduling strategy, and then according to this strategy, multiple service nodes are scheduling.
Should be appreciated that the dispatch server provided according to embodiments of the present invention can realize aforesaid plurality of side The corresponding flow process of dispatch server in method, for sake of simplicity, do not repeat them here, said method is implemented Associated description in example is also applied for the present embodiment.
Additionally, the embodiment of the present invention additionally provides a kind of computer program, this computer program includes Computer-readable code, when this computer-readable code runs on dispatch server, causes adjusting Degree server performs the traffic scheduling of the dispatch server end of any one in aforesaid plurality of embodiment of the method Method.
Further, the embodiment of the present invention additionally provides a kind of computer-readable medium, wherein stores The computer program stated.
Embodiment nine
With reference to Fig. 9, it is shown that the structural frames of a kind of service server of nine according to embodiments of the present invention Figure.
The service server of the present embodiment includes: the second receiver module 902, is used for receiving client The service request sent, wherein, carries the service class of the business of client request in service request The information of type, the information of type of service is used for indicating the client-class of client, and/or, client The class of service of the business of end request;Generation module 904, for the information according to type of service, Generating node solicited message, wherein, node solicited message is for dispatch server request service joint Point;Sending module 906, for dispatch server sending node solicited message.
By the present embodiment, service server is getting from the service request that client transmission comes After the information of the type of service of the business that client is asked, by this information by node solicited message It is sent to dispatch server, so that dispatch server is according to the information of this type of service targetedly Scheduling and select service node, with reduce distribution and traffic control amount, improve service node distribution and The speed of scheduling and efficiency.
Embodiment ten
With reference to Figure 10, it is shown that the structural frames of a kind of service server of ten according to embodiments of the present invention Figure.
The service server of the present embodiment includes: the second receiver module 1002, is used for receiving client The service request sent, wherein, carries the service class of the business of client request in service request The information of type, the information of type of service is used for indicating the client-class of client, and/or, client The class of service of the business of end request;Generation module 1004, for the information according to type of service, Generating node solicited message, wherein, node solicited message is for dispatch server request service joint Point;Sending module 1006, for dispatch server sending node solicited message.
Preferably, the information of type of service includes at least one of: the device type of client is believed The action type information of the business that the grouping information belonging to breath, client, client are asked.
Preferably, the service server of the present embodiment also includes: the 3rd receiver module 1008, is used for At sending module 1006 after dispatch server sending node solicited message, receive dispatch server The scheduling result information that information according to type of service returns;Feedback module 1010, for according to tune Degree object information establishment M3U8 list, and M3U8 list is fed back to client.
The service server of the present embodiment is used for the corresponding business in aforesaid plurality of embodiment of the method that realizes The business scheduling method of server end, and there is the beneficial effect of corresponding embodiment of the method, at this Repeat no more.
Embodiment 11
With reference to Figure 11, it is shown that the hardware of a kind of service server of 11 according to embodiments of the present invention Structural representation.
The hardware configuration of the service server of the present embodiment is illustrated as shown in figure 11, in fig. 11, Service server includes the second processor 1102, second transceiver 1104, second memory 1106 With the second bus 1108.Wherein, the second processor 1102, second transceiver 1104, second deposit Reservoir 1106 is communicated by the second bus 1108.
Wherein, service server receives, by second transceiver 1104, the service request that client sends, Wherein, service request carries the information of the type of service of the business of client request, service class The information of type is used for indicating the client-class of client, and/or, the industry of the business of client request Business classification;By the second processor 1102 according to the information of type of service, generate node solicited message, Wherein, node solicited message is for asking service node to dispatch server;Again by the second transmitting-receiving Device 1104 is to dispatch server sending node solicited message.
In the optional embodiment of one, the information of type of service includes at least one of: visitor The business that grouping information belonging to the device type information of family end, client, client are asked Action type information.
In the optional embodiment of one, service server passes through second transceiver 1104 to scheduling After server sending node solicited message, receive dispatch server and return according to the information of type of service The scheduling result information returned;Second processor 1102 according to scheduling result information preparation M3U8 list, And again by second transceiver 1104, M3U8 list is fed back to client.Wherein, second deposit Preserving the establishment rules of M3U8 list in reservoir 1106, the second processor 1102 is deposited from second After reservoir 1106 obtains the establishment rules of M3U8 list, according to this establishment rules and scheduling result Information preparation M3U8 list.
Should be appreciated that the service server provided according to embodiments of the present invention can realize aforesaid plurality of side The corresponding flow process of service server in method, for sake of simplicity, do not repeat them here, said method is implemented Associated description in example is also applied for the present embodiment.
Additionally, the embodiment of the present invention additionally provides a kind of computer program, this computer program includes Computer-readable code, when this computer-readable code runs on service server, causes industry Business server performs the traffic scheduling of the service server end of any one in aforesaid plurality of embodiment of the method Method.
Further, the embodiment of the present invention additionally provides a kind of computer-readable medium, wherein stores The computer program stated.
It should be noted that the traffic scheduling scheme that the embodiment of the present invention provides is applicable to various The scheduling of CDN, is particularly suited for carrying out CDN scheduling during net cast, to improve scheduling effect Rate, quickly to user feedback net cast data, promotes the experience of user's watching video live broadcast.But It is not limited to this, the network similar with CDN for other or scene, the industry that the embodiment of the present invention provides Business scheduling scheme is equally applicable.
It may be noted that according to the needs implemented, all parts/step described in this application can be torn open It is divided into more components/steps, it is possible to by two or more components/steps or the part of components/steps The components/steps that operational group synthesis is new, to realize the purpose of the present invention.
Above-mentioned the method according to the invention can realize in hardware, firmware, or is implemented as depositing Store up the software in record medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk) Or computer code, or be implemented through original storage that network downloads at remotely record medium or In nonvolatile machine readable media and the computer code in local recording medium will be stored in, from And method described here can be stored in use all-purpose computer, application specific processor or able to programme Or the such software on the record medium of specialized hardware (such as ASIC or FPGA) processes.Can To understand, computer, processor, microprocessor controller or programmable hardware include storing or Receive software or the storage assembly (such as, RAM, ROM, flash memory etc.) of computer code, when When described software or computer code are by computer, processor or hardware access and execution, it is achieved This processing method described.Additionally, when all-purpose computer accesses for realizing the process being shown in which Code time, all-purpose computer is converted to for performing the process being shown in which by the execution of code Special-purpose computer.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not Be confined to this, any those familiar with the art in the technical scope that the invention discloses, Change can be readily occurred in or replace, all should contain within protection scope of the present invention.Therefore, originally The protection domain of invention should be as the criterion with described scope of the claims.

Claims (16)

1. a business scheduling method, including:
Dispatch server receives the node solicited message of the request service node that service server sends, Wherein, described node solicited message carries the information of the type of service of the business of client request, The information of described type of service is used for indicating the client-class of described client, and/or, described visitor The class of service of the described business of family end request;
According to the information of described type of service, multiple service nodes are scheduling;
The result of described scheduling is carried in the return information of described node solicited message, and to institute State service server and send described return information.
Method the most according to claim 1, wherein, the information of described type of service include with At least one lower:
Grouping information belonging to the device type information of described client, described client, described visitor The action type information of the business that family end is asked.
Method the most according to claim 1 and 2, wherein, according to the letter of described type of service Breath, the step being scheduling multiple service nodes includes:
Described node solicited message is resolved, from solution by described dispatch server according to setting rule Described node solicited message after analysis obtains the information of described type of service;
According to the information of described type of service, multiple service nodes are scheduling.
Method the most according to claim 3, wherein, described node solicited message is HTTP Request message;
Described node solicited message is resolved, from solution by described dispatch server according to setting rule The step of the information obtaining described type of service in the described node solicited message after analysis includes:
Described dispatch server is according to the setting word set in HTTP request message described in rule parsing Section, obtains the information of described type of service according to analysis result.
Method the most according to claim 3, wherein, according to the information of described type of service, The step being scheduling multiple service nodes includes:
Described dispatch server is according to the information of described type of service, according to default with described business Multiple service nodes are scheduling by the type of service scheduling strategy that type is corresponding.
6. a business scheduling method, including:
Service server receives the service request that client sends, and wherein, takes in described service request The information of the type of service of the business asked with described client, the information of described type of service is used In the client-class of the described client of instruction, and/or, the described business of described client request Class of service;
According to the information of described type of service, generating node solicited message, wherein, described node please Ask information for asking service node to dispatch server;
Described node solicited message is sent to described dispatch server.
Method the most according to claim 6, wherein, the information of described type of service include with At least one lower:
Grouping information belonging to the device type information of described client, described client, described visitor The action type information of the business that family end is asked.
8. according to the method described in claim 6 or 7, wherein, sending out to described dispatch server After sending the step of described node solicited message, described method also includes:
Receive the scheduling result information that described dispatch server returns according to the information of described type of service;
According to described scheduling result information preparation M3U8 list, and described M3U8 list is fed back To described client.
9. a dispatch server, including:
First receiver module, please for receiving the node of the request service node that service server sends Seek information, wherein, described node solicited message carries the service class of the business of client request The information of type, the information of described type of service for indicating the client-class of described client, and/ Or, the class of service of the described business of described client request;
Multiple service nodes, for the information according to described type of service, are adjusted by scheduler module Degree;
Return module, for the result of described scheduling being carried the return in described node solicited message In information, and send described return information to described service server.
Dispatch server the most according to claim 9, wherein, the letter of described type of service Cease and include at least one of:
Grouping information belonging to the device type information of described client, described client, described visitor The action type information of the business that family end is asked.
11. according to the dispatch server described in claim 9 or 10, wherein, and described scheduler module Including:
Parsing module, for resolving, from solution described node solicited message according to setting rule Described node solicited message after analysis obtains the information of described type of service;
Scheduling performs module, for the information according to described type of service, enters multiple service nodes Row scheduling.
12. dispatch servers according to claim 11, wherein, described node solicited message For HTTP request message;
Described parsing module, for according to setting setting in HTTP request message described in rule parsing Determine field, obtain the information of described type of service according to analysis result.
13. dispatch servers according to claim 9, wherein, scheduling performs module, uses In the information according to described type of service, according to the default business corresponding with described type of service Multiple service nodes are scheduling by type dispatch strategy.
14. 1 kinds of service servers, including:
Second receiver module, for receiving the service request that client sends, wherein, described business Request carries the information of the type of service of the business of described client request, described type of service Information for indicating the client-class of described client, and/or, the institute of described client request State the class of service of business;
Generation module, for the information according to described type of service, generates node solicited message, its In, described node solicited message is for asking service node to dispatch server;
Sending module, for sending described node solicited message to described dispatch server.
15. service servers according to claim 14, wherein, the letter of described type of service Cease and include at least one of:
Grouping information belonging to the device type information of described client, described client, described visitor The action type information of the business that family end is asked.
16. according to the service server described in claims 14 or 15, wherein, also includes:
3rd receiver module, please for sending described node at described sending module to dispatch server After seeking information, receive the scheduling that described dispatch server returns according to the information of described type of service Object information;
Feedback module, is used for according to described scheduling result information preparation M3U8 list, and by described M3U8 list feeds back to described client.
CN201610262871.XA 2016-04-25 2016-04-25 Business scheduling method, scheduling server and business server Pending CN105847398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610262871.XA CN105847398A (en) 2016-04-25 2016-04-25 Business scheduling method, scheduling server and business server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610262871.XA CN105847398A (en) 2016-04-25 2016-04-25 Business scheduling method, scheduling server and business server

Publications (1)

Publication Number Publication Date
CN105847398A true CN105847398A (en) 2016-08-10

Family

ID=56589070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610262871.XA Pending CN105847398A (en) 2016-04-25 2016-04-25 Business scheduling method, scheduling server and business server

Country Status (1)

Country Link
CN (1) CN105847398A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107707943A (en) * 2017-06-29 2018-02-16 贵州白山云科技有限公司 A kind of method and system for realizing cloud service fusion
CN107786594A (en) * 2016-08-26 2018-03-09 深圳市腾讯计算机***有限公司 Service request processing method and device
CN108153803A (en) * 2017-11-17 2018-06-12 北京奇艺世纪科技有限公司 A kind of data capture method, device and electronic equipment
WO2018127010A1 (en) * 2017-01-03 2018-07-12 北京奇虎科技有限公司 Method and apparatus for scheduling transmission node
CN108616600A (en) * 2018-05-11 2018-10-02 深圳市网心科技有限公司 Resource regulating method, client server, node device, network system and medium
CN108667935A (en) * 2018-05-11 2018-10-16 深圳市网心科技有限公司 Network service method, server, network system and storage medium
CN110392069A (en) * 2018-04-17 2019-10-29 华为技术有限公司 CDN traffic scheduling processing method and CDN server
CN110461042A (en) * 2018-05-07 2019-11-15 ***通信集团有限公司 A kind of adaptive approach and device of dispatching algorithm
CN110650171A (en) * 2018-06-27 2020-01-03 视联动力信息技术股份有限公司 Video networking service scheduling system and method
CN110896411A (en) * 2019-07-15 2020-03-20 腾讯科技(深圳)有限公司 Service processing method and related equipment
CN113747192A (en) * 2021-11-03 2021-12-03 腾讯科技(深圳)有限公司 Live broadcast control method and device, electronic equipment and storage medium
CN114071193A (en) * 2021-11-19 2022-02-18 中国联合网络通信集团有限公司 Video data processing method and system
CN114466031A (en) * 2021-12-27 2022-05-10 天翼云科技有限公司 CDN system node configuration method, device, equipment and storage medium

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786594A (en) * 2016-08-26 2018-03-09 深圳市腾讯计算机***有限公司 Service request processing method and device
WO2018127010A1 (en) * 2017-01-03 2018-07-12 北京奇虎科技有限公司 Method and apparatus for scheduling transmission node
CN107707943A (en) * 2017-06-29 2018-02-16 贵州白山云科技有限公司 A kind of method and system for realizing cloud service fusion
CN108153803A (en) * 2017-11-17 2018-06-12 北京奇艺世纪科技有限公司 A kind of data capture method, device and electronic equipment
CN110392069B (en) * 2018-04-17 2021-12-14 华为技术有限公司 CDN service scheduling processing method and CDN server
CN110392069A (en) * 2018-04-17 2019-10-29 华为技术有限公司 CDN traffic scheduling processing method and CDN server
CN110461042B (en) * 2018-05-07 2022-12-09 ***通信集团有限公司 Self-adaptive method and device for scheduling algorithm
CN110461042A (en) * 2018-05-07 2019-11-15 ***通信集团有限公司 A kind of adaptive approach and device of dispatching algorithm
CN108616600A (en) * 2018-05-11 2018-10-02 深圳市网心科技有限公司 Resource regulating method, client server, node device, network system and medium
CN108667935A (en) * 2018-05-11 2018-10-16 深圳市网心科技有限公司 Network service method, server, network system and storage medium
CN110650171A (en) * 2018-06-27 2020-01-03 视联动力信息技术股份有限公司 Video networking service scheduling system and method
CN110896411A (en) * 2019-07-15 2020-03-20 腾讯科技(深圳)有限公司 Service processing method and related equipment
CN110896411B (en) * 2019-07-15 2021-07-27 腾讯科技(深圳)有限公司 Service processing method and related equipment
CN113747192A (en) * 2021-11-03 2021-12-03 腾讯科技(深圳)有限公司 Live broadcast control method and device, electronic equipment and storage medium
CN113747192B (en) * 2021-11-03 2022-02-22 腾讯科技(深圳)有限公司 Live broadcast control method and device, electronic equipment and storage medium
CN114071193A (en) * 2021-11-19 2022-02-18 中国联合网络通信集团有限公司 Video data processing method and system
CN114071193B (en) * 2021-11-19 2023-08-22 中国联合网络通信集团有限公司 Video data processing method and system
CN114466031A (en) * 2021-12-27 2022-05-10 天翼云科技有限公司 CDN system node configuration method, device, equipment and storage medium
CN114466031B (en) * 2021-12-27 2023-10-10 天翼云科技有限公司 CDN system node configuration method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105847398A (en) Business scheduling method, scheduling server and business server
CN101540775A (en) Method and device for distributing contents and network system for distributing contents
CN103392329B (en) Service conversation resource management
CN102377686B (en) Message subscription system, method and device
CN105847381A (en) Scheduling method and device for content server
US20150317583A1 (en) Business Scheduling Method and Apparatus and Convergence Device
JP6442507B2 (en) How to allocate available network bandwidth during ongoing traffic sessions performed by devices on the network, corresponding devices
CN105681387A (en) Method, device and system for uploading live video
CN103442030A (en) Method and system for sending and processing service request messages and client-side device
Um et al. Dynamic Resource Allocation and Scheduling for Cloud‐Based Virtual Content Delivery Networks
CN109729397A (en) A kind of plug-flow method, system and server
US20170272498A1 (en) Streaming media file distribution method and system
CN103973662A (en) Streaming media request method and controller
CN105610869B (en) Method and device for scheduling streaming media
CN101300562B (en) Method and apparatus regarding use of a service convergence fabric
CN113382065B (en) File downloading method, device, system, equipment and storage medium
CN105577646B (en) Method, equipment and the content distribution system of user side aggregated bandwidth
CN113596166B (en) Data acquisition method, device, computer equipment and storage medium
CN107040615A (en) Method for down loading, terminal and the computer-readable recording medium of media slicing
CN104767796B (en) A kind of car networking hot point resource management method based on mobile P 2 P
KR20220098258A (en) Systems and methods for optimizing simulcast streams in group video calls
CN104780591B (en) Business interoperability implementation method, device, system and relevant device between terminal device
CN103051745A (en) Obtaining method and device of address of session boundary controller
CN105210347B (en) Monitoring server, resolution server, request equipment and node selecting method
CN108337537B (en) Cloud platform video playing and scheduling method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160810

WD01 Invention patent application deemed withdrawn after publication