CN104581404B - The processing method of multi-medium data, apparatus and system - Google Patents

The processing method of multi-medium data, apparatus and system Download PDF

Info

Publication number
CN104581404B
CN104581404B CN201310496852.XA CN201310496852A CN104581404B CN 104581404 B CN104581404 B CN 104581404B CN 201310496852 A CN201310496852 A CN 201310496852A CN 104581404 B CN104581404 B CN 104581404B
Authority
CN
China
Prior art keywords
medium data
data
multimedia
medium
processing unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310496852.XA
Other languages
Chinese (zh)
Other versions
CN104581404A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310496852.XA priority Critical patent/CN104581404B/en
Publication of CN104581404A publication Critical patent/CN104581404A/en
Application granted granted Critical
Publication of CN104581404B publication Critical patent/CN104581404B/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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a kind of processing methods of multi-medium data, apparatus and system, are related to Internet technical field, when solving that multimedia control plays multi-medium data again in the prior art, it is also necessary to reload, more waste network flow the problem of.The described method includes: the multimedia data request that the system control of receiving terminal apparatus is sent;According to the multimedia data request, judge whether the processing unit of multi-medium data is locally cached with the corresponding multi-medium data of the multimedia data request;If being cached with the multi-medium data, the multi-medium data is sent to the system control;If the uncached multi-medium data, the multi-medium data is obtained from network server, the processing unit that the multi-medium data is cached to multi-medium data is local, and the multi-medium data is sent to the system control.Multi-medium data of the present invention suitable for mobile terminal plays.

Description

The processing method of multi-medium data, apparatus and system
Technical field
The present invention relates to Internet technical field more particularly to a kind of processing methods of multi-medium data, apparatus and system.
Background technique
Currently, with the development of Internet technology and mobile terminal technology, network audio and net are played on the terminal device Network video has become ubiquitous.For example, under iOS system platform, when playing the multi-medium datas such as network audio or video, The audio and video exist on network server, and the client under iOS system platform needs according to demand, from network server Upper acquisition multi-medium data, then play out.
Under iOS system platform, the multi-medium datas such as video, audio are played generally by the multimedia control in system It carries out.Current multimedia control is capable of providing the function of buffering online multi-medium data.For example, as shown in Figure 1, in the view In frequency broadcast interface, including video pictures 11, playing progress bar 12, and play and identify 13 with pause, in the playback progress Playback progress mark 121 and buffering mark 122, the buffering mark 122 and the playing progress bar 12 are provided on item 12 Starting end between be buffer area, currently, playback progress mark 121 can generally be dragged in the buffer area It is dynamic, to carry out video playing.Since the multimedia control multi-medium data to be played is generally from network server, with When network server interaction, the multi-medium data of caching can not be got, therefore also do not support breakpoint transmission, i.e., in multimedia number It after not finishing or finishing, plays also need to reload again, more waste network flow.
Summary of the invention
The embodiment of the present invention provides a kind of processing method of media data, apparatus and system, is able to solve the prior art Middle multimedia control can not get the multi-medium data of caching, when playing multi-medium data again, it is also necessary to it reloads, compared with The problem of to waste network flow.
In order to achieve the above objectives, the present invention adopts the following technical scheme:
A kind of processing method of multi-medium data, comprising:
The multimedia data request that the system control of receiving terminal apparatus is sent;
According to the multimedia data request, judge whether the processing unit of multi-medium data is locally cached with more matchmakers Volume data requests corresponding multi-medium data;
If the processing unit of the multi-medium data is cached with the multi-medium data, the multi-medium data is sent to The system control;
If the uncached multi-medium data of the processing unit of the multi-medium data, obtained from network server described more Media data, the processing unit that the multi-medium data is cached to multi-medium data is local, and the multi-medium data is sent out Give the system control.
A kind of processing unit of multi-medium data, comprising:
Receiving unit, the multimedia data request that the system control for receiving terminal apparatus is sent;
Judging unit, for judging multi-medium data according to the received multimedia data request of the receiving unit Processing unit locally whether be cached with the corresponding multi-medium data of the multimedia data request;
Transmission unit, the processing unit for determining the multi-medium data in the judging unit are cached with described more When media data, the multi-medium data is sent to the system control;
Acquiring unit, the processing unit for determining the multi-medium data in the judging unit are uncached described more Media data obtains the multi-medium data from network server;
Storage unit, the multi-medium data for obtaining the acquiring unit are cached to the processing of multi-medium data Device is local;
The transmission unit, the multi-medium data for being also used to obtain the acquiring unit are sent to the system control Part.
A kind of processing system of multi-medium data, the processing unit of system control, multi-medium data including terminal device And network server;
Wherein, the system control of the terminal device, for sending multimedia to the processing unit of the multi-medium data Request of data;
The processing unit of the multi-medium data, for judging multi-medium data according to the multimedia data request Whether processing unit is locally cached with the corresponding multi-medium data of the multimedia data request;If the place of the multi-medium data Reason device is cached with the multi-medium data, and the multi-medium data is sent to the system control of the terminal device;If institute The uncached multi-medium data of processing unit for stating multi-medium data obtains the multimedia number from the network server According to the processing unit that the multi-medium data is cached to multi-medium data is local, and the multi-medium data is sent to institute State the system control of terminal device.
The processing method of multi-medium data provided in an embodiment of the present invention, apparatus and system are receiving terminal device After the multimedia data request that system control is sent, the processing unit of multi-medium data is judged by the processing unit of multi-medium data It is local whether to be cached with the corresponding multi-medium data of the multimedia data request, thus when being cached with the multi-medium data The multi-medium data directly can be sent to the system control;And in the uncached multi-medium data, multimedia The processing unit of data can obtain the multi-medium data from network server, and the multi-medium data is cached to multimedia The processing unit of data is local, and is sent to the system control.The processing unit of the multi-medium data can cache more matchmakers Volume data, thus when system control needs to replay multi-medium data without again to web server requests multi-medium data. And the system control of the prior art is that data interaction is directly carried out with network server, can not get the multimedia number of caching According to, play also need to reload again, more waste network flow.As it can be seen that the present invention can save the network of terminal device Flow.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, 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 invention 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 the schematic diagram at video playing interface in the prior art;
Fig. 2 is the flow chart of the processing method of multi-medium data provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the processing method for the multi-medium data that further embodiment of this invention provides;
Fig. 4 is the schematic diagram at the video playing interface in the embodiment of the present invention;
Fig. 5 is the structural schematic diagram one of the processing unit of multi-medium data provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram two of the processing unit of multi-medium data provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram of the processing system of multi-medium data provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The advantages of to make technical solution of the present invention, is clearer, makees specifically to the present invention with reference to the accompanying drawings and examples It is bright.
As shown in Fig. 2, the processing method of multi-medium data provided in an embodiment of the present invention, comprising:
201, the multimedia data request that the system control of receiving terminal apparatus is sent.
Under the system platforms such as iOS, terminal device plays video, the multi-medium datas such as audio generally pass through system control into Row.The multimedia data request can be the system control and be triggered by operation, such as the video that system control provides Playing progress bar in broadcast interface is dragged, to indicate that broadcasting initial position changes or the system control adds The video etc. not finished before having carried, but it is not only limited to this.It include described play in the multimedia data request Beginning position.
202, according to the multimedia data request, it is described to judge whether the processing unit of multi-medium data is locally cached with The corresponding multi-medium data of multimedia data request.If the processing unit of the multi-medium data is cached with the multimedia number According to execution step 203.If the uncached multi-medium data of the processing unit of the multi-medium data, step 204 is executed.
The processing unit of multi-medium data as the local service end at terminal device, can with buffer multimedia data, from And multi-medium data is provided for system control.The corresponding multi-medium data of the multimedia data request can be according to described more After media data request determines broadcasting initial position, the corresponding data in broadcasting initial position.
203, the multi-medium data is sent to the system control.
It, can be with when the multimedia processing unit is cached with the corresponding multi-medium data of the multimedia data request The multi-medium data is directly sent to system control, so that it is more to avoid the system control from reacquiring from network server Media data.
204, the multi-medium data is obtained from network server, the multi-medium data is cached to multi-medium data Processing unit is local, and the multi-medium data is sent to the system control.
It is described in the corresponding multi-medium data of the uncached multimedia data request of the multimedia processing unit Multimedia processing unit needs to obtain the multi-medium data from network server, and is cached in local, thus subsequent When also needing to play the multi-medium data, the multi-medium data directly can be sent to the system control, to avoid institute It states system control and reacquires multi-medium data from network server.
It is worth noting that the executing subject of the processing method of multi-medium data provided in an embodiment of the present invention is that one kind is more The processing unit of media data can be run in the terminal device.
The processing method of multi-medium data provided in an embodiment of the present invention is sent in the system control for receiving terminal device Multimedia data request after, by the processing unit of multi-medium data judge multi-medium data processing unit locally whether cache There is the corresponding multi-medium data of the multimedia data request, thus can be directly by institute when being cached with the multi-medium data It states multi-medium data and is sent to the system control;And in the uncached multi-medium data, the processing of multi-medium data fills The multi-medium data can be obtained from network server by setting, and the processing that the multi-medium data is cached to multi-medium data is filled Local is set, and is sent to the system control.The processing unit of the multi-medium data can buffer multimedia data, thus Without again to web server requests multi-medium data when system control needs to replay multi-medium data.And the prior art is System control is directly to carry out data interaction with network server, can not get the multi-medium data of caching, is played again also It needs to reload, more waste network flow.As it can be seen that the present invention can save the network flow of terminal device.
A more specifically embodiment is set forth below, as shown in figure 3, the multimedia number that further embodiment of this invention provides According to processing method, comprising:
301, the system control of terminal device sends multimedia data request to the processing unit of multi-medium data.
It wherein, include playing initial position in the multimedia data request, the multimedia data request can be institute The system control of terminal device is stated by uniform resource locator (Uniform Resource Locator, abbreviation URL) to more What the processing unit of media data was sent.The multimedia data request can be the system control and be triggered by operation, Such as the playing progress bar in the video playing interface of system control offer is dragged, to indicate that playing initial position becomes Change or the system control is loaded with the video etc. not finished before, but is not only limited to this.
For example, as shown in figure 4, in the video playing interface of a system control, including video pictures 41, playback progress Item 42, and play and identify 43 with pause, playback progress mark 421 and buffering mark are provided in the playing progress bar 42 Know 422, is buffer area, the playback progress mark between the buffering mark 422 and the starting end of the playing progress bar 42 Knowing 421 can be dragged in the buffer area.For example, as shown in figure 4, the playback progress mark 421 be dragged to it is slow It rushes except region, the system control for being equivalent to terminal device at this time, which sends multi-medium data to the processing unit of multi-medium data, asks It asks, that is, the position except the buffer area is needed to carry out video playing, such as current playback progress mark 421 at 1 minute Corresponding position, and mark 422 is buffered 2 minutes corresponding positions, the playback progress mark 421 is dragged to broadcasting at this time 5 minutes corresponding positions of progress bar 42, then it represents that current to need to play corresponding position since 5 minutes.In addition, Fig. 4 Video playing interface can also be substituted by other multi-medium data broadcast interfaces, such as audio plays meeting etc., no longer superfluous herein It states.
302, the processing unit of multi-medium data judges the processing unit of multi-medium data according to the broadcasting initial position It is local whether to be cached with the corresponding multi-medium data in the broadcasting initial position.If the processing unit of the multi-medium data is not delayed The corresponding multi-medium data in the broadcasting initial position is deposited, step 303 is continued to execute.If the processing unit of the multi-medium data It is cached with the corresponding multi-medium data in the broadcasting initial position, executes step 310.
The processing unit of multi-medium data as the local service end at terminal device, can with buffer multimedia data, from And multi-medium data is provided for system control.
303, the processing unit of multi-medium data determines the storage side of multi-medium data described in the webserver storage Formula.
Wherein, the storage mode includes that data global storage and data fragments store, in the data fragments storage Each segment of multimedia data averagely divided according to pre-set segment time.The data global storage is i.e. in network service On device, the multi-medium data does not carry out segment division, and entire multi-medium data is stored in the network service as a whole On device.If the storage mode is data global storage, step 304 is executed.Otherwise, if the storage mode is deposited for data fragments Storage executes step 307.
When the corresponding multi-medium data in the uncached broadcasting initial position of the processing unit of the multi-medium data, institute It states multimedia processing unit to need to obtain the multi-medium data from network server, and is cached in local, thus rear It is continuous when also needing to play the multi-medium data, the multi-medium data directly can be sent to the system control, to avoid The system control reacquires multi-medium data from network server.
304, the processing unit of multi-medium data from the network server obtain it is described broadcasting initial position after it is more Media data.Step 305 is continued to execute later.
For example, as shown in figure 4, playback progress mark 421 be dragged to 5 minutes of playing progress bar 42 it is corresponding When position, indicate current and need to play corresponding position since 5 minutes, then the processing unit of the multi-medium data directly from Multi-medium data after network server acquisition 5 minutes.
305, the multi-medium data is cached to the processing unit sheet of multi-medium data by the processing unit of multi-medium data Ground, and the multi-medium data is sent to the system control.
When the processing unit of multi-medium data is in the buffer area that multi-medium data plays according to the broadcasting initial position Except domain, and the corresponding multi-medium data in the uncached broadcasting initial position of processing unit of the multi-medium data, then institute The processing unit for stating multi-medium data can obtain the multi-medium data played after initial position from network server, and The processing unit for being cached to multi-medium data is local, and the multi-medium data is sent to the system control, thus Even if guaranteeing that stating broadcasting initial position is in except the buffer area of multi-medium data broadcasting, which can also be normal Load plays.
306, the system control plays the multi-medium data.
The multi-medium data can be audio, video etc., but be not only limited to this.
307, the processing unit of multi-medium data determines the destination multimedia data fragments where the broadcasting initial position, Obtain the destination multimedia data fragments.Step 308 is continued to execute later.
Since each segment of multimedia data in data fragments storage is averagely drawn according to pre-set segment time Point, therefore, the broadcasting initial position is generally in a segment of multimedia data, to need to get described play Destination multimedia data fragments where beginning position.For example, the pre-set segment time is 1 minute, i.e., entire more matchmakers Volume data is divided into 1 minute one segment of multimedia data, if the broadcasting initial position be the 5th point 30 seconds, this is broadcast Initial position is put in the 5th point of 0 second to the 5th point 59 seconds segment of multimedia data.
308, the processing unit of multi-medium data judge destination multimedia data fragments described in the network server it Whether there are also segment of multimedia data afterwards.
If 309, there are also segment of multimedia data after the destination multimedia data fragments, the processing of multi-medium data is filled It sets and obtains the segment of multimedia data.Step 305 is continued to execute later.
If there are also segment of multimedia data after the destination multimedia data fragments, in order to guarantee that system control can be just Multi-medium data is often played, needs to get subsequent segment of multimedia data.
In step 305, each segment of multimedia data that the processing unit of the multi-medium data needs to be got The processing unit for being cached to multi-medium data is local, and each segment of multimedia data is sent to the system control.In step In 306, the system control needs play the multi-medium data since the broadcasting original position, are playing one After segment of multimedia data, it will continue to play next segment of multimedia data.
310, the multi-medium data is sent to the system control by the processing unit of multi-medium data.In step 310 Step 311 and step 306 are continued to execute later.
When the processing unit of multi-medium data is in the buffer area that multi-medium data plays according to the broadcasting initial position Except domain, and the processing unit of the multi-medium data has cached the corresponding multi-medium data in the broadcasting initial position, then institute The multi-medium data directly can be sent to the system control by the processing unit for stating multi-medium data, even if to guarantee It states broadcasting initial position to be in except the buffer area of multi-medium data broadcasting, which can also be broadcast with normal load It puts.
311, the processing unit of multi-medium data judge the multi-medium data whether total caching.
If 312, determining the non-total caching of the multi-medium data, the processing unit of multi-medium data takes from the network Business device obtains the remaining data of the multi-medium data.
In order to guarantee system control can normal play multi-medium data, it is completely unslow determining the multi-medium data When depositing, the processing unit of the multi-medium data can obtain the remainder of the multi-medium data from the network server According to.
The processing method for the multi-medium data that further embodiment of this invention provides, in the system control for receiving terminal device After the multimedia data request of transmission, by the processing unit of multi-medium data judge multi-medium data processing unit it is local whether It is cached with the corresponding multi-medium data of the multimedia data request, thus can be direct when being cached with the multi-medium data The multi-medium data is sent to the system control;And in the uncached multi-medium data, the place of multi-medium data The multi-medium data can be obtained from network server by managing device, and the multi-medium data is cached to the place of multi-medium data It is local to manage device, and is sent to the system control.The processing unit of the multi-medium data can buffer multimedia data, and It sends it to system control to play out, thus when system control needs to replay multi-medium data without taking to network again Business device requesting multimedia data, while when system control plays, it is in except buffer area if playing initial position, more matchmakers Volume data can also be played with normal load.And the system control of the prior art is directly to carry out data interaction with network server , the multi-medium data of caching can not be got, plays also need to reload again, more waste network flow.As it can be seen that this Invention can save the network flow of terminal device, while can guarantee and play initial position not in buffer area, can also be normal Load plays.
Corresponding to the processing method of Fig. 2 and multi-medium data shown in Fig. 3, as shown in figure 5, provided in an embodiment of the present invention The processing unit of multi-medium data, comprising:
Receiving unit 51, the multimedia data request that the system control for receiving terminal apparatus is sent.
Judging unit 52, for judging multimedia according to the received multimedia data request of the receiving unit 51 Whether the processing unit of data is locally cached with the corresponding multi-medium data of the multimedia data request.
Transmission unit 53, the processing unit for determining the multi-medium data in the judging unit 52 cache When stating multi-medium data, the multi-medium data is sent to the system control.
Acquiring unit 54, the uncached institute of processing unit for determining the multi-medium data in the judging unit 52 Multi-medium data is stated, obtains the multi-medium data from network server.
Storage unit 55, the multi-medium data for obtaining the acquiring unit are cached to the place of multi-medium data It is local to manage device.
The transmission unit 53, the multi-medium data for being also used to obtain the acquiring unit are sent to the system Control.
Specifically, including playing initial position in the multimedia data request.The judging unit 52, is used for:
According to the broadcasting initial position, judge whether the processing unit of multi-medium data is locally cached with described play The corresponding multi-medium data in beginning position.
The acquiring unit 54, is used for:
If the corresponding multi-medium data in the uncached broadcasting initial position of the processing unit of the multi-medium data, from net Network server obtains the corresponding multi-medium data in the broadcasting initial position.
Further, as shown in fig. 6, the processing unit of the multi-medium data, further includes:
Determination unit 56, for determining the storage mode of multi-medium data described in the webserver storage.
The storage mode includes that data global storage and data fragments store, each more in the data fragments storage Media data segment is averagely divided according to pre-set segment time.
Specifically, as shown in fig. 6, the acquiring unit 54, comprising:
Module 541 is obtained, for determining the broadcasting start bit when determining the storage mode is data fragments storage Destination multimedia data fragments where setting, obtain the destination multimedia data fragments.
Judgment module 542, for judging whether go back after destination multimedia data fragments described in the network server There is segment of multimedia data.
The acquisition module 541 is also used to after the destination multimedia data fragments also segment of multimedia data When, obtain the segment of multimedia data.
Specifically, the acquiring unit 54, is used for:
When determining the storage mode is data global storage, the broadcasting start bit is obtained from the network server Multi-medium data after setting.
Further, as shown in fig. 6, the judging unit 52, is also used to:
Judge the multi-medium data whether total caching.
The acquiring unit 54 is also used to determine the non-total caching of the multi-medium data in the judging unit 52 When, the remaining data of the multi-medium data is obtained from the network server.
It is worth noting that the specific implementation of the processing unit of multi-medium data provided in an embodiment of the present invention can be with Referring to fig. 2, embodiment of the method shown in Fig. 3, details are not described herein again.
The processing unit of multi-medium data provided in an embodiment of the present invention is sent in the system control for receiving terminal device Multimedia data request after, by the processing unit of multi-medium data judge multi-medium data processing unit locally whether cache There is the corresponding multi-medium data of the multimedia data request, thus can be directly by institute when being cached with the multi-medium data It states multi-medium data and is sent to the system control;And in the uncached multi-medium data, the processing of multi-medium data fills The multi-medium data can be obtained from network server by setting, and the processing that the multi-medium data is cached to multi-medium data is filled Local is set, and is sent to the system control.The processing unit of the multi-medium data can buffer multimedia data, and by its It is sent to system control to play out, thus when system control needs to replay multi-medium data without again to network server Requesting multimedia data, while when system control plays, it is in except buffer area if playing initial position, the multimedia number According to can also be played with normal load.And the system control of the prior art is that data interaction is directly carried out with network server, nothing Method gets the multi-medium data of caching, plays also need to reload again, more waste network flow.As it can be seen that of the invention The network flow of terminal device can be saved, while can guarantee and play initial position not in buffer area, it can also normal load It plays.
As shown in fig. 7, the processing system of multi-medium data provided in an embodiment of the present invention, the system control including terminal device Part 61, the processing unit 62 of multi-medium data and network server 63.
Wherein, the system control 61 of the terminal device is more for sending to the processing unit 62 of the multi-medium data Media data request.
The processing unit 62 of the multi-medium data, for judging multi-medium data according to the multimedia data request Processing unit 62 local whether be cached with the corresponding multi-medium data of the multimedia data request;If the multi-medium data Processing unit 62 be cached with the multi-medium data, the multi-medium data is sent to the system control of the terminal device 61;If the uncached multi-medium data of the processing unit 62 of the multi-medium data, institute is obtained from the network server 63 Multi-medium data is stated, the processing unit 62 that the multi-medium data is cached to multi-medium data is local, and by the multimedia Data are sent to the system control 61 of the terminal device.
It is worth noting that the specific implementation of the processing system of multi-medium data provided in an embodiment of the present invention can be with Referring to how mention data processing unit specific embodiment, details are not described herein again.
The processing unit of the processing system of multi-medium data provided in an embodiment of the present invention, multi-medium data is receiving end After the multimedia data request that the system control of end equipment is sent, multi-medium data is judged by the processing unit of multi-medium data Whether processing unit is locally cached with the corresponding multi-medium data of the multimedia data request, thus being cached with more matchmakers The multi-medium data directly can be sent to the system control when volume data;And in the uncached multi-medium data When, the processing unit of multi-medium data can obtain the multi-medium data from network server, and the multi-medium data is delayed The processing unit for being stored to multi-medium data is local, and is sent to the system control.The processing unit energy of the multi-medium data Enough buffer multimedia datas, thus when system control needs to replay multi-medium data without again more to web server requests Media data.And the system control of the prior art is that data interaction is directly carried out with network server, can not get caching Multi-medium data, play also need to reload again, more waste network flow.As it can be seen that the present invention can save terminal The network flow of equipment.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow Help software that the mode of required common hardware is added to realize, naturally it is also possible to which the former is more preferably by hardware, but in many cases Embodiment.Based on this understanding, the portion that technical solution of the present invention substantially in other words contributes to the prior art Dividing can be embodied in the form of software products, which stores in a readable storage medium, such as count The floppy disk of calculation machine, hard disk or CD etc., including some instructions are used so that computer equipment (it can be personal computer, Server or the network equipment etc.) execute method described in each embodiment of the present invention.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. a kind of processing method of multi-medium data characterized by comprising
Receive the multi-medium data from network server;
Cache the multi-medium data;
The multimedia data request that the system control of receiving terminal apparatus is sent;
According to the multimedia data request, judge whether to be cached with the corresponding multi-medium data of the multimedia data request; If local cache has the multi-medium data, the multi-medium data is sent to the system control;
If the uncached multi-medium data, determines the storage mode of multi-medium data described in the webserver storage;Institute Stating storage mode includes data global storage and data fragments storage, each multi-medium data piece in the data fragments storage It is completely cured and is averagely divided according to pre-set segment time;
If it is determined that the storage mode is data fragments storage, the destination multimedia data slice played where initial position is determined It is disconnected, obtain the destination multimedia data fragments;After judging destination multimedia data fragments described in the network server Whether there are also segment of multimedia data;If there are also segment of multimedia data after the destination multimedia data fragments, institute is obtained State multi-medium data;
If it is determined that the storage mode is data global storage, after the network server acquisition broadcasting initial position Multi-medium data;
The multi-medium data from the network server is received, the multi-medium data is cached to local;As more matchmakers When the multimedia mark of body broadcast interface is moved to except buffer area, the multi-medium data is sent to the system System control.
2. the processing method of multi-medium data according to claim 1, which is characterized in that in the multimedia data request Including playing initial position;
It is described according to the multimedia data request, judge whether to be cached with the corresponding multimedia number of the multimedia data request According to, comprising:
According to the broadcasting initial position, judge whether to be cached with the corresponding multi-medium data in the broadcasting initial position.
3. the processing method of multi-medium data according to claim 2, which is characterized in that if uncached more matchmakers Volume data obtains the multi-medium data from network server, comprising:
If the corresponding multi-medium data in the uncached broadcasting initial position obtains the broadcasting initial position from network server Corresponding multi-medium data.
4. the processing method of multi-medium data according to claim 1-3, which is characterized in that in the multimedia When the processing unit of data is cached with the multi-medium data, by the multi-medium data be sent to the system control it Afterwards, comprising:
Judge the multi-medium data whether total caching;
If determining the non-total caching of the multi-medium data, the residue of the multi-medium data is obtained from the network server Data.
5. a kind of processing unit of multi-medium data, which is characterized in that the processing unit of the multi-medium data is set as terminal The local service end at standby place, is used for buffer multimedia data, provides multi-medium data for system control, comprising:
Cache unit for receiving the multi-medium data from network server, and caches the multi-medium data;
Receiving unit, the multimedia data request that the system control for receiving terminal apparatus is sent;
Judging unit, for judging the place of multi-medium data according to the received multimedia data request of the receiving unit Whether reason device is locally cached with the corresponding multi-medium data of the multimedia data request;Transmission unit, for sentencing described When the processing unit of disconnected unit judges to the multi-medium data is cached with the multi-medium data, the multi-medium data is sent out Give the system control;Acquiring unit, for determining the processing unit of the multi-medium data in the judging unit not The multi-medium data is cached, obtains the multi-medium data from network server;The acquiring unit further include:
Subelement is determined, for determining the storage mode of multi-medium data described in the webserver storage;The storage side Formula includes data global storage and data fragments storage, and each segment of multimedia data in the data fragments storage is according to pre- The segment time being first arranged averagely divides;
Acquisition submodule, for determining where playing initial position when determining the storage mode is data fragments storage Destination multimedia data fragments obtain the destination multimedia data fragments;
Judging submodule, for judging whether there are also more matchmakers after destination multimedia data fragments described in the network server Volume data segment;
The acquisition submodule is also used to, there are also when segment of multimedia data, obtaining after the destination multimedia data fragments Take the segment of multimedia data;
The acquisition submodule is also used to when determining the storage mode is data global storage, from the network server Obtain the multi-medium data after the broadcasting initial position;Storage unit is described more for obtaining the acquiring unit The processing unit of media data cache to multi-medium data is local;
The transmission unit is also used to be moved to except buffer area when the multimedia mark of multimedia play interface When, the multi-medium data that the acquiring unit is obtained is sent to system control.
6. the processing unit of multi-medium data according to claim 5, which is characterized in that in the multimedia data request Including playing initial position;
The judging unit, is used for:
According to the broadcasting initial position, judge whether the processing unit of multi-medium data is locally cached with the broadcasting start bit Set corresponding multi-medium data.
7. the processing unit of multi-medium data according to claim 6, which is characterized in that the acquiring unit is used for:
If the corresponding multi-medium data in the uncached broadcasting initial position of the processing unit of the multi-medium data, takes from network Business device obtains the corresponding multi-medium data in the broadcasting initial position.
8. according to the processing unit of the described in any item multi-medium datas of claim 5-7, which is characterized in that the judgement is single Member is also used to:
Judge the multi-medium data whether total caching;
The acquiring unit is also used to when the judging unit determines the non-total caching of the multi-medium data, from described Network server obtains the remaining data of the multi-medium data.
9. a kind of processing system of multi-medium data, which is characterized in that system control, multi-medium data including terminal device Processing unit and network server;
Wherein, the system control of the terminal device, for sending multi-medium data to the processing unit of the multi-medium data Request;
The processing unit of the multi-medium data, the processing unit of the multi-medium data is as the local service at terminal device End, for receiving the multi-medium data from network server, caches the multi-medium data, provides for the system control more Media data;It is also used to judge according to the multimedia data request whether the processing unit of multi-medium data is locally cached with The corresponding multi-medium data of the multimedia data request;If the processing unit of the multi-medium data is cached with the multimedia The multi-medium data is sent to the system control of the terminal device by data;If the processing unit of the multi-medium data The uncached multi-medium data obtains the multi-medium data from the network server, the multi-medium data is cached Processing unit to multi-medium data is local, and is moved to buffer area in the multimedia of multimedia play interface mark Except when the multi-medium data is sent to the system control of the terminal device.
CN201310496852.XA 2013-10-21 2013-10-21 The processing method of multi-medium data, apparatus and system Active CN104581404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310496852.XA CN104581404B (en) 2013-10-21 2013-10-21 The processing method of multi-medium data, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310496852.XA CN104581404B (en) 2013-10-21 2013-10-21 The processing method of multi-medium data, apparatus and system

