CN103179433B - System, method and service node for providing video contents - Google Patents

System, method and service node for providing video contents Download PDF

Info

Publication number
CN103179433B
CN103179433B CN201110442479.0A CN201110442479A CN103179433B CN 103179433 B CN103179433 B CN 103179433B CN 201110442479 A CN201110442479 A CN 201110442479A CN 103179433 B CN103179433 B CN 103179433B
Authority
CN
China
Prior art keywords
transcoding
service node
real
file
file destination
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.)
Active
Application number
CN201110442479.0A
Other languages
Chinese (zh)
Other versions
CN103179433A (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.)
SHANGHAI SIHUA TECH Co Ltd
China Mobile Group Shanghai Co Ltd
Original Assignee
SHANGHAI SIHUA TECH Co Ltd
China Mobile Group Shanghai 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 SIHUA TECH Co Ltd, China Mobile Group Shanghai Co Ltd filed Critical SHANGHAI SIHUA TECH Co Ltd
Priority to CN201110442479.0A priority Critical patent/CN103179433B/en
Publication of CN103179433A publication Critical patent/CN103179433A/en
Application granted granted Critical
Publication of CN103179433B publication Critical patent/CN103179433B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a system, a method and a service node for providing video contents. The system, the method and the service node are used for saving storage space of the service node and reducing concurrent processing performance requirements of the service node when video contents are provided. The system comprises a central node and a first service node. The central node is used for receiving a video playing request sent from a user terminal, determining the first service node providing service, and forwarding the video playing request to the first service node; and the video playing request carries UA information and video identification. The first service node is used for determining a playing format supported by the user terminal according to the UA information, and determining an object file according to the video identification and the playing format; if the first service node has the object file, the object file is returned to the user terminal; if the first service node does not have the object file, the central node is inquired for whether a second service node with the object file exists or not; if so, the second service node is requested to return the object file to the user terminal; and if not, real-time transcoding operation are performed on the video contents corresponding to the video identification to acquire the object file to return to the user terminal.

Description

A kind of video content provides system, method and service node
Technical field
The present invention relates to mobile communication technology field, more particularly, to a kind of video content offer system, method and service section Point.
Background technology
A kind of form of expression of video, is to be caught a series of static image in signal of telecommunication mode, record, place Reason, storage, transmission and the technology reappeared.Video is to develop for television system earliest, with the development of mobile Internet, energy The terminal type receiving and playing video gets more and more, for example, computer, regular handset, smart mobile phone, smart mobile phone and flat Plate computer (PAD, Portable Application Description) etc., due to different types of terminal-pair video format, Code check has corresponding requirement, therefore it is required that video operator can provide multiple different forms for same video content, To support different types of terminal access.So, content supplier is when providing same video content, it is desirable to provide multiple differences The file of form, because the file that content is identical, form is different not only can take the substantial amounts of memory space of video operator, simultaneously Higher requirement is proposed to the Content Management of video operator, operation management.
In view of the foregoing, video operator typically can be solved using transcoding technology, the main implementation of prior art There are following 2 kinds:One kind is pre- transcoding, and that is, the video content that content supplier provides is distributed to video distribution net by video operator Before network, in advance video content can be converted into different-format and be saved in service node;One kind is real-time transcoding, i.e. video operation Business only retains the source file of this video content in advance to same video content, when user's request accesses this video content, according to This video content is changed into form, the code check that suitable this user terminal is play by the relevant information of this user terminal in real time, then to Family provides service.
Although video operator only need to manage a kind of video file of form in above-mentioned pre- transcoding mode, but regarding It is still desirable to store the different same video content of a large amount of forms in the service node of frequency distribution network, cause video distribution The waste of network storage space is so that space utilisation is relatively low;And it is desirable to service node is receiving use in real-time transcoding mode After the video playback request at family, video code conversion process can be quickly completed and return to user, otherwise can lead to user's body Test decline it is therefore desirable to service node can support the real-time transcoding ability under a large number of users complications, to service node Concurrent processing performance requirement higher.
Content of the invention
The embodiment of the present invention provides a kind of video content to provide system, method and service node, in order in video operator When video content is provided, save the memory space of service node, and reduce the requirement of the concurrent processing performance to service node.
The embodiment of the present invention provides a kind of video content to provide system, including Centroid, at least two service nodes, its In:
Described Centroid, the video playback request sending for receive user terminal, true according to default scheduling strategy Being set to described user terminal provides the first service node of service, and the request of described video playback is transmitted to described first service Node, carries the video content of user agent's UA information and the access of described user terminal requests in described video playback request Video labeling;
Described first service node, for the broadcast format that described user terminal is supported is determined according to described UA information, with And determine the file destination of described user terminal requests according to described video labeling and described broadcast format, if itself storage is State file destination, then return described file destination to described user terminal, if itself not storing described file destination, to described Centroid inquires about the second service node of the described file destination that is stored with, if so, to described second service node Ask described file destination, and return to described user terminal, if it is not, according to default transcoding strategy, to described video labeling Video content carry out real-time transcoding and obtain described file destination, return to described user terminal.
The embodiment of the present invention provides a kind of video content to provide method, including:
First service node obtains the video playback request that user terminal sends, and carries use in described video playback request The video labeling of the video content of UA information and the access of described user terminal requests is acted on behalf of at family;
Described first service node determines, according to described UA information, the broadcast format that described user terminal is supported;And
Determine the file destination of described user terminal requests according to described video labeling and described broadcast format;
Described first service node judges the described file destination that itself whether is stored with;
If it is, returning described file destination to described user terminal;
If it is not, then the second service node of the described file destination that is stored with to Centroid inquiry, if so, Ask described file destination to described second service node, and return to described user terminal, if it is not, according to default transcoding plan Slightly, real-time transcoding is carried out to the video content of described video labeling and obtain described file destination, return to described user terminal.
The embodiment of the present invention provides a kind of service node, and including stream service module, content managing module, real-time transcoding is dispatched Module, real-time transcoding module, wherein:
Described stream service module, for obtaining the video playback request of user terminal transmission, in described video playback request Carry the video labeling of the video content of user agent's UA information and the access of described user terminal requests, according to described UA information Determine the video format that described user terminal is supported, and determine described user eventually according to described video labeling and described broadcast format The file destination of end request, judges the described file destination that itself whether is stored with, if it is, obtain described file destination returning to Described user terminal, if not, other service nodes of the described file destination that is stored with to Centroid inquiry, if There are other service nodes to be stored with described file destination, ask described file destinations to this other service node, and return to Described user terminal, if there are not other service nodes being stored with described file destination, sends out to described real-time transcoding scheduler module Send real-time transcoding to ask, in described real-time transcoding request, carry described video labeling;And receiving real-time transcoding module After the described file destination returning, described file destination is returned to described user terminal;
Described content managing module, for for arbitrary video labeling, storing the corresponding not apposition of this video labeling The corresponding relation of formula file;
Described real-time transcoding scheduler module, for, after receiving described real-time transcoding request, determining described real-time turn When code module has remaining transcoding resource, determine, according to default scheduling strategy, the real-time transcoding module carrying out real-time transcoding, and The request of described real-time transcoding is sent to the real-time transcoding module determined;
Described real-time transcoding module, for according to default transcoding strategy, carrying out to the video content of described video labeling Real-time transcoding obtains described file destination, returns to described stream service module.
The embodiment of the present invention provides another service node, including flowing service module and content managing module, wherein:
Described stream service module, for obtaining the video playback request of user terminal transmission, in described video playback request Carry the video labeling of the video content of user agent's UA information and the access of described user terminal requests, according to described UA information Determine the video format that described user terminal is supported, and determine described user eventually according to described video labeling and described broadcast format The file destination of end request, judges the described file destination that itself whether is stored with, if it is, obtain described file destination returning to Described user terminal, if not, other service nodes of the described file destination that is stored with to Centroid inquiry, if There are other service nodes to be stored with described file destination, ask described file destinations to this other service node, and return to Described user terminal, if there are not other service nodes being stored with described file destination, possesses transcoding energy to Centroid inquiry Power and have other service nodes of remaining transcoding resource, and send real-time transcodings request to the other service nodes inquiring, please Corresponding video content carries out real-time transcoding and obtains described file destination to described video labeling to seek this other service node;
Described content managing module, for for arbitrary video labeling, storing the corresponding not apposition of this video labeling The corresponding relation of formula file.
Video content provided in an embodiment of the present invention provides system, method and service node, and Centroid is receiving use After the video playback request that family terminal sends, being chosen as this user terminal according to default scheduling strategy provides the service of service Node, and the video playback receiving request is transmitted to the service node determined, this service node please according to video playback The UA information carrying in asking, determines the broadcast format that user terminal is supported, and according to the broadcast format determined and video playback The video labeling carrying in request determines the file destination meeting user terminal demand, and this service node determines whether itself stores There is this file destination, if having, directly returning file destination to user, if not having, this service node to Centroid inquiry is No have other nodes to be stored with this file destination, if it has, returning to user terminal after then obtaining this file destination, if other Service node does not store this file destination yet, and this service node then carries out real-time transcoding according to default transcoding strategy and obtains mesh After mark file, return to user terminal.So, when there being multiple user's request video playback simultaneously, each service node only exists Determining itself and when all other service node does not all store this file destination, just carrying out real-time transcoding, thus reducing Concurrent processing performance requirement to each service node, in addition, for for each service node, due to its need not be directed to each Video content, stores the file of the be possible to form of this video content, thus having saved the memory space of service node.
Other features and advantages of the present invention will illustrate in the following description, and, partly become from description Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write In book, claims and accompanying drawing, specifically noted structure is realizing and to obtain.
Brief description
Fig. 1 is in the embodiment of the present invention, and video content provides the structural representation of system;
Fig. 2 is in the embodiment of the present invention, and the lateral user terminal of network provides the schematic flow sheet of video file;
Fig. 3 is in the embodiment of the present invention, and when service node is TSP, the lateral user terminal of network provides the stream of video file Journey schematic diagram;
Fig. 4 is in the embodiment of the present invention, and when service node is PSP, the lateral user terminal of network provides the stream of video file Journey schematic diagram;
Fig. 5 is the structural representation of TSP in the embodiment of the present invention;
Fig. 6 is the structural representation of PSP in the embodiment of the present invention.
Specific embodiment
In order to when screen operator provides video content to user terminal, save the memory space of service node, and drop The requirement of the low concurrent processing performance to service node, the embodiment of the present invention provide a kind of video content provide system, method and Service node.
As shown in figure 1, providing the structural representation of system for video content provided in an embodiment of the present invention, including centromere Point 101 and at least two service nodes 102, wherein:
Centroid 101, for the video playback request sending in receive user terminal, true according to default scheduling strategy Being set to this user terminal provides the first service node of service, and the request of this video playback is transmitted to first service node 102, The video labeling of the video content of UA (user agent) information and the access of this user terminal requests is carried in video playback request;
First service node 102, for determining, according to UA information, the broadcast format that this user terminal is supported, and according to regarding Frequency marking knows the file destination determining this user terminal requests with broadcast format, and this file destination if itself is stored with, to user Terminal returns described file destination, if itself not storing this file destination, is stored with to Centroid 101 inquiry The second service node 102 of this file destination, if so, asks described file destination to second service node 102, and returns to this User terminal, if it is not, according to default transcoding strategy, carries out real-time transcoding to the video content of this video labeling and obtains this target File, returns to this user terminal.
It should be noted that for convenience of description, the service of service will be provided for user terminal in the embodiment of the present invention Node is referred to as first service node it would be possible to the service node of the file destination that is stored with is referred to as second service node, both lives Name be for a certain user terminal for.
When being embodied as, Centroid 101 can include overall content manager (GCM) and global resource manager (GRM) form, Centroid 101 completes the collection to the whole network video content and resource information and controls traffic control.Wherein, GCM have recorded the storage information in the whole network for each video labeling corresponding different-format file, and each video content is regardless of quilt It is converted into how many kinds of form, all corresponds to a unique video labeling in the whole network, GCM is directed to each service node, saves this Corresponding relation between service node and same video labeling and this video labeling corresponding different-format file, as table 1 institute Show, be a kind of possible table structure of the corresponding relation of GCM storage:
Table 1
The Main Function of GCM is to provide a system by the video content storage information of each of whole network service node One view, the video content storage information of each service node can notify GCM when changing, so, when certain service When node needs to obtain the file destination that this service node does not store, can inquire about whether other service nodes store to GCM There is this file destination such that it is able to ask this file destination from the service node having stored this file destination, thus saving clothes The transcoding resource of business node, and improve the storage efficiency of the whole network.
GRM is used for managing the system resource service condition of the whole network, including the real-time transcoding service module of each service node Transcoding resource service condition, when needing to use transcoding resource across service node, is selected to carry according to default scheduling strategy by GRM Service node for transcoding service.Wherein, following two situations are mainly included across service node using transcoding resource:Certain service section Point is pure service node, does not possess transcoding capabilities;2nd, certain service node possesses transcoding capabilities, but the transcoding of this service node money Source is all occupied, and for example, certain service node supports that carry out 4 tunnels concurrently carries out transcoding simultaneously, but sometime, this 4 road transcoding Resource is all occupied.When being embodied as, the transcoding resource service condition of this service node can be reported by each service node To GRM, thus, when certain service node needs to use transcoding resource across service node, GRM can turning according to each service node The remaining situation of code resource specifies suitable service node to provide transcoding service.
When being embodied as, service node can include two classes:Pure service node (PSP) and transcoding service node (TSP), its In, by flowing service module and content managing module forms, PSP can only provide streaming media service to PSP node, when user terminal needs File destination when not existing in such service node, MSS will obtain file destination from other service nodes;TSP node by Stream service module, content managing module, real-time transcoding scheduler module and real-time transcoding module composition, TSP is except providing stream Additionally it is possible in real time video content be converted into the file destination of user terminal needs as requested outside media services.Need explanation , when being embodied as, stream service module, content managing module, real-time transcoding scheduler module and real-time transcoding module can be It is arranged on module within service node it is also possible to respectively independent equipment, for example, stream service module can be streaming server (MSS), content managing module can be content manager (CRM), and real-time transcoding scheduler module can dispatch pipe for real-time transcoding Reason device (TCM), real-time transcoding module can be real-time transcoding server (RTM).
Individually below with service node as TSP and as a example PSP, the implementation process of the embodiment of the present invention is illustrated.
Embodiment one
In embodiment one, service node is TSP, taking when user terminal requests play a certain video as a example, network side is described There is provided the schematic flow sheet of video file to user terminal, it is assumed that all service nodes of the whole network all do not store in embodiment one The file destination that user terminal needs, as shown in Fig. 2 comprise the following steps:
The video playback request that S201, GRM receive user terminal sends;
Specifically, carry in the UA information of this user terminal and the video of user terminal requests in the request of this video playback The video labeling holding.
S202, GRM are defined as this user terminal according to default scheduling strategy provides the TSP of service;
Specifically, GRM can be defined as this user terminal according to load balancing provides the TSP of service;
Video playback request is transmitted to the TSP determining by S203, GRM;
Specifically, video playback request is transmitted to the MSS of the TSP determining by GRM;
The UA carrying in video request information is submitted to UAPS (terminal adaptation server) by S204, MSS;
S205, UAPS, according to this UA information, determine the file destination information that this user terminal needs;
Specifically, UAPS, according to UA information, analyzes the information such as user terminal model, screen size, the network bandwidth, then Determine the file destination information being suitable for this user terminal;
The file destination determined information is sent to MSS by S206, UAPS;
S207, MSS determine the service node all not storing this file destination locally and in the whole network;
Specifically, MSS can determine, to local CRM, the file destination that locally whether is stored with, if not having, MSS is true to GCM Whether fixed other service nodes are stored with file destination.
S208, MSS send real-time transcoding request to TCM;
Specifically, carry video labeling in the request of this real-time transcoding;
S209, TCM are according to the available RTS of default transcoding policy selection;
Specifically, TCM can select suitable RTS according to the state of RTS and default scheduling strategy.
S210, TCM send real-time transcoding request to selected RTS;
S211, RTS to MSS obtain source file;
Specifically, the video labeling carrying in the real-time transcoding request that RTS receives according to itself, to MSS acquisition request Treat the corresponding source file of video labeling, especially, when RTS is to MSS acquisition source file, there may be following several situation:
1st, MSS itself is stored with the corresponding source file of this video labeling, then directly return this source file to RTS;
2nd, MSS itself is not stored with the corresponding source file of this video labeling, but its being stored with addition to file destination Its formatted file, in this case, can have following two processing methods:A, adopt quality preference strategy, that is, with video playback Content quality is first object, as such, it is desirable to be stored with other service nodes of source file to GCM inquiry, and from inquiring Obtain source file in other service nodes, real-time transcoding is carried out to described source file and obtains file destination;B, adopt Network Priority Strategy, to reduce network transmission consumption as first object as far as possible, in this case, then directly adopts other forms of itself storage File carries out transcoding and obtains file destination;
3rd, MSS itself is not stored with the corresponding source file of this video labeling, be not stored with addition to file destination yet its Its formatted file, in this case, MSS preferentially inquires about the service node of the source file that is stored with to GCM, and from the service inquiring Obtain source file in node, real-time transcoding is carried out to institute's source file and obtains file destination.
As the above analysis, using the teaching of the invention it is possible to provide source file can not be to the MSS and the MSS of the service that provides the user of RTS Same.
S212, RTS carry out real-time transcoding to the source file getting and obtain file destination;
The file destination of generation is obtained address and returns to TCM by S213, RTS;
Specifically, RTS, after obtaining file destination, generates the acquisition address obtaining this file destination, and this is obtained Address is sent to TCM;
S214, TCM will obtain address and notify MSS;
S215, TCM notify transcoding resource service condition to GRM;
S216, MSS obtain file destination from RTS;
S217, MSS return file destination to user terminal;
S218, MSS store file destination;
The service node that S219, MSS notice GCM updates its storage is corresponding with same video labeling and this video labeling Corresponding relation between different-format file.
Specific it is assumed that the node identification of TSP is 1004, video labeling is 5, and destination file format is avi, then MSS deposits After having stored up file destination, notify GCM to update the table 1 of its storage, increase following content in Table 1:
1004 5 5.avi
It should be noted that to provide the TSP itself of service to have remaining transcoding resource for user terminal in embodiment one As a example illustrate, when being embodied as however, it is determined that the TSP going out itself no remaining transcoding resource when, MSS to GCM inquiry possesses Transcoding capabilities and have the service node of remaining transcoding resource, and send real-time transcoding request, request to the service node inquiring To video labeling, corresponding video content carries out the file destination that real-time transcoding obtains user terminal requests to this service node, this clothes To video labeling, corresponding video content carries out the process of transcoding and corresponding to video labeling with TSP in the present embodiment regards business node The process that frequency content carries out transcoding is identical, repeats no more here.
Especially, when being embodied as, provide the user arbitrary service in the TSP of service or the whole network when what GRM determined Node be stored with this user terminal needs file destination when, then direct access file destination returns to user terminal to MSS, need not Carry out transcoding operation.
Embodiment two
In embodiment two, service node is PSP, taking when user terminal requests play a certain video as a example, network side is described There is provided the schematic flow sheet of video file to user terminal, it is assumed that all service nodes of the whole network all do not store in embodiment two The file destination that user terminal needs, as shown in figure 3, comprise the following steps:
The video playback request that S301, GRM receive user terminal sends;
S302, GRM are defined as this user terminal according to default scheduling strategy provides the PSP of service;
Video playback request is transmitted to the PSP determining by S303, GRM;
Specifically, video playback request is transmitted to the MSS of the PSP determining by GRM;
The UA carrying in video request information is submitted to UAPS by S304, PSP;
S305, UAPS, according to this UA information, determine the file destination information that this user terminal needs;
The file destination determined information is sent to PSP by S306, UAPS;
S307, PSP determine the service node all not storing this file destination locally and in the whole network;
S308, PSP possess transcoding capabilities and have the TSP of remaining transcoding resource to GCM request;
Specifically, MSS possesses transcoding capabilities and has the TSP of remaining transcoding resource to GCM request;
S309, GCM, according to default scheduling strategy, determine the TSP providing transcoding service;
S310, GCM return the address information of the TSP determining to PSP;
Specifically, the entry address of the TSP that GCM determines to the MSS return of PSP.
S311, PSP send real-time transcoding request to the TSP determining;
Specifically, PSP can send real-time transcoding request to the RTS of this TSP, carries video in the request of this real-time transcoding Mark;
The RTS execution transcoding operation of S312, TSP;
The RTS of TSP carries out the process of transcoding, and to may be referred to step S211 in embodiment one to step S212, no longer superfluous here State.
The acquisition address of the acquisition generating file destination is sent to PSP by the RTS of S313, TSP;
S314, PSP obtain file destination from TSP;
S315, TSP notify transcoding occupation condition to GRM;
S316, PSP return file destination to user terminal;
S317, PSP store this file destination;
S318, TSP store this file destination;
The service node that S319, PSP notice GCM updates its storage is corresponding with same video labeling and this video labeling Corresponding relation between different-format file;
The service node that S320, TSP notice GCM updates its storage is corresponding with same video labeling and this video labeling Corresponding relation between different-format file.
Based on same inventive concept, a kind of video content in the embodiment of the present invention, is also provided to provide method and service node, Because the method provides system similar to the principle of service node solve problem to above-mentioned video content, the therefore enforcement of this device May refer to above-mentioned video content provides the enforcement of system, repeats no more in place of repetition.
As shown in figure 4, being the implementation process diagram of video content method provided in an embodiment of the present invention, including:
S401, first service node obtain the video playback request that user terminal sends, and carry in the request of this video playback There is the video labeling of the video content of UA information and the access of this user terminal requests;
Specifically, Centroid, please by this video playback after the video playback request receiving user terminal transmission Ask and be transmitted to first service node.
S402, first service node determine, according to this UA information, the broadcast format that this user terminal is supported;
S403, first service node determine the file destination of this user terminal requests according to video labeling and broadcast format;
S404, first service node judge this file destination that itself whether is stored with, if it is, execution step S405, such as Really no, execution step S406;
S405, first service node return this file destination to user terminal;
S406, first service node inquire about the second service section of the described file destination that is stored with to Centroid Point, if so, execution step S407, if it is not, execution step S408;
S407, first service node ask this file destination to second service node, and return to this user terminal;
S408, first service node, according to default transcoding strategy, are turned in real time to the video content of this video labeling Code obtains this file destination, returns to this user terminal.
When being embodied as, if first service node itself possesses transcoding capabilities.First service node can be according to following Step carries out real-time transcoding to the video content of this video labeling and obtains this file destination:
Step one, first service node determine itself whether there is remaining transcoding resource, if it is, execution step two, such as Really no, execution step three;
Then the corresponding video content to this video labeling carries out real-time transcoding and obtains this target for step 2, first service node File;
Step 3, first service node possess transcoding capabilities and have the 3rd clothes of remaining transcoding resource to Centroid inquiry Business node, and send real-time transcoding request to the 3rd service node inquiring, request the 3rd service node is to this video labeling Corresponding video content carries out real-time transcoding and obtains described file destination.
Specifically, when first service node determines and itself has remaining transcoding resource, corresponding to this video labeling regard Frequency content carries out real-time transcoding and obtains this file destination, can include:
Step one, first service node determine the source document of the corresponding video content of this video labeling that itself whether is stored with Part, if it is, execution step two, if not, execution step three;
Step 2, first service this source file of node direct access, carry out real-time transcoding and obtain target literary composition to this source file Part;
Step 3, determine in addition to described broadcast format, this video labeling of itself whether being stored with corresponding other lattice Formula file, if it is, execution step four, if not, execution step five;
Step 4, first service node carry out real-time transcoding to this other formatted file and obtain file destination;
When being embodied as, step 4 can also be stored with the of this source file for first service node to Centroid inquiry Four service nodes, and obtain this source file from the 4th service node inquiring, real-time transcoding is carried out to this source file and obtains File destination;
Step 5, first service node directly inquire about the 4th service node of this source file that is stored with to Centroid, and Obtain this source file from the 4th service node inquiring, real-time transcoding is carried out to this source file and obtains file destination.
When being embodied as, if first service node itself does not possess transcoding capabilities, first service node is to video labeling Video content carry out real-time transcoding and obtain file destination, can include:
First service node possesses transcoding capabilities and has the 5th service node of remaining transcoding resource to Centroid inquiry, And send real-time transcoding request, request the 5th service node corresponding video to video labeling to the 5th service node inquiring Content carries out real-time transcoding and obtains file destination.
As shown in figure 5, the structural representation for TSP provided in an embodiment of the present invention, including stream service module 501, content Management module 502, real-time transcoding scheduler module 503, real-time transcoding module 504, wherein:
Stream service module 501, for obtaining the video playback request of user terminal transmission, carries in the request of this video playback There is the video labeling for UA information and the video content of described user terminal requests access for the user, according to this UA information determines The video format that user terminal is supported, and the target literary composition of this user terminal requests is determined according to this video labeling and this broadcast format Part, judges this file destination that itself whether is stored with, if it is, obtaining this file destination to return to described user terminal, if No, other service nodes of this file destination that is stored with to Centroid inquiry, if there are other service nodes deposit Contain this file destination, ask this file destination to this other service node, and return to this user terminal, if there is not other Service node is stored with this file destination, sends real-time transcoding request to real-time transcoding scheduler module 503, and this real-time transcoding is asked In carry video labeling;And after receiving the file destination of real-time transcoding module 504 return, this file destination is returned Back to this user terminal;
Content managing module 502, for for arbitrary video labeling, storing the corresponding different-format of this video labeling The corresponding relation of file;
Real-time transcoding scheduler module 503, for, after receiving real-time transcoding request, determining real-time transcoding module 504 When having remaining transcoding resource, determine, according to default scheduling strategy, the real-time transcoding module 504 carrying out real-time transcoding, and will be real When transcoding request be sent to the real-time transcoding module 504 determined;
Real-time transcoding module 504, for according to default transcoding strategy, carrying out to the video content of this video labeling in real time Transcoding obtains file destination, returns to stream service module 501.
Wherein, real-time transcoding scheduler module 503, is additionally operable to do not have remaining transcoding money in determination real-time transcoding module 504 During source, possess transcoding capabilities and have the 3rd service node of remaining transcoding resource to Centroid inquiry, and to the inquiring Three service nodes send real-time transcoding request, and to this video labeling, corresponding video content is carried out in real time request the 3rd service node Transcoding obtains this file destination.
In being embodied as, flow service module 501, be additionally operable to, for each video labeling, store this video labeling corresponding The different-format file of video content;
Real-time transcoding module 504, whether specifically for being stored with determination stream service module 501, video labeling is corresponding is regarded The source file of frequency content, when judged result is to be, obtains this source file from stream service module 501, this source file is carried out Real-time transcoding obtains described file destination;And judged result for no when, determine whether stream service module 501 is stored with except broadcasting Put beyond form, this video labeling corresponding other formatted files, if it is, being turned in real time to this other formatted file Code obtains file destination, or the 4th service node of the described source file that is stored with to Centroid inquiry, and from inquiring Obtain this source file in 4th service node, real-time transcoding is carried out to this source file and obtains file destination;If it is not, then directly to Centroid inquires about the 4th service node of this source file that is stored with, and obtains this source document from the 4th service node inquiring Part, carries out real-time transcoding to this source file and obtains file destination.
As shown in fig. 6, provide the structural representation of PSP for the embodiment of the present invention, including:
Stream service module 601, for obtaining the video playback request of user terminal transmission, carries in the request of this video playback Have the video labeling of the video content that UA information and this user terminal requests access, according to this UA information determine this user terminal The video format supported, and the file destination of this user terminal requests is determined according to this video labeling and this broadcast format, judge Whether itself be stored with this file destination, if it is, obtaining this file destination to return to this user terminal, if not, to center Querying node is stored with other service nodes of this file destination, if there are other service nodes being stored with this target File, asks this file destination to this other service node, and returns to this user terminal, if there are not other service nodes depositing Contain this file destination, possess transcoding capabilities and have other service nodes of remaining transcoding resource to Centroid inquiry, and to The other service nodes inquiring send real-time transcodings request, ask this other service node to this video labeling corresponding video Content carries out real-time transcoding and obtains this file destination;
Content managing module 602, for for arbitrary video labeling, storing the corresponding different-format of this video labeling The corresponding relation of file.
Those skilled in the art are it should be appreciated that embodiments herein can be provided as method, system or computer program Product.Therefore, the application can be using complete hardware embodiment, complete software embodiment or the reality combining software and hardware aspect Apply the form of example.And, the application can be using in one or more computers wherein including computer usable program code The upper computer program implemented of usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) produces The form of product.
The application is the flow process with reference to method, equipment (system) and computer program according to the embodiment of the present application Figure and/or block diagram are describing.It should be understood that can be by each stream in computer program instructions flowchart and/or block diagram Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor instructing general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device is to produce A raw machine is so that produced for reality by the instruction of computer or the computing device of other programmable data processing device The device of the function of specifying in present one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device with spy Determine in the computer-readable memory that mode works so that the instruction generation inclusion being stored in this computer-readable memory refers to Make the manufacture of device, this command device realize in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that counting On calculation machine or other programmable devices, execution series of operation steps to be to produce computer implemented process, thus in computer or On other programmable devices, the instruction of execution is provided for realizing in one flow process of flow chart or multiple flow process and/or block diagram one The step of the function of specifying in individual square frame or multiple square frame.
Although having been described for the preferred embodiment of the application, those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So, claims are intended to be construed to including excellent Select embodiment and fall into being had altered and changing of the application scope.
Video content provided in an embodiment of the present invention provides system, method and service node, and Centroid is receiving use After the video playback request that family terminal sends, being chosen as this user terminal according to default scheduling strategy provides the service of service Node, and the video playback receiving request is transmitted to the service node determined, this service node please according to video playback The UA information carrying in asking, determines the broadcast format that user terminal is supported, and according to the broadcast format determined and video playback The video labeling carrying in request determines the file destination meeting user terminal demand, and this service node determines whether itself stores There is this file destination, if having, directly returning file destination to user, if not having, this service node to Centroid inquiry is No have other nodes to be stored with this file destination, if it has, returning to user terminal after then obtaining this file destination, if other Service node does not store this file destination yet, and this service node then carries out real-time transcoding according to default transcoding strategy and obtains mesh After mark file, return to user terminal.So, when there being multiple user's request video playback simultaneously, each service node only exists Determining itself and when all other service node does not all store this file destination, just carrying out real-time transcoding, thus reducing Concurrent processing performance requirement to each service node, in addition, for for each service node, due to its need not be directed to each Video content, stores the file of the be possible to form of this video content, thus having saved the memory space of service node.
Obviously, those skilled in the art can carry out the various changes and modification essence without deviating from the present invention to the present invention God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprise these changes and modification.

