CN106686101A - Scheduling method and apparatus of transmission clusters of stream data - Google Patents

Scheduling method and apparatus of transmission clusters of stream data Download PDF

Info

Publication number
CN106686101A
CN106686101A CN201710002819.5A CN201710002819A CN106686101A CN 106686101 A CN106686101 A CN 106686101A CN 201710002819 A CN201710002819 A CN 201710002819A CN 106686101 A CN106686101 A CN 106686101A
Authority
CN
China
Prior art keywords
transmission
client
trunking
transmission trunking
cluster
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
CN201710002819.5A
Other languages
Chinese (zh)
Other versions
CN106686101B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo 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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201710002819.5A priority Critical patent/CN106686101B/en
Publication of CN106686101A publication Critical patent/CN106686101A/en
Priority to PCT/CN2017/120140 priority patent/WO2018127011A1/en
Application granted granted Critical
Publication of CN106686101B publication Critical patent/CN106686101B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Abstract

The invention discloses a scheduling method and apparatus of transmission clusters of stream data. The scheduling method of transmission clusters of stream data includes the steps: prestoring the configuration relationship between the positional information of a client and at least one transmission cluster, wherein different transmission clusters belong to different transmission service suppliers; according to the transmission performance data of the transmission clusters of each transmission service supplier, correcting the configuration relationship; according to the corrected configuration relationship, scheduling the corresponding first transmission cluster for a first client; and notifying the first client with the scheduled first transmission cluster for transmission of stream data. The scheduling method and apparatus of transmission clusters of stream data can realize correction of the corresponding relationship between the positional information and the transmission clusters according to the transmission performance data of each transmission cluster, and can solve the problem that adjustment of transmission clusters cannot be realized according to the network conditions or the operating conditions when the transmission clusters supply steam data transmission service for the client.

Description

A kind of dispatching method and device of transmission trunking of flow data
Technical field
The present invention relates to flow data technical field of memory, and in particular to a kind of dispatching method of the transmission trunking of flow data, And a kind of dispatching device of the transmission trunking of flow data.
Background technology
Flow data is can be frequently relied upon with the data by the way of stream transmission in transmission over networks, large-scale website system It is transmitted in content distributing network (Content Delivery Network, CDN) stream data, content distributing network is logical One layer of new network structure of increase is crossed in existing network, is allow on the node that user transfers data to nearby or from just Near node obtains required data.In content distributing network, transmission node is deployed with, for buffering flow data, is given nearby User provides service.
With the development of the higher network application of picture net cast or the first-class stream data transmission quality requirements of remote shooting, Rely solely on content distributing network that supplier provides to support that catenet application becomes to meet needs.Rely on many The transmission that supplier of family provides content distributing network to carry out flow data becomes a kind of selection.
In prior art, Stream Data Transmission needs to select one in the corresponding content distributing network of multiple different operators Stream Data Transmission server is provided, and selects to be in accordance with fixed configuration relation during content distributing network in client distribution Content distributing network, it is impossible to the network condition or operation shape when Stream Data Transmission is serviced is provided for client according to content invention network The content distributing network that the adjustment such as condition is chosen.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome the problems referred to above or at least in part solve on State the dispatching method and corresponding device of a kind of transmission trunking of flow data of problem.
According to one aspect of the present invention, there is provided a kind of dispatching method of the transmission trunking of flow data, including:
The configuration relation of the positional information of the client that prestores and at least one transmission trunking, wherein, different transmission trunkings are returned Belong to different transmission service providers;
According to the transmission performance data of the transmission trunking of each transmission service provider, the configuration relation is modified;
It is that the first client dispatches corresponding first transmission trunking according to revised configuration relation;
First transmission trunking of scheduling is notified to the first client, for the transmission of flow data.
Alternatively, the transmission performance data carry the client identification and transmission trunking mark of transmitting procedure of correspondence Know, the transmission performance data of the transmission trunking according to each transmission service provider are modified bag to the configuration relation Include:
Collect transmission performance data of the multiple client of correspondence same position information to same transmission trunking, and calculate flat Average;
Whether given threshold is reached by the comparison meansigma methodss, or by comparing the different transmission of same position information correspondence The meansigma methodss of cluster, are modified to configuration relation of the positional information with transmission trunking.
Alternatively, in the transmission performance data of the transmission trunking according to each transmission service provider, to the configuration Before relation is modified, methods described also includes:
Collect the transmission performance data that multiple client is reported when Stream Data Transmission being carried out with each transmission trunking, the biography Defeated performance data includes code check and/or frame per second.
Alternatively, described is that the first client dispatches corresponding first transmission trunking bag according to revised configuration relation Include:
According to revised configuration relation, multiple transmission trunkings of the first client correspondence configuration are searched;
Choose from the plurality of transmission trunking and meet the first transmission trunking for imposing a condition, it is described to impose a condition including going through The number of times that history is chosen is less than setting ratio, sequence after the transmission trunking that history is chosen, more than setting priority or transporting Sets requirement can be met.
Alternatively, the configuration relation is the corresponding relation of client present position region and transmission trunking, it is described according to Revised configuration relation is that corresponding first transmission trunking of the first client scheduling includes:
Extract the network address and/or the location information of first client;
According to the network address and/or location information, the first client belonging positions region is recognized;
According to the configuration relation, the first transmission trunking configured for the recognized band of position is searched.
Alternatively, notify that methods described also includes to the first client in first transmission trunking by scheduling:
The target flow data of the first client upload is received, the target flow data is pushed to into the multiple transmission trunkings of storage Flow data storage server.
Alternatively, methods described also includes:
The dispatch request that the second client obtains the target flow data is received, and the first of stored target flow data is passed Defeated cluster is notified to the second client.
Alternatively, methods described also includes:
The dispatch request that the second client changes the first transmission trunking is received, and is the second client according to the configuration relation The second transmission trunking of end scheduling, transfers the target flow data from the storage server by second transmission trunking.
Alternatively, it is described according to revised configuration relation be the first client dispatch corresponding first transmission trunking it Before, methods described also includes:
Receive the dispatch request that the first client distributes transmission trunking.
Alternatively, methods described also includes:
When recognizing that the dispatch request indicates to upload flow data, it is flow data distribution traffic identifier to be uploaded;
First transmission trunking by scheduling notifies that to the first client the transmission for flow data includes:
Domain name combination of the traffic identifier with the transmission trunking of scheduling is notified to the first client into streaming address, with The transmission of flow data is carried out according to the streaming address for client.
Alternatively, the dispatch request carries the protocol type of first client, it is described by the traffic identifier with adjust The domain name combination of the transmission trunking of degree includes into streaming address:
With the protocol type as protocol header, by the domain name combination of the traffic identifier and the transmission trunking of scheduling into streaming Address.
Alternatively, it is described according to revised configuration relation be the first client dispatch corresponding first transmission trunking it Before, methods described also includes:
First client determines there is newly-increased transmission trunking;
First client downloads corresponding communication configuration code from communication configuration code storehouse;
The newly-increased transmission trunking is the first transmission trunking, is notified to first objective in first transmission trunking by scheduling Family end, for the transmission of flow data after, methods described also includes:
When calling the newly-increased transmission trunking, the first client is explained using preset interpreter and performs the communication configuration Code, is transmitted the dispatch request of node by the communication configuration code according to the communication protocol of the newly-increased transmission trunking Encapsulation;
First client sends the dispatch request of encapsulation to the newly-increased transmission trunking;
First client carries out the transmission of flow data according to the transmission node of the newly-increased transmission trunking scheduling.
Alternatively, first client determines that there is newly-increased transmission trunking includes:
First client obtains the first cluster-list for recording all transmission trunkings from cluster management server;
First client passes through to compare first cluster-list and the second locally stored cluster-list, it is determined that depositing In newly-increased transmission trunking.
Alternatively, methods described also includes:
If by comparing first cluster-list and the second locally stored cluster-list, first client determines The object transmission cluster that presence has been deleted, then delete the local corresponding communication configuration code of object transmission cluster for preserving.
Alternatively, methods described also includes:
First client updates the second cluster-list with the first cluster-list of the cluster management server.
Alternatively, the communication configuration code also records the network address of the newly-increased transmission trunking, and described first is objective Family end sends the dispatch request of encapsulation to the newly-increased transmission trunking to be included:
The network address of the described newly-increased transmission trunking that first client is indicated according to the communication configuration code, will The dispatch request of encapsulation is sent to the newly-increased transmission trunking.
Alternatively, first client carries out the biography of flow data according to the transmission node of the newly-increased transmission trunking scheduling It is defeated including:
First client receives the scheduling result of the newly-increased transmission trunking feedback;
The communication configuration code is explained and performed to first client using preset interpreter, is configured by the communication Communication protocol of the code according to the newly-increased transmission trunking, parses the newly-increased transmission trunking scheduling from the scheduling result Transmission node node identification;
First client carries out the biography of flow data according to the transmission address of the corresponding transmission node of the node identification It is defeated.
Alternatively, it is described call the newly-increased transmission trunking when, first client using preset interpreter explain And the communication configuration code is performed, passed according to the communication protocol of the newly-increased transmission trunking by the communication configuration code Before the encapsulation of the dispatch request of defeated node, methods described also includes:
First client sends Stream Data Transmission request to trunking dispatch server, and receives the colony dispatching clothes The feedback result of the newly-increased transmission trunking of scheduling of business device feedback.
Alternatively, after first client determines and there is newly-increased transmission trunking, methods described also includes:
First client obtains the cluster identity of the newly-increased transmission trunking;
Before first client downloads corresponding communication configuration code from communication configuration code storehouse, methods described Also include:
It is right that first client is searched from communication configuration code storehouse according to the cluster identity of the newly-increased transmission trunking The communication configuration code answered.
According to a further aspect in the invention, there is provided a kind of dispatching device of the transmission trunking of flow data, including:
The pre- storing module of configuration relation, the configuration of positional information and at least one transmission trunking for the client that prestores are closed System, wherein, different transmission trunkings belong to different transmission service providers;
Configuration relation correcting module, it is for the transmission performance data of the transmission trunking according to each transmission service provider, right The configuration relation is modified;
Colony dispatching module, for collecting for corresponding first transmission of the first client scheduling according to revised configuration relation Group;
Cluster notification module, for the first transmission trunking of scheduling is notified to the first client, for flow data Transmission.
Alternatively, the transmission performance data carry the client identification and transmission trunking mark of transmitting procedure of correspondence Know, the configuration relation correcting module includes:
Mean value calculation submodule, for collecting the multiple client of correspondence same position information to same transmission trunking Transmission performance data, and calculate meansigma methodss;
Configuration relation amendment submodule, for whether reaching given threshold by the comparison meansigma methodss, or by comparing The meansigma methodss of same position information correspondence difference transmission trunking, are modified to configuration relation of the positional information with transmission trunking.
Alternatively, described device also includes:
Data collection module, for the transmission performance data in the transmission trunking according to each transmission service provider, Before being modified to the configuration relation, collect what multiple client was reported when Stream Data Transmission being carried out with each transmission trunking Transmission performance data, the transmission performance data include code check and/or frame per second.
Alternatively, the colony dispatching module includes:
Cluster searches submodule, for according to revised configuration relation, searching the first client correspondence configuration Multiple transmission trunkings;
First cluster chooses submodule, meets the impose a condition first transmission for choosing from the plurality of transmission trunking Cluster, it is described impose a condition including history choose number of times less than setting ratio, sequence history choose transmission trunking after, Sets requirement is met more than setting priority or transmission performance.
Alternatively, the configuration relation is client present position region and the corresponding relation of transmission trunking, the cluster Scheduler module includes:
Information retrieval submodule, for extracting the network address and/or the location information of first client;
Region recognition submodule, for according to the network address and/or location information, recognizing the first client institute The category band of position;
Submodule is searched, for according to the configuration relation, searching the first biography configured for the recognized band of position Defeated cluster.
Alternatively, described device also includes:
Flow data receiver module, for notifying to the first client in first transmission trunking by scheduling, connects The target flow data of the first client upload is received, the target flow data is pushed to the flow data that stores multiple transmission trunkings Storage server.
Alternatively, described device also includes:
First request receiving module, obtains the dispatch request of the target flow data for receiving the second client, and will First transmission trunking of stored target flow data is notified to the second client.
Alternatively, described device also includes:
Dispatch request changes module, for the dispatch request of reception the second client the first transmission trunking of replacing, and according to The configuration relation is that the second client dispatches the second transmission trunking, is adjusted from the storage server by second transmission trunking Take the target flow data.
Alternatively, described device also includes:
Second request receiving module, for dispatching corresponding for the first client according to revised configuration relation described Before first transmission trunking, the dispatch request that the first client distributes transmission trunking is received.
Alternatively, described device also includes:
Traffic identifier distribute module, during for recognizing that the dispatch request indicates to upload flow data, is flow data to be uploaded Distribution traffic identifier;
The cluster notification module includes:
Transmission address notify submodule, for by the traffic identifier with scheduling transmission trunking domain name combination into streaming Address is notified to the first client, so that client carries out the transmission of flow data according to the streaming address.
Alternatively, the dispatch request carries the protocol type of first client, and the transmission address notifies submodule Block includes:
Transmission address composition subelement, for the protocol type as protocol header, by the traffic identifier and the biography dispatched The domain name combination of defeated cluster is into streaming address.
Alternatively, described device also includes:
Cluster determining module, for dispatching corresponding first for the first client according to revised configuration relation described Before transmission trunking, the first client determines there is newly-increased transmission trunking;
Configuration code download module, downloads corresponding communication configuration generation from communication configuration code storehouse for the first client Code;
The newly-increased transmission trunking is the first transmission trunking, and described device also includes:
Dispatch request package module, for it is described by scheduling the first transmission trunking notify to the first client, with After the transmission of flow data, when calling the newly-increased transmission trunking, the first client is explained and is performed using preset interpreter The communication configuration code, is transmitted node according to the communication protocol of the newly-increased transmission trunking by the communication configuration code Dispatch request encapsulation;
Dispatch request sending module, sends the dispatch request of encapsulation to the newly-increased transmission collection for the first client Group;
Stream Data Transmission module, is flowed according to the transmission node of the newly-increased transmission trunking scheduling for the first client The transmission of data.
Alternatively, the cluster determining module includes:
List acquisition submodule, obtains from cluster management server for first client and records all transmission trunkings The first cluster-list;
List comparison sub-module, for first client by compare first cluster-list with it is locally stored Second cluster-list, it is determined that there is newly-increased transmission trunking.
Alternatively, described device also includes:
Configuration code removing module, if for by comparing first cluster-list with the second locally stored collection series Table, first client determine there is the object transmission cluster deleted, then delete the local object transmission cluster pair for preserving The communication configuration code answered.
Alternatively, described device also includes:
List update module, is updated with the first cluster-list of the cluster management server for first client Second cluster-list.
Alternatively, the communication configuration code also records the network address of the newly-increased transmission trunking, and the scheduling please Sending module is asked to include:
Request-to-send submodule, for the described newly-increased biography that first client is indicated according to the communication configuration code The network address of defeated cluster, the dispatch request of encapsulation is sent to the newly-increased transmission trunking.
Alternatively, the Stream Data Transmission module includes:
Scheduling result receiving submodule, receives the scheduling knot of the newly-increased transmission trunking feedback for first client Really;
Node identification analyzing sub-module, is explained using preset interpreter for first client and performs the communication Configuration code, by the communication configuration code according to the communication protocol of the newly-increased transmission trunking, solves from the scheduling result Separate out the node identification of the transmission node of the newly-increased transmission trunking scheduling;
Stream Data Transmission submodule, for first client according to the corresponding transmission node of the node identification biography Defeated address carries out the transmission of flow data.
Alternatively, described device also includes:
Feedback result receiver module, for it is described call the newly-increased transmission trunking when, first client is adopted The communication configuration code is explained and performed to preset interpreter, by the communication configuration code according to the newly-increased transmission trunking Before communication protocol is transmitted the encapsulation of the dispatch request of node, first client sends to trunking dispatch server and flows Data transfer request, and receive the feedback result of the newly-increased transmission trunking of scheduling of the trunking dispatch server feedback.
Alternatively, described device also includes:
Identifier acquisition module, after determining and there is newly-increased transmission trunking in first client, described first is objective Family end obtains the cluster identity of the newly-increased transmission trunking;
Described device also includes:
Codelookup module, for corresponding communication configuration is downloaded from communication configuration code storehouse in first client Before code, it is right that first client is searched from communication configuration code storehouse according to the cluster identity of the newly-increased transmission trunking The communication configuration code answered.
A kind of dispatching method and device of the transmission trunking of flow data of the invention can be by the client that prestores The configuration relation of positional information and at least one transmission trunking, according to the transmission performance of the transmission trunking of each transmission service provider Data, are modified to the configuration relation, are that the first client scheduling corresponding first is passed according to revised configuration relation Defeated cluster, the first transmission trunking of scheduling is notified to the first client, for the transmission of flow data so that adjusted for client The configuration relation of degree transmission trunking can be adjusted according to transmission performance data, realize the transporting according to each transmission trunking Energy data, correction position information and the corresponding relation of transmission trunking, solve and cannot provide stream for client according to transmission trunking Network condition or operation conditions during data transport service etc. adjust the problem of transmission trunking.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of description, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By the detailed description for reading hereafter preferred implementation, various other advantages and benefit are common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for the purpose for illustrating preferred implementation, and is not considered as to the present invention Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical part.In the accompanying drawings:
The step of Fig. 1 shows a kind of dispatching method of the transmission trunking of according to embodiments of the present invention one flow data flow process Schematic diagram;
The step of Fig. 2 shows a kind of dispatching method of the transmission trunking of according to embodiments of the present invention two flow data flow process Schematic diagram;
The step of Fig. 3 shows a kind of dispatching method of the transmission trunking of according to embodiments of the present invention three flow data flow process Schematic diagram;
Fig. 4 shows a kind of structural frames of the dispatching device of the transmission trunking of according to embodiments of the present invention four flow data Figure.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here Limited.On the contrary, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
With reference to Fig. 1, a kind of step of the dispatching method of the transmission trunking of according to embodiments of the present invention one flow data is shown Rapid schematic flow sheet, specifically may include steps of:
The configuration relation of step 101, the positional information of the client that prestores and at least one transmission trunking.
In the present embodiment, transmission trunking refers to a kind of computer network system interconnected by the Internet, using most Near the server of every user, music, picture, video, application program and alternative document are sent to into use faster, more reliably Family, the Web content for providing high-performance, extensibility and low cost pass to user.Such as content distributing network (Content Delivery Network, CDN).
In the present embodiment, different transmission trunkings belongs to different transmission service providers, transmits service provider Refer to the transmission network supplier for providing that transmission trunking can be transmitted with service flow data.Any suitable supply can specifically be selected Side, the present embodiment are without limitation.
Transmission trunking can be used for the transmission of flow data, wherein, flow data be can with using stream transmission by the way of in net The data transmitted on network, flow data can be from a node-node transmissions at least one transmission node.Can on one transmission node There are multiple Stream Data Transmissions simultaneously, transmission trunking is made up of multiple transmission nodes.Wherein transmission node is to can be used for connecing The server for receive, storing, distribute flow data.
Large-scale Stream Data Transmission system often relies on transmission trunking stream data and is transmitted, transmission trunking be by Increase by one layer of new network structure in existing network, allow on the node that user transfers data to nearby or from nearby Node obtains required data.In transmission trunking, transmission node is deployed with, for buffering flow data, is provided the user with nearby Service.Such as net cast application or remote camera application often rely on transmission trunking stream data and are transmitted.
The positional information of client refers to the band of position or geographically affiliated that can characterize client belonging on network The band of position information, can include the corresponding geographic area of the corresponding address field in the network address and/or position location, wherein The network address (Network address) is the logical address that the node on the Internet has in a network.For example, IP address (English:Internet Protocol Address, are translated into internet protocol address again).Wherein location information is utilized for client The geographical location information that positioning service is obtained.For example, the geographical location information that client call GPS is obtained.
In the present embodiment, the configuration of the positional information and at least one transmission trunking of the client that can prestore in server Relation, wherein configuration relation are a kind of corresponding relation between positional information and at least one transmission trunking, for according to client The positional information at end is that client distributes corresponding transmission trunking to provide Stream Data Transmission service.For example, configuration relation can be with It is the corresponding relation of network address section and at least one transmission trunking, or geographic area and at least one transmission trunking is right Should be related to.
The configuration relation for prestoring can be any suitable configuration relation of artificial setting, or according to historical data Each transmission trunking is analyzed for the configuration relation that the performance in diverse location region is generated, any suitable configuration can be specifically adopted Relation, the present embodiment are without limitation.
Specifically, the corresponding transmission trunking of positional information can have multiple, can also record multiple transmission trunkings Sequence, sort forward, represent transmission performance more preferably, can be used as the preferential transmission trunking chosen.
Step 102, according to the transmission performance data of the transmission trunking of each transmission service provider, enters to the configuration relation Row amendment.
The performance data that transmission performance data are each client when carrying out Stream Data Transmission with transmission trunking, can specifically wrap Code check, frame per second when including Stream Data Transmission etc..The transmission performance data of transmission trunking can entered by least one client The data gathered during row Stream Data Transmission, the transmission performance of each transmission trunking that the data that Jing synthesis multiple clients are reported are obtained Data.
In the present embodiment, the transmission performance data of the transmission trunking of each transmission service provider are regular by each client Get what is obtained ready, for example, the code check during Stream Data Transmission that client is periodically reported, and client user's selection or client According to the frame per second of the video stream data of network condition switching.
The positional information carried when reporting transmission performance data according to each client, determines each transmission trunking correspondence each position The transmission performance data of information, as same transmission trunking is directed to different geographic areas, that is, believe for different positions Breath, transmission performance data have difference, change over time, the transmission performance data of each transmission trunking correspondence each position information Can change.Configuration relation is modified according to the transmission performance data of each transmission trunking.
Specifically, it can be transmission trunking corresponding for positional information to correct configuration relation, be modified to transmission The optimal transmission trunking of performance data, or each transmission trunking is resequenced according to the height of transmission performance data, press The order amendment configuration relation of the transmission trunking after sequence.
Step 103, is that the first client dispatches corresponding first transmission trunking according to revised configuration relation.
In the present embodiment, the first client request is that Stream Data Transmission distributes a transmission trunking, and server is according to repairing Configuration relation after just, according to the positional information of the first client, finds corresponding first transmission trunking.Specifically, Positional information is sent to one client the server of responsible scheduled transmission cluster, by the server root of responsible scheduled transmission cluster According to locally stored configuration relation, transmission trunking corresponding with the position relationship of the first client, the transmission collection for finding are searched Group is the first transmission trunking.For example, the corresponding affiliated area of the positional information of the first client is Beijing UNICOM, is searched and Beijing The corresponding transmission trunking of UNICOM, that is, transmission trunking corresponding with positional information, find transmission corresponding with Beijing UNICOM Cluster is the first transmission trunking.
Step 104, the first transmission trunking of scheduling is notified to the first client, for the transmission of flow data.
In the present embodiment, server notifies the first transmission trunking dispatched according to configuration relation to the first client, First client is set up with the first transmission trunking and is connected, and completes the transmission of flow data.Can be specifically by the first transmission trunking Mark or domain name addresses notify that to the first client Stream Data Transmission is asked by the first client according to mark or domain name addresses It is sent to the first transmission trunking, the first transmission trunking can feed back transmission node in a transmission trunking to the first client, First client is set up with transmission node and is connected transmission flow data.
In sum, according to the embodiment of the present invention, by the positional information and at least one transmission trunking of the client that prestores Configuration relation, according to it is each transmission service provider transmission trunking transmission performance data, the configuration relation is repaiied Just, corresponding first transmission trunking is dispatched for the first client according to revised configuration relation, by the first transmission collection of scheduling Group is notified to the first client, for the transmission of flow data so that the configuration relation for client scheduled transmission cluster can be with It is adjusted according to transmission performance data, realizes the transmission performance data according to each transmission trunking, correction position information and biography The corresponding relation of defeated cluster, solves the network condition that cannot be provided for client according to transmission trunking when Stream Data Transmission is serviced Or the problem of the adjustment transmission trunking such as operation conditions.
In embodiments of the present invention, it is preferable that the transmission performance data carry the client of transmitting procedure of correspondence Mark and transmission trunking mark, the transmission performance data of the transmission trunking according to each transmission service provider, match somebody with somebody to described A kind of implementation that the relation of putting is modified is:Collect the multiple client of correspondence same position information to same transmission trunking Transmission performance data, and calculate meansigma methodss;Whether given threshold is reached by the comparison meansigma methodss, or it is same by comparison The meansigma methodss of positional information correspondence difference transmission trunking, are modified to configuration relation of the positional information with transmission trunking.
Client identification refers to the mark of the client of upload transfers performance data, and transmission trunking mark refers to upload transfers The mark of the transmission trunking of the client connection of performance data.
Each client periodically reports transmission performance data, and the transmission performance data for reporting carry transmission performance data correspondence Transmitting procedure client identification and transmission trunking mark, and report client correspondence transmitting procedure in position letter Breath.According to the positional information that client is reported, the multiple client of correspondence same position information is found to same transmission trunking Transmission performance data, and calculate the meansigma methodss of transmission performance data, in this way will be each position information corresponding multiple Transmission performance tidal data recovering of the client to each transmission trunking, and meansigma methodss are calculated respectively.
Configuration relation of the positional information with transmission trunking is modified, specifically can be by comparing whether meansigma methodss reach Given threshold, if reaching meansigma methodss given threshold, can be with the corresponding relation of corresponding transmission trunking and positional information more New configuration relation;Or can be by comparing the meansigma methodss of the corresponding different transmission trunkings of same position information, according to meansigma methodss Sequence, the configuration relation of more new location information and each transmission trunking.
In embodiments of the present invention, it is preferable that the configuration relation is client present position region and transmission trunking Corresponding relation, it is described according to a kind of realization that revised configuration relation is corresponding first transmission trunking of the first client scheduling Mode is:Extract the network address and/or the location information of first client;According to the network address and/or positioning letter Breath, recognizes the first client belonging positions region;According to the configuration relation, lookup is matched somebody with somebody for the recognized band of position The first transmission trunking put.
Configuration relation is the corresponding relation in client present position region and transmission trunking, extracts the network of the first client At least one of address, location information, according at least one of the network address, location information, recognize residing for the first client The band of position, according to revised configuration relation, searches the corresponding transmission trunking in the band of position of identification, and the biography for finding Defeated cluster is the first transmission trunking.Wherein the network address, location information can be client when scheduled transmission cluster is asked on Report.
With reference to Fig. 2, a kind of step of the dispatching method of the transmission trunking of according to embodiments of the present invention two flow data is shown Rapid schematic flow sheet, specifically may include steps of:
The configuration relation of step 201, the positional information of the client that prestores and at least one transmission trunking.
In the present embodiment, concrete mode is consistent with other embodiment description, does not repeat.
Step 202, collects the transmission performance number that multiple client is reported when Stream Data Transmission is carried out with each transmission trunking According to.
Transmission performance data include at least one in code check, frame per second that client can be reported when Stream Data Transmission is carried out Transmission performance data, specifically can report transmission performance data according to the request of server, it is also possible to periodically report transmission performance Data.Multiple client reports transmission performance data, server to collect when Stream Data Transmission is carried out with each transmission trunking, respectively The transmission performance data that each client is reported.
Step 203, according to the transmission performance data of the transmission trunking of each transmission service provider, enters to the configuration relation Row amendment.
In the present embodiment, concrete mode is consistent with other embodiment description, does not repeat.
Step 204, receives the dispatch request that the first client distributes transmission trunking.
In the present embodiment, the first client needs to transmit flow data, sends the scheduling of distribution transmission trunking to server Request, server receive the dispatch request that the first client sends.Wherein server is trunking dispatch server, for for client The server of end scheduled transmission cluster.
Step 205, according to revised configuration relation, searches multiple transmission collection of the first client correspondence configuration Group.
In the present embodiment, positional information and the configuration relation of transmission trunking can be the corresponding multiple biographies of positional information Defeated cluster, according to revised configuration relation, searches the corresponding transmission trunking of positional information of the first client, and finds Transmission trunking be multiple transmission trunkings.
Step 206, chooses from the plurality of transmission trunking and meets the first transmission trunking for imposing a condition.
In the present embodiment, choose from multiple transmission trunkings and meet the transmission trunking for imposing a condition, wherein, impose a condition Can include that the number of times that history is chosen is preferential after the transmission trunking that history is chosen, more than setting less than setting ratio, sequence Level or transmission performance meet sets requirement.
Specifically, imposed a condition according to one kind, the number of times of history selection is chosen from multiple transmission trunkings less than setting The transmission trunking of ratio, the ratio that for example can be chosen for each transmission trunking setting in advance, if transmission trunking is selected in history The number of times being selected in taking record then chooses the transmission trunking less than setting ratio.Setting ratio can be any suitable ratio Example, the present embodiment are without limitation.Imposed a condition according to another kind, from multiple transmission trunkings, according to the biography that history is chosen Defeated cluster, chooses the transmission trunking of unselected mistake recently, such as has 3 transmission trunkings to be just selected in 4 transmission trunkings Cross, then choose unselected transmission trunking.Imposed a condition according to another kind, be multiple transmission trunking setting priority, choose More than the transmission trunking of setting priority.Can also include, from multiple transmission trunkings, choosing transmission performance and meeting sets requirement Transmission trunking, for example according to transmission performance data decimation more than given threshold transmission trunking.It is specifically as follows any suitable Sets requirement, the present embodiment is without limitation.
Step 207, when recognizing that the dispatch request indicates to upload flow data, is flow data distribution traffic identifier to be uploaded.
In the present embodiment, traffic identifier refers to the mark to distinguish flow data to the distribution of each flow data, for example can be by The server of client or scheduled transmission cluster is flow data allocation identification to be uploaded.Identification dispatch request, according to scheduling The transmission distribution transmission trunking for flow data is asked, and allocation result is fed back to the sender of dispatch request, indicate its upload Flow data, while server can also be flow data distribution traffic identifier to be uploaded.
Step 208, domain name combination of the traffic identifier with the transmission trunking of scheduling is notified to first into streaming address Client, so that client carries out the transmission of flow data according to the streaming address.
In the present embodiment, address to be accessed when streaming address carries out Stream Data Transmission for client, by convection current Transmission address is parsed, and initiates to shake hands, and transmission request is initiated after setting up the connection of Stream Data Transmission, and server response transmission please Ask, client obtains the code for carrying out Stream Data Transmission, client parses the code of Stream Data Transmission, performs Stream Data Transmission Code is starting the transmission of flow data.
The server of scheduled transmission cluster, according to dispatch request, is that flow data distributes traffic identifier and the first transmission trunking, and By the domain name combination of traffic identifier and the first transmission trunking into streaming address, streaming address is sent to into the first client, with The transmission of flow data is carried out according to streaming address for client.
In this embodiment, it is preferred that, the dispatch request carries the protocol type of first client, described by institute The domain name combination of transmission trunking that traffic identifier is stated with scheduling into a kind of implementation of streaming address is:With the protocol type For protocol header, by the domain name combination of the traffic identifier and the transmission trunking of scheduling into streaming address.
The protocol type of the Stream Data Transmission that the protocol type of the first client refers to that the first client is supported and selects, example Such as, RTMP full name Routing Table Maintenance Protocol (routing table maintenance protocol) are in AppleTalk In protocol groups, routing table maintenance protocol (RTMP, Routing Table Protocol) is a kind of transport layer protocol, it Set up in appletalk router and safeguard routing table.RTMP is based on RIP (RIP).As RIP mono- Sample, RTMP use jumping figure as route measurement criteria.One packet is sent to objective network from source network, it is necessary to the road for passing through Jumping figure is by the result of calculation of device or other intermediate medium interstitial contents.
In the present embodiment, with the protocol type of the first client as the protocol header of transmission address, by traffic identifier and scheduling Transmission trunking domain name combination into streaming address.
Step 209, receives the target flow data of the first client upload, the target flow data is pushed to storage multiple The storage server of the flow data of transmission trunking.
In the present embodiment, target flow data is the flow data of the first client upload to transmission trunking.Receive target stream Target flow data is pushed to the server of storage flow data, can specifically be used exclusively for storing multiple transmission trunkings by data Flow data storage server.
Step 210, receives the dispatch request that the second client obtains the target flow data, and by stored target flow data The first transmission trunking notify to the second client.
In the present embodiment, the dispatch request of the second client is received, dispatch request is to obtain the scheduling of target flow data Request, according to the dispatch request of the second client, the first transmission trunking of stored target flow data is notified to the second client, Can be specifically the address of the transmission node for having target flow data in the first transmission trunking to be notified to the second client.
Step 211, receives the dispatch request that the second client changes the first transmission trunking, and according to the configuration relation is Second client dispatches the second transmission trunking, transfers the target fluxion from the storage server by second transmission trunking According to.
In the present embodiment, the second client sends the dispatch request for changing the first transmission trunking, for example, due to second objective Between family end and the first transmission trunking, transmission speed cannot meet the needs of net cast.Receive the tune for changing the first transmission trunking Degree request, according to the configuration relation of the positional information and transmission trunking of the second client, is the second client scheduled transmission cluster, And the transmission trunking dispatched is the second transmission trunking.The storage server of the second transmission trunking and the target flow data that is stored with is built Vertical connection, by target Stream Data Transmission to the second transmission trunking.
In sum, according to the embodiment of the present invention, by the positional information and at least one transmission trunking of the client that prestores Configuration relation, collect the transmission performance data that report when Stream Data Transmission is carried out with each transmission trunking of multiple client, root According to the transmission performance data of the transmission trunking of each transmission service provider, the configuration relation is modified so that for client The configuration relation of end scheduled transmission cluster can be adjusted according to the transmission performance data that each client is reported, and realizes basis The corresponding relation of the transmission performance data of each transmission trunking, correction position information and transmission trunking, solving cannot be according to transmission Cluster provides the problem of the adjustment transmission trunkings such as the network condition or operation conditions when Stream Data Transmission is serviced for client.
Further, distribute the dispatch request of transmission trunking by receiving the first client, according to revised configuration relation, Multiple transmission trunkings of the first client correspondence configuration are searched, and satisfaction are chosen from the plurality of transmission trunking and are imposed a condition The first transmission trunking so that when have chosen multiple transmission trunkings according to configuration relation, can according to certain condition for visitor A transmission trunking is distributed at family end, to make full use of each transmission trunking.
When further, by recognizing that the dispatch request indicates to upload flow data, it is that flow data distribution to be uploaded is failed to be sold at auction Know, domain name combination of the traffic identifier with the transmission trunking of scheduling is notified to the first client, for visitor into streaming address Family end carries out the transmission of flow data according to the streaming address so that the server for client scheduled transmission cluster can be with Streaming address is generated for flow data, Stream Data Transmission is completed so that client accesses the address.
Further, by the target flow data of the first client upload of reception, the target flow data is pushed to into storage The storage server of the flow data of multiple transmission trunkings, receives the dispatch request that the second client obtains the target flow data, And the first transmission trunking of stored target flow data is notified to the second client so that flow data can be saved in storage service On device, storage server is that the intermediary service of Stream Data Transmission is carried out across transmission trunking, realizes flow data across transmission trunking Transmission.
With reference to Fig. 3, a kind of step of the dispatching method of the transmission trunking of according to embodiments of the present invention three flow data is shown Rapid schematic flow sheet, specifically may include steps of:
The configuration relation of step 301, the positional information of the client that prestores and at least one transmission trunking.
In the present embodiment, concrete mode is consistent with other embodiment description, does not repeat.
Step 302, according to the transmission performance data of the transmission trunking of each transmission service provider, enters to the configuration relation Row amendment.
In the present embodiment, concrete mode is consistent with other embodiment description, does not repeat.
Step 303, the first client determine there is newly-increased transmission trunking.
In the present embodiment, transmission trunking refers to a kind of computer network system interconnected by the Internet, using most Near the server of every user, music, picture, video, application program and alternative document are sent to into use faster, more reliably Family, the Web content for providing high-performance, extensibility and low cost pass to user.Such as content distributing network (Content Delivery Network, CDN).
Transmission trunking can be used for the transmission of flow data, wherein, flow data be can with using stream transmission by the way of in net The data transmitted on network, flow data can be from a node-node transmissions at least one transmission node.Can on one transmission node There are multiple Stream Data Transmissions simultaneously, transmission trunking is made up of multiple transmission nodes.Wherein transmission node is to can be used for connecing The server for receive, storing, distribute flow data.
Large-scale Stream Data Transmission system often relies on transmission trunking stream data and is transmitted, transmission trunking be by Increase by one layer of new network structure in existing network, allow on the node that user transfers data to nearby or from nearby Node obtains required data.In transmission trunking, transmission node is deployed with, for buffering flow data, is provided the user with nearby Service.Such as net cast application or remote camera application often rely on transmission trunking stream data and are transmitted.
At least one transmission trunking provides Stream Data Transmission service for the first client, when newly-increased transmission trunking is client When providing Stream Data Transmission service, the first client determines there is newly-increased transmission trunking, and concrete mode can be any suitable Mode, the present embodiment are not construed as limiting to this.For example, the first client can be all by obtaining record from cluster management server First cluster-list of transmission trunking, by comparing the first cluster-list and the second locally stored cluster-list, it is determined that existing Newly-increased transmission trunking;Or first client can pass through to receive the newly-increased transmission trunking that cluster management server sends and notify, It is determined that there is newly-increased transmission trunking.In the present invention, cluster management server is the server for managing transmission trunking.
In this embodiment, it is preferred that, first client determines a kind of implementation that there is newly-increased transmission trunking For:First client obtains the first cluster-list for recording all transmission trunkings from cluster management server;Described first Client is by comparing first cluster-list and the second locally stored cluster-list, it is determined that there is newly-increased transmission trunking.
Cluster management server is the server for managing transmission trunking.First cluster-list is to be stored in cluster management Server provides the list of the transmission trunking of Stream Data Transmission service before being taken in.Second cluster-list is to be stored in the first client The list of the local transmission trunking that Stream Data Transmission service is provided.First client downloads to this from cluster management server Ground, then compares the first cluster-list and the second cluster-list, if do not had in having the second cluster-list in the first cluster-list Transmission trunking mark, it is determined that there is newly-increased transmission trunking.
In this embodiment, it is preferred that, methods described also includes:If by comparing first cluster-list and locally depositing Second cluster-list of storage, first client determine there is the object transmission cluster deleted, then delete what is locally preserved The corresponding communication configuration code of object transmission cluster.
Object transmission cluster for no longer for Stream Data Transmission provide service transmission trunking.First client compares the first collection Group-list and the second cluster-list, if the mark of the transmission trunking not having in having the first cluster-list in the second cluster-list, Then determine there is deleted object transmission cluster.The corresponding communication of object transmission cluster that first client is locally preserved is matched somebody with somebody Put code deletion.
In this embodiment, it is preferred that, methods described also includes:First client is with the cluster management server The first cluster-list update the second cluster-list.
First client downloads the first cluster-list from cluster management server, compares the first cluster-list and the second cluster After list, the second cluster-list is updated with the first cluster-list, specifically the second cluster-list can be deleted, and by the first cluster List is saved in locally as the second new cluster-list, or by the content augmentation increased newly in the first cluster-list to local In second cluster-list, or the content deleted in the first cluster-list is deleted from the second local cluster-list.
Step 304, the first client download corresponding communication configuration code from communication configuration code storehouse.
In the present embodiment, the configuration code that communicates is can be with embedded execution between client and transmission trunking The code that configured of communication, perform communication configuration code and can be used for encapsulating dispatch request, resolution scheduling result.Different , when node scheduling is transmitted, the mode for encapsulating dispatch request and parsing scheduling result is different for transmission trunking, it is necessary to Corresponding different communication configuration code.For example, the configuration code that communicates can be the script generation with Lua programming languages Code, realizes configurability, extensibility using using Lua language as Embedded Script Language with this.
Communication configuration code storehouse refers to the data base of the corresponding communication configuration code of each transmission trunking that is stored with, communication configuration Code library can be on any suitable server, and the present embodiment is not construed as limiting to this.For example can be in cluster management server On.
After first client determines the newly-increased transmission trunking of presence, the newly-increased biography of correspondence is found from communication configuration code storehouse The communication configuration code of defeated cluster, and the corresponding communication configuration code of newly-increased transmission trunking is downloaded to locally.
Step 305, is that the first client dispatches corresponding first transmission trunking according to revised configuration relation.
In the present embodiment, concrete mode is consistent with other embodiment description, does not repeat.
Step 306, the first transmission trunking of scheduling is notified to the first client, for the transmission of flow data.
In the present embodiment, concrete mode is consistent with other embodiment description, does not repeat.
Step 307, when calling the newly-increased transmission trunking, the first client is explained using preset interpreter and is performed described Communication configuration code, is transmitted the tune of node by the communication configuration code according to the communication protocol of the newly-increased transmission trunking The encapsulation of degree request.
In the present embodiment, it is the first transmission trunking to increase transmission trunking newly.First client call increases transmission trunking newly Refer to that the first client carries out Stream Data Transmission by newly-increased transmission trunking, can be specifically that the first client actively selects to increase newly Transmission trunking, or can be that the first client reception colony dispatching selects newly-increased for client according to the request of the first client Transmission trunking.
Interpreter (English:Interpreter), Command Interpreter is translated into again, be a kind of computer program, can be advanced programming language Speech a line a line directly translates operation.Interpreter once will not translate out whole program, only as one " go-between ", every time Another kind of language will be first changed into during operation program and remakes operation.It often translates a line procedure statement and just runs at once, Ran Houzai Translation next line, reruns, so ceaselessly goes on.
For different programming languages, different interpreters are had.In the present embodiment, preset interpreter is for can be with Explain and perform communication configuration code interpreter, for example, communication configuration code be based on Lua programming languages, Preset interpreter is exactly the general interpreter of Lua language.
The communication protocol of newly-increased transmission trunking refers to that client and transmission trunking complete to communicate or service institute mandatory Rule and agreement.For example, client sends the packing rule of dispatch request, client to transmission trunking and sends to transmission trunking and adjust The network address of dispatch server of degree request, client receive resolution rules after scheduling result etc..
Communication configuration code is explained and performed to first client using preset interpreter, and dispatch request is packaged, its In, dispatch request is the dispatch request of the transmission node that client is sent to transmission trunking.For example, using Lua language working solutions Release device and explain and perform the corresponding communication configuration code of transmission trunking, perform communication configuration code realization to be sent to client The encapsulation of IP dispatch request packets.Specifically, the content for including for different transmission trunking IP dispatch request packets Difference, in some transmission trunkings agreement IP dispatch request packets be transmission trunking domain name addresses after direct splicing flow data Mark and specific character string, are the transmission trunking of user-defined format in some transmission trunking agreement IP dispatch request packets Domain name addresses, the mark of flow data and specific character string.
Step 308, the first client send the dispatch request of encapsulation to the newly-increased transmission trunking.
In the present embodiment, the first client sends the dispatch request of encapsulation to newly-increased transmission trunking, is specifically as follows During the network address of the corresponding communication configuration code record of access transport cluster, the dispatch request of encapsulation is sent.For example, network ground Location can be the live domain name plug-flow address that transmission trunking is called using in, parse domain name plug-flow address and can obtain encapsulation Dispatch request is sent to for the server of transmission node is selected in transmission trunking.
In this embodiment, it is preferred that, the communication configuration code also records the network ground of the newly-increased transmission trunking The dispatch request of encapsulation is sent to a kind of implementation of the newly-increased transmission trunking and is by location, first client:It is described The network address of the described newly-increased transmission trunking that the first client is indicated according to the communication configuration code, please by the scheduling of encapsulation Transmission is asked to the newly-increased transmission trunking.
The network address of newly-increased transmission trunking is the domain name addresses for calling transmission trunking, the first client parsing network address And access and the dispatch request of encapsulation can be sent on the corresponding transmission trunking in the network address.Concrete parsing communication configuration code The network address of the newly-increased transmission trunking for indicating is available for the address of the server of scheduled transmission node, then will encapsulation Dispatch request send to server.
Step 309, the first client carry out the transmission of flow data according to the transmission node of the newly-increased transmission trunking scheduling.
In the present embodiment, it is the first client scheduled transmission node to increase transmission trunking newly, can be specifically according to first At least one information such as the network address of client, residing geographical position is scheduled, and the transmission node of selection is objective with first The preferable transmission node of family end network connection status, specifically can dispatch for the first client according to any suitable scheduling logic Transmission node, the present embodiment are not construed as limiting to this.First client is set up with the transmission node of scheduling and is connected, and carries out flow data Transmission, can specifically include that the first client carries out the upload or download of flow data.
In this embodiment, it is preferred that, transmission node of first client according to the newly-increased transmission trunking scheduling A kind of implementation for carrying out the transmission of flow data is:First client receives the scheduling of the newly-increased transmission trunking feedback As a result;The communication configuration code is explained and performed to first client using preset interpreter, configures generation by the communication Communication protocol of the code according to the newly-increased transmission trunking, parses the newly-increased transmission trunking scheduling from the scheduling result The node identification of transmission node;First client is carried out according to the transmission address of the corresponding transmission node of the node identification The transmission of flow data.
In the present embodiment, the scheduling result for increasing transmission trunking feedback newly is the transmission node in the transmission trunking of scheduling, Can be specifically dispatch request of the newly-increased transmission trunking according to encapsulation, be a transmission in the first client scheduled transmission cluster The information such as the node identification of the transmission node of scheduling are packaged with node, wherein scheduling result.Transmission trunking can be according to first The network address and/or present position of client is that client distributes a transmission node, can also be included according to multiple transmission Load balance between node is that the first client distributes a transmission node, can specifically adopt any suitable scheduling mode, The present embodiment is not construed as limiting to this.The scheduling result for dispatching generation is sent to the first client by newly-increased transmission trunking, and first is objective Family end receives scheduling result.
Node identification is transmission node mark in a network, can be specifically mark of the transmission node in transmission trunking Or the network address of transmission node, such as IP address.First client is explained using preset interpreter and performs communication configuration Code, parses to scheduling result according to the communication protocol of newly-increased transmission trunking, and the biography of scheduling is parsed from scheduling result The node identification of defeated node.
For example, the corresponding communication configuration code of newly-increased transmission trunking is explained and is performed using the general interpreter of Lua language, is held Row communication configuration code realizes the parsing of the IP scheduling result packets received to client.Specifically, for different transmission The content that cluster IP scheduling result packets include is different, is transmission section in some transmission trunking scheduling appointments result data bags The mark and specific character string of direct splicing flow data, some transmission trunking scheduling appointments result datas behind the network address of point It is the network address of the transmission node of user-defined format, the mark of flow data and specific character string in bag.
In embodiment, it is the network address for Stream Data Transmission to transmit address, specifically can be by Stream Data Transmission The specific character string of agreement correspondence protocol header, the network address of transmission node, the mark of flow data and agreement is combined into transmission Address.
First client can find corresponding transmission node by node identification, and transmission address can be according to from scheduling knot The content parsed in fruit is generated in the first client, it is also possible to is directly parsed from scheduling result and is obtained.First client is visited Transmission address is asked, flow data is transmitted to transmission node.
In this embodiment, it is preferred that, it is described call the newly-increased transmission trunking when, first client is using pre- Put interpreter and explain and perform the communication configuration code, by the communication configuration code according to the logical of the newly-increased transmission trunking Before the encapsulation of the dispatch request that letter agreement is transmitted node, step can also be included:First client is adjusted to cluster Degree server sends Stream Data Transmission and asks, and receives the anti-of the newly-increased transmission trunking of scheduling of the trunking dispatch server feedback Feedback result.
It can be the server of the first client scheduled transmission cluster that trunking dispatch server is, specifically can be according to first The Stream Data Transmission request of client is chosen transmission trunking for the first client and feeds back to the first client.Colony dispatching is serviced Device can be in individual server, or trunking dispatch server cluster.Trunking dispatch server can and collect Group's management server is same server, or another server different with cluster management server.
In the present embodiment, the first client sends Stream Data Transmission request, wherein flow data to trunking dispatch server Transmission request generally carries the network address of client and/or is presently in position, with as trunking dispatch server as visitor Choose the foundation of transmission trunking in family end.First client receives the feedback result of trunking dispatch server, and wherein feedback result is The scheduling result of the newly-increased transmission trunking of scheduling, specifically includes the transmission trunking selected for the first client, can also include for stream The flow data mark of data distribution.In the present embodiment, trunking dispatch server is asked according to the transmission of the first client, is the The transmission trunking of one client scheduling is newly-increased transmission trunking, and the first client receives the feedback knot of trunking dispatch server Really.
In this embodiment, it is preferred that, after first client determines and there is newly-increased transmission trunking, can also wrap Include step:First client obtains the cluster identity of the newly-increased transmission trunking;Match somebody with somebody from communication in first client Before corresponding communication configuration code is downloaded in putting code library, step can also be included:First client is according to described new The cluster identity for increasing transmission trunking searches corresponding communication configuration code from communication configuration code storehouse.
It is determined that after there is newly-increased transmission trunking, the first client custom end obtains the cluster identity of newly-increased transmission trunking, example Such as, the cluster identity of newly-increased transmission trunking can be obtained from the list of transmission trunking.For example can be from the first cluster-list Extract the cluster identity of newly-increased transmission trunking.
Before corresponding communication configuration code is downloaded from communication configuration code storehouse, can be matched somebody with somebody from communication according to cluster identity The corresponding communication configuration code of cluster identity is searched in putting code library.
In sum, according to the embodiment of the present invention, by the positional information and at least one transmission trunking of the client that prestores Configuration relation, according to it is each transmission service provider transmission trunking transmission performance data, the configuration relation is repaiied Just, corresponding first transmission trunking is dispatched for the first client according to revised configuration relation, by the first transmission collection of scheduling Group is notified to the first client, for the transmission of flow data so that the configuration relation for client scheduled transmission cluster can be with It is adjusted according to transmission performance data, realizes the transmission performance data according to each transmission trunking, correction position information and biography The corresponding relation of defeated cluster, solves the network condition that cannot be provided for client according to transmission trunking when Stream Data Transmission is serviced Or the problem of the adjustment transmission trunking such as operation conditions.
Further, determine there is newly-increased transmission trunking by the first client, correspondence is downloaded from communication configuration code storehouse Communication configuration code so that when newly-increased transmission trunking provide Stream Data Transmission service when, directly download it is corresponding communication configuration Code, is the scheduling feature of the newly-increased transmission trunking of client addition, and need not carry out applying the update.
Then when the first transmission trunking is newly-increased transmission trunking, by when the newly-increased transmission trunking is called, first is objective The communication configuration code is explained and is performed at family end using preset interpreter, by the communication configuration code according to the newly-increased biography The communication protocol of defeated cluster is transmitted the encapsulation of the dispatch request of node, and the dispatch request of encapsulation is sent to the newly-increased biography Defeated cluster, carries out the transmission of flow data according to the transmission node of the newly-increased transmission trunking scheduling.So that performing communication configuration generation Code can be completed to increasing the encapsulation of the corresponding dispatch request of transmission trunking newly, be subsequently used in scheduling node scheduled transmission node, real The heat renewal of the scheduling feature of newly-increased transmission trunking is showed, it is to avoid update the inconvenience and not in time of application.
With reference to Fig. 4, a kind of knot of the dispatching device of the transmission trunking of according to embodiments of the present invention four flow data is shown Structure block diagram, specifically can include such as lower module:
The pre- storing module 401 of configuration relation, the configuration of positional information and at least one transmission trunking for the client that prestores Relation, wherein, different transmission trunkings belong to different transmission service providers;
Configuration relation correcting module 402, for the transmission performance data of the transmission trunking according to each transmission service provider, The configuration relation is modified;
Colony dispatching module 403, for passing for the first client scheduling corresponding first according to revised configuration relation Defeated cluster;
Cluster notification module 404, for the first transmission trunking of scheduling is notified to the first client, for flow data Transmission.
In this embodiment, it is preferred that, the transmission performance data carry the client identification of transmitting procedure of correspondence Identify with transmission trunking, the configuration relation correcting module includes:
Mean value calculation submodule, for collecting the multiple client of correspondence same position information to same transmission trunking Transmission performance data, and calculate meansigma methodss;
Configuration relation amendment submodule, for whether reaching given threshold by the comparison meansigma methodss, or by comparing The meansigma methodss of same position information correspondence difference transmission trunking, are modified to configuration relation of the positional information with transmission trunking.
In this embodiment, it is preferred that, described device also includes:
Data collection module, for the transmission performance data in the transmission trunking according to each transmission service provider, Before being modified to the configuration relation, collect what multiple client was reported when Stream Data Transmission being carried out with each transmission trunking Transmission performance data, the transmission performance data include code check and/or frame per second.
In this embodiment, it is preferred that, the colony dispatching module includes:
Cluster searches submodule, for according to revised configuration relation, searching the first client correspondence configuration Multiple transmission trunkings;
First cluster chooses submodule, meets the impose a condition first transmission for choosing from the plurality of transmission trunking Cluster, it is described impose a condition including history choose number of times less than setting ratio, sequence history choose transmission trunking after, Sets requirement is met more than setting priority or transmission performance.
In this embodiment, it is preferred that, the configuration relation is that client present position region is corresponding with transmission trunking Relation, the colony dispatching module include:
Information retrieval submodule, for extracting the network address and/or the location information of first client;
Region recognition submodule, for according to the network address and/or location information, recognizing the first client institute The category band of position;
Submodule is searched, for according to the configuration relation, searching the first biography configured for the recognized band of position Defeated cluster.
In this embodiment, it is preferred that, described device also includes:
Flow data receiver module, for notifying to the first client in first transmission trunking by scheduling, connects The target flow data of the first client upload is received, the target flow data is pushed to the flow data that stores multiple transmission trunkings Storage server.
In this embodiment, it is preferred that, described device also includes:
First request receiving module, obtains the dispatch request of the target flow data for receiving the second client, and will First transmission trunking of stored target flow data is notified to the second client.
In this embodiment, it is preferred that, described device also includes:
Dispatch request changes module, for the dispatch request of reception the second client the first transmission trunking of replacing, and according to The configuration relation is that the second client dispatches the second transmission trunking, is adjusted from the storage server by second transmission trunking Take the target flow data.
In this embodiment, it is preferred that, described device also includes:
Second request receiving module, for dispatching corresponding for the first client according to revised configuration relation described Before first transmission trunking, the dispatch request that the first client distributes transmission trunking is received.
In this embodiment, it is preferred that, described device also includes:
Traffic identifier distribute module, during for recognizing that the dispatch request indicates to upload flow data, is flow data to be uploaded Distribution traffic identifier;
The cluster notification module includes:
Transmission address notify submodule, for by the traffic identifier with scheduling transmission trunking domain name combination into streaming Address is notified to the first client, so that client carries out the transmission of flow data according to the streaming address.
In this embodiment, it is preferred that, the dispatch request carries the protocol type of first client, the transmission Address notifies that submodule includes:
Transmission address composition subelement, for the protocol type as protocol header, by the traffic identifier and the biography dispatched The domain name combination of defeated cluster is into streaming address.
In this embodiment, it is preferred that, described device also includes:
Cluster determining module, for dispatching corresponding first for the first client according to revised configuration relation described Before transmission trunking, the first client determines there is newly-increased transmission trunking;
Configuration code download module, downloads corresponding communication configuration generation from communication configuration code storehouse for the first client Code;
The newly-increased transmission trunking is the first transmission trunking, and described device also includes:
Dispatch request package module, for it is described by scheduling the first transmission trunking notify to the first client, with After the transmission of flow data, when calling the newly-increased transmission trunking, the first client is explained and is performed using preset interpreter The communication configuration code, is transmitted node according to the communication protocol of the newly-increased transmission trunking by the communication configuration code Dispatch request encapsulation;
Dispatch request sending module, sends the dispatch request of encapsulation to the newly-increased transmission collection for the first client Group;
Stream Data Transmission module, is flowed according to the transmission node of the newly-increased transmission trunking scheduling for the first client The transmission of data.
In this embodiment, it is preferred that, the cluster determining module includes:
List acquisition submodule, obtains from cluster management server for first client and records all transmission trunkings The first cluster-list;
List comparison sub-module, for first client by compare first cluster-list with it is locally stored Second cluster-list, it is determined that there is newly-increased transmission trunking.
In this embodiment, it is preferred that, described device also includes:
Configuration code removing module, if for by comparing first cluster-list with the second locally stored collection series Table, first client determine there is the object transmission cluster deleted, then delete the local object transmission cluster pair for preserving The communication configuration code answered.
In this embodiment, it is preferred that, described device also includes:
List update module, is updated with the first cluster-list of the cluster management server for first client Second cluster-list.
In this embodiment, it is preferred that, the communication configuration code also records the network ground of the newly-increased transmission trunking Location, the dispatch request sending module include:
Request-to-send submodule, for the described newly-increased biography that first client is indicated according to the communication configuration code The network address of defeated cluster, the dispatch request of encapsulation is sent to the newly-increased transmission trunking.
In this embodiment, it is preferred that, the Stream Data Transmission module includes:
Scheduling result receiving submodule, receives the scheduling knot of the newly-increased transmission trunking feedback for first client Really;
Node identification analyzing sub-module, is explained using preset interpreter for first client and performs the communication Configuration code, by the communication configuration code according to the communication protocol of the newly-increased transmission trunking, solves from the scheduling result Separate out the node identification of the transmission node of the newly-increased transmission trunking scheduling;
Stream Data Transmission submodule, for first client according to the corresponding transmission node of the node identification biography Defeated address carries out the transmission of flow data.
In this embodiment, it is preferred that, described device also includes:
Feedback result receiver module, for it is described call the newly-increased transmission trunking when, first client is adopted The communication configuration code is explained and performed to preset interpreter, by the communication configuration code according to the newly-increased transmission trunking Before communication protocol is transmitted the encapsulation of the dispatch request of node, first client sends to trunking dispatch server and flows Data transfer request, and receive the feedback result of the newly-increased transmission trunking of scheduling of the trunking dispatch server feedback.
In this embodiment, it is preferred that, described device also includes:
Identifier acquisition module, after determining and there is newly-increased transmission trunking in first client, described first is objective Family end obtains the cluster identity of the newly-increased transmission trunking;
Described device also includes:
Codelookup module, for corresponding communication configuration is downloaded from communication configuration code storehouse in first client Before code, it is right that first client is searched from communication configuration code storehouse according to the cluster identity of the newly-increased transmission trunking The communication configuration code answered.
In sum, according to the embodiment of the present invention, by the positional information and at least one transmission trunking of the client that prestores Configuration relation, according to it is each transmission service provider transmission trunking transmission performance data, the configuration relation is repaiied Just, corresponding first transmission trunking is dispatched for the first client according to revised configuration relation, by the first transmission collection of scheduling Group is notified to the first client, for the transmission of flow data so that the configuration relation for client scheduled transmission cluster can be with It is adjusted according to transmission performance data, realizes the transmission performance data according to each transmission trunking, correction position information and biography The corresponding relation of defeated cluster, solves the network condition that cannot be provided for client according to transmission trunking when Stream Data Transmission is serviced Or the problem of the adjustment transmission trunking such as operation conditions.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together based on teaching in this.As described above, construct required by this kind of system Structure be obvious.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use it is various Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this Bright preferred forms.
In description mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case where not having these details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand one or more in each inventive aspect, exist Above to, in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.However, should the method for the disclosure be construed to reflect following intention:I.e. required guarantor The more features of feature is expressly recited in each claim by the application claims ratio of shield.More precisely, such as following Claims it is reflected as, inventive aspect is less than all features of single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as the separate embodiments of the present invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more different from embodiment equipment.Can be the module or list in embodiment Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (includes adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can it is identical by offers, be equal to or the alternative features of similar purpose carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In some included features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection appoint One of meaning can in any combination mode using.
The present invention all parts embodiment can be realized with hardware, or with one or more processor operation Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) are realizing a kind of transmission trunking of flow data according to embodiments of the present invention The some or all functions of some or all parts in dispatching method and device.The present invention is also implemented as holding Some or all equipment or program of device (for example, computer program and computer of row method as described herein Program product).It is such realize the present invention program can store on a computer-readable medium, or can have one or The form of the multiple signals of person.Such signal can be downloaded from internet website and be obtained, or provide on carrier signal, or Person is provided with any other form.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference markss between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and be run after fame Claim.
The invention also discloses A1, a kind of dispatching method of the transmission trunking of flow data, including:
The configuration relation of the positional information of the client that prestores and at least one transmission trunking, wherein, different transmission trunkings are returned Belong to different transmission service providers;
According to the transmission performance data of the transmission trunking of each transmission service provider, the configuration relation is modified;
It is that the first client dispatches corresponding first transmission trunking according to revised configuration relation;
First transmission trunking of scheduling is notified to the first client, for the transmission of flow data.
A2, the method according to A1, wherein, the transmission performance data carry the client of transmitting procedure of correspondence Mark and transmission trunking mark, the transmission performance data of the transmission trunking according to each transmission service provider, match somebody with somebody to described The relation of putting be modified including:
Collect transmission performance data of the multiple client of correspondence same position information to same transmission trunking, and calculate flat Average;
Whether given threshold is reached by the comparison meansigma methodss, or by comparing the different transmission of same position information correspondence The meansigma methodss of cluster, are modified to configuration relation of the positional information with transmission trunking.
A3, the method according to A1, wherein, in the transporting of the transmission trunking according to each transmission service provider Energy data, before being modified to the configuration relation, methods described also includes:
Collect the transmission performance data that multiple client is reported when Stream Data Transmission being carried out with each transmission trunking, the biography Defeated performance data includes code check and/or frame per second.
A4, the method according to A1, wherein, described is the first client scheduling correspondence according to revised configuration relation The first transmission trunking include:
According to revised configuration relation, multiple transmission trunkings of the first client correspondence configuration are searched;
Choose from the plurality of transmission trunking and meet the first transmission trunking for imposing a condition, it is described to impose a condition including going through The number of times that history is chosen is less than setting ratio, sequence after the transmission trunking that history is chosen, more than setting priority or transporting Sets requirement can be met.
A5, the method according to A1, wherein, the configuration relation is client present position region and transmission trunking Corresponding relation, described is that corresponding first transmission trunking of the first client scheduling includes according to revised configuration relation:
Extract the network address and/or the location information of first client;
According to the network address and/or location information, the first client belonging positions region is recognized;
According to the configuration relation, the first transmission trunking configured for the recognized band of position is searched.
A6, the method according to A1, wherein, it is described by scheduling the first transmission trunking notify to the first client it Afterwards, methods described also includes:
The target flow data of the first client upload is received, the target flow data is pushed to into the multiple transmission trunkings of storage Flow data storage server.
A7, the method according to A6, wherein, methods described also includes:
The dispatch request that the second client obtains the target flow data is received, and the first of stored target flow data is passed Defeated cluster is notified to the second client.
A8, the method according to A7, wherein, methods described also includes:
The dispatch request that the second client changes the first transmission trunking is received, and is the second client according to the configuration relation The second transmission trunking of end scheduling, transfers the target flow data from the storage server by second transmission trunking.
A9, the method according to A1, wherein, dispatch right for the first client according to revised configuration relation described Before the first transmission trunking answered, methods described also includes:
Receive the dispatch request that the first client distributes transmission trunking.
A10, the method according to A9, wherein, methods described also includes:
When recognizing that the dispatch request indicates to upload flow data, it is flow data distribution traffic identifier to be uploaded;
First transmission trunking by scheduling notifies that to the first client the transmission for flow data includes:
Domain name combination of the traffic identifier with the transmission trunking of scheduling is notified to the first client into streaming address, with The transmission of flow data is carried out according to the streaming address for client.
A11, the method according to A10, wherein, the dispatch request carries the protocol type of first client, The domain name combination by the traffic identifier with the transmission trunking of scheduling includes into streaming address:
With the protocol type as protocol header, by the domain name combination of the traffic identifier and the transmission trunking of scheduling into streaming Address.
A12, the method according to A1, wherein, dispatch for the first client according to revised configuration relation described Before corresponding first transmission trunking, methods described also includes:
First client determines there is newly-increased transmission trunking;
First client downloads corresponding communication configuration code from communication configuration code storehouse;
The newly-increased transmission trunking is the first transmission trunking, is notified to first objective in first transmission trunking by scheduling Family end, for the transmission of flow data after, methods described also includes:
When calling the newly-increased transmission trunking, the first client is explained using preset interpreter and performs the communication configuration Code, is transmitted the dispatch request of node by the communication configuration code according to the communication protocol of the newly-increased transmission trunking Encapsulation;
First client sends the dispatch request of encapsulation to the newly-increased transmission trunking;
First client carries out the transmission of flow data according to the transmission node of the newly-increased transmission trunking scheduling.
A13, the method according to A12, wherein, first client determines that there is newly-increased transmission trunking includes:
First client obtains the first cluster-list for recording all transmission trunkings from cluster management server;
First client passes through to compare first cluster-list and the second locally stored cluster-list, it is determined that depositing In newly-increased transmission trunking.
A14, the method according to A13, wherein, methods described also includes:
If by comparing first cluster-list and the second locally stored cluster-list, first client determines The object transmission cluster that presence has been deleted, then delete the local corresponding communication configuration code of object transmission cluster for preserving.
A15, the method according to A13 or A14, wherein, methods described also includes:
First client updates the second cluster-list with the first cluster-list of the cluster management server.
A16, the method according to A12, wherein, the communication configuration code also records the newly-increased transmission trunking The network address, first client sends the dispatch request of encapsulation to the newly-increased transmission trunking to be included:
The network address of the described newly-increased transmission trunking that first client is indicated according to the communication configuration code, will The dispatch request of encapsulation is sent to the newly-increased transmission trunking.
A17, the method according to A12, wherein, biography of first client according to the newly-increased transmission trunking scheduling Defeated node carries out the transmission of flow data to be included:
First client receives the scheduling result of the newly-increased transmission trunking feedback;
The communication configuration code is explained and performed to first client using preset interpreter, is configured by the communication Communication protocol of the code according to the newly-increased transmission trunking, parses the newly-increased transmission trunking scheduling from the scheduling result Transmission node node identification;
First client carries out the biography of flow data according to the transmission address of the corresponding transmission node of the node identification It is defeated.
A18, the method according to A12, wherein, it is described call the newly-increased transmission trunking when, first client The communication configuration code is explained and is performed at end using preset interpreter, by the communication configuration code according to the newly-increased transmission Before the communication protocol of cluster is transmitted the encapsulation of the dispatch request of node, methods described also includes:
First client sends Stream Data Transmission request to trunking dispatch server, and receives the colony dispatching clothes The feedback result of the newly-increased transmission trunking of scheduling of business device feedback.
A19, the method according to A12, wherein, after first client determines and there is newly-increased transmission trunking, Methods described also includes:
First client obtains the cluster identity of the newly-increased transmission trunking;
Before first client downloads corresponding communication configuration code from communication configuration code storehouse, methods described Also include:
It is right that first client is searched from communication configuration code storehouse according to the cluster identity of the newly-increased transmission trunking The communication configuration code answered.
The invention also discloses B20, a kind of dispatching device of the transmission trunking of flow data, including:
The pre- storing module of configuration relation, the configuration of positional information and at least one transmission trunking for the client that prestores are closed System, wherein, different transmission trunkings belong to different transmission service providers;
Configuration relation correcting module, it is for the transmission performance data of the transmission trunking according to each transmission service provider, right The configuration relation is modified;
Colony dispatching module, for collecting for corresponding first transmission of the first client scheduling according to revised configuration relation Group;
Cluster notification module, for the first transmission trunking of scheduling is notified to the first client, for flow data Transmission.
B21, the device according to B20, wherein, the transmission performance data carry the client of transmitting procedure of correspondence End mark and transmission trunking mark, the configuration relation correcting module include:
Mean value calculation submodule, for collecting the multiple client of correspondence same position information to same transmission trunking Transmission performance data, and calculate meansigma methodss;
Configuration relation amendment submodule, for whether reaching given threshold by the comparison meansigma methodss, or by comparing The meansigma methodss of same position information correspondence difference transmission trunking, are modified to configuration relation of the positional information with transmission trunking.
B22, the device according to B20, wherein, described device also includes:
Data collection module, for the transmission performance data in the transmission trunking according to each transmission service provider, Before being modified to the configuration relation, collect what multiple client was reported when Stream Data Transmission being carried out with each transmission trunking Transmission performance data, the transmission performance data include code check and/or frame per second.
B23, the device according to B20, wherein, the colony dispatching module includes:
Cluster searches submodule, for according to revised configuration relation, searching the first client correspondence configuration Multiple transmission trunkings;
First cluster chooses submodule, meets the impose a condition first transmission for choosing from the plurality of transmission trunking Cluster, it is described impose a condition including history choose number of times less than setting ratio, sequence history choose transmission trunking after, Sets requirement is met more than setting priority or transmission performance.
B24, the device according to B20, wherein, the configuration relation is client present position region and transmission trunking Corresponding relation, the colony dispatching module includes:
Information retrieval submodule, for extracting the network address and/or the location information of first client;
Region recognition submodule, for according to the network address and/or location information, recognizing the first client institute The category band of position;
Submodule is searched, for according to the configuration relation, searching the first biography configured for the recognized band of position Defeated cluster.
B25, the device according to B20, wherein, described device also includes:
Flow data receiver module, for notifying to the first client in first transmission trunking by scheduling, connects The target flow data of the first client upload is received, the target flow data is pushed to the flow data that stores multiple transmission trunkings Storage server.
B26, the device according to B25, wherein, described device also includes:
First request receiving module, obtains the dispatch request of the target flow data for receiving the second client, and will First transmission trunking of stored target flow data is notified to the second client.
B27, the device according to B26, wherein, described device also includes:
Dispatch request changes module, for the dispatch request of reception the second client the first transmission trunking of replacing, and according to The configuration relation is that the second client dispatches the second transmission trunking, is adjusted from the storage server by second transmission trunking Take the target flow data.
B28, the device according to B20, wherein, described device also includes:
Second request receiving module, for dispatching corresponding for the first client according to revised configuration relation described Before first transmission trunking, the dispatch request that the first client distributes transmission trunking is received.
B29, the device according to B28, wherein, described device also includes:
Traffic identifier distribute module, during for recognizing that the dispatch request indicates to upload flow data, is flow data to be uploaded Distribution traffic identifier;
The cluster notification module includes:
Transmission address notify submodule, for by the traffic identifier with scheduling transmission trunking domain name combination into streaming Address is notified to the first client, so that client carries out the transmission of flow data according to the streaming address.
B30, the device according to B29, wherein, the dispatch request carries the protocol type of first client, The transmission address notifies that submodule includes:
Transmission address composition subelement, for the protocol type as protocol header, by the traffic identifier and the biography dispatched The domain name combination of defeated cluster is into streaming address.
B31, the device according to B20, wherein, described device also includes:
Cluster determining module, for dispatching corresponding first for the first client according to revised configuration relation described Before transmission trunking, the first client determines there is newly-increased transmission trunking;
Configuration code download module, downloads corresponding communication configuration generation from communication configuration code storehouse for the first client Code;
The newly-increased transmission trunking is the first transmission trunking, and described device also includes:
Dispatch request package module, for it is described by scheduling the first transmission trunking notify to the first client, with After the transmission of flow data, when calling the newly-increased transmission trunking, the first client is explained and is performed using preset interpreter The communication configuration code, is transmitted node according to the communication protocol of the newly-increased transmission trunking by the communication configuration code Dispatch request encapsulation;
Dispatch request sending module, sends the dispatch request of encapsulation to the newly-increased transmission collection for the first client Group;
Stream Data Transmission module, is flowed according to the transmission node of the newly-increased transmission trunking scheduling for the first client The transmission of data.
B32, the device according to B31, wherein, the cluster determining module includes:
List acquisition submodule, obtains from cluster management server for first client and records all transmission trunkings The first cluster-list;
List comparison sub-module, for first client by compare first cluster-list with it is locally stored Second cluster-list, it is determined that there is newly-increased transmission trunking.
B33, the device according to B32, wherein, described device also includes:
Configuration code removing module, if for by comparing first cluster-list with the second locally stored collection series Table, first client determine there is the object transmission cluster deleted, then delete the local object transmission cluster pair for preserving The communication configuration code answered.
B34, the device according to B32 or B33, wherein, described device also includes:
List update module, is updated with the first cluster-list of the cluster management server for first client Second cluster-list.
B35, the device according to B31, wherein, the communication configuration code also records the newly-increased transmission trunking The network address, the dispatch request sending module include:
Request-to-send submodule, for the described newly-increased biography that first client is indicated according to the communication configuration code The network address of defeated cluster, the dispatch request of encapsulation is sent to the newly-increased transmission trunking.
B36, the device according to B31, wherein, the Stream Data Transmission module includes:
Scheduling result receiving submodule, receives the scheduling knot of the newly-increased transmission trunking feedback for first client Really;
Node identification analyzing sub-module, is explained using preset interpreter for first client and performs the communication Configuration code, by the communication configuration code according to the communication protocol of the newly-increased transmission trunking, solves from the scheduling result Separate out the node identification of the transmission node of the newly-increased transmission trunking scheduling;
Stream Data Transmission submodule, for first client according to the corresponding transmission node of the node identification biography Defeated address carries out the transmission of flow data.
B37, the device according to B31, wherein, described device also includes:
Feedback result receiver module, for it is described call the newly-increased transmission trunking when, first client is adopted The communication configuration code is explained and performed to preset interpreter, by the communication configuration code according to the newly-increased transmission trunking Before communication protocol is transmitted the encapsulation of the dispatch request of node, first client sends to trunking dispatch server and flows Data transfer request, and receive the feedback result of the newly-increased transmission trunking of scheduling of the trunking dispatch server feedback.
B38, the device according to B31, wherein, described device also includes:
Identifier acquisition module, after determining and there is newly-increased transmission trunking in first client, described first is objective Family end obtains the cluster identity of the newly-increased transmission trunking;
Described device also includes:
Codelookup module, for corresponding communication configuration is downloaded from communication configuration code storehouse in first client Before code, it is right that first client is searched from communication configuration code storehouse according to the cluster identity of the newly-increased transmission trunking The communication configuration code answered.

Claims (10)

1. a kind of dispatching method of the transmission trunking of flow data, including:
The configuration relation of the positional information of the client that prestores and at least one transmission trunking, wherein, different transmission trunkings are belonged to Different transmission service providers;
According to the transmission performance data of the transmission trunking of each transmission service provider, the configuration relation is modified;
It is that the first client dispatches corresponding first transmission trunking according to revised configuration relation;
First transmission trunking of scheduling is notified to the first client, for the transmission of flow data.
2. method according to claim 1, wherein, the transmission performance data carry the client of transmitting procedure of correspondence End mark and transmission trunking mark, the transmission performance data of the transmission trunking according to each transmission service provider, to described Configuration relation be modified including:
Collect transmission performance data of the multiple client of correspondence same position information to same transmission trunking, and calculate average Value;
Whether given threshold is reached by the comparison meansigma methodss, or by comparing same position information correspondence difference transmission trunking Meansigma methodss, configuration relation of the positional information with transmission trunking is modified.
3. method according to claim 1, wherein, in the transmission of the transmission trunking according to each transmission service provider Performance data, before being modified to the configuration relation, methods described also includes:
Collect the transmission performance data that multiple client is reported when Stream Data Transmission being carried out with each transmission trunking, the transporting Energy data include code check and/or frame per second.
4. method according to claim 1, wherein, it is described that to be that the first client is dispatched according to revised configuration relation right The first transmission trunking answered includes:
According to revised configuration relation, multiple transmission trunkings of the first client correspondence configuration are searched;
Choose from the plurality of transmission trunking and meet the first transmission trunking for imposing a condition, described imposing a condition is selected including history The number of times for taking less than setting ratio, sequence after the transmission trunking that history is chosen, it is full more than setting priority or transmission performance Sufficient sets requirement.
5. method according to claim 1, wherein, the configuration relation is client present position region and transmission trunking Corresponding relation, described is that the first client is dispatched corresponding first transmission trunking and included according to revised configuration relation:
Extract the network address and/or the location information of first client;
According to the network address and/or location information, the first client belonging positions region is recognized;
According to the configuration relation, the first transmission trunking configured for the recognized band of position is searched.
6. method according to claim 1, wherein, notify to the first client in first transmission trunking by scheduling Afterwards, methods described also includes:
The target flow data of the first client upload is received, the target flow data is pushed to the stream for storing multiple transmission trunkings The storage server of data.
7. method according to claim 6, wherein, methods described also includes:
The dispatch request that the second client obtains the target flow data is received, and the first transmission of stored target flow data is collected Group is notified to the second client.
8. method according to claim 7, wherein, methods described also includes:
The dispatch request that the second client changes the first transmission trunking is received, and is adjusted for the second client according to the configuration relation The second transmission trunking is spent, the target flow data is transferred from the storage server by second transmission trunking.
9. method according to claim 1, wherein, it is described be the scheduling of the first client according to revised configuration relation Before corresponding first transmission trunking, methods described also includes:
Receive the dispatch request that the first client distributes transmission trunking.
10. a kind of dispatching device of the transmission trunking of flow data, including:
The pre- storing module of configuration relation, the configuration relation of positional information and at least one transmission trunking for the client that prestores, its In, different transmission trunkings belong to different transmission service providers;
Configuration relation correcting module, for the transmission performance data of the transmission trunking according to each transmission service provider, to described Configuration relation is modified;
Colony dispatching module, for dispatching corresponding first transmission trunking for the first client according to revised configuration relation;
Cluster notification module, for the first transmission trunking of scheduling is notified to the first client, for the transmission of flow data.
CN201710002819.5A 2017-01-03 2017-01-03 Method and device for scheduling transmission cluster of streaming data Active CN106686101B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710002819.5A CN106686101B (en) 2017-01-03 2017-01-03 Method and device for scheduling transmission cluster of streaming data
PCT/CN2017/120140 WO2018127011A1 (en) 2017-01-03 2017-12-29 Scheduling method and apparatus for transmission clusters of stream data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710002819.5A CN106686101B (en) 2017-01-03 2017-01-03 Method and device for scheduling transmission cluster of streaming data

Publications (2)

Publication Number Publication Date
CN106686101A true CN106686101A (en) 2017-05-17
CN106686101B CN106686101B (en) 2020-07-17

Family

ID=58849258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710002819.5A Active CN106686101B (en) 2017-01-03 2017-01-03 Method and device for scheduling transmission cluster of streaming data

Country Status (2)

Country Link
CN (1) CN106686101B (en)
WO (1) WO2018127011A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018127011A1 (en) * 2017-01-03 2018-07-12 北京奇虎科技有限公司 Scheduling method and apparatus for transmission clusters of stream data
CN108768684A (en) * 2018-03-28 2018-11-06 北京京天威科技发展有限公司 A kind of configurable network data transmission method and system
CN109474535A (en) * 2017-09-07 2019-03-15 北京京东尚科信息技术有限公司 The method, apparatus and system shunted for multi- search engine
CN109756758A (en) * 2017-11-01 2019-05-14 腾讯科技(深圳)有限公司 Live-broadcast control method and device
CN110912919A (en) * 2019-12-03 2020-03-24 电子科技大学 Network data acquisition method and system for network health condition modeling analysis

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989951A (en) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 Method, system and equipment for selecting service node
CN102932451A (en) * 2012-10-31 2013-02-13 北龙中网(北京)科技有限责任公司 Solving system specific to content distribution network
CN103297472A (en) * 2012-03-01 2013-09-11 上海盛霄云计算技术有限公司 Redirection method and content distribution node applied to content distribution network
US20130325942A1 (en) * 2012-05-30 2013-12-05 Verizon Patent And Licensing Inc. Recommender system for content delivery networks
CN103561049A (en) * 2013-09-05 2014-02-05 乐视网信息技术(北京)股份有限公司 Method for processing terminal scheduling request, system thereof and device thereof
CN104010046A (en) * 2014-06-13 2014-08-27 北京瑞汛世纪科技有限公司 Server selecting method and system, recording server and measurement servers
CN105516739A (en) * 2015-12-22 2016-04-20 腾讯科技(深圳)有限公司 Video live broadcasting method and system, transcoding server and webpage client
CN105959405A (en) * 2016-06-24 2016-09-21 北京兰云科技有限公司 CDN video scheduling system and method, CDN scheduling server and client

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764747B (en) * 2009-12-24 2012-05-02 北京云快线软件服务有限公司 Intelligent dispatching method, device and system of content delivery network flow
CN102118323B (en) * 2010-01-04 2016-01-20 中兴通讯股份有限公司 Content delivery network service device and content download method
CN103248715A (en) * 2012-02-07 2013-08-14 北京百度网讯科技有限公司 Position detection method and device for CDN
CN106686101B (en) * 2017-01-03 2020-07-17 北京奇虎科技有限公司 Method and device for scheduling transmission cluster of streaming data

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989951A (en) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 Method, system and equipment for selecting service node
CN103297472A (en) * 2012-03-01 2013-09-11 上海盛霄云计算技术有限公司 Redirection method and content distribution node applied to content distribution network
US20130325942A1 (en) * 2012-05-30 2013-12-05 Verizon Patent And Licensing Inc. Recommender system for content delivery networks
CN102932451A (en) * 2012-10-31 2013-02-13 北龙中网(北京)科技有限责任公司 Solving system specific to content distribution network
CN103561049A (en) * 2013-09-05 2014-02-05 乐视网信息技术(北京)股份有限公司 Method for processing terminal scheduling request, system thereof and device thereof
CN104010046A (en) * 2014-06-13 2014-08-27 北京瑞汛世纪科技有限公司 Server selecting method and system, recording server and measurement servers
CN105516739A (en) * 2015-12-22 2016-04-20 腾讯科技(深圳)有限公司 Video live broadcasting method and system, transcoding server and webpage client
CN105959405A (en) * 2016-06-24 2016-09-21 北京兰云科技有限公司 CDN video scheduling system and method, CDN scheduling server and client

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018127011A1 (en) * 2017-01-03 2018-07-12 北京奇虎科技有限公司 Scheduling method and apparatus for transmission clusters of stream data
CN109474535A (en) * 2017-09-07 2019-03-15 北京京东尚科信息技术有限公司 The method, apparatus and system shunted for multi- search engine
CN109756758A (en) * 2017-11-01 2019-05-14 腾讯科技(深圳)有限公司 Live-broadcast control method and device
CN109756758B (en) * 2017-11-01 2021-01-01 腾讯科技(深圳)有限公司 Live broadcast control method and device
CN108768684A (en) * 2018-03-28 2018-11-06 北京京天威科技发展有限公司 A kind of configurable network data transmission method and system
CN110912919A (en) * 2019-12-03 2020-03-24 电子科技大学 Network data acquisition method and system for network health condition modeling analysis
CN110912919B (en) * 2019-12-03 2020-10-23 电子科技大学 Network data acquisition method for network health condition modeling analysis

Also Published As

Publication number Publication date
WO2018127011A1 (en) 2018-07-12
CN106686101B (en) 2020-07-17

Similar Documents

Publication Publication Date Title
CN106686101A (en) Scheduling method and apparatus of transmission clusters of stream data
CN106657371A (en) Method and device for scheduling transmission node
JP6752281B2 (en) Software Defined Topology for User Plane (SDT)
CN106034330A (en) Mobile terminal flow processing method based on content distribution network, apparatus and system thereof
CN102098224B (en) Method and device for sharing data stream loads
US8407260B2 (en) Method and apparatus for caching broadcasting information
CN104734872B (en) A kind of industrial backhaul network implementation method and system based on software defined network
CN107181804B (en) The method for down loading and device of resource
CN109314665A (en) The network for transmitting uplink packet is selected to be sliced instantiation
US20160262031A1 (en) Method, Device and System for Maintaining Wireless Network
CN106060605A (en) CDN-based live stream self-adaption method and system
CN103945000A (en) Load balance method and load balancer
CN108234319B (en) Data transmission method and device
CN102869003A (en) Method for distributing service contents in heterogeneous network and service management platform
CN106790204A (en) The conversion method and device of a kind of tunneling of flow data
CN105488974A (en) Method for acquiring data and performing wireless transmission
CN105516235A (en) Wireless transmission method for sensor data
CN102497436A (en) Networked file storing method and system based on HTTP (Hyper Text Transport Protocol)
CN104702980B (en) A kind of EPG data processing method, EPG server and EPG data processing system
CN104410675A (en) Data transmission method, data system and related devices
CN106331172A (en) Method and device for detecting resources for content distribution network
US10320930B2 (en) Method and system for providing network caches
CN105915648A (en) Resource scheduling method and device based on caching platform
CN110851275B (en) Load transfer method and device of routing node
CN105245410A (en) Data encoding and transmitting method

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