Publications (2)

Publication Number Publication Date
CN104581404A CN104581404A (en) 2015-04-29
CN104581404B true CN104581404B (en) 2018-12-07

Family

ID=53096445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310496852.XA Active CN104581404B (en) 2013-10-21 2013-10-21 The processing method of multi-medium data, apparatus and system

Country Status (1)

Country Link
CN (1) CN104581404B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898386A (en) * 2015-12-10 2016-08-24 乐视云计算有限公司 Network video data obtaining method and device
CN108322809A (en) * 2017-01-16 2018-07-24 北京视联动力国际信息技术有限公司 The method and system that control video file plays under depending on networking under a kind of internet
CN108156474A (en) * 2017-12-29 2018-06-12 北京搜狐新媒体信息技术有限公司 A kind of video broadcasting method and device
CN111698540A (en) * 2020-06-23 2020-09-22 湖南国科微电子股份有限公司 Video playing method and device, video playing equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9002969B2 (en) * 2005-05-18 2015-04-07 Nippon Telegraph And Telephone Corporation Distributed multimedia server system, multimedia information distribution method, and computer product
CN101917390B (en) * 2009-12-17 2013-03-06 新奥特(北京)视频技术有限公司 Multifunctional network player
CN102075792B (en) * 2010-12-23 2013-01-02 华为技术有限公司 Video file playing method and system, user equipment and server equipment
CN103118293A (en) * 2011-11-17 2013-05-22 深圳市快播科技有限公司 Display method and device for play progress, video on demand terminal and video on demand system
CN102521279A (en) * 2011-11-25 2012-06-27 Tcl集团股份有限公司 Playing method, playing system and player of streaming media files
CN102685554B (en) * 2012-05-24 2015-09-30 北京国双科技有限公司 The processing method of video playback and device

Also Published As

Publication number Publication date
CN104581404A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
US10944813B2 (en) Selective access of multi-rate data from a server and/or peer
US8825790B2 (en) Caching of fragmented streaming media
CN104581404B (en) The processing method of multi-medium data, apparatus and system
US9100460B2 (en) Media stream fragment request
CN110807128B (en) Video preloading method, device, equipment and storage medium
US10880357B2 (en) Reducing requests for media segments in streaming of multimedia content
CN103024593A (en) Online VOD (video on demand) acceleration system and online VOD playing method
CN104811787A (en) Game video recording method and game video recording device
US20120195362A1 (en) System and Method for Managing Cache Storage in Adaptive Video Streaming System
US20160028646A1 (en) Push-based transmission of resources and correlated network quality estimation
US8825779B2 (en) Systems and methods of real-time data subscription and reporting for telecommunications systems and devices
CN103051937A (en) Video frequency broadcast and control method as well as device
CN101673298A (en) Video data distributed caching method in video on demand
CN102547478A (en) Triggered slice on-demand system and method of streaming media based on CDN (Content Distribution Network)
JP6314252B2 (en) Network video playback method and apparatus
CN105450579B (en) Internet resources pre-add support method, client and middleware server
CN106254561B (en) real-time off-line downloading method and system for network resource file
CN110798716A (en) Video highlight playing method and related device
CN105335170A (en) Distributed system and incremental data updating method
WO2016044117A1 (en) Intelligent streaming of media content
CN111083217A (en) Method and device for pushing Feed stream and electronic equipment
US20150268808A1 (en) Method, Device and System for Multi-Speed Playing
CN103634661A (en) Method and device for implementing video on demand
CN104753811A (en) Streaming medium service optimizing method, device and system
CN103248921A (en) Advertising method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant