CN107920262A - A kind of media file dissemination method and device - Google Patents
A kind of media file dissemination method and device Download PDFInfo
- Publication number
- CN107920262A CN107920262A CN201610879596.6A CN201610879596A CN107920262A CN 107920262 A CN107920262 A CN 107920262A CN 201610879596 A CN201610879596 A CN 201610879596A CN 107920262 A CN107920262 A CN 107920262A
- Authority
- CN
- China
- Prior art keywords
- media file
- released
- url
- key values
- channel number
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
- H04L67/1076—Resource dissemination mechanisms or network resource keeping policies for optimal resource availability in the overlay network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/235—Processing of additional data, e.g. scrambling of additional data or processing content descriptors
- H04N21/2353—Processing of additional data, e.g. scrambling of additional data or processing content descriptors specifically adapted to content descriptors, e.g. coding, compressing or processing of metadata
Abstract
The invention discloses a kind of media file dissemination method and device, in this method, the uniform resource position mark URL of media file to be released is obtained;According to URL the and URL matched rules of the media file to be released, it is determined to identify the keyword key values that the URL corresponds to media file to be released, and determining channel number corresponding with the key values, the channel number is used for unique mark media file to be released;Issue the key values of the media file to be released and the channel number.Storage resource can be saved by the present invention, mitigate the government pressure to the media file to be released, and different content distributing networks (Content Delivery Network, CDN) system is accessible to, to save the docking exploitation of CDN system and time cost.
Description
Technical field
The present invention relates to field of communication technology, more particularly to a kind of media file dissemination method and device.
Background technology
With the development of internet, there are various media file delivery systems, for example, presently, there are it is somewhat right
Point (Peer To Peer, P2P) system, multicast communication (Client To Multiple Server, c2ms) system and live
Vlive systems.Below with P2P systems and content distributing network (Content Delivery Network, CDN) system globe area
Illustrated exemplified by the network architecture, the network architecture of the P2P systems and CDN system fusion is by the extended capability of P2P systems, more
Users to share resource capability combines with reliability, the manageability of CDN system, can preferably realize user and network it
Between interaction.
At present, the network architecture merged in user using the P2P systems and CDN system carry out media file download and
When shared, because regular using different Resource orientations respectively in CDN system and in P2P systems, so needing in CDN system
Media file universal resource locator (Uniform Resoure Locator, URL) and the media resource of P2P systems retouch
State symbol and establish mapping relations, and then the network equipment in P2P systems can get media text to be released by the mapping relations
The URL of part, then media file to be released is got by the URL, and the corresponding files to be released of the URL are stored to hard
In disk.If the storage location of the media file to be released in the server is different or the media file to be released is never
What same CDN system obtained, then the URL for the media file to be released that the network equipment is got is different.Due to the net in P2P systems
Network equipment is according to different URL, is different files by the media file storage to be released for belonging to same media file,
Cause to take more storage resource.
In addition, the network equipment in P2P systems from CDN system obtain URL when, since different CDN systems need to provide not
Same URL obtains interface, and different CDN system acquisition modes are different, when P2P system docking difference CDN systems, it is necessary to right
Connection module carries out secondary development, elapsed time and cost.
The content of the invention
The object of the present invention is to provide a kind of media file dissemination method and device, to save storage resource, and CDN is saved
The docking exploitation of system and time cost.
In a first aspect, the embodiment of the present invention provides a kind of media file dissemination method, the described method includes:
Obtain the uniform resource position mark URL of media file to be released;
According to URL the and URL matched rules of the media file to be released, it is determined to identify the media text to be released
The keyword key values of part, and determine channel number corresponding with the key values;
Wherein, the URL matched rules are used to treat according to the URL of the media file to be released is determined to mark
The key values of publication medium file, the channel number are used for unique mark media file to be released;
Issue the key values of the media file to be released and the channel number.
In the embodiment of the present invention, after the URL for getting media file to be released, according to the media file to be released
The matched rule of URL and URL, determines to identify the key values of the media file to be released and frequency corresponding with the key values
Taoist monastic name so that the media file to be released for belonging to identical media file corresponds to unique identical channel number, to ensure using P2P
When system and CDN system carry out media file issue, the corresponding same media file of different URL is only once stored, and can be saved
About storage resource.In addition, when replacing CDN system and getting the corresponding difference URL of identical media file, according to the difference
URL, determine the identical key values of mark identical media file and same channel number corresponding with the identical key values, into
And can realize the storage of the media file to be released directly according to the identical channel number and share, without to institute
State P2P systems to modify, it is not required that modify to CDN system, it is possible to be linked into different CDN systems, can save
The docking exploitation of CDN system and time cost.
Specifically, the URL of media file to be released is obtained from Broadcast Control server;Or the URL uploaded from Broadcast Control server
The URL of media file to be released is obtained in list.
Further, determine in the media file to be released after the key values of each slicing files, if the URL is corresponded to
Media file to be released include slicing files, it is determined that the key values of each slicing files in the media file to be released;Obtain
The size of each slicing files in the size of the media file to be released and the media file to be released;According to described pending
The size of each slicing files, determines each slicing files with respect to institute in the size of cloth media file and the media file to be released
State the offset information of media file initial position to be released;Key values, each slicing files for issuing each slicing files are opposite
The offset information of the media file initial position to be released and the size of each slicing files.
If specifically, the key values include the key values of the media file to be released and the media file to be released
In each slicing files key values, then by the corresponding channel number of key values of the media file to be released, as described to be released
The corresponding channel number of key values of each slicing files in the key values of media file and the media file to be released.
Specifically, it is used for the mark for judging whether the media file to be released was published according to what the URL was carried,
Judge whether the media file to be released was published;
If the media file to be released was published, used channel during the media file to be released will be issued
Number, as the corresponding channel number of the key values;
If the media file to be released was not published, channel number is selected in channel number resource pool, as described
The corresponding channel number of key values.
Further, after the media file to be released was published, send a notification message, notify to Broadcast Control server
Media file to be released described in the Broadcast Control server is issued successfully;Receive the matchmaker to be released that the Broadcast Control server is sent
The offline notification message of body file, and disappear to the response message of the Broadcast Control server transmission notification message, the response
Breath is used to notify the Broadcast Control server to carry out offline operation to the media file to be released;If detect the Broadcast Control service
The offline success of device, then send to tracking Tracker servers and remove buffered message, and described to be released by what is stored in database
The record deletion of media file.
Second aspect, the embodiment of the present invention provide a kind of media file distributing device, which includes acquiring unit, determines
Unit and transmitting element, wherein:
The acquiring unit, for obtaining the uniform resource position mark URL of media file to be released;
The determination unit, for the matched rule of URL and URL according to the media file to be released, is determined to
The keyword key values that the URL that the acquiring unit obtains corresponds to media file to be released are identified, and are determined and the key
It is worth corresponding channel number;Wherein, the URL matched rules are used to be determined to mark according to the URL of the media file to be released
Know the key values of the media file to be released, the channel number is used for unique mark media file to be released;
The transmitting element, the key values of the media file to be released determined for issuing the determination unit with
And channel number.
Wherein, the acquiring unit is specifically used for:The URL of media file to be released is obtained from Broadcast Control server;Or from
The URL of media file to be released is obtained in the url list that Broadcast Control server uploads.
Further, the determination unit is determined in the media file to be released after the key values of each slicing files,
The determination unit is additionally operable to:If the corresponding media file to be released of the URL includes slicing files, it is determined that described to be released
The key values of each slicing files in media file.
The acquiring unit is additionally operable to:In the size and the media file to be released that obtain the media file to be released
The size of each slicing files.
The determination unit is additionally operable to:According in the size of the media file to be released and the media file to be released
The size of each slicing files, determines the offset information of the relatively described media file initial position to be released of each slicing files.
The transmitting element is additionally operable to:Issue the key values for each slicing files that the determination unit determines, each slicing files
The offset information of relatively described media file initial position to be released and the size of each slicing files.
Wherein, the determination unit is specifically used for:If the key values of key values including the media file to be released with
And in the media file to be released each slicing files key values, then by the corresponding frequency of key values of the media file to be released
Taoist monastic name, the key values pair as each slicing files in the key values of the media file to be released and the media file to be released
The channel number answered.
Specifically, the determination unit is specifically used for:It is used to judge the media text to be released according to what the URL was carried
The mark whether part was published, judges whether the media file to be released was published;If the media file to be released
It was published, then used channel number when will issue the media file to be released, as the corresponding channel of the key values
Number;If the media file to be released was not published, channel number is selected in channel number resource pool, as the key values
Corresponding channel number.
Further, the transmitting element issues the key for the media file to be released that the determination unit is determined
After value and channel number, described device further includes receiving unit:
The transmitting element is additionally operable to:Send a notification message to Broadcast Control server, notify to treat described in the Broadcast Control server
The success of publication medium file distribution;
The receiving unit is used for:Receive the offline notice for the media file to be released that the Broadcast Control server is sent
Message;
The transmitting element is additionally operable to:The response message of the notification message is sent to the Broadcast Control server, it is described to answer
Answer the offline operation that message is used to notify the Broadcast Control server to carry out the media file to be released;If detect the Broadcast Control
The offline success of server, then send to Tracker servers and remove buffered message, and described to be released by what is stored in database
The record deletion of media file.
Brief description of the drawings
Fig. 1 is a kind of dissemination method of media file provided in an embodiment of the present invention;
Fig. 2 is the dissemination method of another media file provided in an embodiment of the present invention;
Fig. 3 is a kind of definite method flow diagram of channel number provided in an embodiment of the present invention;
Fig. 4 is a kind of offline process flow diagram flow chart of media file provided in an embodiment of the present invention;
Fig. 5 is a kind of structure diagram of media file distributing device provided in an embodiment of the present invention;
Fig. 6 is the structure diagram of another media file distributing device provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, is not whole embodiments.
The embodiment of the present invention provides a kind of media file dissemination method, to save storage resource.
The embodiment of the present invention provides a kind of media file dissemination method, in this method, obtains media file to be released
URL, and according to the corresponding media files to be released of the URL, determine to identify the key values of the media file to be released and
Channel number corresponding with the key values, and the channel number is used for unique mark media file to be released, and then described in issue
URL and the channel number.
In the embodiment of the present invention, after the URL for getting media file to be released, according to the media file to be released
URL and URL matched rules, determine to identify the key values of the media file to be released and channel corresponding with the key values
Number so that the media file to be released for belonging to identical media file corresponds to unique identical channel number, to ensure in application P2P systems
When system and CDN system carry out media file issue, the corresponding same media file of different URL is only once stored, and can be saved
Storage resource.In addition, when replacing CDN system and getting the corresponding difference URL of identical media file, according to described different
URL, determines the identical key values of mark identical media file and same channel number corresponding with the identical key values, and then
It can realize the storage of the media file to be released directly according to the identical channel number and share, without to equipment
Or system is modified, it is possible to is linked into different CDN systems, can be saved docking exploitation and the time cost of CDN system.
Fig. 1 is a kind of dissemination method of media file provided in an embodiment of the present invention, be may comprise steps of:
S11, the URL for obtaining media file to be released.
Specifically, when the issue of film increment is reached the standard grade, the URL of media file to be released can be obtained from Broadcast Control server;When
When film batch issue is reached the standard grade, each media file to be released can be obtained successively from the url list that Broadcast Control server uploads
URL.The URL carries download address information, authentication information and the routing information of the media file to be released.Wherein, originally
The executive agent of inventive embodiments can be publisher server.
S12, the matched rule according to the URL and URL of the media file to be released, are determined to identify described to be released
The key values of media file, and determine channel number corresponding with the key values.
Specifically, if the storage location of media file to be released in the server is different or media file to be released be from
What different CDN systems obtained, then the URL of the media file to be released got is different.In the embodiment of the present invention, category is received
After the different URL of identical media file, it can determine to can be identified for that identical media file to be released according to different URL
One key value, can set URL matched rules.The URL matched rules are true for the URL according to the media file to be released
Surely the key values of the media file to be released be can be identified for that.Wherein, for the specific of URL matched rules in the embodiment of the present invention
Realization is not construed as limiting, for example, can extract identification number (identification, ID) information, the length of media file in different URL
Information and start position information, are written over different URL using regular expression, and then determine can be identified for that identical
The key values of media file to be released;Alternatively, the CDN suction parameters of extractable URL, using regular expression to different URL into
Row is rewritten, and then determines to can be identified for that the key values of identical media file to be released.
After the key values for determining to can be identified for that identical media file to be released in the embodiment of the present invention, further according to matching somebody with somebody in advance
Mapping relations between the key values and channel number put, it may be determined that go out channel number corresponding with key values, since the channel number is used
In media file to be released described in unique mark, and then it can determine that media file to be released.
S13, the key values of the issue media file to be released and the channel number.
Specifically, release management personnel, in publication medium file on Content Management Platform, Content Management Platform is by described in
Media file uploads to CDN system, and after CDN system scanning medium file cocurrent cloth, readjustment Broadcast Control server is to publisher server
Send a notification message, the URL of the media file is carried in the notification message.The publisher server receives the notice and disappears
After breath, URL is recalculated, obtains the key values of the corresponding media files of URL, and by the key values of media file and correspond to
Channel number be published in database.
In the embodiment of the present invention, after the URL for getting media file to be released, according to the media file to be released
The matched rule of URL and URL, determines to identify the key values of the media file to be released and frequency corresponding with the key values
Taoist monastic name so that the media file to be released for belonging to identical media file corresponds to unique identical channel number, to ensure using P2P
When system and CDN system carry out media file issue, the corresponding same media file of different URL is only once stored, and can be saved
About storage resource.In addition, can realize the storage of identical media file directly according to the identical channel number and share, without
Need to modify to existing equipment or system, it is possible to be linked into different CDN systems, the docking that can save CDN system is opened
Hair and time cost.
Optionally, in the above-described embodiments, the URL of the media file to be released is produced by CDN system.When needing to obtain
During the URL, media file request message is sent to CDN system, after CDN system receives the request message, described in transmission
URL。
Further, in the embodiment of the present invention, if the corresponding media files to be released of the URL include slicing files, it is
It can realize the successful issue of each slicing files in the media file to be released, determine the media file to be released
Key values after, it is further comprising the steps of, as shown in Figure 2:
If S21, the media file to be released include slicing files, it is determined that each burst in the media file to be released
The key values of file.
If specifically, the corresponding media files to be released of the URL include slicing files, the media file to be released
It can be determined that M3U8 files, and using regular expression to each burst text in the M3U8 files and M3U8 files
The URL of part is written over, and obtains the key values of the M3U8 files and the key values of each slicing files.Wherein, Mei Gefen
The URL of piece file is corresponding to calculate a key value, and the key values are to identify the M3U8 files and each burst
The critical field of file.If the corresponding media file to be released of the URL does not include slicing files, the media text to be released
Part can be determined that MP4 files, and the URL of the MP4 files is calculated using regular expression, obtain described in mark
The key values of the corresponding MP4 files of URL.Wherein, each MP4 files are corresponding calculates a key value, and each key values
It is the critical field for identifying each MP4 files respectively.
Each slicing files in S22, the size for obtaining the media file to be released and the media file to be released
Size.
Specifically, when carrying out media file issue, send and ask to CDN system, obtain the media file to be released
The size information of each slicing files in size information and the media file to be released.
S23, according to each slicing files in the size of the media file to be released and the media file to be released
Size, determines the offset information of the relatively described media file initial position to be released of each slicing files.
Specifically, when each in the size information and the media file to be released for getting the media file to be released
During the size information of slicing files, the media to be released can be determined according to the size information of the media file to be released
The initial position of file, and then the offset of each slicing files is determined successively.If for example, known media file to be released
Initial position be zero and the media file to be released in first slicing files shared by byte number be 15, then can determine that
The offset of second slicing files in the media file to be released is since the 16th byte.
Key values, the relatively described media file start bit to be released of each slicing files of S24, issue each slicing files
The offset information and the size of each slicing files put.
It is described to be released if the corresponding media files to be released of the URL include slicing files in the embodiment of the present invention
Media file can be M3U8 files., can be by each point in the M3U8 files when carrying out the issue of the M3U8 files
The offset of the relatively described media file initial position to be released of the key values of piece file, each slicing files and each slicing files
Size information be distributed to database, realize can be according to each slicing files in the database key values, each slicing files
Offset information and each slicing files size, get successively in order in the M3U8 files each burst text
Part.
Preferably, in the above-described embodiments, if the URL corresponds to media file to be released and includes slicing files, it is determined that
The key of each slicing files in key values and the media file to be released of the key values gone out including the media file to be released
Value, and then further according to the mapping relations between the key values and channel number, the key values of the media file to be released are corresponded to
Channel number, the key as each slicing files in the key values of the media file to be released and the media file to be released
It is worth corresponding channel number.
In the embodiment of the present invention, by by the corresponding channel number of key values of the media file to be released, being treated as described
The corresponding channel number of key values of each slicing files in the key values of publication medium file and the media file to be released so that
Each slicing files correspond to identical channel number in the media file to be released and the media file to be released.If for example,
The media file to be released is M3U8 files, then is able to ensure that each slicing files in the M3U8 files as a text
Part is stored, and can save storage resource.And realizing the network equipment can be directly according to the channel of unique mark M3U8 files
Number, issued each slicing files in the M3U8 files as a file, alleviate the network equipment to M3U8 texts
The government pressure of each slicing files in part.
Preferably, in the above-described embodiments, the corresponding channel number of the key values is determined, may particularly include following step
Suddenly, as shown in Figure 3:
S121, the mark whether being published for judging the media file to be released carried according to the URL, sentence
Whether the media file to be released that breaks was published.
Specifically, when needing publication medium file, can send a notification message to publisher server, the publisher server
After receiving the notification message, the URL of the media file to be released is got from the notification message, and in the database
Whether inquiry issued the media file, and specific inquiry mode can judge according to the mark that URL is carried, such as, URL
The marker bit of carrying is isp2p, if isp2p=1, shows that the media file had been published;If isp2p=0 does not have
Mark, then show that the media file was not published.
If being published, perform S122, used channel number during the media file to be released will be issued, as institute
State the corresponding channel number of key values.
Specifically, under carousel scene, media file is to carry out loop play, the i.e. media at a certain time interval
File had been published, at this time, used channel number when can will issue the media file to be released, as the key
It is worth corresponding channel number.
If not being published, perform S123, select channel number in channel number resource pool, corresponded to as the key values
Channel number.
Specifically, if media file was not published, according between the preconfigured key values and channel number
Mapping relations, select corresponding channel number from channel number resource pool, as the corresponding channel number of the key values.
In the embodiment of the present invention, if the media file had been published, the media file to be released will be issued
When used channel number, as the corresponding channel number of the key values, i.e., need not search just can quickly determine it is described
The corresponding channel number of key values.
Further, after media file to be released was published in embodiments of the present invention, in order to save spatial cache
Or due to other reasons, it is necessary to when carrying out offline processing to the media file to be released issued, specifically lower line process can wrap
Following steps are included, as shown in Figure 4:
S41, send a notification message to Broadcast Control server, and notice Broadcast Control server media file to be released is issued successfully.
In practical application, after media file had been published, publisher server can send to Broadcast Control server and take
Notification message with communication Protocol Standard note, notifies the media file to issue successfully;For example the mark of similar isp2p=1 is carried,
After the mark that Broadcast Control server identifies that value is 1, learn that the media file was published, and learn and need to use under p2p agreements
Carry the media file;I.e. download module can carry out analysis judgement to the URL of the media file, judge whether marked in URL containing P2P
Note, if being marked without P2P, generates C2MS tasks, and selects download server to carry out multiple spot download;If being marked containing P2P,
P2P downloading tasks are generated, starts P2P modules and downloads.
S42, the offline notification message for receiving the media file to be released that Broadcast Control server is sent, and to Broadcast Control service
Device sends the message that notice Broadcast Control server carries out the media file to be released offline operation.
Specifically, after media file had been published, release management personnel can take Broadcast Control on Broadcast Control platform
Business device is operated, and offline processing is carried out to the successful media file of issue stored in Broadcast Control server, but in the case where carrying out
Before line processing, Broadcast Control server can send the media file to publisher server needs offline notification message, when issue takes
After business device receives the notification message, the response message of the notification message can be sent to Broadcast Control server, informs that Broadcast Control server can
To carry out offline processing to media file.
If S43, detect the offline success of Broadcast Control server, send removing caching to tracking (Tracker) server and disappear
Breath, and the media file to be released stored in database is deleted.
Specifically, when detecting that Broadcast Control service has been successfully realized offline processing to media file, so as to
Tracker servers send the message for removing caching, can be to the caching of the server after Tracker servers receive the message
The media file of interface caching is purged, and the renewal of other media files is carried out easy to the server.Meanwhile also can be by number
Deleted according to the media file of the issued mistake stored in storehouse, to save the memory space of P2P databases.
The media file dissemination method provided based on above-described embodiment, the embodiment of the present invention provide a kind of media file issue
Device, the device can be applied in P2P systems, and Fig. 5 show a kind of media file issue dress provided in an embodiment of the present invention
The structure diagram put, as shown in figure 5, the device includes acquiring unit 51, determination unit 52 and transmitting element 53, wherein:
The acquiring unit 51, for obtaining the uniform resource position mark URL of media file to be released;
The determination unit 52, for the matched rule of URL and URL according to the media file to be released, determines energy
Enough identify the keyword key values that the URL that the acquiring unit 51 obtains corresponds to media file to be released, and it is definite with it is described
The corresponding channel number of key values;Wherein, the URL matched rules are used to be determined to according to the URL of the media file to be released
The key values of the media file to be released are identified, the channel number is used for unique mark media file to be released;
The transmitting element 53, the key for the media file to be released determined for issuing the determination unit 52
The channel number that value and the determination unit 52 are determined.
Specifically, the acquiring unit 51 is specifically used for:The URL of media file to be released is obtained from Broadcast Control server;Or
Person obtains the URL of media file to be released from the url list that Broadcast Control server uploads.
Further, the determination unit 52 determine each slicing files in the media file to be released key values it
Afterwards, the determination unit 52 is additionally operable to:If the corresponding media file to be released of the URL includes slicing files, it is determined that described
The key values of each slicing files in media file to be released.
The acquiring unit 51 is additionally operable to:Obtain the size of the media file to be released and the media file to be released
In each slicing files size.
The determination unit 52 is additionally operable to:According to the size of the media file to be released and the media file to be released
In each slicing files size, determine the relatively described media file initial position to be released of each slicing files offset letter
Breath.
The transmitting element 53 is additionally operable to:Issue key values, each burst text for each slicing files that the determination unit determines
The offset information of the relatively described media file initial position to be released of part and the size of each slicing files.
Wherein, the determination unit 52 is specifically used for:If the key values include the key values of the media file to be released
And in the media file to be released each slicing files key values, then it is the key values of the media file to be released is corresponding
Channel number, the key values as each slicing files in the key values of the media file to be released and the media file to be released
Corresponding channel number.
Specifically, the determination unit 52 is specifically used for:According to URL carryings for judging the media to be released
The mark whether file was published, judges whether the media file to be released was published;If the media text to be released
Part was published, then used channel number when will issue the media file to be released, as the corresponding channel of the key values
Number;If the media file to be released was not published, channel number is selected in channel number resource pool, as the key values
Corresponding channel number.
Further, the transmitting element issues the key for the media file to be released that the determination unit is determined
After value and channel number, described device further includes receiving unit 54, as shown in Figure 6:
The transmitting element 53 is additionally operable to:Send a notification message, notified described in the Broadcast Control server to Broadcast Control server
Media file to be released is issued successfully;
The receiving unit 54 is used for:Receive the offline logical of the media file to be released that the Broadcast Control server is sent
Know message;
The transmitting element 53 is additionally operable to:The response message of the notification message is sent to the Broadcast Control server, it is described
Response message is used for the offline operation for notifying the Broadcast Control server to carry out the media file to be released;If detect described broadcast
The offline success of server is controlled, then is sent to Tracker servers and removes buffered message, and it is described pending by what is stored in database
The record deletion of cloth media file.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these modification and variations.
Claims (10)
- A kind of 1. media file dissemination method, it is characterised in that including:Obtain the uniform resource position mark URL of media file to be released;According to URL the and URL matched rules of the media file to be released, it is determined to identify the media file to be released Keyword key values, and determine channel number corresponding with the key values;Wherein, the URL matched rules are used to be determined to identify according to the URL of the media file to be released described to be released The key values of media file, the channel number are used for unique mark media file to be released;Issue the key values of the media file to be released and the channel number.
- 2. the method as described in claim 1, it is characterised in that the URL for obtaining media file to be released, including:The URL of media file to be released is obtained from Broadcast Control server;OrThe URL of media file to be released is obtained in the url list uploaded from Broadcast Control server.
- 3. the method as described in claim 1, it is characterised in that after the key values for determining the media file to be released, institute The method of stating further includes:If the corresponding media file to be released of the URL includes slicing files, it is determined that each point in the media file to be released The key values of piece file;Obtain the size of the media file to be released and the size of each slicing files in the media file to be released;According to the size of each slicing files in the size of the media file to be released and the media file to be released, determine The offset information of the relatively described media file initial position to be released of each slicing files;Issue the key values of each slicing files, each slicing files relative to the media file initial position to be released offset Measure information and the size of each slicing files.
- 4. the method as described in claim 1, it is characterised in that the definite channel number corresponding with the key values, including:It is used for the mark for judging whether the media file to be released was published according to what the URL was carried, is treated described in judgement Whether publication medium file was published;If the media file to be released was published, used channel number during the media file to be released will be issued, As the corresponding channel number of the key values;If the media file to be released was not published, channel number is selected in channel number resource pool, as the key values Corresponding channel number.
- 5. such as claim 1-4 any one of them methods, it is characterised in that the key values of the issue media file to be released And after the channel number, the method further includes:Send a notification message to Broadcast Control server, notify media file to be released described in the Broadcast Control server to issue successfully;Receive the offline notification message for the media file to be released that the Broadcast Control server is sent, and to the Broadcast Control service Device sends the response message of the notification message, and the response message is used to notify the Broadcast Control server to the matchmaker to be released Body file carries out offline operation;If detecting the offline success of Broadcast Control server, sent to tracking server and remove buffered message, and by database The record deletion of the media file to be released of middle storage.
- 6. a kind of media file distributing device, it is characterised in that including acquiring unit, determination unit and transmitting element:The acquiring unit, for obtaining the uniform resource position mark URL of media file to be released;The determination unit, for URL the and URL matched rules according to the media file to be released, is determined to mark institute The keyword key values of the media file to be released of acquiring unit acquisition are stated, and determine channel corresponding with the key values Number;Wherein, the URL matched rules are used to be determined to identify according to the URL of the media file to be released described to be released The key values of media file, the channel number are used for unique mark media file to be released;The transmitting element, the key values and frequency of the media file to be released determined for issuing the determination unit Taoist monastic name.
- 7. device as claimed in claim 6, it is characterised in that the acquiring unit, which is specifically used for obtaining as follows, to be treated The URL of publication medium file, including:The URL of media file to be released is obtained from Broadcast Control server;OrThe URL of media file to be released is obtained in the url list uploaded from Broadcast Control server.
- 8. device as claimed in claim 6, it is characterised in that determination unit determines the key of the media file to be released After value, the determination unit is additionally operable to:If the corresponding media file to be released of the URL includes slicing files, it is determined that each point in the media file to be released The key values of piece file;The acquiring unit is additionally operable to:Obtain the size of the media file to be released and the size of each slicing files in the media file to be released;The determination unit is additionally operable to:It is each in the size of the media file to be released obtained according to the acquiring unit and the media file to be released The size of slicing files, determines the offset information of the relatively described media file initial position to be released of each slicing files;The transmitting element is additionally operable to:Issue key values, the relatively described media file to be released of each slicing files for each slicing files that the determination unit determines The size of the offset information of initial position and each slicing files.
- 9. device as claimed in claim 6, it is characterised in that the determination unit be specifically used for as follows determine with The corresponding channel number of the key values:It is used for the mark for judging whether the media file to be released was published according to what the URL was carried, is treated described in judgement Whether publication medium file was published;If the media file to be released was published, used channel number during the media file to be released will be issued, As the corresponding channel number of the key values;If the media file to be released was not published, channel number is selected in channel number resource pool, as the key values Corresponding channel number.
- 10. such as claim 6-9 any one of them devices, it is characterised in that the transmitting element issues the determination unit After the key values and channel number of the media file to be released determined, described device further includes receiving unit:The transmitting element is additionally operable to:Send a notification message to Broadcast Control server, notify media file to be released described in the Broadcast Control server to issue successfully;The receiving unit is used for:Receive the offline notification message for the media file to be released that the Broadcast Control server is sent;The transmitting element is additionally operable to:The response message of the notification message is sent to the Broadcast Control server, the response message is used to notify the Broadcast Control to take Business device carries out the offline operation of the media file to be released;If detecting the offline success of Broadcast Control server, sent to tracking server and remove buffered message, and by database The record deletion of the media file to be released of middle storage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610879596.6A CN107920262A (en) | 2016-10-08 | 2016-10-08 | A kind of media file dissemination method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610879596.6A CN107920262A (en) | 2016-10-08 | 2016-10-08 | A kind of media file dissemination method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107920262A true CN107920262A (en) | 2018-04-17 |
Family
ID=61892263
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610879596.6A Pending CN107920262A (en) | 2016-10-08 | 2016-10-08 | A kind of media file dissemination method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107920262A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101282329A (en) * | 2007-04-02 | 2008-10-08 | 中兴通讯股份有限公司 | Method and system for sharing network medium contents |
US20100293598A1 (en) * | 2007-12-10 | 2010-11-18 | Deluxe Digital Studios, Inc. | Method and system for use in coordinating multimedia devices |
CN102577309A (en) * | 2009-09-29 | 2012-07-11 | 诺基亚公司 | System, method and apparatus for dynamic media file streaming |
CN103916437A (en) * | 2013-01-05 | 2014-07-09 | 中国移动通信集团公司 | File release system, device and method |
CN104581374A (en) * | 2014-12-31 | 2015-04-29 | 深圳市同洲电子股份有限公司 | Methods for obtaining slicing files and generating sub m3u8 files, node and server |
CN105144134A (en) * | 2013-03-14 | 2015-12-09 | 辛纳科尔股份有限公司 | Media sharing communications system |
CN105528348A (en) * | 2014-09-28 | 2016-04-27 | 阿里巴巴集团控股有限公司 | Media file processing method and apparatus |
CN105528346A (en) * | 2014-09-28 | 2016-04-27 | 阿里巴巴集团控股有限公司 | Method and apparatus for providing media content information |
CN105530536A (en) * | 2014-09-28 | 2016-04-27 | 阿里巴巴集团控股有限公司 | Method and device for providing media related information |
-
2016
- 2016-10-08 CN CN201610879596.6A patent/CN107920262A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101282329A (en) * | 2007-04-02 | 2008-10-08 | 中兴通讯股份有限公司 | Method and system for sharing network medium contents |
US20100293598A1 (en) * | 2007-12-10 | 2010-11-18 | Deluxe Digital Studios, Inc. | Method and system for use in coordinating multimedia devices |
CN102577309A (en) * | 2009-09-29 | 2012-07-11 | 诺基亚公司 | System, method and apparatus for dynamic media file streaming |
CN103916437A (en) * | 2013-01-05 | 2014-07-09 | 中国移动通信集团公司 | File release system, device and method |
CN105144134A (en) * | 2013-03-14 | 2015-12-09 | 辛纳科尔股份有限公司 | Media sharing communications system |
CN105528348A (en) * | 2014-09-28 | 2016-04-27 | 阿里巴巴集团控股有限公司 | Media file processing method and apparatus |
CN105528346A (en) * | 2014-09-28 | 2016-04-27 | 阿里巴巴集团控股有限公司 | Method and apparatus for providing media content information |
CN105530536A (en) * | 2014-09-28 | 2016-04-27 | 阿里巴巴集团控股有限公司 | Method and device for providing media related information |
CN104581374A (en) * | 2014-12-31 | 2015-04-29 | 深圳市同洲电子股份有限公司 | Methods for obtaining slicing files and generating sub m3u8 files, node and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9888089B2 (en) | Client side cache management | |
JP5755813B2 (en) | Network resource download information sharing control system and method | |
CN106170771A (en) | For managing the method for notice, system and the medium pointing to the multiple application being installed on subscriber equipment | |
CN104581374B (en) | A kind of method, node and server for obtaining section file and generating sub- m3u8 files | |
US20060236386A1 (en) | Method and apparatus for cooperative file distribution in the presence of firewalls | |
CN103546517B (en) | Network information push system and method | |
JP2011507400A5 (en) | ||
US9154465B2 (en) | Protecting privacy when communicating with a web server | |
TW200809554A (en) | Methods and apparatus for sampling usage information from a pool of terminals in a data network | |
CN107517239A (en) | Data transmission method and device | |
US11201928B2 (en) | Method of referencing a connection session with a wireless communication device in a local area, a system for implementing this method, a method of referencing an application user, a machine-readable medium for implementing this method, as well as a method of collecting data on the wireless communication device user, and a machine-readable medium for implementing this method | |
JP6232666B2 (en) | Method, apparatus and system for monitoring the quality of OTT video | |
CN105978703A (en) | Video fault feedback method, client and server | |
US8903998B2 (en) | Apparatus and method for monitoring web application telecommunication data by user | |
CN110351276A (en) | Data processing method, equipment and computer readable storage medium | |
CN101616034B (en) | Method and system for monitoring and updating terminal security status | |
CN105338421A (en) | HLS streaming media transmission method and device | |
CN109379438A (en) | Agent relation's configuration method and device | |
US8296389B2 (en) | Content reproduction apparatus, content delivery apparatus, content delivery system, and method for generating metadata | |
US20190278823A1 (en) | Information processing apparatus and non-transitory computer readable medium storing program | |
CN104685488A (en) | System and method for creating virtual disk images for use with remote computer | |
US7979490B2 (en) | Method for combatting the illicit distribution of protected material and computer system for carrying out said method | |
CN107920262A (en) | A kind of media file dissemination method and device | |
CN110519656A (en) | Playback method, system and the server of adaptive stream media | |
US10798147B2 (en) | Constraint based controlled seeding |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180417 |