Claims (8)

1. a kind of video content provides system it is characterised in that including Centroid, at least two service nodes, wherein:
Described Centroid, the video playback request sending for receive user terminal, it is defined as according to default scheduling strategy Described user terminal provides the first service node of service, and the request of described video playback is transmitted to described first service section Point, described video playback carries regarding of the video content of user agent's UA information and the access of described user terminal requests in asking Frequency marking is known;Described Centroid, is additionally operable to for each service node, preserve this service node and same video labeling and Corresponding relation between this video labeling corresponding different-format file;Described Centroid, is additionally operable to storage and respectively possesses transcoding The transcoding resource using information of the service node of ability;
Described first service node, for determining the broadcast format that described user terminal is supported, Yi Jigen according to described UA information Determine the file destination of described user terminal requests according to described video labeling and described broadcast format, if itself being stored with described mesh Mark file, then return described file destination to described user terminal, if itself not storing described file destination, to described center Querying node is stored with the second service node of described file destination, if so, asks to described second service node Described file destination, and return to described user terminal, if it is not, according to default transcoding strategy, regarding to described video labeling Frequency content carries out real-time transcoding and obtains described file destination, returns to described user terminal;Described first service node, is additionally operable to Store described file destination, and notify described Centroid to update the corresponding relation of its preservation;Described first service node, also uses Give described Centroid in the transcoding resource reporting when real-time transcoding is carried out to described video content, itself being taken, notify Described Centroid updates the transcoding resource using information of its storage;Wherein, if described first service node itself possesses transcoding Ability, then described first service node, specifically for determining itself whether there is remaining transcoding resource, if it is, to described The corresponding video content of video labeling carries out real-time transcoding and obtains described file destination, if it is not, then looking into described Centroid Ask the 3rd service node possessing transcoding capabilities and having remaining transcoding resource, and send in real time to the 3rd service node inquiring Transcoding is asked, and to described video labeling, corresponding video content carries out real-time transcoding and obtains described target request the 3rd service node File.
2. the system as claimed in claim 1 it is characterised in that
Described first service node, specifically in the source file of the corresponding video content of described video labeling that itself is stored with When, source file described in direct access, real-time transcoding is carried out to described source file and obtains file destination;Or
Described first service node, specifically for when itself does not store described source file, determining whether itself is stored with except institute State beyond broadcast format, described video labeling corresponding other formatted files, if it is, carrying out to this other formatted file Real-time transcoding obtains file destination, or the 4th service node of the described source file that is stored with to the inquiry of described Centroid, and Obtain described source file from the 4th service node inquiring, real-time transcoding is carried out to described source file and obtains file destination; If it is not, then the 4th service node of the described source file that is directly stored with to the inquiry of described Centroid, and from the inquiring Obtain described source file in four service nodes, real-time transcoding is carried out to described source file and obtains file destination.
3. the system as claimed in claim 1 is not it is characterised in that described first service node itself possesses transcoding capabilities;With And
Described first service node, is additionally operable to possess transcoding capabilities to the inquiry of described Centroid and have the of remaining transcoding resource Five service nodes, and send real-time transcoding request to the 5th service node inquiring, request the 5th service node regards to described The frequency marking corresponding video content of knowledge carries out real-time transcoding and obtains described file destination.
4. a kind of video content provides method it is characterised in that including:
First service node obtains the video playback request that user terminal sends, and carries user's generation in described video playback request The video labeling of the video content of reason UA information and the access of described user terminal requests;
Described first service node determines, according to described UA information, the broadcast format that described user terminal is supported;And
Determine the file destination of described user terminal requests according to described video labeling and described broadcast format;
Described first service node judges the described file destination that itself whether is stored with;
If it is, returning described file destination to described user terminal;
If it is not, then the second service node of the described file destination that is stored with to Centroid inquiry, if so, to institute State second service node and ask described file destination, and return to described user terminal, if it is not, according to default transcoding strategy, Real-time transcoding is carried out to the video content of described video labeling and obtains described file destination, return to described user terminal;
Described first service node, is additionally operable to store described file destination, and notifies described Centroid to update the right of its preservation Should be related to;Described first service node, is additionally operable to the transcoding when carrying out real-time transcoding to described video content, itself being taken Resource reporting gives described Centroid, notifies described Centroid to update the transcoding resource using information of its storage;
Wherein, if described first service node itself possesses transcoding capabilities, according to default transcoding strategy, to described video mark The video content known carries out real-time transcoding and obtains described file destination, specifically includes:Determine itself whether there is remaining transcoding money Source;If it is, to described video labeling, corresponding video content carries out real-time transcoding and obtains described file destination;If not, Then possess transcoding capabilities and have the 3rd service node of remaining transcoding resource to Centroid inquiry, and to the 3rd clothes inquiring Business node sends real-time transcoding request, and to described video labeling, corresponding video content is turned request the 3rd service node in real time Code obtains described file destination.
5. method as claimed in claim 4 is it is characterised in that determine when itself having remaining transcoding resource, to described video Identify corresponding video content and carry out real-time transcoding and obtain described file destination, specifically include:
Determine the source file of the corresponding video content of described video labeling that itself whether is stored with;
If it is, source file described in direct access, real-time transcoding is carried out to described source file and obtains described file destination;
If not, determining in addition to described broadcast format, the described video labeling corresponding other form that itself whether is stored with File, if it is, carrying out real-time transcoding to this other formatted file to obtain file destination, or inquires about storage to Centroid There is the 4th service node of described source file, and obtain described source file from the 4th service node inquiring, to described source File carries out real-time transcoding and obtains file destination;If it is not, then be directly stored with the of described source file to Centroid inquiry Four service nodes, and obtain described source file from the 4th service node inquiring, real-time transcoding is carried out to described source file Obtain file destination.
6. method as claimed in claim 4 is not it is characterised in that described first service node itself possesses transcoding capabilities;With And
According to default transcoding strategy, real-time transcoding is carried out to the video content of described video labeling and obtains described file destination, Specifically include:
Possess transcoding capabilities and have the 5th service node of remaining transcoding resource to Centroid inquiry, and to the 5th inquiring Service node sends real-time transcoding request, and to described video labeling, corresponding video content is carried out in real time request the 5th service node Transcoding obtains described file destination.
7. a kind of service node is it is characterised in that include stream service module, content managing module, real-time transcoding scheduler module, reality When transcoding module, wherein:
Described stream service module, for obtaining the video playback request of user terminal transmission, carries in described video playback request There is the video labeling of the video content of user agent's UA information and the access of described user terminal requests, determined according to described UA information The video format that described user terminal is supported, and described user terminal requests are determined according to described video labeling and broadcast format File destination, judges the described file destination that itself whether is stored with, if it is, obtaining described file destination to return to described user Terminal, if not, other service nodes of the described file destination that is stored with to Centroid inquiry, if existing other Service node is stored with described file destination, asks described file destinations to this other service node, and returns to described user Terminal, if there are not other service nodes being stored with described file destination, sending to described real-time transcoding scheduler module and turning in real time Code request, carries described video labeling in described real-time transcoding request;And receiving the institute of real-time transcoding module return After stating file destination, described file destination is returned to described user terminal;
Described content managing module, for for arbitrary video labeling, storing the corresponding different-format literary composition of this video labeling The corresponding relation of part;
Described real-time transcoding scheduler module, for, after receiving described real-time transcoding request, determining described real-time transcoding mould When block has remaining transcoding resource, determine according to default scheduling strategy and carry out the real-time transcoding module of real-time transcoding, and by institute State real-time transcoding request and be sent to the real-time transcoding module determined;
Described real-time transcoding module, for according to default transcoding strategy, carrying out to the video content of described video labeling in real time Transcoding obtains described file destination, returns to described stream service module;
Described real-time transcoding scheduler module, be additionally operable to determine described real-time transcoding module there is no remaining transcoding resource when, to Centroid inquiry possesses transcoding capabilities and has the 3rd service node of remaining transcoding resource, and to the 3rd service section inquiring Point sends real-time transcoding request, and to described video labeling, corresponding video content carries out real-time transcoding and obtains request the 3rd service node To described file destination.
8. service node as claimed in claim 7 it is characterised in that
Described stream service module, is additionally operable to store the difference of the corresponding video content of this video labeling for each video labeling Formatted file;
Described real-time transcoding module, corresponding specifically for determining the described video labeling that whether is stored with described stream service module The source file of video content, when judged result is to be, obtains described source file, to described source document from described stream service module Part carries out real-time transcoding and obtains described file destination;And judged result for no when, determine described stream service module whether deposit Contain in addition to described broadcast format, described video labeling corresponding other formatted file, if it is, to this other form File carries out real-time transcoding and obtains file destination, or the 4th service section of the described source file that is stored with to Centroid inquiry Point, and obtain described source file from the 4th service node inquiring, real-time transcoding is carried out to described source file and obtains target File;If it is not, then the 4th service node of the described source file that is directly stored with to Centroid inquiry, and from the inquiring Obtain described source file in four service nodes, real-time transcoding is carried out to described source file and obtains file destination.
CN201110442479.0A 2011-12-26 2011-12-26 System, method and service node for providing video contents Active CN103179433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110442479.0A CN103179433B (en) 2011-12-26 2011-12-26 System, method and service node for providing video contents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110442479.0A CN103179433B (en) 2011-12-26 2011-12-26 System, method and service node for providing video contents

