CN109981532A - A kind of transmission method and server of media file - Google Patents
A kind of transmission method and server of media file Download PDFInfo
- Publication number
- CN109981532A CN109981532A CN201711451000.3A CN201711451000A CN109981532A CN 109981532 A CN109981532 A CN 109981532A CN 201711451000 A CN201711451000 A CN 201711451000A CN 109981532 A CN109981532 A CN 109981532A
- Authority
- CN
- China
- Prior art keywords
- media file
- server
- newly
- client
- stored
- 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
- 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
- H04L65/762—Media network packet handling at the source
-
- 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/80—Responding to QoS
Abstract
The present embodiments relate to media communication field more particularly to the transmission methods and server of a kind of media file, and client uses the Caton of media file when solving the problems, such as network difference in the prior art.In the embodiment of the present invention, server obtains the media file that client is sent and transmits request;It include media file identification to be transmitted in media file transmission request;Server determines the corresponding code rate for having stored media file of media file identification;The determining current network bandwidth between client of server;Server carries out code rate adjustment when determining that the code rate for having stored media file is all larger than current network bandwidth, at least one of media file has been stored, and obtains newly-increased media file;The code rate of newly-increased media file is not more than current network bandwidth;Server sends newly-increased media file to client.Code rate due to increasing media file newly is not more than current network bandwidth, can improve the fluency that the client in network difference uses media file.
Description
Technical field
The present embodiments relate to media communication field more particularly to the transmission methods and server of a kind of media file.
Background technique
With the continuous development of media file and Internet technology, brought greatly just to people's lives and work
Benefit.But user is also higher and higher to the access speed requirement of internet and media file, although network bandwidth is continuously increased,
It is that number of users is also being continuously increased, is influenced by factors such as the load of server and transmission ranges, speed of response of server is still
There is a problem of slower.The scheme of solution is to be optimized in network transmission using caching technology, currently used caching
Technology is content delivery network (Content Delivery Network, abbreviation CDN).
In the prior art, the media file that different code rates are usually cached on the middle server of CDN network, works as client
When requesting certain media file, the listed files of the different code rates of caching is sent to client by server, and client is according to current
Network bandwidth, select the corresponding media file of suitable code rate.When the network bandwidth locating for the terminal is poor, even if choosing
The smallest code rate in code rate listed files is selected, client receives server can not by the media file that minimum code rate is transmitted
When smooth playing, user experience can be seriously affected.
Summary of the invention
The embodiment of the present invention provides the transmission method and server of a kind of media file, to solve network in the prior art
Client uses the problem of Caton of media file when poor.
The embodiment of the present invention provides a kind of transmission method of media file, comprising: server obtains the matchmaker that client is sent
The transmission request of body file;It include media file identification to be transmitted in the media file transmission request;The server determines
The corresponding code rate for having stored media file of the media file identification;Working as between the server determination and the client
Preceding network bandwidth;The server when determining that the code rate for having stored media file is all larger than the current network bandwidth,
Code rate adjustment is carried out to described at least one of the media file that stored, obtains newly-increased media file;The newly-increased media text
The code rate of part is not more than the current network bandwidth;The server sends the newly-increased media file to the client.
Optionally, after the server sends the newly-increased media file to the client, further includes: the service
Device records the access times of the newly-increased media file;The server determine the access times be greater than first threshold when,
Store the newly-increased media file and using the newly-increased media file as having stored media file.
Optionally, before the media file transmission that the server obtains that client is sent is requested, further includes: for each
Media file identification, the server store the media file of the corresponding maximal rate of the media file identification as the matchmaker
Body file identification is corresponding to have stored media file.
Optionally, the transmission method of media file, further includes: be directed to each media file identification, the server statistics
The frequency of use for respectively having stored media file of the media file identification, frequency of use is lower than having deposited for second threshold if it exists
When storing up media file, then the storage media file that the frequency of use is lower than second threshold is deleted.
The embodiment of the present invention provides a kind of transmission server of media file, comprising: acquiring unit, for obtaining client
The media file of transmission transmits request;It include media file identification to be transmitted in the media file transmission request;It determines single
Member, for determining the corresponding code rate for having stored media file of the media file identification;It is determining between the client
Current network bandwidth;Processing unit, for being all larger than the current network band in the determining code rate for having stored media file
When wide, code rate adjustment is carried out to described at least one of the media file that stored, obtains newly-increased media file;The newly-increased matchmaker
The code rate of body file is not more than the current network bandwidth;Transmission unit, for sending the newly-increased media to the client
File.
Optionally, the processing unit, is also used to: recording the access times of the newly-increased media file;Described in determination
When access times are greater than first threshold, the newly-increased media file is stored and using the newly-increased media file as having stored media
File.
Optionally, the processing unit, is also used to: being directed to each media file identification, stores the media file identification
The media file of corresponding maximal rate has stored media file as the media file identification is corresponding.
Optionally, the processing unit, is also used to: being directed to each media file identification, counts the media file identification
Respectively stored the frequency of use of media file, when frequency of use is lower than the media file of storage of second threshold if it exists, then
Delete the storage media file that the frequency of use is lower than second threshold.
The embodiment of the present invention provides a kind of computer readable storage medium, and the computer-readable recording medium storage has meter
Calculation machine executable instruction, the computer executable instructions are used to that the computer to be made to execute the method.
The embodiment of the present invention provides a kind of computer equipment, comprising: memory, for storing program instruction;Processor is used
In calling the program instruction stored in the memory, the method is executed according to the program of acquisition.
Due in the embodiment of the present invention, since in the embodiment of the present invention, server gets the media text of client transmission
When part transmission request, the corresponding code rate for having stored media file of media file identification is determined;The server determination and client
Current network bandwidth between end, the server determine stored media file code rate be greater than current network bandwidth when,
Illustrate that the network of current server and client is poor, will cause if server has still stored media file to client transmissions
There is the phenomenon that Caton in client terminal playing media file.In the embodiment of the present invention, server is by having stored in media file
At least one carry out code rate adjustment, obtain code rate be not more than the current network bandwidth newly-increased media file, the service
Device sends the newly-increased media file to the client, in this way, can improve the client in network difference uses media file
Fluency.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is a kind of communication system architecture schematic diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow schematic diagram of the transmission method of media file provided in an embodiment of the present invention;
Fig. 3 is the method flow schematic diagram of the transmission method of another media file provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
Fig. 1 shows a kind of configuration diagram of communication system using the embodiment of the present invention.As shown in Figure 1, the system
Framework may include first server 101, second server 102 and client 103.First server 101, which can be, to be used for
The network equipment communicated with second server 102;Second server 102 can be the net for being communicated with client
Network equipment.The resource that client 103 needs to access is stored on second server 102 and server 103.
First server 101 can be to provide the media file that client needs to access, such as video file, audio file
Deng.First server 101 can be the server of trade company, such as iqiyi.com server, Tencent's server, storage video, audio
Any other server etc..
Second server 102 can be cache server;Second server 102 can be in real time according to network flow and node
Connection, debt situation and the request of user is re-directed from user to the integrated informations such as the distance of user and response time
Nearest server node.It is usually located at network edge, only has the distant of " one jumps " apart from user.First server 101 will store
Media file application to CDN network, content is copied to the most edge of network, make content requests and deliver point the distance between
It is reduced to minimum, to promote the raising of Web site.Second server 102 includes transmission request processing module 102a, media file
Management module 102c, code rate adjust module 102d and statistical module 102e.Transmission request module 102a is for obtaining client hair
The media file transmission request sent, and determined according to the mark of the media file to be transmitted in media file transmission request
The code rate of stored media file;Network bandwidth determining module 102b is used to determine server determining working as between client
Preceding network bandwidth;Media file management module 102c is used for according to current network bandwidth and has stored the code rate of media file, really
It is fixed whether to carry out code rate adjustment to media file has been stored;If media file management module 102c determination needs to adjust, code
Rate adjustment module 102d obtains newly-increased media file for being adjusted to the code rate for having stored media file;Statistical module
102e is used to record the access times of the newly-increased media file;The server is determining the access times greater than the first threshold
When value, the newly-increased media file is stored and using the newly-increased media file as having stored media file;For each media
File identification counts the frequency of use for respectively having stored media file of the media file identification, and frequency of use is lower than if it exists
When the media file of storage of second threshold, then the storage media file that the frequency of use is lower than second threshold is deleted.
Client 103 can be through wireless access network (Radio Access Network, abbreviation RAN) and one or more cores
Heart net is communicated, and can be smart phone, tablet computer, laptop, personal digital assistant (Personal Digital
Assistant, abbreviation PDA), the handheld device with wireless communication function, calculate equipment or mobile unit, wearable device,
Terminal device etc. in the following 5G network.
In the embodiment of the present invention, the system is also possible to client 103 and server 101 is directly communicated.In order to
The consumption for reducing bandwidth resources, optimizes the efficiency of transmission of media file, increases CDN between client 103 and server 101
Network, second server 102 are server in CDN network.Server 103 injects media file to second server 102.This hair
It is bright to illustrate so that communication system includes first server 101, second server 102 and client 103 as an example.The embodiment of the present invention
In, in case of no particular description, server is second server 102 in the transmission method of media file.
It can store the media file of the corresponding different code rates of media file identification in the embodiment of the present invention, in server.
But in order to improve the memory space and the lower media file that causes of media file utilization rate that media file occupies server
The problem of waste.The server obtains before the media file transmission request that client is sent, further includes: is directed to each media
File identification, the server store the media file of the corresponding maximal rate of the media file identification as the media text
Part mark is corresponding to have stored media file.Further, the corresponding maximal rate of media file identification is stored in server
Media file, media file (the i.e. newly-increased matchmaker when needing to carry out code rate adjustment to media file, after adjustment code rate can be improved
Body file) quality.
Based on system architecture shown in FIG. 1, Fig. 2 illustrates a kind of media file provided in an embodiment of the present invention
The method flow schematic diagram of transmission method, as shown in Fig. 2, the transmission method of the media file the following steps are included:
Step 201, the media file that server obtains that client is sent transmits request;Include in media file transmission request
Media file identification to be transmitted;
Step 202, server determines the corresponding code rate for having stored media file of media file identification;
Step 203, the determining current network bandwidth between client of server;
Step 204, server is when determining that having stored the code rate of media file is all larger than current network bandwidth, to having stored
At least one of media file carries out code rate adjustment, obtains newly-increased media file;The code rate of newly-increased media file, which is not more than, works as
Preceding network bandwidth;
Step 205, server sends newly-increased media file to client.
Due to when server gets the media file transmission request of client transmission, determining matchmaker in the embodiment of the present invention
The corresponding code rate for having stored media file of body file identification;The determining current network band between client of the server
Width, the server illustrate current server and visitor when determining that the code rate for having stored media file is greater than current network bandwidth
The network at family end is poor, if server, which has still stored media file to client transmissions, will cause client terminal playing media file
There is the phenomenon that Caton.In the embodiment of the present invention, server by stored at least one of media file carry out code rate
Adjustment, obtains the newly-increased media file that code rate is not more than the current network bandwidth, and the server is sent to the client
The newly-increased media file, in this way, the fluency that the client in network difference uses media file can be improved.
Media file identification and the corresponding media file of media file identification are stored in the embodiment of the present invention, in server
Code rate and corresponding media file.Assuming that user end to server sends the request for obtaining video file A;Server is got
After the request for the acquisition video file A that client is sent, server is arranged to the corresponding media file of client feedback video file A
Table includes the corresponding code rate of media file identification volume media file identification in the media file tabular;Client is according to current net
Network bandwidth determines the code rate of suitable media file, the corresponding media text of the code rate for sending the media file determined to server
Part transmission request, wherein include the corresponding media file of code rate for the media file determined in media file transmission request
Mark;Server gets the media file transmission request of client transmission, includes according in media file transmission request
Media file identification to be transmitted determine the corresponding code rate for having stored media file of the mark.
In the embodiment of the present invention, the mode of the determining current network bandwidth between client of server includes a variety of.Than
Such as: can be according to the buffer queue or system transmission control protocol (Transmission between client and server
Control Protocol, abbreviation TCP) data processing rate in buffer queue determines.
When server determines that having stored the code rate of media file is all larger than the current network bandwidth, to having stored media
At least one of file carries out code rate adjustment, obtains newly-increased media file.It is alternatively possible to be corresponding to media file identification
The media file of maximal rate be adjusted, in this way, the quality of obtained newly-increased media file is preferable;Either to client
Media file corresponding to the code rate of selection is adjusted;Either use media file corresponding with the close code rate of network bandwidth
It is adjusted, the rate of code rate adjustment can be improved.Optionally, the adjustment for carrying out code rate include media file is carried out pumping frame or
Person's secondary coding, to realize that the code rate of media file reduces.
In the embodiment of the present invention, the server is sent to the client after the newly-increased media file, further includes:
The server records the access times of the newly-increased media file;The server is determining the access times greater than first
When threshold value, the newly-increased media file is stored and using the newly-increased media file as having stored media file.
It is stored and is made when the access times of newly-increased media file are greater than first threshold, then by newly-increased media file
To have stored media file.It can be achieved not needing to store the media file of each code rate, help to reduce occupancy clothes
Business device resource and the utilization rate for having stored media file.
In the embodiment of the present invention, for each media file identification, media file identification described in the server statistics
The frequency of use of media file has respectively been stored, when frequency of use is lower than the media file of storage of second threshold if it exists, has then been deleted
Except the frequency of use is lower than the storage media file of second threshold.
In order to improve the utilization rate of the utilization rate of media file and server in server, frequency of use is lower than the second threshold
The media file of storage of value is deleted.Frequency of use illustrates the less quilt of the corresponding media file of the code rate lower than second threshold
Client access remains in the resource that can occupy server in server and can reduce the corresponding media text of the code rate
The utilization rate of part.
Above method process is introduced in order to clearer, Fig. 3 illustrates another kind provided in an embodiment of the present invention
The transmission method of media file.In the embodiment server can for receive iqiyi.com server publication media file or
Receive the server, iqiyi.com server or other storages of the media files such as video file, the audio of other servers publication
There is the server of the media files such as audio, video file to inject media file in the server in the embodiment of the present invention.It can be with
The media file of one media file identification one maximal rate of corresponding injection, can also be with the corresponding injection of a media file identification
The media file of multiple code rates.It is injected according to the actual situation.Server is determining that the code rate for having stored media file is big
When current network bandwidth between server and client, code rate tune is carried out at least one of media file has been stored
It is whole, obtain newly-increased media file;The code rate of newly-increased media file is not more than current network bandwidth;Work as in this way, can make full use of
Preceding network bandwidth, and then improve the fluency that client uses media file.The embodiment of the present invention is sent out with user end to server
It send and illustrates for obtaining video file A.The process of the transmission method of media file sees below content.
As shown in figure 3, this method comprises:
Step 301, user end to server sends the transmission request of video file, includes in the transmission request of video file
Video file to be transmitted identifies A;
Step 302, server obtains the video file mark A transmission request that client is sent;
Step 303, server identifies A according to the video file, determines the corresponding storage file of video file mark A
Code rate;
Step 304, the determining current network bandwidth between client of server;
Step 305, server determines whether the code rate of the corresponding storage file of video file mark A is all larger than current net
Network bandwidth;If it is not, thening follow the steps 306;If so, thening follow the steps 307;
Step 306, the server is no more than in current network bandwidth to the code rate that client sends storage file
Either one or two of;
Step 307, adjustment of the server at least one of video file mark A progress code rate has been stored, obtains new
Increase media file;
Optionally, at least one of video file mark A carries out the adjustment of code rate, can be and identifies A to video file
The video file of corresponding maximal rate is adjusted, be also possible to and the close video file of network bandwidth be adjusted;
Step 308, server sends newly-increased media file to client.
It can be seen from the above: in the embodiment of the present invention, since in the embodiment of the present invention, server gets client
When the media file that end is sent transmits request, the corresponding code rate for having stored media file of media file identification is determined;The clothes
The current network bandwidth being engaged between device determination and client, the server are greater than in the determining code rate for having stored media file and work as
When preceding network bandwidth, illustrate that the network of current server and client is poor, if server has still been stored to client transmissions
Media file will cause client terminal playing media file and the phenomenon that Caton occurs.In the embodiment of the present invention, server passes through to
It stores at least one of media file and carries out code rate adjustment, obtain the newly-increased media that code rate is not more than the current network bandwidth
File, the server send the newly-increased media file to the client, in this way, can improve the client in network difference
Use the fluency of media file.
Based on the same technical idea, the embodiment of the present invention also provides a kind of transmission server of media file, the service
Above method embodiment can be performed in device.Fig. 4 is that the embodiment of the invention provides a kind of structural schematic diagrams of server, such as Fig. 4 institute
Show, which includes acquiring unit 401, determination unit 402, processing unit 403 and transmission unit 404.Wherein:
Acquiring unit, for obtaining the media file transmission request of client transmission;In the media file transmission request
Including media file identification to be transmitted;
Determination unit, for determining the corresponding code rate for having stored media file of the media file identification;Determining and institute
State the current network bandwidth between client;
Processing unit, for when determining that the code rate for having stored media file is all larger than the current network bandwidth,
Code rate adjustment is carried out to described at least one of the media file that stored, obtains newly-increased media file;The newly-increased media text
The code rate of part is not more than the current network bandwidth;
Transmission unit, for sending the newly-increased media file to the client.
Optionally, the processing unit, is also used to: recording the access times of the newly-increased media file;Described in determination
When access times are greater than first threshold, the newly-increased media file is stored and using the newly-increased media file as having stored media
File.
Optionally, the processing unit, is also used to: being directed to each media file identification, stores the media file identification
The media file of corresponding maximal rate has stored media file as the media file identification is corresponding.
Optionally, the processing unit, is also used to: being directed to each media file identification, counts the media file identification
Respectively stored the frequency of use of media file, when frequency of use is lower than the media file of storage of second threshold if it exists, then
Delete the storage media file that the frequency of use is lower than second threshold.
It can be seen from the above: in the embodiment of the present invention, since in the embodiment of the present invention, server gets client
When the media file that end is sent transmits request, the corresponding code rate for having stored media file of media file identification is determined;The clothes
The current network bandwidth being engaged between device determination and client, the server are greater than in the determining code rate for having stored media file and work as
When preceding network bandwidth, illustrate that the network of current server and client is poor, if server has still been stored to client transmissions
Media file will cause client terminal playing media file and the phenomenon that Caton occurs.In the embodiment of the present invention, server passes through to
It stores at least one of media file and carries out code rate adjustment, obtain the newly-increased media that code rate is not more than the current network bandwidth
File, the server send the newly-increased media file to the client, in this way, can improve the client in network difference
Use the fluency of media file.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
Now, it when being realized using software program, can entirely or partly realize in the form of a computer program product.The computer
Program product includes one or more instructions.When loading on computers and executing the computer program instructions, whole or portion
Ground is divided to generate according to process or function described in the embodiment of the present application.The computer can be general purpose computer, dedicated computing
Machine, computer network or other programmable devices.Described instruction can store in computer storage medium, or from one
A computer storage medium is transmitted to another computer storage medium, for example, described instruction can be from a web-site, meter
Calculation machine, server or data center are (such as red by wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless
Outside, wirelessly, microwave etc.) mode transmitted to another web-site, computer, server or data center.The calculating
Machine storage medium can be any usable medium that computer can access or include that one or more usable mediums are integrated
The data storage devices such as server, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, magnetic
Band, magneto-optic disk (MO) etc.), optical medium (for example, CD, DVD, BD, HVD etc.) or semiconductor medium (such as ROM, EPROM,
EEPROM, nonvolatile memory (NAND FLASH), solid state hard disk (Solid State Disk, SSD)) etc..In the art
Technical staff it should be appreciated that the embodiment of the present application can provide as method, system or computer program product.Therefore, the application is real
Applying example can be used the form of complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects.And
And the embodiment of the present application can be used to use in the computer that one or more wherein includes computer usable program code and store
The form for the computer program product implemented on medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.).
The embodiment of the present application is referring to the method, equipment (system) and computer program product according to the embodiment of the present application
Flowchart and/or the block diagram describe.It should be understood that can be by each process in instruction implementation flow chart and/or block diagram
And/or the combination of the process and/or box in box and flowchart and/or the block diagram.These instructions be can provide to general meter
Calculation machine, special purpose computer, Embedded Processor or other programmable data processing devices processor to generate a machine, make
It obtains and is generated by the instruction that computer or the processor of other programmable data processing devices execute for realizing in flow chart one
The device for the function of being specified in a process or multiple processes and/or one or more blocks of the block diagram.These instructions can also
It is stored in and is able to guide in computer or other programmable data processing devices computer-readable memory operate in a specific manner,
So that instruction stored in the computer readable memory generates the manufacture including command device, which, which realizes, exists
The function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These instructions also can be loaded onto a computer or other programmable data processing device so that computer or other
Series of operation steps are executed on programmable device to generate computer implemented processing, thus in computer or other are programmable
The instruction that executes in equipment is provided for realizing in one box of one or more flows of the flowchart and/or block diagram or more
The step of function of being specified in a box.
Obviously, those skilled in the art can carry out various modification and variations without departing from this Shen to the embodiment of the present application
Spirit and scope please.In this way, if these modifications and variations of the embodiment of the present application belong to the claim of this application and its wait
Within the scope of technology, then the application is also intended to include these modifications and variations.
Claims (10)
1. a kind of transmission method of media file characterized by comprising
Server obtains the media file that client is sent and transmits request;It include to be transmitted in the media file transmission request
Media file identification;
The server determines the corresponding code rate for having stored media file of the media file identification;
Current network bandwidth between the server determination and the client;
The server when determining that the code rate for having stored media file is all larger than the current network bandwidth, to it is described
It stores at least one of media file and carries out code rate adjustment, obtain newly-increased media file;The code rate of the newly-increased media file
No more than the current network bandwidth;
The server sends the newly-increased media file to the client.
2. the method as described in claim 1, which is characterized in that the server sends the newly-increased media to the client
After file, further includes:
The server records the access times of the newly-increased media file;
For the server when determining that the access times are greater than first threshold, the storage newly-increased media file simultaneously will be described new
Increasing media file, which is used as, has stored media file.
3. the method as described in claim 1, which is characterized in that the server obtains the media file transmission that client is sent
Before request, further includes:
For each media file identification, the server stores the media text of the corresponding maximal rate of the media file identification
Part has stored media file as the media file identification is corresponding.
4. method as claimed in claim 3, which is characterized in that further include:
For each media file identification, media file identification described in the server statistics has respectively stored making for media file
With frequency, when frequency of use is lower than the media file of storage of second threshold if it exists, then the frequency of use is deleted lower than the
The storage media file of two threshold values.
5. a kind of transmission server of media file characterized by comprising
Acquiring unit, for obtaining the media file transmission request of client transmission;Include in the media file transmission request
Media file identification to be transmitted;
Determination unit, for determining the corresponding code rate for having stored media file of the media file identification;The determining and visitor
Current network bandwidth between the end of family;
Processing unit, for when determining that the code rate for having stored media file is all larger than the current network bandwidth, to institute
It states and has stored the progress code rate adjustment of at least one of media file, obtain newly-increased media file;The newly-increased media file
Code rate is not more than the current network bandwidth;
Transmission unit, for sending the newly-increased media file to the client.
6. server as claimed in claim 5, which is characterized in that the processing unit is also used to:
Record the access times of the newly-increased media file;When determining that the access times are greater than first threshold, described in storage
Newly-increased media file and using the newly-increased media file as having stored media file.
7. server as claimed in claim 5, which is characterized in that the processing unit is also used to:
For each media file identification, store described in the media file conduct of the corresponding maximal rate of the media file identification
Media file identification is corresponding to have stored media file.
8. server as claimed in claim 7, which is characterized in that the processing unit is also used to:
For each media file identification, the frequency of use for respectively having stored media file of the media file identification is counted, if
There are when the media file of storage that frequency of use is lower than second threshold, then the frequency of use is deleted lower than second threshold
Store media file.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer can
It executes instruction, the computer executable instructions are for requiring the computer perform claim described in 1 to 4 any claim
Method.
10. a kind of computer equipment characterized by comprising
Memory, for storing program instruction;
Processor, for calling the program instruction stored in the memory, according to acquisition program execute as claim 1 to
Method described in 4 any claims.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711451000.3A CN109981532A (en) | 2017-12-27 | 2017-12-27 | A kind of transmission method and server of media file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711451000.3A CN109981532A (en) | 2017-12-27 | 2017-12-27 | A kind of transmission method and server of media file |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109981532A true CN109981532A (en) | 2019-07-05 |
Family
ID=67071832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711451000.3A Pending CN109981532A (en) | 2017-12-27 | 2017-12-27 | A kind of transmission method and server of media file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109981532A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111417031A (en) * | 2020-04-28 | 2020-07-14 | 北京金山云网络技术有限公司 | File transmission method and device and electronic equipment |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778104A (en) * | 2009-12-29 | 2010-07-14 | 常州中流电子科技有限公司 | System and method for playing stream media by using self-adaption bandwidth |
CN101800885A (en) * | 2010-02-26 | 2010-08-11 | 北京新岸线网络技术有限公司 | Video data distribution method and system method and system for distributing video data |
CN102088620A (en) * | 2010-12-01 | 2011-06-08 | 中兴通讯股份有限公司 | Method for downloading media file in content distribution network and client |
CN102695081A (en) * | 2012-06-13 | 2012-09-26 | 百视通网络电视技术发展有限责任公司 | Video resource scheduling method based on Internet television and television terminal |
CN102801690A (en) * | 2011-05-25 | 2012-11-28 | 华为技术有限公司 | Stream media processing method, distribution server, client and system |
CN102843351A (en) * | 2012-03-31 | 2012-12-26 | 华为技术有限公司 | Streaming media service processing method, streaming media server and system |
CN103297431A (en) * | 2013-05-24 | 2013-09-11 | 南京邮电大学 | Streaming media video-on-demand duplicate hybrid buffer strategy based on cloud server cluster |
CN103327079A (en) * | 2013-05-31 | 2013-09-25 | 青岛海信传媒网络技术有限公司 | Multimedia resource caching method and device |
CN103338393A (en) * | 2013-06-13 | 2013-10-02 | 西安交通大学 | Video code rate selecting method driven by user experience under HSPA system |
CN103414747A (en) * | 2013-07-11 | 2013-11-27 | 广东工业大学 | Adaptive streaming media caching method |
CN105025351A (en) * | 2014-04-30 | 2015-11-04 | 深圳Tcl新技术有限公司 | Streaming media player buffering method and apparatus |
CN105393533A (en) * | 2013-07-22 | 2016-03-09 | 华为终端有限公司 | Method, apparatus and network media system for playing multiple media contents |
CN106385588A (en) * | 2016-09-23 | 2017-02-08 | 北京赢点科技有限公司 | On-demand playing popularity-based resource scheduling method and device |
-
2017
- 2017-12-27 CN CN201711451000.3A patent/CN109981532A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778104A (en) * | 2009-12-29 | 2010-07-14 | 常州中流电子科技有限公司 | System and method for playing stream media by using self-adaption bandwidth |
CN101800885A (en) * | 2010-02-26 | 2010-08-11 | 北京新岸线网络技术有限公司 | Video data distribution method and system method and system for distributing video data |
CN102088620A (en) * | 2010-12-01 | 2011-06-08 | 中兴通讯股份有限公司 | Method for downloading media file in content distribution network and client |
CN102801690A (en) * | 2011-05-25 | 2012-11-28 | 华为技术有限公司 | Stream media processing method, distribution server, client and system |
CN102843351A (en) * | 2012-03-31 | 2012-12-26 | 华为技术有限公司 | Streaming media service processing method, streaming media server and system |
CN102695081A (en) * | 2012-06-13 | 2012-09-26 | 百视通网络电视技术发展有限责任公司 | Video resource scheduling method based on Internet television and television terminal |
CN103297431A (en) * | 2013-05-24 | 2013-09-11 | 南京邮电大学 | Streaming media video-on-demand duplicate hybrid buffer strategy based on cloud server cluster |
CN103327079A (en) * | 2013-05-31 | 2013-09-25 | 青岛海信传媒网络技术有限公司 | Multimedia resource caching method and device |
CN103338393A (en) * | 2013-06-13 | 2013-10-02 | 西安交通大学 | Video code rate selecting method driven by user experience under HSPA system |
CN103414747A (en) * | 2013-07-11 | 2013-11-27 | 广东工业大学 | Adaptive streaming media caching method |
CN105393533A (en) * | 2013-07-22 | 2016-03-09 | 华为终端有限公司 | Method, apparatus and network media system for playing multiple media contents |
CN105025351A (en) * | 2014-04-30 | 2015-11-04 | 深圳Tcl新技术有限公司 | Streaming media player buffering method and apparatus |
CN106385588A (en) * | 2016-09-23 | 2017-02-08 | 北京赢点科技有限公司 | On-demand playing popularity-based resource scheduling method and device |
Non-Patent Citations (1)
Title |
---|
陈景良: "实时移动视频网络自适应QoS技术研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111417031A (en) * | 2020-04-28 | 2020-07-14 | 北京金山云网络技术有限公司 | File transmission method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11146502B2 (en) | Method and apparatus for allocating resource | |
US9330368B2 (en) | Routing service requests based on lowest actual cost within a federated virtual service cloud | |
US10862992B2 (en) | Resource cache management method and system and apparatus | |
CN110545246A (en) | Token bucket-based current limiting method and device | |
KR20150132859A (en) | Automatic tuning of virtual data center resource utilization policies | |
US20130035107A1 (en) | System and method for adaptive traffic prioritization and bandwidth allocation on mobile data networks | |
US20090319681A1 (en) | Dynamic Throttling Based on Network Conditions | |
CN104348849A (en) | Instant communication key-value data issuing method, server, client and system | |
US9152220B2 (en) | Incremental preparation of videos for delivery | |
CN110598138A (en) | Cache-based processing method and device | |
CN109348264B (en) | Video resource sharing method and device, storage medium and electronic equipment | |
KR102219015B1 (en) | Use of network support protocols to improve network usage | |
CN112968959B (en) | Resource request method and terminal | |
CN114155026A (en) | Resource allocation method, device, server and storage medium | |
US9690859B2 (en) | Transmitting information based on reading speed | |
WO2019206033A1 (en) | Server configuration method and apparatus | |
CN109981532A (en) | A kind of transmission method and server of media file | |
US10405271B2 (en) | Method and apparatus for selecting access network in wireless communication system | |
CN109815204A (en) | A kind of metadata request distribution method and equipment based on congestion aware | |
KR20150074531A (en) | Apparatus and method for providing bandwidth on demand service | |
US7441086B2 (en) | Data caching method and computer-readable medium storing a program executing the method | |
US20180278542A1 (en) | Autonomous resource governor in distributed systems for protecting shared resources | |
CN103118122A (en) | Method, device and system for processing user generated content (UGC) | |
KR102526963B1 (en) | Method and Apparatus for Changing VMI Service Image Quality | |
Wan et al. | Delay Driven Non-Overlapped Tile Streaming with Resource Allocation in Wireless VR Networks |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190705 |
|
RJ01 | Rejection of invention patent application after publication |