CN109194993A - Media file distribution method and file distributing platform - Google Patents

Media file distribution method and file distributing platform Download PDF

Info

Publication number
CN109194993A
CN109194993A CN201811267902.6A CN201811267902A CN109194993A CN 109194993 A CN109194993 A CN 109194993A CN 201811267902 A CN201811267902 A CN 201811267902A CN 109194993 A CN109194993 A CN 109194993A
Authority
CN
China
Prior art keywords
media file
site
terminal
service device
branch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811267902.6A
Other languages
Chinese (zh)
Other versions
CN109194993B (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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201811267902.6A priority Critical patent/CN109194993B/en
Publication of CN109194993A publication Critical patent/CN109194993A/en
Application granted granted Critical
Publication of CN109194993B publication Critical patent/CN109194993B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/632Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing using a connection between clients on a wide area network, e.g. setting up a peer-to-peer communication via Internet for retrieving video segments from the hard-disk of other client devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector

Landscapes

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

Abstract

This application provides media file distribution method and file distributing platforms, wherein media distribution method include in the case that the file distributing platform terminal be divided into as unit of site, with multiple site multiple termination sets correspondingly, site media file collection is obtained to branch office service device as unit of the termination set of a site, and distribute the site media file collection in the termination set of the site, to guarantee each media file only transmission primaries between the branch office service device and the termination set.The application distributes site media file collection to each terminal, to distribute efficiency by media file distribution procedure in realizing in site so as to improve media file and reduce the network bandwidth occupancy and the wasting of resources of occupancy in termination set.

Description

Media file distribution method and file distributing platform
Technical field
This application involves field of communication technology more particularly to media file distribution methods and file distributing platform.
Background technique
Need to play media file in the hall of bank of each site, including the publicity of fund rate information, bank's new product, Bank's emergence message notice.Therefore, banking system usually has file distributing platform.Current file distribution platform includes: head office Server (country level), the multiple branch office service devices (districts and cities' rank) being connected with head office server, each branch office service device pair It connects multiple sites (local rank), each site generally includes at least one for showing the terminal of media file, and each net Not intercommunication between point.
The media file of the displaying as needed for each terminal of each site is not quite similar, so obtaining media file situation Under, each terminal can send up request instruction to head office's server step by step.
Each terminal sends request instruction to head office's server, this leads to the Netowrk tape between head office's server and site Width is repeatedly used, and more Internet resources are occupied.Also, there are also identical media texts between multiple terminals of same site Part, this causes same file to be repeatedly downloaded, and leads to useless downloading.
I.e. its efficiency of the method for terminal media file is lower in the prior art, and occupies more Internet resources.
Summary of the invention
In consideration of it, the application provides a kind of media file distribution method and file distributing platform, media file can be improved Distribution efficiency and the network bandwidth for reducing occupancy occupy and the wasting of resources.
To achieve the goals above, this application provides following technical characteristics:
A kind of media file distribution method characterized by comprising
Be divided into as unit of the terminal of the file distributing platform is by site, with multiple sites multiple ends correspondingly In the case of the collection of end, site media file collection is obtained to branch office service device as unit of the termination set of a site, and in the site The distribution site media file collection in termination set, to guarantee each media file in the branch office service device and the termination set Between only transmission primaries.
Optionally, the termination set of one site includes the master terminal being dynamically determined by branch office service device, and, institute It states branch office service device and the site media file list of each site and the terminal media lists of documents of each site is stored in advance;
It is described to obtain site media file collection to branch office service device as unit of the termination set of a site, comprising:
Master terminal in the termination set receives the branch office service device issues, the corresponding site media file in the site Inventory and terminal media lists of documents;
Master terminal in the termination set downloads the corresponding matchmaker of the site media file list from the branch office service device The media file of body file, downloading forms the site media file collection.
Optionally, the terminal media lists of documents include site media file centralized media file identification and terminal iidentification Between corresponding relationship;
It is then described to distribute the site media file collection in the termination set of the site, comprising:
In local area network locating for site, master terminal in the termination set according to the terminal media lists of documents, with P2P mode distributes media file that the site media file is concentrated each terminal into the termination set.
Optionally, further includes:
Master terminal is dynamically determined by the branch office service device again after the master terminal delay machine;
The termination set of site receives the master terminal more new command that the branch office service device issues;Wherein, the master terminal is more New command includes for the terminal iidentification as master terminal;
Each terminal receives master terminal more new command in termination set;
Determining under the terminal iidentification unanimous circumstances that terminal determines in terminal iidentification and the master terminal more new command should Terminal is master terminal, otherwise determines that the terminal is from terminal;
In the case where determining the terminal is master terminal, the SS later is for executing step: the master in the termination set Terminal downloads the corresponding media file of the site media file list, the media file composition of downloading from the branch office service device The site media file collection.
A kind of media file distribution method, the terminal of the file distributing platform is divided into as unit of site, with it is multiple Site multiple termination sets correspondingly;The media file distribution method includes:
Branch's media file collection is obtained to head office's server as unit of branch office service device, to guarantee that each media file exists Only transmission primaries on backbone network between branch office service device and head office's server;Wherein, the branch office service device be also used to Termination set carries out data interaction, to realize:
Site media file collection is obtained to branch office service device as unit of the termination set of a site, to guarantee each media text Part only transmission primaries between the branch office service device and the termination set;Also, the termination set of site is also at the end of the site The distribution site media file collection in the collection of end;
Optionally, obtaining branch's media file collection to head office's server as unit of the device by branch office service includes:
The branch office service device obtains the corresponding branch's media file list of the branch office service device to head office's server;
The branch office service device downloads the media file in branch's media file list from head office's server, Media file composition branch's media file collection is stated in downloading.
Optionally, the end message of each site, the terminating packet of a site is stored in advance in the branch office service device Include the terminal iidentification and the SOT state of termination of each terminal under the site;
End message of the branch office service device according to site, is dynamically determined out in the corresponding termination set in site, is in The master terminal of available mode, remaining terminal is from terminal in the termination set;
Master terminal more new command is sent to the termination set;Wherein, the master terminal more new command includes for as master The terminal iidentification of terminal.
Optionally, the branch office service device provides manual distribution interface, further includes:
During showing that screen shows branch's media file list, the manual distribution for receiving user's input refers to It enables;Wherein, the manual distribution instruction include: one or more media file identifications in branch's media file list, it is each The corresponding termination set of media file identification and the corresponding terminal iidentification of each media file identification;
Determine the corresponding one or more media files of one or more of media file identifications;
Distribute the master terminal that one or more of media files are concentrated to counterpart terminal, for the master terminal in termination set Distribute the media file to the corresponding terminal of terminal iidentification;
Delete one or more media file identifications in branch's media file list.
Optionally, further includes:
The branch office service device obtains the transmission rate of the transmission bandwidth between each site;
The product of transmission rate and preset ratio is calculated, Preset Transfer rate is obtained;
During then obtaining site media file collection to branch office service device as unit of by the termination set of a site, according to institute It states Preset Transfer speed rates and downloads site media file collection from branch office service device, and is clear in pre-stored site media file The downloading result of each media file identification is recorded in list;
If the corresponding downloading result of a media file identification is failed download, retain the media file identification to next week The site media file of phase is concentrated, to guarantee the fault-tolerance of distribution.
A kind of file distributing platform, the terminal of the file distributing platform is divided into as unit of site and multiple sites One-to-one multiple termination sets, comprising:
Head office's server, for storing media file;
Branch office service device, for obtaining branch's media file collection to head office's server as unit of branch office service device, to protect Demonstrate,prove each media file only transmission primaries on the backbone network between branch office service device and head office's server;
The termination set of site, for obtaining site media file to branch office service device as unit of the termination set of a site Collection, and distribute the site media file collection in the termination set of the site, to guarantee that each media file takes in the branch It is engaged between device and the termination set only transmission primaries.
By the above technological means, can at least realize following part the utility model has the advantages that
The application obtains branch's media file collection from head office's server by branch office service device, so that each media file exists Transmission primaries between head office's server and branch office service device greatly reduce the media between branch office service device and head office's server File the number of transmissions reduces network bandwidth occupancy and the wasting of resources.
All terminals of file distributing platform are divided into multiple termination sets as unit of site, as unit of termination set to Branch office service device site media file collection, so that each media file transmission primaries between branch office service device and site, significantly The media file the number of transmissions between branch office service device and site is reduced, network bandwidth occupancy and the wasting of resources are reduced.
Subsequent site media file collection of distributing in termination set is to each terminal, thus by media file distribution procedure in net It is realized in point, distribute efficiency so as to improve media file and reduces the network bandwidth occupancy and the wasting of resources of occupancy.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of file distributing platform disclosed in the embodiment of the present application;
Fig. 2 is a kind of flow chart of media file distribution method disclosed in the embodiment of the present application;
Fig. 3 is the flow chart of another media file distribution method disclosed in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
Term is explained:
NAS:NetworkAttached Storage, network attached storage;It is literally briefly exactly to be connected to network On, have the device of data storage function, therefore also referred to as " network memory ".It is a kind of exclusive data storage server. It is data-centered, and storage equipment is completely separated with server, manages data concentratedly, thus discharge bandwidth, raising performance, Reduce total cost of ownership, protection investment.Its cost is well below using server to store, and efficiency is significantly larger than the latter.
P2P: peer-to-peer network, i.e. peer-to-peer computer network are that one kind distributes task and work between fellow (Peer) A kind of networking or latticed form that the Distributed Application framework of load, which is P2P computing model, to be formed in application layer.From literal, P2P can be understood as P2P computing or peer-to-peer network.P2P is translated into " point-to-point " or " end-to-end " by domestic some media, Academia is then collectively referred to as peer-to-peer network (Peer-to-peer networking) or P2P computing (Peer-to-peer Computing), can be with is defined as: the participant of network share a part of hardware resource that they are possessed (processing capacity, Storage capacity, network-connectivity, printer etc.), these shared resources, can be by other right by network offering services and content Equal nodes (Peer) directly access is without being subjected to intermediate entities.Participant in this network is both resource, service and content Supplier (Server), and be that resource, service and content obtain taker (Client).
Token bucket algorithm: when transmitting data in a network, network congestion in order to prevent need to limit the flow of outflow network, It is sent out flow with relatively uniform speed.Token bucket algorithm just realizes this function, controllable to be sent to number on network According to number, and allow the transmission of bursty data.
The purpose of the application is: the media file of head office's server is distributed to the terminal of each site, and it is possible to It improves media file distribution efficiency and reduces the network bandwidth occupancy and the wasting of resources of occupancy.
This application provides a kind of file distributing platforms, and referring to Fig. 1, file distributing platform includes:
Head office's management equipment 100 is used for head office's server upload media file and branch's media file list.
The head office's server 200 being connected with head office's management equipment 100, for storing media file and branch's media text Part inventory.
The multiple branch office service devices 300 being connected with head office server 200, for being taken as unit of branch office service device to head office Business device obtains branch's media file collection, to guarantee backbone network of each media file between branch office service device and head office's server Only transmission primaries on network.
It include multiple sites in each 300 compass of competency of branch office service device, each site generally includes at least one and is used for Show the terminal 400 of media file, and, mutual not intercommunication between each site.All terminals of the file distributing platform of the application Be divided into as unit of site, with multiple sites multiple termination sets correspondingly.
The multiple termination sets 400 being connected are corresponded with the multiple branch office service device 300, for the terminal of a site Integrate and obtain site media file collection to branch office service device as unit, and distributes the site media text in the termination set of the site Part collection, to guarantee each media file only transmission primaries between the branch office service device and the termination set.
The present embodiment has the advantages that as can be seen from the above description
The application obtains branch's media file collection from head office's server by branch office service device, so that each media file exists Transmission primaries between head office's server and branch office service device greatly reduce the media between branch office service device and head office's server File the number of transmissions reduces network bandwidth occupancy and the wasting of resources.
All terminals of file distributing platform are divided into multiple termination sets as unit of site, as unit of termination set to Branch office service device site media file collection, so that each media file transmission primaries between branch office service device and site, significantly The media file the number of transmissions between branch office service device and site is reduced, network bandwidth occupancy and the wasting of resources are reduced.
Subsequent site media file collection of distributing in termination set is to each terminal, thus by media file distribution procedure in net It is realized in point, distribute efficiency so as to improve media file and reduces the network bandwidth occupancy and the wasting of resources of occupancy.
This application provides a kind of media file distribution methods, applied to file distributing platform as shown in Figure 1.Referring to figure 2, media file distribution method the following steps are included:
Step S201: head office's management equipment 100 determines 300 corresponding points of several media files and each branch office service device Row media file list uploads several media files and the corresponding branch's media file list of each branch office service device 300 extremely Head office's server 200.
Step S202: head office's server 200 receives and stores several media files and each branch office service device 300 is corresponding Branch's media file list.
Head office's server has multiple file transmission entrances, can store in the NAS that can be accessed jointly.
Since the backbone network of head office's server 200 to branch office service device 300 is made jointly by production process and office process It is related to a large amount of key messages transmitting with, backbone network and flow is bigger than normal, therefore under optimal situation, head office's server 200 can be Night distributes media file to branch office service device 300, and, it can star speed limit mode during distribute media file, to fit For the network bandwidth between head office's server and each branch office service device.
Head office's server can determine branch's media file collection with direct basis branch media file list, and issue branch Media file collection can also will issue branch's media file list to branch office service device, for branch office service to branch office service device Device actively obtains branch's media file collection.Two kinds of implementations, can be according to actual conditions depending on.Divide convenient for retouching It states, following embodiments are described so that branch office service device actively obtains branch's media file collection as an example.
Step S203: branch office service device stores the site media file list of each site and the terminal media of each site Lists of documents.
Branch administrative staff are used to upload the terminal media lists of documents and each net of each site to branch office service device The site media file list of point.
By taking a site as an example, terminal media lists of documents include the terminal iidentification that the site includes multiple terminals, and Each terminal should distribute the mark of the media file of acquisition.In terminal media lists of documents all media file identifications and Collection is site media file list.
Step S204: branch office service device stores the end message of each site in compass of competency, the terminal letter of a site Breath includes the terminal iidentification and the SOT state of termination of each terminal under the site.
It include multiple sites in the compass of competency of branch office service device, each site includes multiple terminals, the end of multiple terminals Client information forms the end message of a site.Each end message includes terminal iidentification and the SOT state of termination, and the SOT state of termination includes For indicating terminal available mode in shape, and for indicating that terminal is in the down state of malfunction.
Step S205: end message of the branch office service device according to site, be dynamically determined out in the corresponding termination set in site, Master terminal in available mode.
For each site, branch office service device can dynamically elect one according to the end message of site in site Master terminal, the master terminal are available mode to be in multiple terminals of a site, and usually resource uses less terminal. Remaining terminal is from terminal in addition to master terminal in the site termination set.
Step S206: branch office service device sends the termination set of master terminal more new command to site;Wherein, the master terminal is more New command includes for the terminal iidentification as master terminal.
Branch office service device is distributed to site after determining master terminal, by the more new command of the terminal iidentification comprising master terminal Termination set, so that terminal learns oneself for master terminal or from terminal in termination set.
Step S207: terminal in the termination set of site receives master terminal more new command, and determines master terminal end and from end End, and, it establishes and communicates to connect from terminal and master terminal.
Each terminal receives master terminal more new command in termination set;Terminal iidentification and institute are determined in terminal for each terminal It states under the terminal iidentification unanimous circumstances in master terminal more new command, determines that the terminal is master terminal, otherwise determine that the terminal is From terminal.
It is each from terminal and the online end-to-end link of master terminal (P2P) in termination set, so as to it is subsequent in termination set with P2P mode is communicated.
In addition, branch office service device obtains the main carrying node of media file as terminal, it can be using double WEB servers With the mode of double AP, guarantee the correctness and preferable load balance ability of branch office service device.And the maximum web that separate unit AP is provided Network pressure and service pressure can all carry out current limliting and speed limit guarantee dependent on token bucket algorithm.
The above are treatment processes under the process of pre-processing namely line, are below processed on the real-time namely line of the application Journey.
Step S208: branch office service device 300 obtains branch's media file to head office's server as unit of branch office service device Collection, to guarantee each media file only transmission primaries on the backbone network between branch office service device and head office's server.
This step can be realized using following steps:
S1: branch office service device obtains the corresponding branch's media file list of the branch office service device to head office's server.
Branch office service device can send http request, and http request includes the mark of branch office service device, so as to head office's service Device searches the corresponding branch's media file list of the branch office service device, and issues branch's media file list to branch office service device.
S2: branch office service device downloads the media file in branch's media file list from head office's server, Media file composition branch's media file collection is stated in downloading.
Branch's media file list includes media file identification, and branch office service device obtains one by one from branch's media file list Media file identification, and from the corresponding media file of head office's server downloading media file identification, until branch's media file All downloading finishes media file identification on inventory.
If the case where encountering failed download in downloading process records the media file identification of failed download, with feedback To head office's server, so that head office's server checks media file, if damage if upload media file again, so as to by matchmaker Body file identification is added in branch's media file list in next period, so as in the media file distribution procedure in next period In distribute the media file again to terminal.
In order to avoid causing network congestion or delay machine in media file distribution procedure, the distribution server is arranged current limliting current limliting and takes Business, maximum resource consumption=maximum current limliting * maximum speed limit of branch office service device.Maximum resource consumption is branch office service device in matchmaker The maximum resource consumption that can be generated during body file distributing.
Branch office service device can determine site media file collection with direct basis site media file list, and issue site Media file collection can also issue the termination set of site media file list to site, to the termination set of site for termination set Actively to obtain site media file collection.Two kinds of implementations, can be according to actual conditions depending on.Divide convenient for description, Following embodiments are described so that termination set actively obtains site media file collection as an example.
Step S209: site media file collection is obtained to branch office service device as unit of the termination set of a site, and at this The distribution site media file collection in the termination set of site, with guarantee each media file the branch office service device with it is described Only transmission primaries between termination set.
It is performed both by this step for each site, this step can be realized using following steps:
S1: the master terminal in the termination set receives the branch office service device issues, the corresponding site media in the site Lists of documents and terminal media lists of documents.
Branch office service device issues the corresponding site media file list in the site and terminal media lists of documents to termination set In master terminal, the master terminal in termination set receives the branch office service device issues, the corresponding site media file in the site Inventory and terminal media lists of documents.
S2: the master terminal in the termination set is corresponding from the branch office service device downloading site media file list The media file of media file, downloading forms the site media file collection.
Site media file list includes media file identification, and master terminal obtains media from site media file list one by one File identification, and from the corresponding media file of branch office service device downloading media file identification, until branch's media file list All downloading finishes upper media file identification.
S3: in the local area network locating for site, master terminal in the termination set according to the terminal media lists of documents, Distribute media file that the site media file is concentrated each terminal into the termination set in a manner of P2P.
Each terminal is in local area network in the compass of competency of site, so, termination set master terminal can divide in local area network Hairnet point media file collection specifically needs to come according to terminal media lists of documents during distribution of document collection to each terminal Distribute corresponding media file to corresponding terminal.
In order to improve distribution efficiency, master terminal is communicated between terminal using P2P mode.
If there is media file that can not distribute success in distribution procedure, the media file identification of the media file is sent extremely Branch office service device informs head office's server so that branch office service device checks the media file if damaging occurs in media file, with Just media file identification is added in branch's media file list in next period, so as in the media file in next period point Distribute the media file again to terminal, to guarantee the fault-tolerance of distribution procedure during hair.
Terminal layout is hub-and-spoke configuration in the termination set of site, and master terminal is also referred to as host node (Master), from terminal Referred to as from node (Salver).When master terminal is completed from branch office service device downloads of media file and in downloads of media file to obtain net After point media file collection, under the high-speed local area network mode of site by message shared model by site media file collection from main end End be distributed to it is all from terminal, and only push each from terminal need media file.
It is understood that in termination set master terminal may delay machine, after master terminal delay machine can by branch office service device again It is secondary to be dynamically determined master terminal;The master terminal that branch office service device issues more new command is to termination set.
The termination set of site receives the master terminal more new command that the branch office service device issues;Wherein, the master terminal is more New command includes for the terminal iidentification as master terminal;Each terminal receives master terminal more new command in termination set;In terminal Determine to determine that the terminal is master terminal under the terminal iidentification unanimous circumstances in terminal iidentification and the master terminal more new command, it is no Then determine that the terminal is to establish and communicate to connect from terminal and master terminal from terminal.
If being in the S1 and S2 of step S209 during the delay machine of master terminal, then it represents that master terminal is downloading site matchmaker Body lists of documents or downloading site media file collection, do not have started distribution site media file collection, so at this time directly by updating Master terminal afterwards re-execute the steps S209, and following support grid point media file list simultaneously obtains site media file collection.
If being in the S3 of step S209 during the delay machine of master terminal, distribution site media file collection is had begun, this When directly execute step S209 will appear some terminals have repeatedly media file the problem of, so can be executed at this time to termination set Rollback rolls back to the state before distribution media file.Then, S209 is re-execute the steps by current master terminal.
The above-mentioned process for automatic distributing media file, the application also provide the process of distribution media file manually, so as to It is also not carried out in automatic distributing or uses in special circumstances.That is, branch office service device provides manual distribution interface.
Step S301: during showing that screen shows branch's media file list, the hand of user's input is received Dynamic distribution instruction;Wherein, the manual distribution instruction includes: one or more media file marks in branch's media file list Knowledge, the corresponding termination set of each media file identification and the corresponding terminal iidentification of each media file identification.
Branch office service device after receiving and distribute manually comprising one or more media file identifications and instruct, determine this or Termination set described in multiple media files, and it is distributed to needed for termination set the terminal iidentification of terminal.
Step S302: branch office service device determines the corresponding one or more media of one or more of media file identifications File.
Branch office service device extracts corresponding with one or more media file identifications according to one or more media file identifications One or more media files.
Step S303: distribute the master terminal that one or more of media files are concentrated to counterpart terminal, for termination set In master terminal distribute the media file to the corresponding terminal of terminal iidentification.
This step is similar with step S209, and details are not described herein.
Step S304: one or more media file identifications in branch's media file list are deleted.
After manual distribution, branch office service device deletes the one or more distributed manually in branch's media file list Media file identification, to avoid repeating to be distributed to terminal again during automatic distributing.
Major technique design of the invention are as follows: all terminals of file distributing platform are divided into multiple ends as unit of site End collection, is obtained to branch office service device without duplicate site media file collection, then the site media that will acquire as unit of termination set File set is distributed in a manner of P2P in local area network.Media file transmission quantity can be transferred in this way to site, so that Media file transmission quantity is addressed in the local area network of high speed site.
The application obtains branch's media file collection from head office's server also as unit of branch office service device, to reduce branch The resource occupation of backbone network between server and head office's server.May be implemented by above-mentioned two major part can be by matchmaker Body file is distributed to the purpose of all terminals, multiple terminals or single terminal from head office's server.
By above-mentioned technical characteristic, it can learn that the application has the advantages that
The application supports head office's server to distribute media file to branch office service device, and branch office service device distributes media file extremely The function of termination set, branch office service device can also provide manual distribution interface, it is possible to realize specified distribution media file, or The function of the terminal iidentification of specified distribution.
The application distributes suitable for larger media file, can effectively reduce occupied network bandwidth and Internet resources.
The application can effectively lower the media file transmission time of backbone network between head office's server and branch office service device Point media file the number of transmissions for reducing network between branch office service device and site also can be effectively reduced, to subtract significantly in number Few occupancy to network bandwidth is particularly suitable for big media file transmission.
After increasing terminal in termination set, the media file transmission quantity of backbone network not will increase, but can be by media File transmission quantity is transferred in the high-speed local area network inside termination set, that is, the transmission flow of the overwhelming majority is limited in site High-speed local area network in so that the resource occupation of head office's server and branch office service device is smaller and will not be with the increasing of terminal Add and exponential increase.
Do not have to change the hardware configuration of file distributing platform in the application, namely under the conditions of low-bandwidth network, realizing will Media file is distributed to highly reliable terminal, low-risk, the file distributing mode of high usage;And terminal can be multiplexed existing site Hardware terminal equipment, to reduce network expenditure and hardware cost.
If function described in the present embodiment method is realized in the form of SFU software functional unit and as independent product pin It sells or in use, can store in a storage medium readable by a compute device.Based on this understanding, the embodiment of the present application The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, this is soft Part product is stored in a storage medium, including some instructions are used so that calculating equipment (it can be personal computer, Server, mobile computing device or network equipment etc.) execute all or part of step of each embodiment the method for the application Suddenly.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), deposits at random Each kind of access to memory (RAM, RandomAccess Memory), magnetic or disk etc. can store the medium of program code.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other The difference of embodiment, same or similar part may refer to each other between each embodiment.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of media file distribution method characterized by comprising
Be divided into as unit of the terminal of the file distributing platform is by site, with multiple sites multiple termination sets correspondingly In the case of, site media file collection, and the terminal in the site are obtained to branch office service device as unit of the termination set of a site The distribution site media file collection in collection, to guarantee each media file between the branch office service device and the termination set Only transmission primaries.
2. the method as described in claim 1, which is characterized in that the termination set of one site includes one by branch office service The master terminal that device is dynamically determined, and, the site media file list of each site and each is stored in advance in the branch office service device The terminal media lists of documents of site;
It is described to obtain site media file collection to branch office service device as unit of the termination set of a site, comprising:
Master terminal in the termination set receives the branch office service device issues, the corresponding site media file list in the site With terminal media lists of documents;
Master terminal in the termination set downloads the corresponding media text of the site media file list from the branch office service device The media file of part, downloading forms the site media file collection.
3. method according to claim 2, which is characterized in that the terminal media lists of documents include site media file collection Corresponding relationship between middle media file identification and terminal iidentification;
It is then described to distribute the site media file collection in the termination set of the site, comprising:
In local area network locating for site, the master terminal in the termination set is according to the terminal media lists of documents, with the side P2P Formula distributes media file that the site media file is concentrated each terminal into the termination set.
4. method according to claim 2, which is characterized in that further include: it is taken after the master terminal delay machine by the branch Business device is dynamically determined master terminal again;
The termination set of site receives the master terminal more new command that the branch office service device issues;Wherein, the master terminal update refers to Order includes for the terminal iidentification as master terminal;
Each terminal receives master terminal more new command in termination set;
The terminal is determined under the terminal iidentification unanimous circumstances that terminal determines in terminal iidentification and the master terminal more new command For master terminal, otherwise determine that the terminal is from terminal;
In the case where determining the terminal is master terminal, the SS later is for executing step: the master terminal in the termination set The corresponding media file of the site media file list is downloaded from the branch office service device, described in the media file composition of downloading Site media file collection.
5. a kind of media file distribution method, which is characterized in that the terminal of the file distributing platform is divided as unit of site For, with multiple sites multiple termination sets correspondingly;The media file distribution method includes:
Branch's media file collection is obtained to head office's server as unit of branch office service device, to guarantee each media file in branch Only transmission primaries on backbone network between server and head office's server;Wherein, the branch office service device is also used to and terminal Collection carries out data interaction, to realize:
Site media file collection is obtained to branch office service device as unit of the termination set of a site, to guarantee that each media file exists Only transmission primaries between the branch office service device and the termination set;Also, the termination set of site is also in the termination set of the site The interior distribution site media file collection.
6. method as claimed in claim 5, which is characterized in that obtained as unit of the device by branch office service to head office's server Branch's media file collection includes:
The branch office service device obtains the corresponding branch's media file list of the branch office service device to head office's server;
The branch office service device downloads the media file in branch's media file list from head office's server, has downloaded State media file composition branch's media file collection.
7. method as claimed in claim 5, which is characterized in that the terminal letter of each site is stored in advance in the branch office service device Breath, the end message of a site includes the terminal iidentification and the SOT state of termination of each terminal under the site;
End message of the branch office service device according to site is dynamically determined out, in available in the corresponding termination set in site The master terminal of state, remaining terminal is from terminal in the termination set;
Master terminal more new command is sent to the termination set;Wherein, the master terminal more new command includes for being used as master terminal Terminal iidentification.
8. method as claimed in claim 5, which is characterized in that the branch office service device provides manual distribution interface, further includes:
During showing that screen shows branch's media file list, the manual distribution instruction of user's input is received;Its In, the manual distribution instruction includes: one or more media file identifications, each media text in branch's media file list Part identifies corresponding termination set and the corresponding terminal iidentification of each media file identification;
Determine the corresponding one or more media files of one or more of media file identifications;
Distribute the master terminal that one or more of media files are concentrated to counterpart terminal, for the master terminal distribution in termination set The media file is to the corresponding terminal of terminal iidentification;
Delete one or more media file identifications in branch's media file list.
9. method as claimed in claim 5, which is characterized in that further include:
The branch office service device obtains the transmission rate of the transmission bandwidth between each site;
The product of transmission rate and preset ratio is calculated, Preset Transfer rate is obtained;
During then obtaining site media file collection to branch office service device as unit of by the termination set of a site, according to described pre- If transmission rate transmission downloads site media file collection from branch office service device, and in pre-stored site media file list Record the downloading result of each media file identification;
If the corresponding downloading result of a media file identification is failed download, retain the media file identification to next period Site media file is concentrated, to guarantee the fault-tolerance of distribution.
10. a kind of file distributing platform, which is characterized in that the terminal of the file distributing platform is divided into as unit of site, With multiple sites multiple termination sets correspondingly, comprising:
Head office's server, for storing media file;
Branch office service device, it is every to guarantee for obtaining branch's media file collection to head office's server as unit of branch office service device A media file only transmission primaries on the backbone network between branch office service device and head office's server;
The termination set of site, for obtaining site media file collection to branch office service device as unit of the termination set of a site, and Distribute the site media file collection in the termination set of the site, with guarantee each media file the branch office service device with Only transmission primaries between the termination set.
CN201811267902.6A 2018-10-29 2018-10-29 Media file distribution method and file distribution platform Active CN109194993B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811267902.6A CN109194993B (en) 2018-10-29 2018-10-29 Media file distribution method and file distribution platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811267902.6A CN109194993B (en) 2018-10-29 2018-10-29 Media file distribution method and file distribution platform

Publications (2)

Publication Number Publication Date
CN109194993A true CN109194993A (en) 2019-01-11
CN109194993B CN109194993B (en) 2021-08-24

Family

ID=64944238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811267902.6A Active CN109194993B (en) 2018-10-29 2018-10-29 Media file distribution method and file distribution platform

Country Status (1)

Country Link
CN (1) CN109194993B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493358A (en) * 2019-09-16 2019-11-22 世纪海航(厦门)科技有限公司 A kind of document transmission method based on ad hoc network, device and server
CN113641647A (en) * 2021-08-10 2021-11-12 中影电影数字制作基地有限公司 Media asset file distribution management system
CN114598825A (en) * 2022-02-22 2022-06-07 中央广播电视总台 Video and audio signal scheduling method and device, computer equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080109249A1 (en) * 2004-10-21 2008-05-08 Fair Share Digital Media Distribution Digital media distribution and trading system used via a computer network
CN101446963A (en) * 2008-12-31 2009-06-03 中国建设银行股份有限公司 System for publishing information file of bank product and method
CN101699816A (en) * 2009-11-17 2010-04-28 上海华平信息技术股份有限公司 System and method for document distribution based on internet
CN104378415A (en) * 2014-10-29 2015-02-25 中国建设银行股份有限公司 High-availability cloud system and achievement method based on information
CN107105013A (en) * 2017-03-28 2017-08-29 北京洋浦伟业科技发展有限公司 Processing method, server, terminal and the system of file

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080109249A1 (en) * 2004-10-21 2008-05-08 Fair Share Digital Media Distribution Digital media distribution and trading system used via a computer network
CN101446963A (en) * 2008-12-31 2009-06-03 中国建设银行股份有限公司 System for publishing information file of bank product and method
CN101699816A (en) * 2009-11-17 2010-04-28 上海华平信息技术股份有限公司 System and method for document distribution based on internet
CN104378415A (en) * 2014-10-29 2015-02-25 中国建设银行股份有限公司 High-availability cloud system and achievement method based on information
CN107105013A (en) * 2017-03-28 2017-08-29 北京洋浦伟业科技发展有限公司 Processing method, server, terminal and the system of file

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHEN, HONGYI等: "Buffer Bank storage: an economic, scalable and universally usable in-network storage model for streaming data applications", 《SCIENCE CHINA-INFORMATION SCIENCES》 *
张婵: "基于智能终端的文件服务器系统设计与实现", 《MODEM COMPUTER》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493358A (en) * 2019-09-16 2019-11-22 世纪海航(厦门)科技有限公司 A kind of document transmission method based on ad hoc network, device and server
CN110493358B (en) * 2019-09-16 2022-05-27 世纪海航(厦门)科技有限公司 File transmission method and device based on ad hoc network technology and server
CN113641647A (en) * 2021-08-10 2021-11-12 中影电影数字制作基地有限公司 Media asset file distribution management system
CN113641647B (en) * 2021-08-10 2023-11-17 中影电影数字制作基地有限公司 Media resource file distribution management system
CN114598825A (en) * 2022-02-22 2022-06-07 中央广播电视总台 Video and audio signal scheduling method and device, computer equipment and readable storage medium
CN114598825B (en) * 2022-02-22 2024-05-17 中央广播电视总台 Video and audio signal scheduling method and device, computer equipment and readable storage medium

Also Published As

Publication number Publication date
CN109194993B (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN101345690B (en) Contents grading memory of telecommunication level P2P network and transmission method
CN102238137B (en) Method, system and device for downloading
CN109194993A (en) Media file distribution method and file distributing platform
CN102945175A (en) Terminal software online upgrading system and method based on cloud computing environment
CN110149392A (en) A kind of management method and device of PUSH message
CN101026543A (en) Point-tor point P2P content sharing method and system
US20060069778A1 (en) Content distribution system
US20080298282A1 (en) Efficiency and resiliency enhancements for transition states in ad hoc networks
CN101742702A (en) Mobile internet service sharing system and method
CN108733821A (en) A kind of distribution of monitor video sectional drawing and methods of exhibiting and system
Chen et al. Performance modeling and evaluation of peer-to-peer live streaming systems under flash crowds
CN106302230B (en) A kind of data transmission method and device
CN111124617B (en) Method and device for creating block chain system, storage medium and electronic device
CN102420864B (en) Massive data-oriented data exchange method
CN107231400A (en) The synchronous method and device of a kind of data
CN104010228A (en) Apparatus and method for level-based self-adjusting peer-to-peer media streaming
CN110769023B (en) Point-to-point content distribution network system based on intelligent home gateway
CN109218447B (en) Media file distribution method and file distribution platform
CN106209683B (en) Data transmission method and system based on data center's wide area network
CN104009943B (en) LLDP message transmitting methods and DCB equipment
CN108377245A (en) A kind of optimizing demonstration method and system of network insertion request
CN106657135A (en) File transfer method and equipment based on SSL (Secure Socket Layer) protocol authentication
CN103179191A (en) P2P (peer to peer) network control device and P2P network control architecture
CN105847396A (en) Data transmission method and device
CN109889607A (en) A kind of user data synchronization method based on MEC server, device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant