CN106254924A - The player method of a kind of multi-medium data, system and relevant device - Google Patents

The player method of a kind of multi-medium data, system and relevant device Download PDF

Info

Publication number
CN106254924A
CN106254924A CN201610882859.9A CN201610882859A CN106254924A CN 106254924 A CN106254924 A CN 106254924A CN 201610882859 A CN201610882859 A CN 201610882859A CN 106254924 A CN106254924 A CN 106254924A
Authority
CN
China
Prior art keywords
medium data
data bag
spatial cache
play
bag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610882859.9A
Other languages
Chinese (zh)
Other versions
CN106254924B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610882859.9A priority Critical patent/CN106254924B/en
Publication of CN106254924A publication Critical patent/CN106254924A/en
Application granted granted Critical
Publication of CN106254924B publication Critical patent/CN106254924B/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/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • H04N21/42607Internal components of the client ; Characteristics thereof for processing the incoming bitstream
    • 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/4332Content storage operation, e.g. storage operation in response to a pause request, caching operations by placing content in organized collections, e.g. local EPG data repository
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • 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/439Processing of audio elementary streams
    • H04N21/4392Processing of audio elementary streams involving audio buffer management
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used

Landscapes

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

Abstract

The invention discloses the player method of a kind of multi-medium data, system and relevant device, wherein the method includes: receive the multi-medium data bag that needs are play, and by this multi-medium data bag caching to the first spatial cache preset, this multi-medium data bag comprises the reproduction time information of multi-medium data bag;The storage condition of the second default spatial cache is detected;If the storage condition of this second spatial cache is less than predetermined threshold value, then from this first spatial cache, transfers multi-medium data bag and be stored in the second spatial cache;When receiving play instruction, from this second spatial cache, obtain multi-medium data bag, and according to corresponding reproduction time information, multi-medium data bag is played out.The embodiment of the present invention is owing to being provided with two spatial caches, and one is used for managing equipment caching, and one is used for synchronizing to play regulation, effectively reduces system resources consumption, also improves the precision that multiple equipment synchronizes to play simultaneously.

Description

The player method of a kind of multi-medium data, system and relevant device
Technical field
The invention belongs to communication technical field, particularly relate to the player method of a kind of multi-medium data, system and relevant set Standby.
Background technology
Intelligent multimedia system, as the one of Smart Home, is often made up of multiple stage intelligent multimedia equipment, also referred to as Multimedia group.These intelligent multimedia equipment can be controlled to perform a certain operation by Network Synchronization, such as synchronizes to broadcast Put a certain song, if the media data transmission of each equipment to be regarded as a Media Stream, then same between multiple equipment Step is play it can be understood that be to synchronize between stream.
At present, realize synchronizing mainly by, before synchronizing to play, first carrying out time synchronized between multiple equipment between stream, Then main equipment reproduction time of packing data bag in the packet before packet is sent to slave, slave is real-time Ground receives packet, and the reproduction time of matched data bag and system time, thus realizes synchronizing to play.Owing to equipment needs same Shi Guanli equipment caches and carries out synchronizing to play regulation, therefore can easily cause system resources consumption relatively big, affect and synchronize essence The problem of degree.
Summary of the invention
It is an object of the invention to provide the player method of a kind of multi-medium data, system and relevant device, it is intended to solve When multiple equipment synchronize to play, system resources consumption is relatively big, the problem affecting synchronization accuracy.
For solving above-mentioned technical problem, embodiment of the present invention offer techniques below scheme:
First aspect, the present invention provides the player method of a kind of multi-medium data, including:
Receive the multi-medium data bag needing to play, and by described multi-medium data bag caching to the first caching sky preset Between, described multi-medium data bag comprises the reproduction time information of multi-medium data bag;
The storage condition of the second default spatial cache is detected;
If the storage condition of described second spatial cache is less than predetermined threshold value, then transfer many from described first spatial cache Media data packet is also stored in the second spatial cache;
When receiving play instruction, from described second spatial cache, obtain multi-medium data bag, and according to broadcasting accordingly Put temporal information multi-medium data bag is played out.
Second aspect, the present invention provides the playing device of a kind of multi-medium data, including:
Receive unit, for receiving the multi-medium data bag needing to play, and described multi-medium data bag is cached in advance If the first spatial cache, described multi-medium data bag comprises the reproduction time information of multi-medium data bag;
First detector unit, for detecting the storage condition of the second default spatial cache;
Transfer unit, if the storage condition for described second spatial cache is less than predetermined threshold value, then delay from described first Deposit and space is transferred multi-medium data bag and is stored in the second spatial cache;
Broadcast unit, for when receiving play instruction, obtains multi-medium data bag from described second spatial cache, And according to corresponding reproduction time information, multi-medium data bag is played out.
The third aspect, the present invention provides a kind of terminal, including:
Storage has the memorizer of executable program code;
The processor coupled with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, and performing first aspect such as provides The player method of multi-medium data.
Fourth aspect, the present invention provides the Play System of a kind of multi-medium data, broadcasts including main equipment and multiple subordinate Putting equipment, wherein, described subordinate playback equipment includes the playing device of the multi-medium data such as second aspect offer.
Relative to prior art, the embodiment of the present invention, it is provided with the first spatial cache and the second spatial cache two delays Depositing space, will receive multi-medium data bag caching to the first spatial cache preset, wherein this multi-medium data bag comprises and broadcasts Put temporal information;The storage condition of the second default spatial cache is detected in real time, if the storage feelings of the second spatial cache Condition is less than predetermined threshold value, then transfer multi-medium data bag from the first spatial cache and be stored in the second spatial cache;When receiving During play instruction, from this second spatial cache, obtain multi-medium data bag, and according to corresponding reproduction time information to multimedia Packet plays out, and owing to being provided with two spatial caches, one is used for managing equipment caching, and one is used for synchronizing to play adjusting Joint, effectively reduces system resources consumption, also improves the precision that multiple equipment synchronizes to play simultaneously.
Accompanying drawing explanation
Below in conjunction with the accompanying drawings, by the detailed description of the invention of the present invention is described in detail, technical scheme will be made And other beneficial effect is apparent.
Fig. 1 is the schematic flow sheet of the player method of the multi-medium data that the embodiment of the present invention provides.
The scene schematic diagram of the Play System of the multi-medium data that Fig. 2 provides for the embodiment of the present invention.
Another schematic flow sheet of the player method of the multi-medium data that Fig. 3 provides for the embodiment of the present invention.
The structural representation of the playing device of the multi-medium data that Fig. 4 provides for the embodiment of the present invention.
Another structural representation of the playing device of the multi-medium data that Fig. 5 provides for the embodiment of the present invention.
The structural representation of the terminal that Fig. 6 provides for the embodiment of the present invention.
Detailed description of the invention
Refer to graphic, the most identical element numbers represents identical assembly, and the principle of the present invention is to be implemented in one Suitable computing environment illustrates.The following description is based on the illustrated specific embodiment of the invention, and it should be by It is considered as limiting other specific embodiment that the present invention is the most detailed herein.
In the following description, the specific embodiment of the present invention is by with reference to by the step performed by or multi-section computer And symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times and be performed by computer, institute herein The computer referred to performs to include by the computer processing unit of the electronic signal represented with the data in a structuring pattern Operation.This operation change these data or be maintained at the memory system of this computer in position, it is reconfigurable Or additionally change the running of this computer in the way of known to the tester of this area.The data structure that these data are maintained For the provider location of this internal memory, it has by particular characteristics defined in this data form.But, the principle of the invention is with above-mentioned literary composition Word illustrates, it is not represented as a kind of restriction, and this area tester will appreciate that plurality of step and the behaviour of the following stated Also may be implemented in the middle of hardware.
The principle of the present invention uses other wide usages many or specific purpose computing, communication environment or configuration to grasp Make.Known be suitable for the arithmetic system of the present invention, the example of environment and configuration can include, but is not limited to hand-held phone, Personal computer, server, multicomputer system, micro computer are main system, body frame configuration computer and distributed arithmetic ring Border, which includes any said system or device.
To be described in detail respectively below.
In the present embodiment, will be described from the angle of the playing device of multi-medium data, broadcasting of this multi-medium data Put the playback equipment (i.e. from equipment) of the subordinate that device specifically can be integrated in Play System, such as mobile phone, panel computer, sound The equipment containing playing module such as case, all kinds of players.
A kind of player method of multi-medium data, including: receive the multi-medium data bag needing to play, and by this multimedia Data pack buffer is to the first spatial cache preset, and this multi-medium data bag comprises the reproduction time information of multi-medium data bag; The storage condition of the second default spatial cache is detected;If the storage condition of this second spatial cache is less than presetting threshold Value, then transfer multi-medium data bag from the first spatial cache and be stored in the second spatial cache;When receiving play instruction, from This second spatial cache obtains multi-medium data bag, and according to corresponding reproduction time information, multi-medium data bag is broadcast Put.
Refer to the schematic flow sheet that Fig. 1, Fig. 1 are the player methods of the multi-medium data that the embodiment of the present invention provides.Should Method includes:
In step S101, receive the multi-medium data bag needing to play, and by this multi-medium data bag caching to presetting The first spatial cache, this multi-medium data bag comprises the reproduction time information of multi-medium data bag.
Such as, communicate with main equipment foundation from equipment, receive the multi-medium data bag needing to play that main equipment sends, and Caching the multi-medium data bag of main equipment to the first spatial cache preset, wherein, this multi-medium data bag comprises multimedia The reproduction time information of packet.
In some embodiments, this multi-medium data bag can also comprise the corresponding number information of multi-medium data bag; Based on this, after " by this multi-medium data bag caching to the first spatial cache preset ", it is also possible to including:
(11) number information of multi-medium data bag is detected.
(12) abnormal if detecting that number information occurs, then send repeat requests to main equipment, so that main equipment is according to being somebody's turn to do Repeat requests resends corresponding multi-medium data bag.
Such as, before sending, at main equipment, the multi-medium data bag needing to play, it is also possible to the multimedia play will be needed The played reproduction time that needs of data and these part data is packaged as packet, and is numbered, and obtains comprising numbering The multi-medium data bag of information, and be sent to from equipment.
It is understood that because the reasons such as Network Packet Loss make current multimedia data bag and previous multi-medium data bag Time discontinuous, it is believed that number information occurs abnormal, then can notify that main equipment retransmits this multi-medium data from equipment Bag.
In some embodiments, from equipment, " this multi-medium data bag is cached to the first spatial cache preset " it After, it is also possible to including:
(13) storage condition of the first spatial cache is detected.
(14) if the storage condition of the first spatial cache reaches to preset storage value, then letter is adjusted to main equipment transmission speed Breath, so that main equipment calls corresponding transmission speed according to this speed adjustment information sends multi-medium data bag.
Such as, from equipment can in real time or receive main equipment send multi-medium data bag time, to first caching sky Between storage condition detect, when the storage condition of the first spatial cache reach preset storage value, then can notify main equipment Suspend or slow down transmission multi-medium data bag.
In step s 102, the storage condition of the second default spatial cache is detected.
In step s 103, if the storage condition of this second spatial cache is less than predetermined threshold value, then from the first spatial cache In transfer multi-medium data bag and be stored in the second spatial cache.
It is understood that in the present embodiment, be provided with the first spatial cache and the second spatial cache two from equipment Spatial cache.
Such as, from equipment can in real time or receive main equipment send multi-medium data bag time, simultaneously to second delay The storage condition depositing space detects, and when the storage condition of the second spatial cache is less than predetermined threshold value, then can delay from first Deposit and space is transferred multi-medium data bag and is stored in this second spatial cache.
It should be noted that in the embodiment of the present invention, this first spatial cache main matching network transmission data and master The rhythm of equipment sending data, it is ensured that the control of main equipment and the fluctuation of network state can quickly be responded;This second caching The rhythm synchronizing to play regulation is mainly mated in space, guarantee many machine sowings is fine-tuned by stretch packet, compression etc. Synchronize between the stream put.
Additionally, it is contemplated that " first ", " second " etc. that occur in the embodiment of the present invention is only used as difference illustrates Bright, its execution sequence etc. is not constituted and limit.
In step S104, when receiving play instruction, from this second spatial cache, obtain multi-medium data bag, and According to corresponding reproduction time information, multi-medium data bag is played out.
Such as, when receiving the play instruction that main equipment sends, from this second spatial cache, many matchmakers are obtained from equipment Volume data bag, and according to the reproduction time information comprised in multi-medium data bag, multi-medium data bag is played out.
It is understood that the implementation played out multi-medium data bag according to corresponding reproduction time information has very Many, in some embodiments, " playing out multi-medium data bag according to corresponding reproduction time information " can specifically include:
A the multi-medium data bag corresponding reproduction time information of acquisition is mated by () with the standard time, mated Result.
B multi-medium data bag is played out by () according to this matching result.
Wherein, " multi-medium data bag being played out according to this matching result " (i.e. step (b)), can specifically include:
(b1) if the match is successful in matching result instruction, then directly corresponding multi-medium data bag is played out.
(b2) if matching result instruction coupling is unsuccessful, then this multi-medium data bag is carried out flexible process, is processed After multi-medium data bag so that the actual play time of multi-medium data bag mated with the standard time;And after to this process Multi-medium data bag plays out.
It is to say, after obtaining multi-medium data bag from equipment from this second spatial cache, first reproduction time is believed Breath is unified, if with the standard time mates, then directly can play out corresponding multi-medium data bag;If with mark Do not mate between Zhun Shi, then can first be adjusted to coupling, then the multi-medium data bag after this adjustment process is played out.
Wherein, the operation adjusting this multi-medium data bag includes stretching and compression, so that the multi-medium data after Chu Liing The reproduction time of bag mated with the standard time.
That is, in this embodiment, the second spatial cache mainly mates the rhythm synchronizing to play regulation, by multi-medium data Bag carries out stretching, compression etc. is fine-tuned between the stream that can significantly ensure that many device plays synchronization.
From the foregoing, the player method of multi-medium data that the present embodiment provides, be provided with the first spatial cache and Second spatial cache two spatial cache, by receiving the first spatial cache that multi-medium data bag caching is extremely preset, wherein should Multi-medium data bag comprises reproduction time information;The storage condition of the second default spatial cache is detected in real time, if the The storage condition of two spatial caches is less than predetermined threshold value, then transfer multi-medium data bag from the first spatial cache and be stored in second Spatial cache;When receiving play instruction, from this second spatial cache, obtain multi-medium data bag, and play according to corresponding Multi-medium data bag is played out by temporal information, and owing to being provided with two spatial caches, one is used for the equipment that manages and caches, and one Individual for synchronize play regulation, effectively reduce system resources consumption, also improve simultaneously multiple equipment synchronize play essence Degree.
According to the method described by above-described embodiment, below citing is described in further detail.
First, in the Play System to the present embodiment multi-medium data, each playback equipment is simply introduced, as referred to Fig. 2, for the scene schematic diagram of Play System (can be called for short Play System) of the multi-medium data that the present embodiment provides, including multiple Playback equipment, the plurality of playback equipment can include that the playback equipment of a main equipment and multiple subordinate (can be called for short from setting Standby), wherein, this playback equipment can be specially mobile phone, audio amplifier or all kinds of player, etc..
It is understood that the present embodiment can pass through NTP (Network Time Protocol) or SNTP (Simple Network Time Protocol) agreement, the clock of each playback equipment in Play System.Synchronizing to play it is In system, there is a playback equipment to be responsible for and control terminal (such as smart mobile phone etc.) communication, performing from the control life controlling terminal Other playback equipment made and be transmitted in Play System, this playback equipment also can be by Play System and each playback equipment simultaneously Status information return to control terminal, be responsible for these work playback equipment be referred to as main equipment, other playback equipment can claim Be from equipment.Each performs NTP or SNTP agreement from equipment periodic, and main equipment synchronised clock, so that each is play The clock of equipment is basically identical.
It addition, in this Play System, have a playback equipment to be responsible for the distribution of voice data, source device can be referred to as. Source device from the Internet, LAN, local memory and external memory storage or the analogue audio frequency after Analog-digital Converter defeated Enter, it is thus achieved that voice data.Source device voice data is split into one by one Frame and be distributed to each from equipment, each data The reproduction time of frame is identical.Wherein source device and above-mentioned main equipment, can be same playback equipment, it is also possible to be different broadcasting Put equipment.
As in figure 2 it is shown, source device and main equipment are same playback equipment in the embodiment of the present invention, wherein, should be from equipment Be mainly used in receive main equipment send need play multi-medium data bag, and by this multi-medium data bag caching to preset First spatial cache, wherein comprises the reproduction time information of multi-medium data bag in this multi-medium data bag;Then, to from equipment In the storage condition of the second spatial cache preset detect;If detecting, the storage condition of the second spatial cache is less than presetting Threshold value, then transfer multi-medium data bag from the first spatial cache and be stored in the second spatial cache;When receive main equipment or When controlling the play instruction that terminal sends, from this second spatial cache, obtain multi-medium data bag, and according to when playing accordingly Between information multi-medium data bag is played out.
Main equipment is mainly used in being decoded source data, obtains needing the multi-medium data of broadcasting and sending to from setting Standby, so that this multi-medium data being cached to the first default spatial cache from equipment;Broadcasting of terminal transmission is controlled when receiving When putting instruction, this play instruction is transferred to from equipment, so that obtaining multimedia from the second default spatial cache from equipment Packet plays out, etc..
It addition, this Play System can also include controlling terminal (such as smart mobile phone etc.), main being responsible for is carried out with main equipment Communication, and, receive Play System and the status information of each playback equipment of main equipment feedback, etc..
As in figure 2 it is shown, first the needs needing multi-medium data and these part data play can be broadcast by main equipment The reproduction time put is packaged as packet, and is numbered, and obtains the multi-medium data bag comprising number information, and by sending out Module is sent to be sent to slave.
Making a concrete analysis of from the playing flow of equipment below, can refer to Fig. 3, Fig. 3 in the lump is that the embodiment of the present invention carries Another schematic flow sheet of the player method of the multi-medium data of confession.The method includes:
In step s 201, communicate with the sending module foundation of main equipment from the receiver module of equipment, receive and independently set Standby multi-medium data bag.
Wherein, this multi-medium data bag includes reproduction time information and the number information of multi-medium data bag.
In step S202, when receiving multi-medium data bag from equipment receiver module, from equipment buffer control module This multi-medium data bag is taken away from receiver module.
Can be concrete, when receiving multi-medium data bag from equipment receiver module, from equipment buffer control module immediately This multi-medium data bag is taken away from receiver module so that receiver module can prepare again to receive multi-medium data bag.
If it is understood that after receiver module receives multi-medium data bag, multi-medium data bag is not by quickly Take away, then multi-medium data bag is long-pending may be pressed in receiver module by heap, and receiver module can not receive multi-medium data bag again, can Can cause missing multi-medium data, the sending module even having influence on main equipment causes obstruction, impact to play.
In step S203, from equipment buffer control module, the multi-medium data bag got from receiver module is stored in first Spatial cache.
In step S204, detect the multi-medium data packet number being stored in from equipment buffer control module, and first delays Deposit the water level conditions in space.
Can be concrete, the multi-medium data bag got from receiver module is stored in the first spatial cache by buffer control module, And detect multi-medium data packet number, and the water level conditions of the first spatial cache.
When the numbering of multi-medium data bag occurs abnormal, i.e. because the reasons such as Network Packet Loss make current multimedia data bag Time discontinuous with previous multi-medium data bag, buffer control module retransmits multimedia number by receiver module notice main equipment According to bag.
When the water level of the first spatial cache touches upper limit water level (as default storage is worth), buffer control module is by receiving mould Block notice main equipment time-out or the transmission multi-medium data bag that slows down, wait that caching consumes.
It is understood that in the present embodiment, this first spatial cache main matching network transmission data and main equipment Send the rhythm of multi-medium data bag, it is ensured that the multi-medium data bag of main equipment is sent and the ripple of network state by receiver module Kinetic energy quickly responds.
In step S205, constantly detect the water level conditions of the second spatial cache from device data Switching Module, when second When the water level conditions of spatial cache is less than predetermined threshold value, from the first spatial cache, takes out multi-medium data bag be stored in the second caching Space.
Such as, the water level conditions of constantly detection the second spatial cache that can be real-time from device data Switching Module, when second Data cached in spatial cache is consumed, and during as consumed remainder value less than predetermined threshold value, takes in time from the first spatial cache Go out multi-medium data bag and be stored in the second spatial cache.
In step S206, synchronize to play control module from equipment from the second spatial cache, take out multi-medium data bag.
In step S207, synchronize to play control module from equipment and obtain the reproduction time information of this multi-medium data bag, With standard time phase comparison.
Such as, when receiving the play instruction that main equipment sends, from this second spatial cache, many matchmakers are obtained from equipment Volume data bag, and according to the reproduction time information comprised in multi-medium data bag and standard time phase comparison, mate according to comparison As a result, multi-medium data bag is played out.
Wherein, if reproduction time information was mated with the standard time, then perform step S208, if reproduction time information and standard Time does not mates, then perform step S209 and step S210.
In step S208, if coupling, then synchronize to play control module and the transmission of multi-medium data bag is exported to from equipment Module plays output.
In step S209, if not mating, then synchronize to play control module and multi-medium data bag stretched or compresses, So that the reproduction time information of the multi-medium data bag after Chu Liing was mated with the standard time.
In step S210, synchronize to play the multi-medium data bag transmission after control module will process and export mould to from equipment Block plays output.
Can be concrete, synchronize to play control module from equipment and from the second spatial cache, take out multi-medium data bag, from many Media data packet obtains the reproduction time of this multi-medium data bag, with standard time phase comparison, determines and carry out when the two mates Play.
If packet reproduction time did not mated with the standard time, then synchronizing to play control module needs multi-medium data Bag stretch or compress, change its play time loss so that it is after multi-medium data bag reproduction time and the standard time Can gradually mate.
It is understood that in the present embodiment, this second spatial cache mainly mates the rhythm synchronizing to play regulation, because Synchronize broadcasting regulation and change the time loss that multi-medium data bag is broadcast, so the consumption for the second spatial cache is suddenly fast neglecting slowly 's.
Due to, existing scheme is mainly by first carrying out time synchronized before synchronizing to play, and then main equipment is at packet It is sent to the reproduction time of packing data bag in the packet before equipment, receives packet from equipment in real time, and mate number Carry out Tong Bu broadcasting, i.e. spatial cache according to the reproduction time of bag with system time need to manage equipment caching simultaneously and carry out same Step plays regulation.
And the intelligent multimedia system synchronized between the new network flow that the present embodiment provides, each (sets when main from equipment Standby self time also receiving media data synchronizes to play also simultaneously as from equipment) receiving multi-medium data bag and synchronizing to play Time, data buffer storage and synchronization are play regulation and are not interfere with each other, i.e. from equipment according to media number to use two spatial caches to ensure According to flowing away to being decomposed into " receiver module → buffer control module → the first spatial cache → data exchange module → the second caching sky Between → synchronize to play control module → output module ".
Wherein the first spatial cache main matching network transmission data and main equipment send the rhythm of data, it is ensured that to master The control of equipment and the fluctuation of network state can quickly respond;Second spatial cache mainly mates the joint synchronizing to play regulation Play, synchronization is fine-tuned between the stream ensureing many device plays by packet is stretched, compression etc..
During it should be noted that be embodied as, above modules can realize as independent entity, it is also possible to enters Row combination in any, realizes as same or several entities, is not especially limited at this.
From the foregoing, the player method of multi-medium data that the present embodiment provides, be provided with the first spatial cache and Second spatial cache two spatial cache, by receiving the first spatial cache that multi-medium data bag caching is extremely preset, wherein should Multi-medium data bag comprises reproduction time information;The storage condition of the second default spatial cache is detected in real time, if the The storage condition of two spatial caches is less than predetermined threshold value, then transfer multi-medium data bag from the first spatial cache and be stored in second Spatial cache;When receiving play instruction, from this second spatial cache, obtain multi-medium data bag, and play according to corresponding Multi-medium data bag is played out by temporal information, and owing to being provided with two spatial caches, one is used for the equipment that manages and caches, and one Individual for synchronize play regulation, effectively reduce system resources consumption, also improve simultaneously multiple equipment synchronize play essence Degree.Can be concrete, one, two caching two functional modules of reply respectively, it is to avoid the phase because two module operational modes are different Disturb work rhythm mutually, it is ensured that synchronize the synchronization accuracy play;Two, when mistake occurs in certain module, another module can make Keep normal work with its corresponding caching, wait that error module recovers;Three, two spatial caches separate and control, and are expanding Turn avoid management while total buffer memory and cache greatly the problem that the system resources consumption caused is excessive.
For ease of preferably implementing the player method of the multi-medium data that the embodiment of the present invention provides, the embodiment of the present invention is also Device and the system of a kind of player method based on above-mentioned multi-medium data are provided.The wherein implication of noun and above-mentioned multimedia In the method for the broadcasting of data identical, implement the explanation that details is referred in embodiment of the method.
Refer to the structural representation of the playing device of the multi-medium data that Fig. 4, Fig. 4 provide for the embodiment of the present invention, should The playing device 300 of multi-medium data may include that reception unit the 301, first detector unit 302, transfers unit 303 and broadcast Put unit 304.
Wherein, receive unit 301, for receiving the multi-medium data bag needing to play, and this multi-medium data bag is delayed Depositing to the first default spatial cache, this multi-medium data bag comprises the reproduction time information of multi-medium data bag.
Such as, communicate with main equipment foundation from equipment, receive the multi-medium data bag needing to play that main equipment sends, and Caching the multi-medium data bag of main equipment to the first spatial cache preset, wherein, this multi-medium data bag comprises multimedia The reproduction time information of packet.
First detector unit 302, for detecting the storage condition of the second default spatial cache.Transfer unit 303, if the storage condition for this second spatial cache is less than predetermined threshold value, then from this first spatial cache, transfer multimedia Packet is also stored in the second spatial cache.
It is understood that in the present embodiment, be provided with the first spatial cache and the second spatial cache two from equipment Spatial cache.
Such as, from equipment can in real time or receive main equipment send multi-medium data bag time, simultaneously to second delay The storage condition depositing space detects, and when the storage condition of the second spatial cache is less than predetermined threshold value, then can delay from first Deposit and space is transferred multi-medium data bag and is stored in this second spatial cache.
It should be noted that in the embodiment of the present invention, this first spatial cache main matching network transmission data and master The rhythm of equipment sending data, it is ensured that the control of main equipment and the fluctuation of network state can quickly be responded;This second caching The rhythm synchronizing to play regulation is mainly mated in space, guarantee many machine sowings is fine-tuned by stretch packet, compression etc. Synchronize between the stream put.
Additionally, it is contemplated that " first ", " second " etc. that occur in the embodiment of the present invention is only used as difference illustrates Bright, its execution sequence etc. is not constituted and limit.
Broadcast unit 304, for when receiving play instruction, obtains multi-medium data from this second spatial cache Bag, and according to corresponding reproduction time information, multi-medium data bag is played out.
Such as, when receiving the play instruction that main equipment sends, from this second spatial cache, many matchmakers are obtained from equipment Volume data bag, and according to the reproduction time information comprised in multi-medium data bag, multi-medium data bag is played out.
In some embodiments, this multi-medium data bag can also comprise the corresponding number information of multi-medium data bag; See also another structural representation of the playing device of the multi-medium data that Fig. 5, Fig. 5 provide for the embodiment of the present invention, should The playing device 400 of multi-medium data can also include:
Second detector unit 305, for detecting the number information of multi-medium data bag.
First transmitting element 306, if abnormal for detecting that this number information occurs, then sending re-transmission to main equipment please Ask, so that main equipment resends corresponding multi-medium data bag according to this repeat requests.
Such as, before sending, at main equipment, the multi-medium data bag needing to play, it is also possible to the multimedia play will be needed The played reproduction time that needs of data and these part data is packaged as packet, and is numbered, and obtains comprising numbering The multi-medium data bag of information, and be sent to from equipment.
It is understood that because the reasons such as Network Packet Loss make the previous multi-medium data of current multimedia data Bao Buyu When bag continuous print, it is believed that number information occurs abnormal, then can notify that main equipment retransmits this multi-medium data from equipment Bag.
As it is shown in figure 5, in some embodiments, the playing device 400 of this multi-medium data can also include:
3rd detector unit 307, for detecting the storage condition of this first spatial cache.
Second transmitting element 308, if the storage condition for this first spatial cache reaches to preset storage value, then sets to master Standby transmission speed adjustment information, so that this main equipment calls corresponding transmission speed according to this speed adjustment information sends multimedia Packet.
Such as, from equipment can in real time or receive main equipment send multi-medium data bag time, to first caching sky Between storage condition detect, when the storage condition of the first spatial cache reach preset storage value, then can notify main equipment Suspend or slow down transmission multi-medium data bag.
It is understood that what multi-medium data bag was played out by broadcast unit 304 according to corresponding reproduction time information Implementation has a lot, and in some embodiments, this broadcast unit 304 can specifically include:
Coupling subelement 3041, for entering the multi-medium data bag corresponding reproduction time information of acquisition with the standard time Row coupling, obtains matching result.
Play subelement 3042, for multi-medium data bag being played out according to this matching result.
Wherein, this broadcasting subelement 3042, if can indicate specifically for matching result, the match is successful, then directly to accordingly Multi-medium data bag play out;If matching result instruction coupling is unsuccessful, then this multi-medium data bag is carried out flexible place Reason, the multi-medium data bag after being processed, so that the actual play time of multi-medium data bag mated with the standard time;To this Multi-medium data bag after process plays out.
It is to say, after obtaining multi-medium data bag from equipment from this second spatial cache, first reproduction time is believed Breath is unified, if with the standard time mates, then directly can play out corresponding multi-medium data bag;If with mark Do not mate between Zhun Shi, then can first be adjusted to coupling, then the multi-medium data bag after this adjustment process is played out.
Wherein, the operation adjusting this multi-medium data bag includes stretching and compression, so that the multi-medium data after Chu Liing The reproduction time of bag mated with the standard time.
That is, in this embodiment, the second spatial cache mainly mates the rhythm synchronizing to play regulation, by multi-medium data Bag carries out stretching, compression etc. is fine-tuned between the stream that can significantly ensure that many device plays synchronization.
When being embodied as, above unit can realize as independent entity, it is also possible to carries out combination in any, makees Realize for same or several entities, the embodiment of the method being embodied as can be found in above of above unit, at this not Repeat again.
The playing device of this multi-medium data specifically can be integrated in the playback equipment of the subordinate of Play System (i.e. from setting Standby) in, such as the equipment containing playing module such as mobile phone, panel computer, audio amplifier, all kinds of players.
From the foregoing, the playing device of multi-medium data that the present embodiment provides, be provided with the first spatial cache and Second spatial cache two spatial cache, by receiving the first spatial cache that multi-medium data bag caching is extremely preset, wherein should Multi-medium data bag comprises reproduction time information;The storage condition of the second default spatial cache is detected in real time, if the The storage condition of two spatial caches is less than predetermined threshold value, then transfer multi-medium data bag from the first spatial cache and be stored in second Spatial cache;When receiving play instruction, from this second spatial cache, obtain multi-medium data bag, and play according to corresponding Multi-medium data bag is played out by temporal information, and owing to being provided with two spatial caches, one is used for the equipment that manages and caches, and one Individual for synchronize play regulation, effectively reduce system resources consumption, also improve simultaneously multiple equipment synchronize play essence Degree.
It addition, the present invention also provides for the Play System of a kind of multi-medium data, refer to multi-medium data as shown in Figure 2 Play System, including the playback equipment (be called for short from equipment) of main equipment and multiple subordinate, the wherein playback equipment of this subordinate Simultaneously playing device including arbitrary playback equipment that example performed as described above is provided.
Such as, it is mainly used in receiving the multi-medium data bag needing to play that main equipment sends from equipment, and by these many matchmakers Volume data bag caching is to the first spatial cache preset, when wherein comprising the broadcasting of multi-medium data bag in this multi-medium data bag Between information;Then, the storage condition of the second spatial cache preset from equipment is detected;If detecting, the second caching is empty Between storage condition less than predetermined threshold value, then from the first spatial cache, transfer multi-medium data bag and to be stored in the second caching empty Between;When receiving main equipment or controlling the play instruction of terminal transmission, from this second spatial cache, obtain multimedia number According to bag, and according to corresponding reproduction time information, multi-medium data bag is played out.
In some embodiments, from equipment by this multi-medium data bag caching to the first default spatial cache it After, the number information of multi-medium data bag is detected;If it is abnormal to detect that this number information occurs, then send to main equipment Repeat requests, so that main equipment resends corresponding multi-medium data bag according to this repeat requests.
Further, after by this multi-medium data bag caching to the first spatial cache preset, it is also possible to this The storage condition of one spatial cache detects;If the storage condition of this first spatial cache reaches to preset storage value, then to master Equipment transmission speed adjustment information, so that this main equipment calls corresponding transmission speed according to this speed adjustment information sends many matchmakers Volume data bag.
In some embodiments, can be by the multi-medium data bag corresponding reproduction time information obtained and mark from equipment Mate between Zhun Shi, obtain matching result;According to this matching result, multi-medium data bag is played out.
Such as, if the match is successful in matching result instruction, then corresponding multi-medium data bag is directly broadcast by processor 508 Put;If matching result instruction coupling is unsuccessful, then processor 508 carries out flexible process to this multi-medium data bag, is processed After multi-medium data bag so that the actual play time of multi-medium data bag mated with the standard time;To many after this process Media data packet plays out.
It addition, this system also includes main equipment, main equipment is mainly used in being decoded source data, obtains needing broadcasting Multi-medium data also sends to from equipment, so that caching this multi-medium data to the first default spatial cache from equipment;When Receive when controlling play instruction that terminal sends, this play instruction is transferred to from equipment, so that from equipment from default the Two spatial caches obtain multi-medium data bag play out, etc..
It is understood that the structure of the playing device of this multi-medium data and functional realiey may refer to above with respect to The detailed description of the playing device of multi-medium data, here is omitted.
The present invention also provides for a kind of terminal, and such as terminals such as panel computer, mobile phone, audio amplifiers, referring to Fig. 6, Fig. 6 is the present invention The terminal structure schematic diagram that embodiment provides.This terminal 500 can include radio frequency (RF, Radio Frequency) circuit 501, Include the memorizer 502 of one or more computer-readable recording mediums, input block 503, display unit 504, pass Sensor 504, voicefrequency circuit 506, Wireless Fidelity (WiFi, Wireless Fidelity) module 507, include one or one The parts such as the individual above processor 508 processing core and power supply 509.It will be understood by those skilled in the art that shown in Fig. 6 Terminal structure be not intended that the restriction to terminal, can include that ratio illustrates more or less of parts, or combine some portion Part, or different parts layouts.
Radio circuit 501 can be used for receiving and sending messages, or the reception of signal and transmission in communication process, especially, by base station Downlink information receive after, transfer to one or more than one processor 508 process;It addition, send relating to up data To base station.Generally, radio circuit 501 includes but not limited to antenna, at least one amplifier, tuner, one or more vibration Device, subscriber identity module (SIM, Subscriber Identity Module) card, transceiver, bonder, low noise amplification Device (LNA, Low Noise Amplifier), duplexer etc..Additionally, radio circuit 501 can also pass through radio communication and network Communicate with other equipment.This radio communication can use arbitrary communication standard or agreement, includes but not limited to global system for mobile telecommunications System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division many Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memorizer 502 can be used for storing application program and data.The application program of memorizer 502 storage includes and can hold Line code.Application program can form various functional module.Processor 508 is stored in the application journey of memorizer 502 by operation Sequence, thus perform the application of various function and data process.Memorizer 502 can mainly include storing program area and storage data District, wherein, storage program area can store application program needed for operating system, at least one function (such as sound-playing function, Image player function etc.) etc.;Storage data field can store data (the such as voice data, electricity that the use according to terminal is created Script for story-telling etc.) etc..Additionally, memorizer 502 can include high-speed random access memory, it is also possible to include nonvolatile memory, For example, at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memorizer 502 is also Memory Controller can be included, to provide processor 508 and the input block 503 access to memorizer 502.
Input block 503 can be used for receiving numeral, character information or the user's characteristic information (such as fingerprint) of input, and Produce keyboard, mouse, action bars, optics or the trace ball signal input relevant with user setup and function control.Specifically Ground, in a specific embodiment, input block 503 can include Touch sensitive surface and other input equipments.Touch sensitive surface, also Be referred to as touching display screen or Trackpad, can collect user thereon or neighbouring touch operation (such as user uses finger, touches Any applicable object or the adnexa operations on Touch sensitive surface or near Touch sensitive surface such as pen), and according to set in advance Formula drives corresponding attachment means.Optionally, Touch sensitive surface can include touch detecting apparatus and two parts of touch controller. Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, transmit a signal to touch Controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives process Device 508, and order that processor 508 sends can be received and performed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray And the polytype such as surface acoustic wave realizes Touch sensitive surface.Except Touch sensitive surface, input block 503 can also include that other input Equipment.Specifically, other input equipments can include but not limited to physical keyboard, function key (such as volume control button, switch Button etc.), fingerprint recognition module, trace ball, mouse, one or more in action bars etc..
Display unit 504 can be used for the various of the information that inputted by user of display or the information being supplied to user and terminal Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display Unit 504 can include display floater.Optionally, can use liquid crystal display (LCD, Liquid Crystal Display), The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display floater.Further , Touch sensitive surface can cover display floater, when Touch sensitive surface detects thereon or after neighbouring touch operation, sends process to Device 508, to determine the type of touch event, provides corresponding with preprocessor 508 according to the type of touch event on a display panel Visual output.Although in figure 6, Touch sensitive surface and display floater are to realize input and input as two independent parts Function, but in some embodiments it is possible to by integrated to Touch sensitive surface and display floater and realize input and output function.
Terminal may also include at least one sensor 505, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light Light and shade regulate the brightness of display floater, proximity transducer can cut out display floater and/or the back of the body when terminal moves in one's ear Light.As the one of motion sensor, Gravity accelerometer can detect (generally three axles) acceleration in all directions Size, can detect that size and the direction of gravity time static, can be used for identify mobile phone attitude application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;Can also configure as terminal Gyroscope, barometer, drimeter, thermometer, other sensors such as infrared ray sensor, do not repeat them here.
Voicefrequency circuit 506 can pass through speaker, microphone provides the audio interface between user and terminal.Voicefrequency circuit The voice data received can be converted into the signal of telecommunication by 506, is transferred to speaker, speaker be converted to acoustical signal output; On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone, voicefrequency circuit 506 be converted to audio frequency number after receiving According to, then after voice data output processor 508 is processed, through radio circuit 501 to be sent to such as another terminal, or by sound Frequency is according to exporting to memorizer 502 to process further.Voicefrequency circuit 506 is also possible that earphone jack, to provide peripheral hardware Earphone and the communication of terminal.
Wireless Fidelity (WiFi) belongs to short range wireless transmission technology, and terminal can be helped by wireless fidelity module 507 User sends and receive e-mail, browses webpage and access streaming video etc., and it has provided the user wireless broadband internet and has accessed. Although Fig. 6 shows wireless fidelity module 507, but it is understood that, it is also not belonging to must be configured into of terminal, completely may be used To omit in not changing the scope of essence of invention as required.
Processor 508 is the control centre of terminal, utilizes various interface and the various piece of the whole terminal of connection, logical Cross operation or perform to be stored in the application program in memorizer 502, and calling the data being stored in memorizer 502, performing The various functions of terminal and process data, thus terminal is carried out integral monitoring.Optionally, processor 508 can include one or Multiple process cores;Preferably, processor 508 can integrated application processor and modem processor, wherein, application processor Mainly processing operating system, user interface and application program etc., modem processor mainly processes radio communication.It is appreciated that , above-mentioned modem processor can not also be integrated in processor 508.
Terminal also includes the power supply 509 (such as battery) powered to all parts.Preferably, power supply can pass through power supply pipe Reason system is logically contiguous with processor 508, thus realizes management charging, electric discharge and power managed by power-supply management system Etc. function.Power supply 509 can also include one or more direct current or alternating current power supply, recharging system, power failure inspection Slowdown monitoring circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown in Fig. 6, terminal can also include photographic head, bluetooth module etc., does not repeats them here.
The most in the present embodiment, the processor 508 in terminal can be according to following instruction, by one or more The executable code that the process of application program is corresponding is loaded in memorizer 502, and is run by processor 508 and be stored in storage Application program in device 502, thus realize various function:
Receive the multi-medium data bag needing to play, and by this multi-medium data bag caching to the first caching sky preset Between, this multi-medium data bag comprises the reproduction time information of multi-medium data bag;Storage feelings to the second default spatial cache Condition detects;If the storage condition of this second spatial cache is less than predetermined threshold value, then transfer many from this first spatial cache Media data packet is also stored in the second spatial cache;When receiving play instruction, from this second spatial cache, obtain multimedia Packet, and according to corresponding reproduction time information, multi-medium data bag is played out.
In some embodiments, this multi-medium data bag also comprises the corresponding number information of multi-medium data bag, processes Device 508 also runs and is stored in the application program in memorizer 502, thus implements function such as:
After by this multi-medium data bag caching to the first spatial cache preset, the numbering of multi-medium data bag is believed Breath detects;If it is abnormal to detect that this number information occurs, then send repeat requests to main equipment, so that main equipment is according to being somebody's turn to do Repeat requests resends corresponding multi-medium data bag.
Further, after by this multi-medium data bag caching to the first spatial cache preset, it is also possible to this The storage condition of one spatial cache detects;If the storage condition of this first spatial cache reaches to preset storage value, then to master Equipment transmission speed adjustment information, so that this main equipment calls corresponding transmission speed according to this speed adjustment information sends many matchmakers Volume data bag.
In some embodiments, processor 508 is by the multi-medium data bag corresponding reproduction time information obtained and mark Mate between Zhun Shi, obtain matching result;According to this matching result, multi-medium data bag is played out.
Such as, if the match is successful in matching result instruction, then corresponding multi-medium data bag is directly broadcast by processor 508 Put;If matching result instruction coupling is unsuccessful, then processor 508 carries out flexible process to this multi-medium data bag, is processed After multi-medium data bag so that the actual play time of multi-medium data bag mated with the standard time;To many after this process Media data packet plays out.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has the portion described in detail in certain embodiment Point, may refer to the detailed description of the player method above with respect to multi-medium data, here is omitted.
The playing device of this multi-medium data that the embodiment of the present invention provides is such as computer, panel computer, it is tactile to have Mobile phone touching function etc., the playing device of this multi-medium data belongs to the player method of the multi-medium data in foregoing embodiments In same design, the playing device of this multi-medium data can run in the player method embodiment of this multi-medium data and carry The either method of confession, it implements process and refers to the player method embodiment of this multi-medium data, and here is omitted.
It should be noted that for the player method of this multi-medium data of the present invention, this area common test personnel can To understand all or part of flow process of the player method realizing this multi-medium data of the embodiment of the present invention, can be by computer The hardware that program controls to be correlated with completes, and this computer program can be stored in a computer read/write memory medium, as deposited Storage is in the memorizer of terminal, and is performed by least one processor in this terminal, can include as these are many in the process of implementation The flow process of the embodiment of the player method of media data.Wherein, this storage medium can be magnetic disc, CD, read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory) etc..
For the playing device of this multi-medium data of the embodiment of the present invention, its each functional module can be integrated in one Process in chip, it is also possible to be that modules is individually physically present, it is also possible to two or more modules are integrated in a mould In block.Above-mentioned integrated module both can realize to use the form of hardware, it would however also be possible to employ the form of software function module realizes. If this integrated module is using the form realization of software function module and as independent production marketing or use, it is also possible to deposit Storage is in a computer read/write memory medium, and this storage medium is such as read only memory, disk or CD etc..
The player method of a kind of multi-medium data, system and the relevant device that are thered is provided the embodiment of the present invention above are carried out Being discussed in detail, principle and the embodiment of the present invention are set forth by specific case used herein, above example Explanation be only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for those skilled in the art, foundation The thought of the present invention, the most all will change, and in sum, this specification content is not It is interpreted as limitation of the present invention.

Claims (12)

1. the player method of a multi-medium data, it is characterised in that including:
Receive the multi-medium data bag needing to play, and by described multi-medium data bag caching to the first spatial cache preset, Described multi-medium data bag comprises the reproduction time information of multi-medium data bag;
The storage condition of the second default spatial cache is detected;
If the storage condition of described second spatial cache is less than predetermined threshold value, then from described first spatial cache, transfer multimedia Packet is also stored in the second spatial cache;
When receiving play instruction, from described second spatial cache, obtain multi-medium data bag, and according to when playing accordingly Between information multi-medium data bag is played out.
The player method of multi-medium data the most according to claim 1, it is characterised in that described multi-medium data bag also wraps The corresponding number information of the bag containing multi-medium data;
Described by after described multi-medium data bag caching to the first spatial cache preset, also include:
The number information of multi-medium data bag is detected;
If it is abnormal to detect that described number information occurs, then send repeat requests to main equipment, so that main equipment is according to this re-transmission Request resends corresponding multi-medium data bag.
The player method of multi-medium data the most according to claim 1, it is characterised in that described by described multi-medium data After the first spatial cache that bag caching is extremely preset, also include:
The storage condition of described first spatial cache is detected;
If the storage condition of described first spatial cache reaches to preset storage value, then to main equipment transmission speed adjustment information, with Make described main equipment call corresponding transmission speed according to described speed adjustment information and send multi-medium data bag.
4. according to the player method of the multi-medium data described in any one of claims 1 to 3, it is characterised in that described according to phase Answer reproduction time information that multi-medium data bag is played out, including:
The multi-medium data bag corresponding reproduction time information of acquisition was mated with the standard time, obtains matching result;
According to described matching result, multi-medium data bag is played out.
The player method of multi-medium data the most according to claim 4, it is characterised in that described according to described matching result Multi-medium data bag is played out, including:
If the match is successful in matching result instruction, then directly corresponding multi-medium data bag is played out;
If matching result instruction coupling is unsuccessful, then this multi-medium data bag is carried out flexible process, the many matchmakers after being processed Volume data bag, so that the actual play time of multi-medium data bag mated with the standard time;To the multimedia number after described process Play out according to bag.
6. the playing device of a multi-medium data, it is characterised in that including:
Reception unit, for receiving the multi-medium data bag needing to play, and described multi-medium data bag caching is extremely preset First spatial cache, described multi-medium data bag comprises the reproduction time information of multi-medium data bag;
First detector unit, for detecting the storage condition of the second default spatial cache;
Transfer unit, if the storage condition for described second spatial cache is less than predetermined threshold value, then from described first caching sky Transfer multi-medium data bag between and be stored in the second spatial cache;
Broadcast unit, for when receiving play instruction, obtains multi-medium data bag, and root from described second spatial cache According to corresponding reproduction time information, multi-medium data bag is played out.
The playing device of multi-medium data the most according to claim 6, it is characterised in that described multi-medium data bag also wraps The corresponding number information of the bag containing multi-medium data;Described device also includes:
Second detector unit, for detecting the number information of multi-medium data bag;
First transmitting element, if abnormal for detecting that described number information occurs, then sends repeat requests to main equipment, so that Main equipment resends corresponding multi-medium data bag according to this repeat requests.
The playing device of multi-medium data the most according to claim 6, it is characterised in that described device also includes:
3rd detector unit, for detecting the storage condition of described first spatial cache;
Second transmitting element, if the storage condition for described first spatial cache reaches to preset storage value, then sends out to main equipment Send speed adjustment information, so that described main equipment calls corresponding transmission speed according to described speed adjustment information sends multimedia Packet.
9. according to the playing device of the multi-medium data described in any one of claim 6 to 8, it is characterised in that described broadcasting list Unit includes:
Coupling subelement, for the multi-medium data bag corresponding reproduction time information of acquisition was mated with the standard time, Obtain matching result;
Play subelement, for multi-medium data bag being played out according to described matching result.
The playing device of multi-medium data the most according to claim 9, it is characterised in that described broadcasting subelement, is used for If the match is successful in matching result instruction, then directly corresponding multi-medium data bag is played out;If matching result instruction coupling Unsuccessful, then carrying out this multi-medium data bag stretches processes, the multi-medium data bag after being processed, so that multi-medium data The actual play time of bag mated with the standard time;Multi-medium data bag after described process is played out.
11. 1 kinds of terminals, it is characterised in that including:
Storage has the memorizer of executable program code;
The processor coupled with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, performs if claim 1 is to right Require the method described in 5 any one.
The Play System of 12. 1 kinds of multi-medium datas, including main equipment and multiple subordinate playback equipment, it is characterised in that institute State subordinate playback equipment and include the playing device of the multi-medium data as described in any one of claim 6 to 10.
CN201610882859.9A 2016-10-08 2016-10-08 A kind of player method of multi-medium data, system and relevant device Active CN106254924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610882859.9A CN106254924B (en) 2016-10-08 2016-10-08 A kind of player method of multi-medium data, system and relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610882859.9A CN106254924B (en) 2016-10-08 2016-10-08 A kind of player method of multi-medium data, system and relevant device

Publications (2)

Publication Number Publication Date
CN106254924A true CN106254924A (en) 2016-12-21
CN106254924B CN106254924B (en) 2017-09-29

Family

ID=57611405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610882859.9A Active CN106254924B (en) 2016-10-08 2016-10-08 A kind of player method of multi-medium data, system and relevant device

Country Status (1)

Country Link
CN (1) CN106254924B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107016078A (en) * 2017-03-28 2017-08-04 北京金山安全软件有限公司 Advertisement information promotion method and device and electronic equipment
CN108243474A (en) * 2016-12-27 2018-07-03 华为技术有限公司 Data flow transmission method, apparatus and system
CN108833301A (en) * 2018-05-30 2018-11-16 杭州迪普科技股份有限公司 A kind of message processing method and device
CN111083555A (en) * 2019-10-12 2020-04-28 广州市保伦电子有限公司 IP network multimedia communication method, terminal, system and storage medium
CN114088108A (en) * 2020-08-24 2022-02-25 航天科工惯性技术有限公司 Test method, device and system and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272200A (en) * 2008-05-13 2008-09-24 中兴通讯股份有限公司 Multimedia stream synchronization caching method and system
CN102282828A (en) * 2009-01-16 2011-12-14 松下电器产业株式会社 buffer controller and radio communication terminal
CN103023809A (en) * 2012-12-28 2013-04-03 中国船舶重工集团公司第七0九研究所 Information system synchronous data processing method utilizing secondary buffer technology
CN103957431A (en) * 2014-04-30 2014-07-30 深圳创维数字技术股份有限公司 Streaming media transmission control method and streaming media server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272200A (en) * 2008-05-13 2008-09-24 中兴通讯股份有限公司 Multimedia stream synchronization caching method and system
CN102282828A (en) * 2009-01-16 2011-12-14 松下电器产业株式会社 buffer controller and radio communication terminal
CN103023809A (en) * 2012-12-28 2013-04-03 中国船舶重工集团公司第七0九研究所 Information system synchronous data processing method utilizing secondary buffer technology
CN103957431A (en) * 2014-04-30 2014-07-30 深圳创维数字技术股份有限公司 Streaming media transmission control method and streaming media server

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108243474A (en) * 2016-12-27 2018-07-03 华为技术有限公司 Data flow transmission method, apparatus and system
CN107016078A (en) * 2017-03-28 2017-08-04 北京金山安全软件有限公司 Advertisement information promotion method and device and electronic equipment
CN108833301A (en) * 2018-05-30 2018-11-16 杭州迪普科技股份有限公司 A kind of message processing method and device
CN111083555A (en) * 2019-10-12 2020-04-28 广州市保伦电子有限公司 IP network multimedia communication method, terminal, system and storage medium
CN111083555B (en) * 2019-10-12 2022-09-06 广州市保伦电子有限公司 IP network multimedia communication method, terminal, system and storage medium
CN114088108A (en) * 2020-08-24 2022-02-25 航天科工惯性技术有限公司 Test method, device and system and computer readable storage medium

Also Published As

Publication number Publication date
CN106254924B (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN106254903B (en) A kind of synchronous broadcast method of multi-medium data, apparatus and system
CN106411448B (en) Control method for playing back, device and terminal
CN105847996A (en) Video playing method and apparatus
CN103634717B (en) A kind of method, device and the terminal device of the control of utilization earphone
CN103699409B (en) Awakening state switching-in method, device and system for electronic device
CN106254924A (en) The player method of a kind of multi-medium data, system and relevant device
CN103559731B (en) Method and terminal for displaying lyrics under screen locking state
CN104967608B (en) Play method, mobile terminal and the fixed terminal of multimedia file
CN106448714A (en) Synchronous playing method of playing devices, apparatus and system thereof
CN103699309B (en) A kind of method for recording of synchronization video, device and mobile terminal
CN106653068B (en) A kind of playback method of audio data, device and terminal
CN103593247B (en) Method and device for data transmission
CN103473092A (en) Method and device for processing downloaded applications and terminal equipment
CN104238893A (en) Video preview image displaying method and device
CN104123276A (en) Method, device and system for intercepting popup windows in browser
CN106452643B (en) Control method for playing back, device, terminal and play system
CN106412664B (en) Multimedia synchronous plays method, apparatus, terminal and system
CN106341713A (en) Multimedia synchronous play method, apparatus and system, and terminal
CN106412625B (en) Multimedia synchronous plays method, apparatus, terminal and system
CN104243394A (en) Multimedia file playing method and device
CN104240710B (en) A kind of method, system and the terminal device of information transmission
CN103458064A (en) Method, device and terminal equipment for transmitting address information of multimedia information
CN104254020B (en) The player method of media data, device and terminal
CN105282628B (en) A kind of method and apparatus of video playing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.

CP01 Change in the name or title of a patent holder