Publications (2)

Publication Number Publication Date
CN103179433A CN103179433A (en) 2013-06-26
CN103179433B true CN103179433B (en) 2017-02-08

Family

ID=48639004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110442479.0A Active CN103179433B (en) 2011-12-26 2011-12-26 System, method and service node for providing video contents

Country Status (1)

Country Link
CN (1) CN103179433B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100953B (en) * 2014-05-23 2019-07-05 ***通信集团江苏有限公司 A kind of method and system of video distribution
CN104270682A (en) * 2014-10-22 2015-01-07 南京富士通南大软件技术有限公司 Intelligent video playing method
CN105898396A (en) * 2015-11-13 2016-08-24 乐视云计算有限公司 Third party video pushing method and system
CN108737848B (en) * 2017-04-18 2021-04-02 杭州海康威视数字技术股份有限公司 Video processing method and device and cloud storage system
CN108769743B (en) * 2018-05-11 2020-11-06 中兴通讯股份有限公司 Video playing control method, system, node and computer storage medium
CN108810563A (en) * 2018-06-19 2018-11-13 合肥凌极西雅电子科技有限公司 Stream media ordering method and its system
CN111093089B (en) * 2018-10-23 2022-04-01 中国电信股份有限公司 Method for managing video, edge cache scheduling center and communication system
CN111628879A (en) * 2019-02-27 2020-09-04 北京奇虎科技有限公司 Method and device for realizing service network
CN109963199A (en) * 2019-04-23 2019-07-02 中国联合网络通信集团有限公司 Content distributing network and its distribution method
CN110519616B (en) * 2019-10-10 2022-09-13 腾讯科技(深圳)有限公司 Video distribution method, distribution node, scheduling center and storage medium
CN111093094A (en) * 2019-12-03 2020-05-01 深圳市万佳安物联科技股份有限公司 Video transcoding method, device and system, electronic equipment and readable storage medium
CN113938703A (en) * 2021-09-24 2022-01-14 青岛海信移动通信技术股份有限公司 Video acquisition system, method and equipment
CN113973214A (en) * 2021-09-30 2022-01-25 中通服科信信息技术有限公司 Video stream format conversion method, device and storage medium
CN115243074A (en) * 2022-07-26 2022-10-25 京东方科技集团股份有限公司 Video stream processing method and device, storage medium and electronic equipment
CN115734008A (en) * 2022-10-19 2023-03-03 北京智象信息技术有限公司 Method, system and medium for quickly integrating content provider video resources

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094243A (en) * 2007-05-31 2007-12-26 广东中大讯通软件科技有限公司 Multimedia adaptation system and method of adaptating multimedia content for different types of devices base on UPnP
CN101697549A (en) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 Method and system for displaying stream media and stream media management server
CN101917326A (en) * 2009-11-17 2010-12-15 新奥特(北京)视频技术有限公司 Distributed trans-coding system and task scheduling method thereof
CN101945278A (en) * 2010-09-15 2011-01-12 中国科学院深圳先进技术研究院 Video self-adaptive transcoding method and system
CN102209276A (en) * 2010-03-29 2011-10-05 华为技术有限公司 Method, server and system for providing real-time video service in telecommunication network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7103906B1 (en) * 2000-09-29 2006-09-05 International Business Machines Corporation User controlled multi-device media-on-demand system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094243A (en) * 2007-05-31 2007-12-26 广东中大讯通软件科技有限公司 Multimedia adaptation system and method of adaptating multimedia content for different types of devices base on UPnP
CN101697549A (en) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 Method and system for displaying stream media and stream media management server
CN101917326A (en) * 2009-11-17 2010-12-15 新奥特(北京)视频技术有限公司 Distributed trans-coding system and task scheduling method thereof
CN102209276A (en) * 2010-03-29 2011-10-05 华为技术有限公司 Method, server and system for providing real-time video service in telecommunication network
CN101945278A (en) * 2010-09-15 2011-01-12 中国科学院深圳先进技术研究院 Video self-adaptive transcoding method and system

Also Published As

Publication number Publication date
CN103179433A (en) 2013-06-26

Similar Documents

Publication Publication Date Title
CN103179433B (en) System, method and service node for providing video contents
ES2553428T3 (en) Method, device and content processing system
CN108418862A (en) Micro services management method and system based on artificial intelligence service cloud platform
CN110769038A (en) Server scheduling method and device, storage medium and electronic equipment
CN106713028B (en) Service degradation method and device and distributed task scheduling system
US20100131545A1 (en) Distribution Data Items Within Geographically Distributed Databases
CN106599711A (en) Database access control method and device
CN104536965B (en) A kind of data query display systems under the conditions of big data and method
CN102917077A (en) Resource allocation method in cloud computing system
CN106973114B (en) Access method, server and system
CN103401938A (en) Resource distribution system based on service features under distributed cloud architecture and method thereof
CN110830604B (en) DNS scheduling method and device
US20230176929A1 (en) Resource allocation method and apparatus based on edge computing
CN113419846B (en) Resource allocation method and device, electronic equipment and computer readable storage medium
CN111858050B (en) Server cluster hybrid deployment method, cluster management node and related system
CN109032511A (en) Data storage method, server and storage medium
CN104410511B (en) A kind of server management method and system
CN110401731A (en) Method and apparatus for distributing content distribution nodes
CN103561092A (en) Method and device for managing resources under private cloud environment
CN101296373B (en) Multimedia data processing system and method based on material exchange format
CN103442034B (en) A kind of stream media service method based on cloud computing technology and system
CN101262489A (en) A content distribution network system and method
CN111796935A (en) Consumption instance distribution method and system for calling log information
CN104391949B (en) A kind of wide-area data method for managing resource based on data dictionary
CN112003957B (en) Method, device, server and storage medium for scheduling access point

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant