CN104967873A - Streaming live scheduling method, system and scheduling server - Google Patents

Streaming live scheduling method, system and scheduling server Download PDF

Info

Publication number
CN104967873A
CN104967873A CN201510372018.9A CN201510372018A CN104967873A CN 104967873 A CN104967873 A CN 104967873A CN 201510372018 A CN201510372018 A CN 201510372018A CN 104967873 A CN104967873 A CN 104967873A
Authority
CN
China
Prior art keywords
node server
live
stream
server
core
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510372018.9A
Other languages
Chinese (zh)
Inventor
朱大伟
徐永丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Supreme Being Joins Information Technology Share Co Ltd
Original Assignee
Shanghai Supreme Being Joins Information Technology Share 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 Shanghai Supreme Being Joins Information Technology Share Co Ltd filed Critical Shanghai Supreme Being Joins Information Technology Share Co Ltd
Priority to CN201510372018.9A priority Critical patent/CN104967873A/en
Publication of CN104967873A publication Critical patent/CN104967873A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2405Monitoring of the internal components or processes of the server, e.g. server load
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2404Monitoring of server processing errors or hardware failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a streaming live scheduling method, a system and a scheduling server. The method comprises the steps that the scheduling server monitors the operation state of each core node server in a core unit, wherein the core unit comprises more than two core node servers; when the scheduling server receives a live streaming request pushed by a release point server, an available core node server is selected from the core unit according to the operation state of each core node server in the core unit; the information of the selected core node server is sent to the release point server; when the release point server receives the information of the core node server, live streaming is published to the selected core node server; and the mapping relationship between the selected core node server and the live streaming is persistently stored. According to the invention, the core node servers in the core unit can increase and decrease in a self-adaptive manner, which is convenient for unified management and configuration, and significantly reduces operation and maintenance costs.

Description

Live streaming media dispatching method, system and dispatch server
Technical field
The invention belongs to content distribution techniques field, particularly relate to a kind of live streaming media dispatching method, system and dispatch server.
Background technology
Content distributing network (Content Delivery Network, CDN), by placing node server everywhere at network, one deck intelligent virtual network is built on existing Internet basic, the content of website is published to the network " edge " closest to user, make user can obtain required content nearby, to alleviate the situation of network congestion, improve the response speed of website.
Content-based distributing network, existing internet video live broadcasting method shifts onto on the publishing point server of CDN by live source server by live TV stream, and live TV stream is pushed on corresponding core unit according to the mapping relations preset by publishing point server.Wherein, the live TV stream in core unit, each core node server stored is unduplicated, and the live TV stream stored between each core unit is then repetition.When there being viewing user to access fringe node service, fringe node obtains corresponding live TV stream according to configuration in the core unit of correspondence, and is supplied to user.
When issuing new live TV stream in CDN, live TV stream is pushed on corresponding core unit according to the mapping relations preset by publishing point server.When the quantity of the core node server in core unit increases or reduces, needs manually participate in reconfiguring by the mapping relations between live TV stream and core node server, there is inefficiency, and the problem that O&M cost is high.
Summary of the invention
When the core node server of the problem that the embodiment of the present invention solves in core group increases and decreases, how to improve allocative efficiency, cost-saving.
For solving the problem, embodiments provide a kind of live streaming media dispatching method, described method comprises:
Monitor the operation conditions of core unit center heart node server, described core unit comprises the core node server of more than two;
When receiving the live TV stream issue request that publishing point server sends, according to the operation conditions of described core unit center heart node server, from described core unit, choose core node server;
The information of the core node server chosen is sent to described publishing point server, and described publishing point server is suitable for when receiving the information of described core node server, on the core node server chosen described in being distributed to by live TV stream;
Mapping relations between the core node server chosen described in storage and described live TV stream.
Alternatively, the core node server chosen described in is normal in described core unit operation and the core node server of least-loaded.
Alternatively, described method also comprises: deleted from described core unit by the core node server broken down.
Alternatively, described method also comprises: when the core node server broken down described in determining recovers normal, rejoined in described core unit by described core node server.
Alternatively, when receiving the live TV stream issue request that publishing point server sends, described method also comprises: when determining the mapping relations that there is described Streaming Media literary composition correspondence, described mapping relations deleted.
Alternatively, described method also comprises: when the information-change of the core node server in core unit being detected, revises the information of the core node server in corresponding mapping relations.
Alternatively, described method also comprises: when determining that live TV stream is expired, deletes described live TV stream and the mapping relations between described live TV stream and corresponding core node server.
Alternatively, described method also comprises:
When receiving the request of the acquisition live TV stream that edge node server sends, obtain the mapping relations between the live TV stream of buffer memory in described edge node server and core node server;
The information of the core node server corresponding with described live TV stream is searched from described mapping relations;
The information of searching the core node server obtained is returned to described edge node server, and described edge node server is suitable for obtaining described live TV stream from described core node server.
Alternatively, described method also comprises: when not finding the information of the core node server corresponding with described live TV stream, issues the non-existent information of described live TV stream.
The embodiment of the present invention additionally provides a kind of dispatch server, and described dispatch server comprises:
Monitoring means, be suitable for monitoring the operation conditions of core unit center heart node server, described core unit comprises the core node server of more than two;
Receiving element, the live TV stream being suitable for receiving the transmission of publishing point server issues request;
Choosing unit, being suitable for, when receiving the live TV stream issue request that publishing point server sends, according to the operation conditions of described core unit center heart node server, from described core unit, choosing core node server;
First transmitting element, the information of the core node server chosen is suitable for be sent to described publishing point server, described publishing point server is suitable for when receiving the information of described core node server, on the core node server chosen described in being distributed to by live TV stream;
Memory cell, is suitable for the mapping relations between the core node server chosen and described live TV stream described in storing.
Alternatively, described method also comprises: described in choose unit selection core node server be normal in described core unit operation and the core node server of least-loaded.
Alternatively, described dispatch server also comprises: knot removal unit, is suitable for the core node server broken down to delete from described core unit.
Alternatively, described dispatch server also comprises: some adding device, is suitable for, when the core node server broken down described in determining recovers normal, being rejoined in described core unit by described core node server.
Alternatively, described dispatch server also comprises: mapping relations delete cells, the live TV stream be suitable for when receiving the transmission of publishing point server is issued request, and when determining to there are the mapping relations between described live TV stream and core node server, described mapping relations is deleted.
Alternatively, described dispatch server also comprises: mapping relations amendment unit, is suitable for, when the information-change of the core node server in core unit being detected, revising the information of the core node server in corresponding mapping relations.
Alternatively, described dispatch server also comprises: expired delete cells, is suitable for when determining that live TV stream is expired, deletes described live TV stream and the mapping relations between described live TV stream and corresponding core node server.
Alternatively, described dispatch server also comprises:
Acquiring unit, is suitable for, when receiving the request of the acquisition live TV stream that edge node server sends, obtaining the mapping relations between the live TV stream of buffer memory in described edge node server and core node server;
Search unit, be suitable for the information of searching the core node server corresponding with described live TV stream from described mapping relations;
Second transmitting element, is suitable for the information of searching the core node server obtained to return to described edge node server, and described edge node server is suitable for obtaining described live TV stream from described core node server.
Alternatively, described dispatch server also comprises: Tip element, is suitable for, when not finding the information of the core node server corresponding with described live TV stream, issuing the non-existent information of described live TV stream.
The embodiment of the present invention additionally provides a kind of live streaming media dispatching patcher, described system comprises source station server, publishing point server, at least one core unit, edge node server and above-mentioned dispatch server, wherein, described source station server is connected with described publishing point server, described publishing point server is also connected with described dispatch server, and described dispatch server is also connected with described core unit and described edge node server respectively.
Compared with prior art, technical scheme of the present invention has following advantage:
Above-mentioned scheme, when the live TV stream receiving publishing point server issues request, according to the operation conditions to the core node server in core unit, core node server is chosen to issue described live TV stream from core unit, but not according to the relation allocation core node server preset, core node server in core group can be increased or reduce, be easy to safeguard, and flexibility is strong.
Further, choose normal operation at every turn and the core node server of least-loaded for issuing new live TV stream, the load balancing between the core node server in each core group can be realized.
Further, when the information of core node server occurs to change, revise the corresponding mapping relations with described core node server, and without the need to changing accordingly publisher server and edge node server, thus be convenient to administering and maintaining of mapping relations, save O&M cost.
Further, when edge node server needs to obtain corresponding live TV stream, only need according to the mapping relations between the live TV stream prestored and core node server, just corresponding core node server can be found, obtain corresponding live TV stream, thus can facilitate source of the returning operation of live TV stream.
Further, when issuing new live TV stream, exist when storing corresponding with described live TV stream mapping relations in mapping relations between the live TV stream determining to prestore and core node server, the mapping relations corresponding with described live TV stream are deleted, make the mapping relations of each live TV stream keep uniqueness, and can storage resources be saved.
Further, when the live TV stream determining core node server stores is expired, automatically deletes described live TV stream and the mapping relations corresponding with described live TV stream, can storage resources be saved.
Accompanying drawing explanation
Fig. 1 is a kind of in embodiment of the present invention flow chart of live streaming media dispatching method;
Fig. 2 is the flow chart of another kind of live streaming media dispatching method in the embodiment of the present invention;
Process chart when Fig. 3 is the source request of returning of edge node server that receives in the live streaming media dispatching method in the embodiment of the present invention;
Fig. 4 shows the structural representation of a kind of dispatch server in the embodiment of the present invention;
Fig. 5 shows the structural representation of a kind of live streaming media dispatching patcher in the embodiment of the present invention.
Embodiment
For solving the problem, video file supplying method in the embodiment of the present invention, during by issuing request at the live TV stream receiving publishing point server, according to the operation conditions of the core node server in core unit, core node server is chosen to issue described live TV stream from core unit, when making the core node server increase and decrease in core group, be easy to safeguard, flexibility is strong.
For enabling above-mentioned purpose of the present invention, feature and advantage more become apparent, and are described in detail specific embodiments of the invention below in conjunction with accompanying drawing.
Fig. 1 is the flow chart of a kind of live TV stream dispatching method in the embodiment of the present invention.Live TV stream dispatching method as shown in Figure 1, can comprise:
Step S101: the operation conditions of core unit center heart node server is monitored.
In concrete enforcement, core unit is for storing the live TV stream that source station server is issued in CDN, and the live TV stream wherein stored is supplied to edge node server, the live TV stream that user asks is supplied to user nearby.Therefore, the important component part of CDN during core unit.
Step S102: when receiving the live TV stream issue request that publishing point server sends, according to the operation conditions of described core unit center heart node server, choose core node server from described core unit.
In concrete enforcement, source station server can generate live TV stream.After source station server generates live TV stream, the live TV stream of generation is sent to publishing point server, and the live TV stream that source station generates pushes in corresponding core node server by publishing point server.
In an embodiment of the present invention, when number in order to the core node server in core unit increases or reduces, still the issue of live TV stream can be carried out, can according to the monitoring result to each core node server in core unit, from wherein choose normal operation and the core node server of least-loaded for issuing live TV stream, thus can avoid issuing live TV stream according to fixing mapping relations, and the core node server of correspondence occurs therefore Chang Wufa when normally running, live TV stream is caused to issue the generation of failed situation, the reliability that live TV stream is issued can be improved.
Step S103: the information of the core node server chosen is sent to described publishing point server.
In concrete enforcement, when determining selected core node server, selected core node server is sent to publishing point server, publishing point server can according to the information of the core node server received, find corresponding core node server, and live TV stream to be released is pushed in described core node server, complete the issue operation of live TV stream.
Step S104: the mapping relations between the core node server chosen described in storage and described live TV stream.
In concrete enforcement, when issuing new live TV stream and completing, the mapping relations of described live TV stream and described core node server are stored, can after core node server fail, according to the mapping relations between the core node server stored and live TV stream, rebuild core node server, reliability can be improved further.
Below in conjunction with Fig. 2, the live TV stream dispatching method in the embodiment of the present invention is further described in detail.
Fig. 2 is the flow chart of the another kind of live streaming media dispatching method in the embodiment of the present invention.Live streaming media dispatching method as shown in Figure 2, can comprise:
Step S201: the operation conditions of core unit center heart node server is monitored.
In concrete enforcement, can be monitored by the operation conditions of the mode of network detection to each core node server in core unit.Wherein, whether the content of monitoring the operation conditions of the core node server in core unit comprises each node server and normally runs, and the bandwidth sum loading condition of each core node server.
Step S202: receive the live TV stream issue request that publishing point server sends.
In concrete enforcement, first the live TV stream that source station generates pushes in publishing point server, and publishing point server then asks the information of the core node server in core unit, to be pushed in corresponding core node server by live TV stream to be released.
Step S203: judge whether the live TV stream stored exists the mapping relations corresponding with described live TV stream to be released with the mapping relations of core node server, when judged result is for being, can perform step S204; Otherwise, then step S205 can be performed.
In concrete enforcement, publishing point server asks the live TV stream issued may not be issue first time at every turn, may issue before once even more times, therefore, in order to ensure the uniqueness of mapping relations, whether the live TV stream that can first judge to store exists the mapping relations corresponding with described live TV stream to be released with the mapping relations between core node server.
Described mapping relations are deleted by step S204: when determining to there are described mapping relations.
In concrete enforcement, source operation can be carried out back smoothly for making follow-up edge node server, or when core node server fail, the core node server broken down can be rebuild, the mapping relations corresponding with described live TV stream to be released stored before can be deleted, while saving storage resources, the uniqueness of the mapping relations of live TV stream and core node server can be guaranteed, the reliability that live TV stream is issued can be improved.
Step S205: choose normal operation and the core node server of least-loaded from described core unit.
In concrete enforcement, according to the monitoring result of the operation conditions to each core node server in core unit, therefrom choose normal operation and the core node server of least-loaded issue live TV stream, on the one hand, the core node server broken down in core unit can be foreclosed, to improve the reliability of live TV stream scheduling; On the other hand, because the core node server choosing least-loaded issues live TV stream at every turn, the overload of certain core node server can be avoided and the situation when machine occurs, the load balancing of the core node server in core unit can be realized, thus can improve core unit reliability of operation.
Meanwhile, owing to choosing normal operation and the core node server of least-loaded issue live TV stream, when there being core node server deleted from core unit, on the core node server broken down described in follow-up live TV stream can not be released at every turn; When there being new core node server to join in core unit, new live TV stream to be released can be distributed on the described core node server newly added, therefore, the number of the core node server in core unit can carry out increasing or reducing according to the actual needs, can improve the flexibility of core group expansion.
Step S206: the information of selected core node server is sent to described publishing point server.
In concrete enforcement, when determining selected core node server, the information of the described core node server chosen can be sent to publishing point server.Described publishing point server, when receiving the information of core node server, on the core node server chosen, thus completes the issue operation of new live TV stream described in being distributed to by live TV stream to be released.
Step S207: store the mapping relations between described live TV stream and selected core node server.
In concrete enforcement, when completing a new live TV stream and issue at every turn, the mapping relations of described fluid file and core node server are stored, can be stored in described live TV stream break down need rebuild time, complete reconstruction by the mapping relations of the correspondence stored, be convenient to the reconstruction operation of core node server.
Meanwhile, the live TV stream wherein stored, as the carrier of live TV stream, according to time source request of edge node server, can be supplied to corresponding edge node server, can obtain corresponding live TV stream nearby to make user by core node server.And returning in source and course journey of edge node server also needs to complete according to the mapping relations between live TV stream and core node server, therefore, source of the returning operation of live TV stream is performed for the ease of edge node server, when having issued live TV stream at every turn, mapping relations between live TV stream and selected core node server are stored, in order to inquiry.
In concrete enforcement, the live TV stream dispatching method in the embodiment of the present invention can also comprise:
Step S208: the core node server broken down is deleted from described core unit.
In concrete enforcement, when needing when there being new live TV stream to issue, choosing normal operation in core unit and the core node server of least-loaded, the core node server broken down being deleted, also can not have any impact to the issue of live TV stream.
Step S209: when the core node server broken down described in determining recovers normal, described core node server is rejoined in described core unit.
In concrete enforcement, when the core node server determining to break down recovers normal, can described core node server be rejoined in core unit, when needing when there being new live TV stream to issue, new live TV stream can be distributed in described core node server, be easy to the O&M of core unit center heart node server, save O&M cost.
In concrete enforcement, the live streaming media dispatching method in the embodiment of the present invention can also comprise:
Step S210: when the information-change of the core node server in core unit being detected, revises the information of the core node server in corresponding mapping relations.
In concrete enforcement, when the information-change of the core node server in core unit being detected, the information of the core node server in mapping relations corresponding for described core node server can be changed accordingly, and without the need to changing the configuration of publisher node server and edge node server, the efficiency of O&M can be improved, reduce the cost of O&M.
In concrete enforcement, the live streaming media dispatching method in the embodiment of the present invention can also comprise:
Step S211: when determining that live TV stream is expired, deletes described live TV stream and the mapping relations between described live TV stream and corresponding core node server.
In concrete enforcement, the live TV stream of the storage in core node server has the preset expiration time, when reaching default expired time, live TV stream cannot reoffer to edge node server, thus be supplied to user and watch, now, in order to save storage resources, described live TV stream and corresponding mapping relations can be deleted.
Here it is required that the execution sequence of step S208 ~ S211 is not by the restriction of above-mentioned execution sequence, one or several above-mentioned steps can be chosen according to the actual needs and perform, not limit at this.
In concrete enforcement, after live TV stream has been issued, edge node server can when receiving the playing request of the live TV stream that client sends, corresponding live TV stream is obtained from corresponding core node server, to be supplied to user nearby, thus complete source of the returning operation of live TV stream, specifically refer to Fig. 3.
Fig. 3 shows the process chart in the embodiment of the present invention when the live time source request receiving edge node server.As shown in Figure 3, can comprise:
Step S301: the request receiving the acquisition live TV stream that edge node server sends.
In concrete enforcement, when user is by client-requested displaying video, the edge node server nearest with user can according to the playing request of user, send time source request obtaining corresponding live TV stream, with the live TV stream that the video obtaining user's request to corresponding core node server request is corresponding.
Step S302: judge whether the live TV stream stored exists the mapping relations corresponding with described live TV stream with the mapping relations of core node server, when judged result is for being, can perform step S303; Otherwise, then step S305 can be performed.
In concrete enforcement, receive edge node server send return source request time, the information of corresponding live TV stream can be parsed from described time source request, the mapping relations that inquiry is corresponding with described live TV stream in the mapping relations stored, to obtain the information of the core node server in described mapping relations.
In an embodiment of the present invention, the mapping relations between the live TV stream stored and core node server are the mapping relations between the title of described live TV stream and the IP address of core node server.
Step S303: the information obtaining corresponding core node server from the mapping relations corresponding to described live TV stream.
In concrete enforcement, when determining that the live TV stream stored is with when storing the mapping relations corresponding with the live TV stream of edge node server request in the mapping relations of core node server, just directly can obtain the information of corresponding core node server from described mapping relations.
Step S304: the information of the described core node server obtained is sent to described edge node server.
In concrete enforcement, when determining the information of the core node server corresponding with described live TV stream, can by the information of described core node server, namely the information of the IP address of core node server, is sent to edge node server.Edge node server, when receiving the information of described core node server, carries out being connected with described core node server and obtains the live TV stream of client-requested, and is supplied to client and plays, thus completes live time source operation of live TV stream.
Step S305: issue the non-existent information of described live TV stream.
In concrete enforcement, when not finding the information of the core node server corresponding with described live TV stream, illustrate that the live TV stream that user asks is not published, or once to issue and deleted etc., now, the non-existent information of described live TV stream can be sent to edge node server, thus user can be known, and the video of its request viewing does not exist, so that take appropriate measures, as obtained the video etc. of its request in other way.
In concrete enforcement, the handling process when the live time source request receiving edge node server in the embodiment of the present invention, can also comprise:
For making those skilled in the art understand better and realize the present invention, the dispatch server corresponding to said method referring to accompanying drawing is described in detail by specific embodiment.
Fig. 4 shows the structural representation of a kind of dispatch server in the embodiment of the present invention.Dispatch server 400 as shown in Figure 4, can comprise monitoring means 401, receiving element 402, choose unit 403, first transmitting element 404 and memory cell 405, wherein:
Monitoring means 401, be suitable for monitoring the operation conditions of core unit center heart node server, described core unit comprises the core node server of more than two.
Receiving element 402, the live TV stream being suitable for receiving the transmission of publishing point server issues request.
Choosing unit 403, being suitable for, when receiving the live TV stream issue request that publishing point server sends, according to the operation conditions of described core unit center heart node server, from described core unit, choosing core node server.
First transmitting element 404, the information of the core node server chosen is suitable for be sent to described publishing point server, described publishing point server is suitable for when receiving the information of described core node server, on the core node server chosen described in being distributed to by live TV stream.
Memory cell 405, is suitable for the mapping relations between the core node server chosen and described live TV stream described in storing.
In concrete enforcement, described in choose the core node server that unit 403 chooses be normal in described core unit operation and the core node server of least-loaded.
In concrete enforcement, in order to improve the flexibility of core unit, dispatch server 400 as shown in Figure 4 can also comprise: knot removal unit 406, wherein:
Knot removal unit 406, is suitable for the core node server broken down to delete from described core unit.
In concrete enforcement, dispatch server 400 as shown in Figure 4 can also comprise: node adding device 407, wherein:
Node adding device 407, is suitable for, when the core node server broken down described in determining recovers normal, being rejoined in described core unit by described core node server.
In concrete enforcement, in order to the uniqueness of Preserving map relation, dispatch server 400 as shown in Figure 4 can also comprise mapping relations delete cells 408, wherein:
Mapping relations delete cells 408, the live TV stream be suitable for when receiving the transmission of publishing point server issues request, and when determining to there are the mapping relations corresponding with described live TV stream, described mapping relations is deleted.
In concrete enforcement, in order to save O&M cost, dispatch server 400 as shown in Figure 4 can also comprise mapping relations amendment unit 409, wherein:
Mapping relations amendment unit 409, is suitable for, when the information-change of the core node server in core unit being detected, revising the information of the core node server in corresponding mapping relations.
In concrete enforcement, in order to save storage resources, dispatch server 400 as shown in Figure 4 can also comprise expired delete cells 410, wherein:
Expired delete cells 410, is suitable for when determining that live TV stream is expired, deletes described live TV stream and the mapping relations between described live TV stream and corresponding core node server.
In concrete enforcement, for the ease of carrying out back source operation, dispatch server 400 as shown in Figure 4 can also comprise:
Acquiring unit 411, is suitable for, when receiving the request of the acquisition live TV stream that edge node server sends, obtaining the mapping relations between the live TV stream of buffer memory in described edge node server and core node server;
Search unit 412, be suitable for the information of searching the core node server corresponding with described live TV stream from described mapping relations;
Second transmitting element 413, is suitable for the information of searching the core node server obtained to return to described edge node server, and described edge node server is suitable for obtaining described live TV stream from described core node server.
In concrete enforcement, dispatch server 400 as shown in Figure 4 can also comprise Tip element 414, wherein:
Tip element 414, is suitable for, when not finding the information of the core node server corresponding with described live TV stream, issuing the non-existent information of described live TV stream.
Fig. 5 shows the structural representation that the embodiment of the present invention additionally provides a kind of live TV stream dispatching patcher.Live TV stream dispatching patcher as shown in Figure 5, can comprise source station server 501, publishing point server 502, at least one core unit 503, edge node server 504 and dispatch server 505.Wherein, source station server 501 is connected with described publishing point server 502, and described publishing point server 502 is also connected with described dispatch server 505, and described dispatch server 505 is also connected with described core unit 503 and described edge node server 504 respectively.
Wherein, source station server 501 can generate live TV stream, and is sent to publishing point server 502.Publishing point server 502, when receiving the live TV stream that source station server 501 sends, sends live TV stream to scheduler 505 and issues request.Scheduler 505 is when receiving the live TV stream issue request that publishing point server 502 sends, according to the ruuning situation monitoring result to core unit 503, from core unit, choose a core node server, and the information of selected core node server is sent to publishing point server 502.The information of the core node server that publishing point server 502 returns according to scheduler 505, is sent to core node server, thus completes the issue of live TV stream by live TV stream.Meanwhile, the mapping relations between the live TV stream issued and core node server store by dispatch server 505.
After live TV stream has been issued, edge node server 504 when receiving the playing request of video corresponding to live TV stream that client 506 is asked, can ask the information of corresponding core node server to dispatch server 505.Dispatch server 505 searches the mapping relations corresponding with the live TV stream that edge node server 504 is asked at its live TV stream stored with the mapping relations of core node server, from searching the information that obtains corresponding core node server the mapping relations that obtain and being sent to edge node server 504.Edge node server 504, after the information receiving corresponding core node server, obtains corresponding live TV stream from corresponding core node server, and returns to client 506 and play.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
Done detailed introduction to the method and system of the embodiment of the present invention above, the present invention is not limited to this.Any those skilled in the art, without departing from the spirit and scope of the present invention, all can make various changes or modifications, and therefore protection scope of the present invention should be as the criterion with claim limited range.

Claims (19)

1. a live streaming media dispatching method, is characterized in that, comprising:
Monitor the operation conditions of core unit center heart node server, described core unit comprises the core node server of more than two;
When receiving the live TV stream issue request that publishing point server sends, according to the operation conditions of described core unit center heart node server, from described core unit, choose core node server;
The information of the core node server chosen is sent to described publishing point server, and described publishing point server is suitable for when receiving the information of described core node server, on the core node server chosen described in being distributed to by live TV stream;
Mapping relations between the core node server chosen described in persistent storage and described live TV stream.
2. live streaming media dispatching method according to claim 1, is characterized in that, described in the core node server chosen be normal in described core unit operation and the core node server of least-loaded.
3. live streaming media dispatching method according to claim 1, is characterized in that, also comprise: deleted from described core unit by the core node server broken down.
4. live streaming media dispatching method according to claim 2, is characterized in that, also comprise: when the core node server broken down described in determining recovers normal, rejoined in described core unit by described core node server.
5. live streaming media dispatching method according to claim 1, it is characterized in that, when receiving the live TV stream issue request that publishing point server sends, also comprise: when determining to there are the mapping relations corresponding with described live TV stream, original mapping relations are updated to new core node.
6. live streaming media dispatching method according to claim 1, is characterized in that, also comprise:
When the information-change of the core node server in core unit being detected, revise the information of the core node server in corresponding mapping relations.
7. live streaming media dispatching method according to claim 1, is characterized in that, also comprise: when determining that live TV stream is expired, deletes the mapping relations between described live TV stream and corresponding core node server.
8. live streaming media dispatching method according to claim 1, is characterized in that, also comprise:
When receiving the request of the acquisition live TV stream that edge node server sends, obtain the mapping relations between the live TV stream of buffer memory in described edge node server and core node server;
The information of the core node server corresponding with described live TV stream is searched from described mapping relations;
The information of searching the core node server obtained is returned to described edge node server, and described edge node server is suitable for obtaining described live TV stream from described core node server.
9. live streaming media dispatching method according to claim 8, is characterized in that, when not finding the information of the core node server corresponding with described live TV stream, also comprises: issue the non-existent information of described live TV stream.
10. a dispatch server, is characterized in that, comprising:
Monitoring means, be suitable for monitoring the operation conditions of core unit center heart node server, described core unit comprises the core node server of more than two;
Receiving element, the live TV stream being suitable for receiving the transmission of publishing point server issues request;
Choosing unit, being suitable for, when receiving the live TV stream issue request that publishing point server sends, according to the operation conditions of described core unit center heart node server, from described core unit, choosing core node server;
First transmitting element, the information of the core node server chosen is suitable for be sent to described publishing point server, described publishing point server is suitable for when receiving the information of described core node server, on the core node server chosen described in being distributed to by live TV stream;
Mapping relations between the core node server chosen described in storage and described live TV stream.
11. dispatch servers according to claim 10, is characterized in that, described in choose unit selection core node server be normal in described core unit operation and the core node server of least-loaded.
12. dispatch servers according to claim 10, is characterized in that, also comprise: knot removal unit, are suitable for the core node server broken down to delete from described core unit.
13. dispatch servers according to claim 10, is characterized in that, also comprise: node adding device, are suitable for, when the core node server broken down described in determining recovers normal, being rejoined in described core unit by described core node server.
14. dispatch servers according to claim 10, it is characterized in that, also comprise: mapping relations delete cells, the live TV stream be suitable for when receiving the transmission of publishing point server issues request, and when determining to there are the mapping relations corresponding with described live TV stream, described mapping relations are deleted.
15. dispatch servers according to claim 10, it is characterized in that, also comprise: mapping relations amendment unit, is suitable for, when the information-change of the core node server in core unit being detected, revising the information of the core node server in corresponding mapping relations.
16. dispatch servers according to claim 10, is characterized in that, also comprise: expired delete cells, are suitable for when determining that live TV stream is expired, delete the mapping relations between described live TV stream and corresponding core node server.
17. dispatch servers according to claim 10, is characterized in that, also comprise:
Acquiring unit, is suitable for, when receiving the request of the acquisition live TV stream that edge node server sends, obtaining the mapping relations between the live TV stream of buffer memory in described edge node server and core node server;
Search unit, be suitable for the information of searching the core node server corresponding with described live TV stream from described mapping relations;
Second transmitting element, is suitable for the information of searching the core node server obtained to return to described edge node server, and described edge node server is suitable for obtaining described live TV stream from described core node server.
18. dispatch servers according to claim 17, is characterized in that, also comprise: Tip element, are suitable for, when not finding the information of the core node server corresponding with described live TV stream, issuing the non-existent information of described live TV stream.
19. 1 kinds of live streaming media dispatching patchers, it is characterized in that, comprise source station server, publishing point server, at least one core unit, edge node server and the dispatch server described in any one of claim 10-18, wherein, described source station server is connected with described publishing point server, described publishing point server is also connected with described dispatch server, and described dispatch server is also connected with described core unit and described edge node server respectively.
CN201510372018.9A 2015-06-29 2015-06-29 Streaming live scheduling method, system and scheduling server Pending CN104967873A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510372018.9A CN104967873A (en) 2015-06-29 2015-06-29 Streaming live scheduling method, system and scheduling server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510372018.9A CN104967873A (en) 2015-06-29 2015-06-29 Streaming live scheduling method, system and scheduling server

Publications (1)

Publication Number Publication Date
CN104967873A true CN104967873A (en) 2015-10-07

Family

ID=54221796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510372018.9A Pending CN104967873A (en) 2015-06-29 2015-06-29 Streaming live scheduling method, system and scheduling server

Country Status (1)

Country Link
CN (1) CN104967873A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375471A (en) * 2016-09-29 2017-02-01 北京奇艺世纪科技有限公司 Edge node determination method and device
CN106817628A (en) * 2017-01-26 2017-06-09 成都市亚丁胡杨科技股份有限公司 A kind of network direct broadcasting platform
CN107302525A (en) * 2017-06-02 2017-10-27 上海帝联信息科技股份有限公司 Draw method of flow control and device, readable storage medium storing program for executing, streaming media server
CN107645485A (en) * 2016-07-22 2018-01-30 中兴通讯股份有限公司 A kind of distribution method of network direct broadcasting, system and device
CN108055264A (en) * 2017-12-13 2018-05-18 平安科技(深圳)有限公司 Dispatching device, method and the computer readable storage medium of stream pushing server
CN108307198A (en) * 2018-03-08 2018-07-20 广州酷狗计算机科技有限公司 flow service node dispatching method, device and scheduling node
WO2018161933A1 (en) * 2017-03-09 2018-09-13 贵州白山云科技有限公司 Live broadcast stream transmission method, apparatus and system, and computer readable storage medium, and computer device
CN108574666A (en) * 2017-03-09 2018-09-25 贵州白山云科技有限公司 A kind of data stream scheduling method, device and system
CN109151007A (en) * 2018-08-08 2019-01-04 中国联合网络通信集团有限公司 Data processing method, Core server and the transmission server of application schedules
CN110086721A (en) * 2018-01-26 2019-08-02 北京金山云网络技术有限公司 One kind returning source relationship management system, method, apparatus, server and storage medium
CN112312155A (en) * 2020-10-30 2021-02-02 北京金山云网络技术有限公司 Video stream processing method and device and server

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010069198A1 (en) * 2008-12-19 2010-06-24 华为技术有限公司 Distributed network construction method and system and job processing method
CN102055808A (en) * 2011-01-10 2011-05-11 复旦大学 Method and system for reducing broadcasting delay in P2P (Peer-to-Peer) live broadcasting system
CN102195788A (en) * 2011-05-25 2011-09-21 中国联合网络通信集团有限公司 Application layer multicast system and streaming media data processing method
CN102404378A (en) * 2010-09-07 2012-04-04 成都索贝数码科技股份有限公司 Streaming media distribution and transmission network system
CN102547471A (en) * 2010-12-08 2012-07-04 中国科学院声学研究所 Method and system for obtaining candidate cooperation node in P2P streaming media system
CN102811221A (en) * 2012-08-02 2012-12-05 中山大学 Push mechanism-based scheduling method of peer-to-peer network live streaming media data package
CN103024076A (en) * 2012-12-31 2013-04-03 乐视网信息技术(北京)股份有限公司 Live telecast scheduling system and live telecast scheduling method applied to peer-to-peer network
EP2104287B1 (en) * 2007-06-05 2013-08-28 Huawei Technologies Co., Ltd. A method for client node network topology construction and a system for stream media delivery
CN103716681A (en) * 2013-12-06 2014-04-09 乐视网信息技术(北京)股份有限公司 Code stream switching method and electronic equipment
CN104320672A (en) * 2014-09-24 2015-01-28 中国人民解放军理工大学 Method for scheduling resources of live streaming media system under CDN-P2P hybrid architecture

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2104287B1 (en) * 2007-06-05 2013-08-28 Huawei Technologies Co., Ltd. A method for client node network topology construction and a system for stream media delivery
WO2010069198A1 (en) * 2008-12-19 2010-06-24 华为技术有限公司 Distributed network construction method and system and job processing method
CN102404378A (en) * 2010-09-07 2012-04-04 成都索贝数码科技股份有限公司 Streaming media distribution and transmission network system
CN102547471A (en) * 2010-12-08 2012-07-04 中国科学院声学研究所 Method and system for obtaining candidate cooperation node in P2P streaming media system
CN102055808A (en) * 2011-01-10 2011-05-11 复旦大学 Method and system for reducing broadcasting delay in P2P (Peer-to-Peer) live broadcasting system
CN102195788A (en) * 2011-05-25 2011-09-21 中国联合网络通信集团有限公司 Application layer multicast system and streaming media data processing method
CN102811221A (en) * 2012-08-02 2012-12-05 中山大学 Push mechanism-based scheduling method of peer-to-peer network live streaming media data package
CN103024076A (en) * 2012-12-31 2013-04-03 乐视网信息技术(北京)股份有限公司 Live telecast scheduling system and live telecast scheduling method applied to peer-to-peer network
CN103716681A (en) * 2013-12-06 2014-04-09 乐视网信息技术(北京)股份有限公司 Code stream switching method and electronic equipment
CN104320672A (en) * 2014-09-24 2015-01-28 中国人民解放军理工大学 Method for scheduling resources of live streaming media system under CDN-P2P hybrid architecture

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645485A (en) * 2016-07-22 2018-01-30 中兴通讯股份有限公司 A kind of distribution method of network direct broadcasting, system and device
CN107645485B (en) * 2016-07-22 2021-11-05 中兴通讯股份有限公司 Network live broadcast distribution method, system and device
CN106375471A (en) * 2016-09-29 2017-02-01 北京奇艺世纪科技有限公司 Edge node determination method and device
CN106375471B (en) * 2016-09-29 2019-12-13 北京奇艺世纪科技有限公司 Edge node determination method and device
CN106817628A (en) * 2017-01-26 2017-06-09 成都市亚丁胡杨科技股份有限公司 A kind of network direct broadcasting platform
CN111050188B (en) * 2017-03-09 2021-11-30 贵州白山云科技股份有限公司 Data stream scheduling method, system, device and medium
WO2018161933A1 (en) * 2017-03-09 2018-09-13 贵州白山云科技有限公司 Live broadcast stream transmission method, apparatus and system, and computer readable storage medium, and computer device
CN108574666A (en) * 2017-03-09 2018-09-25 贵州白山云科技有限公司 A kind of data stream scheduling method, device and system
CN111050188A (en) * 2017-03-09 2020-04-21 贵州白山云科技股份有限公司 Data stream scheduling method, system, device and medium
CN107302525A (en) * 2017-06-02 2017-10-27 上海帝联信息科技股份有限公司 Draw method of flow control and device, readable storage medium storing program for executing, streaming media server
CN108055264B (en) * 2017-12-13 2021-01-01 平安科技(深圳)有限公司 Scheduling apparatus and method for push streaming server, and computer-readable storage medium
CN108055264A (en) * 2017-12-13 2018-05-18 平安科技(深圳)有限公司 Dispatching device, method and the computer readable storage medium of stream pushing server
CN110086721B (en) * 2018-01-26 2021-03-12 北京金山云网络技术有限公司 Return source relation management system, method, device, server and storage medium
CN110086721A (en) * 2018-01-26 2019-08-02 北京金山云网络技术有限公司 One kind returning source relationship management system, method, apparatus, server and storage medium
US11588723B2 (en) 2018-01-26 2023-02-21 Beijing Kingsoft Cloud Network Technology Co., Ltd. Return source relationship management system, method, device, and server, and storage medium
CN108307198B (en) * 2018-03-08 2021-01-01 广州酷狗计算机科技有限公司 Flow service node scheduling method and device and scheduling node
CN108307198A (en) * 2018-03-08 2018-07-20 广州酷狗计算机科技有限公司 flow service node dispatching method, device and scheduling node
CN109151007A (en) * 2018-08-08 2019-01-04 中国联合网络通信集团有限公司 Data processing method, Core server and the transmission server of application schedules
CN109151007B (en) * 2018-08-08 2021-11-30 中国联合网络通信集团有限公司 Data processing method, core server and transmission server for application scheduling
CN112312155A (en) * 2020-10-30 2021-02-02 北京金山云网络技术有限公司 Video stream processing method and device and server
CN112312155B (en) * 2020-10-30 2022-04-22 北京金山云网络技术有限公司 Video stream processing method and device and server

Similar Documents

Publication Publication Date Title
CN104967873A (en) Streaming live scheduling method, system and scheduling server
CN104506950A (en) Multithread download method and download device in network streaming media play, and download equipment
CN104113735A (en) Distributed video monitoring storing system and method thereof
CN104284201A (en) Video content processing method and device
CN104050250A (en) Distributed key-value query method and query engine system
KR20200083608A (en) Video live broadcasting method and device
CN105245912A (en) Methods and devices for caching video data and reading video data
CN108664660A (en) Distributed implementation method, apparatus, equipment and the storage medium of time series database
CN104050249A (en) Distributed query engine system and method and metadata server
CA2840106A1 (en) Offline download method, multimedia file download method and system thereof
CN105516347A (en) Method and device for load balance allocation of streaming media server
CN103544285A (en) Data loading method and device
CN104539982A (en) Method and system for dispatching of video resource point-to-point sharing and node terminal
CN102143150A (en) Method, device and system for obtaining media contents
CN105554121A (en) Method and system for realizing load equalization of distributed cache system
CN205430501U (en) Mobile terminal web advertisement video and positive video seamless handover device
CN105893542A (en) Method and system for redistributing cold data files in cloud storage system
CN104717314A (en) IP management method and system, client-side and server
CN111050188B (en) Data stream scheduling method, system, device and medium
CN103823807A (en) Data de-duplication method, device and system
CN109756573A (en) A kind of file system based on block chain
CN107370809A (en) Method of data synchronization and data search system
CN101588287A (en) Method, device and system for scheduling and downloading peer-to-peer network data
CN101344882B (en) Data query method, insertion method and deletion method
CN105262640A (en) System and method for improving reliability of cloud platform server, and disposition framework of system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151007