CN106385611B - A kind of playback method of media data, apparatus and system - Google Patents

A kind of playback method of media data, apparatus and system Download PDF

Info

Publication number
CN106385611B
CN106385611B CN201610882854.6A CN201610882854A CN106385611B CN 106385611 B CN106385611 B CN 106385611B CN 201610882854 A CN201610882854 A CN 201610882854A CN 106385611 B CN106385611 B CN 106385611B
Authority
CN
China
Prior art keywords
media data
playback equipment
play
data packet
mark
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
CN201610882854.6A
Other languages
Chinese (zh)
Other versions
CN106385611A (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 CN201610882854.6A priority Critical patent/CN106385611B/en
Publication of CN106385611A publication Critical patent/CN106385611A/en
Application granted granted Critical
Publication of CN106385611B publication Critical patent/CN106385611B/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/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8106Monomedia components thereof involving special audio data, e.g. different tracks for different languages
    • H04N21/8113Monomedia components thereof involving special audio data, e.g. different tracks for different languages comprising music, e.g. song in MP3 format

Abstract

The present invention provides a kind of playback method of media data, apparatus and system, obtains media data from playback equipment, and handle the media data, obtains media data packet and its corresponding mark;The main playback equipment obtains the mark and its play time of media data packet to be played;According to the mark and its play time of media data packet to be played, play command is generated;And play command is sent from playback equipment to each;From playback equipment when the play time reaches, the corresponding media data packet of the mark is played according to the play command.Therefore, the present invention effectively reduces the occupancy to network bandwidth, and the present invention allows more to be played simultaneously from playback equipment under same wired bandwidth.In addition, respectively only needing to guarantee the integrality of the media data acquired in itself from playback equipment, therefore this programme broadcasting stability is more preferable.

Description

A kind of playback method of media data, apparatus and system
Technical field
The present invention relates to field of communication technology more particularly to a kind of playback methods of media data, apparatus and system.
Background technique
In the prior art, the one kind of intelligent multimedia system as smart home is often set by more intelligent multimedias Standby composition, these intelligent multimedia equipment can be controlled by Network Synchronization is performed simultaneously a certain item operation, for example synchronizes and broadcast Put a certain song.Regard the media data transmission of each intelligent multimedia equipment (such as playback equipment) as a media Stream, then being played simultaneously between multiple intelligent multimedia equipment, so that it may be interpreted as synchronizing between stream.
Existing main playback equipment control from playback equipment output media data be accomplished by by main playback equipment come Media data to be played is obtained, and is decoded, decoded media data is then re-packaged into data packet, and in number Data packet is then respectively transmitted to each from playback equipment by the timestamp that should be played according to the data packet is stamped in packet, from After playback equipment receives data packet, the timestamp in data packet is compared with the standard time, until the two matching by the data Packet output.It is above-mentioned due to being by main playback equipment to sending media data packet to be played from playback equipment, occupy More network bandwidth.
Therefore, it is necessary to propose a kind of new technical solution, to solve the above technical problems.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of playback methods of media data, apparatus and system, it is intended to solve It is certainly of the existing technology therefore to be occupied by main playback equipment to media data packet to be played is sent from playback equipment The problem of more network bandwidth.
In order to solve the above technical problems, the embodiment of the invention provides following technical schemes:
The embodiment of the invention provides a kind of playback methods of media data, comprising the following steps:
Obtain media data;
The media data is handled, media data packet and its corresponding mark are obtained;
The play command that the main playback equipment is sent is received, carries media data to be played in the play command The mark and its play time of packet;
When the play time reaches, the corresponding media data packet of the mark is played according to the play command.
In order to solve the above technical problems, the embodiment of the invention also provides following technical schemes:
The embodiment of the invention also provides a kind of playback methods of media data, comprising the following steps:
Obtain the mark and its play time of media data packet to be played;
According to the mark and its play time of the media data packet to be played, play command is generated;
Play command is sent from playback equipment to each, so that from playback equipment when the play time reaches, according to The play command plays the corresponding media data packet of the mark.
In order to solve the above technical problems, the embodiment of the invention also provides following technical schemes:
The embodiment of the invention also provides a kind of playing devices of media data, comprising:
Data acquisition module, for obtaining media data;
Processing module obtains media data packet and its corresponding mark for handling the media data;
Order receiver module carries in the play command for receiving the play command of the main playback equipment transmission There are the mark and its play time of media data packet to be played;
Playing module, for it is corresponding to play the mark according to the play command when the play time reaches Media data packet.
In order to solve the above technical problems, the embodiment of the invention also provides following technical schemes:
The embodiment of the invention also provides a kind of playing devices of media data, comprising:
Module is obtained, for obtaining the mark and its play time of media data packet to be played;
Order generation module, for the mark and its play time according to the media data packet to be played, generation is broadcast Put order;
Command sending module, for sending play command from playback equipment to each, so as to be broadcast from playback equipment described When putting time arrival, the corresponding media data packet of the mark is played according to the play command.
In order to solve the above technical problems, the embodiment of the invention also provides following technical schemes:
The embodiment of the invention also provides a kind of play systems of media data, comprising: a main playback equipment and it is multiple from Playback equipment;
Media data is obtained from playback equipment, and the media data is handled, media data packet and its right is obtained The mark answered;
The main playback equipment obtains the mark and its play time of media data packet to be played;According to described to be played Media data packet mark and its play time, generate play command;And play command is sent from playback equipment to each;
From playback equipment when the play time reaches, the corresponding media of the mark are played according to the play command Data packet.
In order to solve the above technical problems, the embodiment of the invention also provides following technical schemes:
The embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes memory and processor, described Memory is stored with the executable instruction of processor, and the processor is used to execute the instruction in the memory, described instruction For performing the following operations:
Obtain the mark and its play time of media data packet to be played;
According to the mark and its play time of the media data packet to be played, play command is generated;
Play command is sent from playback equipment to each, so that from playback equipment when the play time reaches, according to The play command plays the corresponding media data packet of the mark.
Compared with the existing technology, the playback method of media data provided by the invention, apparatus and system, are obtained from playback equipment Media data is taken, and the media data is handled, obtains media data packet and its corresponding mark;The main broadcaster, which is put, to be set The standby mark and its play time for obtaining media data packet to be played;According to the mark of the media data packet to be played and Its play time generates play command;And play command is sent from playback equipment to each;From playback equipment in the broadcasting Between when reaching, the corresponding media data packet of the mark is played according to the play command.Therefore, the present invention due to be by respectively from Playback equipment obtains media data and voluntarily decoded output, rather than it is existing by main playback equipment by decoded data point Hair, therefore the occupancy to network bandwidth is effectively reduced, the present invention allows more from broadcasting under same wired bandwidth Equipment is played simultaneously.In addition, respectively only need to guarantee the integrality of the media data acquired in itself from playback equipment, without The integrality of all data from playback equipment is distributed to by the guarantee of main playback equipment as existing scheme, therefore this programme is broadcast It is more preferable to put stability.Furthermore main playback equipment only needs to be sent intermittently correction message, therefore effectively mitigates the place of main playback equipment Manage pressure.Also, respectively respectively obtaining media data from playback equipment, relatively independent, an equipment failure will not feed through to it He shows scheme by main playback equipment for decoded data distribution from playback equipment, once an equipment breaks down, needs Main playback equipment is readjusted data and is sent, and all being played simultaneously from playback equipment are influenced.
Detailed description of the invention
Fig. 1 is the implementation process for the playback method based on the media data from playback equipment that the embodiment of the present invention one provides Schematic diagram.
Fig. 2 is the implementation process of the playback method provided by Embodiment 2 of the present invention based on the media data from playback equipment Schematic diagram.
Fig. 3 is the implementation process of the playback method for the media data based on main playback equipment that the embodiment of the present invention three provides Schematic diagram.
Fig. 4 is the interaction schematic diagram of the play system for the media data that the embodiment of the present invention four provides.
Fig. 5 is the module signal for the playing device based on the media data from playback equipment that the embodiment of the present invention five provides Figure.
Fig. 6 is the detailed module for the playing device based on the media data from playback equipment that the embodiment of the present invention five provides Schematic diagram.
Fig. 7 is the module signal of the playing device for the media data based on main playback equipment that the embodiment of the present invention six provides Figure.
Fig. 8 is the detailed module of the playing device for the media data based on main playback equipment that the embodiment of the present invention six provides Schematic diagram.
Fig. 9 is the structural schematic diagram for the mobile terminal that the embodiment of the present invention seven provides.
Specific embodiment
Please refer to the schema in attached drawing, wherein identical component symbol represents identical component, the principle of the present invention be with Implement to illustrate in a computing environment appropriate.The following description is based on exemplified specific implementation of the invention Example is not construed as the limitation present invention other specific embodiments not detailed herein.
The principle of the invention illustrates that be not represented as a kind of limitation, those skilled in the art can with above-mentioned text Solving plurality of step and operation as described below also may be implemented in hardware.The principle of the present invention uses many other wide usages Or specific purpose operation, communication environment or configuration are operated.
Embodiment one
Referring to Fig. 1, showing the playback method of media data provided in an embodiment of the present invention.
The playback method of the media data is applied to from playback equipment, specifically comprises the following steps:
In step s 102, media data is obtained.
Preferably, further include step S101 before step S102, receive the acquisition for the media data that main playback equipment is sent Path.In this way, respectively obtaining the media data from playback equipment according to the to acquisite approachs.
In the present embodiment, each from main playback equipment to each to acquisite approachs for sending media data from playback equipment It is voluntarily gone to obtain corresponding media data according to the to acquisite approachs from playback equipment.Due to it is each from playback equipment be all from same Path obtains media data, thus it is ensured that each media data obtained from playback equipment is consistent, establishes to synchronize Basis.
In step s 103, the media data is handled, obtains media data packet and its corresponding mark.
Step S103 is specifically included:
1, the media data is decoded.
2, decoded media data is packaged, obtains multiple media data packets.
3, according to preset order rule, serial number successively is marked to multiple media data packets.
For example, a media data is divided into 5 data packets, serial number 1 is put on to first data packet, to second data Packet puts on serial number 2, puts on serial number 3 to third data packet, puts on serial number 4 to fourth data packet, to the 5th data packet mark Upper serial number 5.First data packet, second data packet, third data packet, fourth data packet, the 5th data packet be according to Secondary connection, a complete media data is constituted, that is, constitutes a complete song.
Wherein, respectively from playback equipment using identical decoding rule, media data is decoded;And using identical Packetization rules are packaged decoded media data, obtain multiple media data packets;And it is advised using identical label Then, serial number is marked to multiple media data packets.Therefore, the data packet respectively obtained from playback equipment must be identical, and Respectively from the identical data packet of playback equipment, its serial number is identical.In this way, main playback equipment is only needed to each from playback equipment It sends sequence number, then identical media data packet just respectively can be played simultaneously from playback equipment.
In the present embodiment, master is received to work as by the data packet deposit caching that serial number is marked from playback equipment When the play command of playback equipment, corresponding data packet is read from the caching and carries out output broadcasting.
In step S104, receive the play command that the main playback equipment is sent, carried in the play command to The mark and its play time of the media data packet of broadcasting.
In the present embodiment, a suitable future time is arranged as the time for starting to play in main playback equipment, i.e., will Play time of the time as first data packet in caching, main playback equipment is according to the serial number and broadcasting of first data packet Time generates play command, and the play command is sent to all from playback equipment.
In step s105, when the play time reaches, it is corresponding that the mark is played according to the play command Media data packet.
Step S105 specifically:
11, the play time is compared with the standard time of local terminal.
12, when the standard time is consistent with the play time, play instruction is generated.
13, according to the play instruction, the corresponding media data packet of the mark is played.
After receiving play command from playback equipment, the standard time of local terminal is waited to reach the broadcasting of first data packet Time plays first data packet when reaching.
In the present embodiment, according to the play instruction, after the step of playing the mark corresponding media data packet, Further include:
21, when playing n-th media data packet, the play time of n-th media data packet is added into n-th media number According to the playing duration of packet, the play time of the N+1 media data packet is obtained;Wherein, N is positive integer.
22, the play time of the N+1 media data packet is compared with the standard time of local terminal.
23, when the standard time is consistent with the play time of the N+1 media data packet, play instruction is generated.
24, according to the play instruction, the N+1 media data packet is played;And so on, until media data The last one data packet finishes.
That is, adding first from playback equipment according to the play time of first data packet when playing first data packet The playing duration of a data packet obtains the play time of second data packet;When the play time of second data packet reaches, Play second media data packet;Then, when playing second data packet, from playback equipment broadcasting according to second data packet The time is put plus the playing duration of second data packet, obtains the play time of third data packet;When third data packet When play time reaches, third media data packet is played;And so on, until the last one data packet of a media data Finish (the 5th data packet i.e. in citing finishes).
Preferably, in order to avoid due to respectively not identical from the operating condition between playback equipment, cause from playback equipment it Between it is asynchronous play media data (that i.e. some broadcast from playback equipment is fast, some broadcast from playback equipment slow), then main broadcaster is put Equipment can send correction message from playback equipment to each according to demand, synchronous between each playback equipment to ensure.Specific implementation It is as follows:
The correction message that main playback equipment is sent is received, the correction message carries the mark of target packet and its broadcasts Put the time;It is corrected according to the mark of the target packet and its play time.
That is, main playback equipment timing, when reaching the preset time or counting the data packet of output to certain quantity, examine Consider the delay that correction message is transmitted in a network, the data packet that the selected following certain time will be exported is as correction Target, and the play time of the correction target packet is calculated according to the play time of the first data packet, in conjunction with the correction target The serial number and play time of data packet generate correction message, and the correction message are sent to all from playback equipment.It is main simultaneously Playback equipment starts timing again or starts the data packet count to output, to after a preset time or output certain After data packet, next correction target is selected again, to generate the corresponding correction message of the target, and the correction message is sent out It gives all from playback equipment.In this way, main playback equipment only needs to be sent intermittently correction message, therefore effective mitigation main broadcaster is put and is set Standby processing pressure.
Wherein, the step of being corrected according to the mark of the target packet and its play time, specifically includes:
31, the play time of the target packet is compared with the standard time of local terminal.
32, when the standard time is consistent with the target packet play time, play instruction is generated.
33, according to the play instruction, target packet is played.
It is understood, however, that the data packet serial number and its play time of follow-up play, with the target data after correction Subject to packet.
For example, target packet is X data packet, play time X1, then from playback equipment according to X number The playing duration that X data packet is added according to the play time X1 of packet, obtains the play time X2 of+1 data packet of X;Work as X2 When arrival, the corresponding data of+1 data packet of X are played, and so on.
From the foregoing, it will be observed that the playback method for the media data that the present embodiment one provides, by main playback equipment to each from broadcasting Put the to acquisite approachs that equipment sends media data;The media data is obtained from playback equipment according to the to acquisite approachs, and right The media data is handled, and media data packet and its corresponding mark are obtained;The main playback equipment obtains to be played The mark and its play time of media data packet;It is raw according to the mark and its play time of the media data packet to be played At play command;And play command is sent from playback equipment to each;From playback equipment when the play time reaches, according to The play command plays the corresponding media data packet of the mark.Therefore, the present invention is due to being by respectively obtaining from playback equipment Take media data and voluntarily decoded output, rather than it is existing by main playback equipment by decoded data distribution, therefore effectively Reduce the occupancy to network bandwidth, the present invention allows more to be played simultaneously from playback equipment under same wired bandwidth. In addition, respectively only need to guarantee the integrality of the media data acquired in itself from playback equipment, without as existing scheme that Sample is guaranteed the integrality for being distributed to all data from playback equipment by main playback equipment, therefore this programme plays stability more It is good.Furthermore main playback equipment only needs to be sent intermittently correction message, therefore effectively mitigates the processing pressure of main playback equipment.Also, Media data is respectively respectively obtained from playback equipment, relatively independent, an equipment failure will not feed through to other and set from broadcasting It is standby, and show scheme by main playback equipment for decoded data distribution, once an equipment breaks down, need main playback equipment It readjusts data to send, influences all being played simultaneously from playback equipment.
Embodiment two
Referring to Fig. 2, showing the playback method of media data provided in an embodiment of the present invention.
Using mobile phone as main playback equipment, be intelligent sound from playback equipment for, detailed description mobile phone controls multiple intelligence Energy sound equipment, synchronizes the realization process for playing same song:
In step s 201, each intelligent sound receives the to acquisite approachs of " most beautiful light " this song song that mobile phone is sent Http:// bd.kuwo.cn/yinyue/3280107? from=dq360.
In step S202, each intelligent sound voluntarily obtains the number of " most beautiful light " this song song according to the to acquisite approachs According to arrive local terminal.
In step S203, each intelligent sound is decoded the song data using identical decoding rule, to solution The song data after code is packaged using identical packetization rules, obtains 5 data packets;Then, using identical label Rule is successively marked serial number to this 5 data packets, obtains data packet 1, data packet 2, data packet 3, data packet 4, data packet 5。
In step S204, each intelligent sound receives the play command of mobile phone transmission, which is playback data 1 And the play time opens the beginning from 12.30 points.
In step S205, each intelligent sound detects local terminal current time, when current time 12.30 timesharing of arrival, then The corresponding audio data of output data packet 1 plays out.
In step S206, meanwhile, the broadcast start time that each intelligent sound calculates data packet 2 is 12.33 points, the number Broadcast start time according to packet 2 be at the beginning of data packet 1 12.30 points plus a length of 3 when playing needed for the data packet 1 Point, so the broadcast start time of data packet 2 is 12.33 points.
In step S207, when the current time of intelligent sound local terminal reaches 12.33 timesharing, then output data packet 2 is corresponding Audio data play out.And so on.Until data packet 5 finishes.
Preferably, in order to avoid due to the operating condition between each intelligent sound it is not identical, cause between intelligent sound not It is played simultaneously, then mobile phone can send correction message to each intelligent sound according to demand, it is same between each intelligent sound to ensure Step.
For example, intelligent sound A, when playing data packet 2, system time is 12.34 points, and intelligent sound B is being played When complete data packet 2, system time is 12.35 points, and intelligent sound C is when playing data packet 2, system time 12.34 Point, in this way, just causing intelligent sound B asynchronous with intelligent sound C and A, mobile phone exists in order to avoid subsequent asynchronous problem, that Mobile phone can send correction message to each intelligent sound, which is played data 3 and its play start time 12.36 Point, because the playing duration of data packet 2 is 3 points, then mobile phone divides according to the play time 12.30 of data packet 1 plus data packet 1 Duration 3 divide the duration 3 along with data packet 2 to divide, the play start time 12.36 for obtaining data packet 3 is divided.Therefore, each intelligence Sound equipment receive correction message after, the time reach 12.36 timesharing, playback data 3, then, at this point, due to data packet 3 Playing duration is 3 points, then each intelligent sound be according to subject to the information after correction, so, the play start time of data packet 4 12.39 points, and so on, until data packet 5 finishes.
From the foregoing, it will be observed that the playback method for the media data that the present embodiment two provides, due to being by respectively obtaining from playback equipment Take media data and voluntarily decoded output, rather than it is existing by main playback equipment by decoded data distribution, therefore effectively Reduce the occupancy to network bandwidth, the present invention allows more to be played simultaneously from playback equipment under same wired bandwidth. In addition, respectively only need to guarantee the integrality of the media data acquired in itself from playback equipment, without as existing scheme that Sample is guaranteed the integrality for being distributed to all data from playback equipment by main playback equipment, therefore this programme plays stability more It is good.Furthermore main playback equipment only needs to be sent intermittently correction message, therefore effectively mitigates the processing pressure of main playback equipment.Also, Media data is respectively respectively obtained from playback equipment, relatively independent, an equipment failure will not feed through to other and set from broadcasting It is standby, and show scheme by main playback equipment for decoded data distribution, once an equipment breaks down, need main playback equipment It readjusts data to send, influences all being played simultaneously from playback equipment.
Embodiment three
Referring to Fig. 3, showing the playback method of media data provided in an embodiment of the present invention.
The playback method of the media data is applied in main playback equipment, specifically comprises the following steps:
In step s 302, the mark and its play time of media data packet to be played are obtained.
Preferably, further include step S301 before step S302, send obtaining for media data from playback equipment to each Take path, so as to obtain the media data from playback equipment according to the to acquisite approachs, and to the media data at Reason, obtains media data packet and its corresponding mark.
Wherein, each to be set from broadcasting from main playback equipment to each to acquisite approachs for sending media data from playback equipment It is standby voluntarily to be gone to obtain corresponding media data according to the to acquisite approachs.Due to it is each be all to obtain from same path from playback equipment Media data is taken, thus it is ensured that each media data obtained from playback equipment is consistent, is laid a good foundation to synchronize.
In step S303, according to the mark and its play time of the media data packet to be played, generates and play life It enables.
In the present embodiment, a suitable future time is arranged as the time for starting to play in main playback equipment, i.e., will Play time of the time as first data packet in caching, main playback equipment is according to the serial number and broadcasting of first data packet Time generates play command, and the play command is sent to all from playback equipment.
In step s 304, play command is sent from playback equipment to each, so that from playback equipment in the broadcasting Between when reaching, the corresponding media data packet of the mark is played according to the play command.
Preferably, in order to avoid due to respectively not identical from the operating condition between playback equipment, cause from playback equipment it Between it is asynchronous play media data (that i.e. some broadcast from playback equipment is fast, some broadcast from playback equipment slow), then main broadcaster is put Equipment can send correction message from playback equipment to each according to demand, synchronous between each playback equipment to ensure.Specific implementation It is as follows:
41, the mark of the target packet of correction is obtained.
42, according to the play time of first media data packet, the play time of the target packet is calculated.
43, according to the mark of the target packet and the play time of the target packet, correction message is generated.
44, correction message is sent from playback equipment to each, so that from playback equipment according to the mark of the target packet Know and its play time is corrected.
That is, main playback equipment timing, when reaching the preset time or counting the data packet of output to certain quantity, examine Consider the delay that correction message is transmitted in a network, the data packet that the selected following certain time will be exported is as correction Target, and the play time of the correction target packet is calculated according to the play time of the first data packet, in conjunction with the correction target The serial number and play time of data packet generate correction message, and the correction message are sent to all from playback equipment.It is main simultaneously Playback equipment starts timing again or starts the data packet count to output, to after a preset time or output certain After data packet, next correction target is selected again, to generate the corresponding correction message of the target, and the correction message is sent out It gives all from playback equipment.In this way, main playback equipment only needs to be sent intermittently correction message, therefore effective mitigation main broadcaster is put and is set Standby processing pressure.
From the foregoing, it will be observed that the playback method for the media data that the present embodiment three provides, due to being by respectively obtaining from playback equipment Take media data and voluntarily decoded output, rather than it is existing by main playback equipment by decoded data distribution, therefore effectively Reduce the occupancy to network bandwidth, the present invention allows more to be played simultaneously from playback equipment under same wired bandwidth. In addition, respectively only need to guarantee the integrality of the media data acquired in itself from playback equipment, without as existing scheme that Sample is guaranteed the integrality for being distributed to all data from playback equipment by main playback equipment, therefore this programme plays stability more It is good.Furthermore main playback equipment only needs to be sent intermittently correction message, therefore effectively mitigates the processing pressure of main playback equipment.Also, Media data is respectively respectively obtained from playback equipment, relatively independent, an equipment failure will not feed through to other and set from broadcasting It is standby, and show scheme by main playback equipment for decoded data distribution, once an equipment breaks down, need main playback equipment It readjusts data to send, influences all being played simultaneously from playback equipment.
Example IV
Referring to Fig. 4, the interaction schematic diagram of the play system for media data provided in an embodiment of the present invention;For the ease of Illustrate, only parts related to embodiments of the present invention are shown.The play system of the media data a, comprising: main broadcaster, which is put, to be set It is standby and multiple from playback equipment.
The main playback equipment to it is each from playback equipment send media data to acquisite approachs.
The media data is obtained from playback equipment according to the to acquisite approachs, and the media data is handled, Obtain media data packet and its corresponding mark.
Specifically, being decoded from playback equipment to the media data;Decoded media data is packaged, is obtained To multiple media data packets;According to preset order rule, serial number successively is marked to multiple media data packets.
The main playback equipment obtains the mark and its play time of media data packet to be played;According to described to be played Media data packet mark and its play time, generate play command;And play command is sent from playback equipment to each.
From playback equipment when the play time reaches, the corresponding media of the mark are played according to the play command Data packet.
Specifically, being compared from playback equipment by the play time with the standard time of local terminal;When the standard Between it is consistent with the play time when, generate play instruction;According to the play instruction, the corresponding media number of the mark is played According to packet.When playing n-th media data packet, by the play time of n-th media data packet plus n-th media data packet Playing duration obtains the play time of the N+1 media data packet;Wherein, N is positive integer;By the N+1 media data packet Play time is compared with the standard time of local terminal;When the play time of the standard time and the N+1 media data packet When consistent, play instruction is generated;According to the play instruction, the N+1 media data packet is played;And so on, until one The last one data packet of media data finishes.
From the foregoing, it will be observed that the play system for the media data that the present embodiment four provides, by main playback equipment to each from broadcasting Put the to acquisite approachs that equipment sends media data;The media data is obtained from playback equipment according to the to acquisite approachs, and right The media data is handled, and media data packet and its corresponding mark are obtained;The main playback equipment obtains to be played The mark and its play time of media data packet;It is raw according to the mark and its play time of the media data packet to be played At play command;And play command is sent from playback equipment to each;From playback equipment when the play time reaches, according to The play command plays the corresponding media data packet of the mark.Therefore, the present invention is due to being by respectively obtaining from playback equipment Take media data and voluntarily decoded output, rather than it is existing by main playback equipment by decoded data distribution, therefore effectively Reduce the occupancy to network bandwidth, the present invention allows more to be played simultaneously from playback equipment under same wired bandwidth. In addition, respectively only need to guarantee the integrality of the media data acquired in itself from playback equipment, without as existing scheme that Sample is guaranteed the integrality for being distributed to all data from playback equipment by main playback equipment, therefore this programme plays stability more It is good.Furthermore main playback equipment only needs to be sent intermittently correction message, therefore effectively mitigates the processing pressure of main playback equipment.Also, Media data is respectively respectively obtained from playback equipment, relatively independent, an equipment failure will not feed through to other and set from broadcasting It is standby, and show scheme by main playback equipment for decoded data distribution, once an equipment breaks down, need main playback equipment It readjusts data to send, influences all being played simultaneously from playback equipment.
Embodiment five
It is the module signal of the playing device of media data provided in an embodiment of the present invention also referring to Fig. 5 and Fig. 6 Figure;For ease of description, only parts related to embodiments of the present invention are shown.The playing device 100 of the media data wraps It includes: data acquisition module 102, processing module 103, Order receiver module 104, playing module 105.The broadcasting of the media data Device can be the unit of the software unit being built in from playback equipment, hardware cell either software and hardware combining.
Data acquisition module 102, for obtaining media data.
Processing module 103 obtains media data packet and its corresponding mark for handling the media data.
Order receiver module 104 is taken in the play command for receiving the play command of the main playback equipment transmission Mark and its play time with media data packet to be played.
Playing module 105, for playing the mark according to the play command and corresponding to when the play time reaches Media data packet.
Preferably, described device further include: path receiving module 101.
Path receiving module 101, for receiving the to acquisite approachs for the media data that main playback equipment is sent.
Data acquisition module 102 is specifically used for obtaining the media data according to the to acquisite approachs.
Wherein, the processing module 103, specifically includes: decoder module 1031, packetization module 1032, mark module 1033.
The decoder module 1031, for being decoded to the media data.
Packetization module 1032 obtains multiple media data packets for being packaged to decoded media data.
Mark module 1033, for serial number successively to be marked to multiple media data packets according to preset order rule.
In the present embodiment, described device further include: time comparison module 1041, play instruction generation module 1042.
Time comparison module 1041, for the play time to be compared with the standard time of local terminal;
Play instruction generation module 1042, for generating and playing when the standard time is consistent with the play time Instruction;
The playing module 105 is specifically used for playing the corresponding media data of the mark according to the play instruction Packet.
Wherein, described device further include:
Play time obtains module 106, is used for when playing n-th media data packet, by broadcasting for n-th media data packet The time is put plus the playing duration of n-th media data packet, obtains the play time of the N+1 media data packet;Wherein, N is Positive integer.
Time compares submodule 107, for by the standard time of the play time of the N+1 media data packet and local terminal into Row compares.
Play instruction generates submodule 108, for working as the play time of the standard time and the N+1 media data packet When consistent, play instruction is generated.
Submodule 109 is played, according to the play instruction, plays the N+1 media data packet;And so on, until one The last one data packet of a media data finishes.
Preferably, in order to avoid due to respectively not identical from the operating condition between playback equipment, cause from playback equipment it Between it is asynchronous play media data (that i.e. some broadcast from playback equipment is fast, some broadcast from playback equipment slow), then main broadcaster is put Equipment can send correction message from playback equipment to each according to demand, synchronous between each playback equipment to ensure.Described device Further include:
Message reception module is corrected, the correction message sent for receiving main playback equipment, the correction message carries The mark and its play time of target packet;
Correction module, for being corrected according to the mark and its play time of the target packet.
From the foregoing, it will be observed that the playing device for the media data that the present embodiment five provides, due to being by respectively obtaining from playback equipment Take media data and voluntarily decoded output, rather than it is existing by main playback equipment by decoded data distribution, therefore effectively Reduce the occupancy to network bandwidth, the present invention allows more to be played simultaneously from playback equipment under same wired bandwidth. In addition, respectively only need to guarantee the integrality of the media data acquired in itself from playback equipment, without as existing scheme that Sample is guaranteed the integrality for being distributed to all data from playback equipment by main playback equipment, therefore this programme plays stability more It is good.Furthermore main playback equipment only needs to be sent intermittently correction message, therefore effectively mitigates the processing pressure of main playback equipment.Also, Media data is respectively respectively obtained from playback equipment, relatively independent, an equipment failure will not feed through to other and set from broadcasting It is standby, and show scheme by main playback equipment for decoded data distribution, once an equipment breaks down, need main playback equipment It readjusts data to send, influences all being played simultaneously from playback equipment.
Embodiment six
Referring to Figure 7 together and Fig. 8, the module for the playing device of media data provided in an embodiment of the present invention are illustrated Figure;For ease of description, only parts related to embodiments of the present invention are shown.The playing device 200 of the media data wraps Include: path sending module 201 obtains module 202, order generation module 203, command sending module 204.The media data Playing device can be the unit of the software unit being built in main playback equipment, hardware cell either software and hardware combining.So And, it is to be understood that the main playback equipment can be the smart machines such as mobile terminal, computer, tablet computer.
Path sending module 201, for it is each from playback equipment send media data to acquisite approachs so that from broadcasting Equipment obtains the media data according to the to acquisite approachs, and handles the media data, obtains media data packet And its corresponding mark.
Module 202 is obtained, for obtaining the mark and its play time of media data packet to be played.
Order generation module 203 is generated for the mark and its play time according to the media data packet to be played Play command.
Command sending module 204, for sending play command from playback equipment to each, so that from playback equipment described When play time reaches, the corresponding media data packet of the mark is played according to the play command.
Preferably, in order to avoid due to respectively not identical from the operating condition between playback equipment, cause from playback equipment it Between it is asynchronous play media data (that i.e. some broadcast from playback equipment is fast, some broadcast from playback equipment slow), then main broadcaster is put Equipment can send correction message from playback equipment to each according to demand, synchronous between each playback equipment to ensure., described device Further include:
Identifier acquisition module 205, the mark of the target packet for obtaining correction.
Time computing module 206 calculates the target data for the play time according to first media data packet The play time of packet.
Message generating module 207 is corrected, for according to the mark of the target packet and broadcasting for the target packet It puts the time, generates correction message.
Message transmission module 208 is corrected, for sending correction message from playback equipment to each, so that from playback equipment root It is corrected according to the mark and its play time of the target packet.
From the foregoing, it will be observed that the playing device for the media data that the present embodiment six provides, due to being by respectively obtaining from playback equipment Take media data and voluntarily decoded output, rather than it is existing by main playback equipment by decoded data distribution, therefore effectively Reduce the occupancy to network bandwidth, the present invention allows more to be played simultaneously from playback equipment under same wired bandwidth. In addition, respectively only need to guarantee the integrality of the media data acquired in itself from playback equipment, without as existing scheme that Sample is guaranteed the integrality for being distributed to all data from playback equipment by main playback equipment, therefore this programme plays stability more It is good.Furthermore main playback equipment only needs to be sent intermittently correction message, therefore effectively mitigates the processing pressure of main playback equipment.Also, Media data is respectively respectively obtained from playback equipment, relatively independent, an equipment failure will not feed through to other and set from broadcasting It is standby, and show scheme by main playback equipment for decoded data distribution, once an equipment breaks down, need main playback equipment It readjusts data to send, influences all being played simultaneously from playback equipment.
The playback method and device of media data provided in an embodiment of the present invention belong to same design, implement process It is detailed in specification full text, details are not described herein again.
Embodiment seven
Fig. 9 shows the specific block diagram of mobile terminal provided in an embodiment of the present invention, which can be used for Playback method/device of the media data provided in above-described embodiment is provided.The mobile terminal 1200 can for smart phone or Tablet computer.
As shown in figure 9, mobile terminal 1200 may include RF (Radio Frequency, radio frequency) circuit 110, include The memory 120 of one or more (one is only shown in figure) computer readable storage mediums, input unit 130, display Unit 140, voicefrequency circuit 160, transmission module 170, includes one or more than one and (only shows one in figure sensor 150 It is a) processor 180 of processing core and the equal components of power supply 190.It will be understood by those skilled in the art that being moved shown in Fig. 9 Dynamic 1200 structure of terminal does not constitute the restriction to mobile terminal 1200, may include components more more or fewer than diagram, or Person combines certain components or different component layouts.Wherein:
RF circuit 110 realizes the mutual conversion of electromagnetic wave and electric signal, thus with logical for receiving and transmitting electromagnetic wave News network or other equipment are communicated.RF circuit 110 may include various existing for executing the circuit elements of these functions Part, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, storage Device etc..RF circuit 110 can carry out communicating or by wireless with various networks such as internet, intranet, wireless network Network is communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN). Various communication standards, agreement and technology, including but not limited to global system for mobile communications can be used in above-mentioned wireless network (Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (Wideband Code Division Multiple Access, WCDMA), Code Division Multiple Access (Code Division Access, CDMA), time division multiple access technology (Time Division Multiple Access, TDMA), adopting wireless fidelity technology (Wireless Fidelity, Wi-Fi) (such as U.S.'s electricity Gas and Electronic Engineering Association standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), the networking telephone (Voice over Internet Protocol, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, Instant Messenger The agreement and any other suitable communications protocol of news and short message, or even may include that those are not developed currently yet Agreement.
Memory 120 can be used for storing software program and module, as media data in above-described embodiment playback method/ Corresponding program instruction/the module of device, the software program and module that processor 180 is stored in memory 120 by operation, Thereby executing various function application and data processing, the i.e. function of the broadcasting of realization media data.Memory 120 may include height Fast random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or other Non-volatile solid state memory.In some instances, memory 120 can further comprise remotely located relative to processor 180 Memory, these remote memories can pass through network connection to mobile terminal 1200.The example of above-mentioned network includes but not It is limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and mobile terminal that are supplied to user 1200 various graphical user interface, these graphical user interface can be by figure, text, icon, video and any combination thereof To constitute.Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) come Configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 is detected at it On or near touch operation after, send processor 180 to determine the type of touch event, be followed by subsequent processing device 180 according to touching The type for touching event provides corresponding visual output on display panel 141.Although in Fig. 9, touch sensitive surface 131 and display surface Plate 141 is to realize input and input function as two independent components, but in some embodiments it is possible to by touch-sensitive table Face 131 and display panel 141 integrate and realize and output and input function.
Mobile terminal 1200 may also include at least one sensor 150, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can basis The light and shade of ambient light adjusts the brightness of display panel 141, proximity sensor can when mobile terminal 1200 is moved in one's ear, Close display panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect all directions The size of upper (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (for example pedometer, strikes Hit) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared sensor for can also configure as mobile terminal 1200 etc. its His sensor, details are not described herein.
Voicefrequency circuit 160, loudspeaker 161, the audio that microphone 162 can provide between user and mobile terminal 1200 connect Mouthful.Electric signal after the audio data received conversion can be transferred to loudspeaker 161, by loudspeaker 161 by voicefrequency circuit 160 Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, by voicefrequency circuit 160 receive after be converted to audio data, then by after the processing of audio data output processor 180, through RF circuit 110 to be sent to ratio Such as another terminal, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that Earphone jack, to provide the communication of peripheral hardware earphone Yu mobile terminal 1200.
Mobile terminal 1200 can help user send and receive e-mail, is clear by transmission module 170 (such as Wi-Fi module) Look at webpage and access streaming video etc., it provides wireless broadband internet for user and accesses.Although Fig. 9 shows transmission mould Block 170, but it is understood that, and it is not belonging to must be configured into for mobile terminal 1200, it is can according to need completely not Change in the range of the essence of invention and omits.
Processor 180 is the control centre of mobile terminal 1200, utilizes each of various interfaces and connection whole mobile phone A part by running or execute the software program and/or module that are stored in memory 120, and calls and is stored in storage Data in device 120 execute the various functions and processing data of mobile terminal 1200, to carry out integral monitoring to mobile phone.It can Choosing, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modulation Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Mobile terminal 1200 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can lead to Cross power-supply management system and processor 180 be logically contiguous, thus by power-supply management system realize management charging, electric discharge and The functions such as power managed.Power supply 190 can also include one or more direct current or AC power source, recharging system, electricity The random components such as source fault detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, mobile terminal 1200 can also include camera, bluetooth module etc., and details are not described herein.Specifically In the present embodiment, the display unit of mobile terminal is touch-screen display, and mobile terminal further includes having memory and one Perhaps more than one program one of them or more than one program is stored in memory, and be configured to by one or The execution of more than one processor of person states one or more than one program includes the instruction for performing the following operation:
To each to acquisite approachs for sending media data from playback equipment, so that from playback equipment according to the to acquisite approachs The media data is obtained, and the media data is handled, obtains media data packet and its corresponding mark.
Obtain the mark and its play time of media data packet to be played.
According to the mark and its play time of the media data packet to be played, play command is generated.
Play command is sent from playback equipment to each, so that from playback equipment when the play time reaches, according to The play command plays the corresponding media data packet of the mark.
Obtain the mark of the target packet of correction.
According to the play time of first media data packet, the play time of the target packet is calculated.
According to the mark of the target packet and the play time of the target packet, correction message is generated.
Send correction message from playback equipment to each so that from playback equipment according to the mark of the target packet and Its play time is corrected.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
In conclusion although the present invention has been disclosed above in the preferred embodiment, but above preferred embodiment is not to limit The system present invention, those skilled in the art can make various changes and profit without departing from the spirit and scope of the present invention Decorations, therefore protection scope of the present invention subjects to the scope of the claims.

Claims (14)

1. a kind of playback method of media data, which comprises the following steps:
Media data is obtained from playback equipment;It include: respectively to receive obtaining for media data that main playback equipment is sent from playback equipment Path is taken, and the media data is obtained according to the to acquisite approachs;
The media data is handled from playback equipment, obtains media data packet and its corresponding mark;It include: respectively from broadcasting Equipment is put using identical decoding rule, media data is decoded;And identical packetization rules are used, to decoded Media data is packaged, and multiple media data packets are obtained;And using identical marking convention, to multiple media data packets Serial number is marked;
The play command that the main playback equipment is sent is received from playback equipment, carries matchmaker to be played in the play command The mark and its play time of volume data packet;
From playback equipment when the play time reaches, the corresponding media data of the mark is played according to the play command Packet.
2. the playback method of media data as described in claim 1, which is characterized in that when the play time reaches, root The step of playing the mark corresponding media data packet according to the play command, comprising:
The play time is compared with the standard time of local terminal;
When the standard time is consistent with the play time, play instruction is generated;
According to the play instruction, the corresponding media data packet of the mark is played.
3. the playback method of media data as claimed in claim 2, which is characterized in that according to the play instruction, play institute After the step of stating mark corresponding media data packet, further includes:
When playing n-th media data packet, by the play time of n-th media data packet plus n-th media data packet Playing duration obtains the play time of the N+1 media data packet;Wherein, N is positive integer;
The play time of the N+1 media data packet is compared with the standard time of local terminal;
When the standard time is consistent with the play time of the N+1 media data packet, play instruction is generated;
According to the play instruction, the N+1 media data packet is played;And so on, until last of media data A data packet finishes.
4. the playback method of media data as claimed in claim 3, which is characterized in that the method also includes:
The correction message that main playback equipment is sent is received, when the correction message carries the mark and its broadcasting of target packet Between;
It is corrected according to the mark of the target packet and its play time.
5. a kind of playback method of media data, which comprises the following steps:
Main playback equipment obtains the mark and its play time of media data packet to be played;
Main playback equipment generates play command according to the mark and its play time of the media data packet to be played;
Main playback equipment sends play command from playback equipment to each, so as to reach from playback equipment in the play time When, the corresponding media data packet of the mark is played according to the play command;Wherein, it respectively puts and sets from playback equipment reception main broadcaster The to acquisite approachs for the media data that preparation is sent, and the media data is obtained according to the to acquisite approachs;Respectively adopted from playback equipment With identical decoding rule, media data is decoded;And identical packetization rules are used, to decoded media data It is packaged, obtains multiple media data packets;And using identical marking convention, multiple media data packets are marked Serial number.
6. the playback method of media data as claimed in claim 5, which is characterized in that played to each sent from playback equipment After the step of order, further includes:
Obtain the mark of the target packet of correction;
According to the play time of first media data packet, the play time of the target packet is calculated;
According to the mark of the target packet and the play time of the target packet, correction message is generated;
Correction message is sent from playback equipment to each, so as to according to the mark of the target packet and its broadcast from playback equipment Putting the time is corrected.
7. a kind of playing device of media data characterized by comprising
Data acquisition module, for obtaining media data;It include: respectively to receive the media number that main playback equipment is sent from playback equipment According to acquisite approachs, and the media data is obtained according to the to acquisite approachs;
Processing module obtains media data packet and its corresponding mark for handling the media data;It include: each From playback equipment using identical decoding rule, media data is decoded;And identical packetization rules are used, to decoding Media data afterwards is packaged, and multiple media data packets are obtained;And using identical marking convention, to multiple media numbers Serial number is marked according to packet;
Order receiver module, the play command sent for receiving the main playback equipment, carry in the play command to The mark and its play time of the media data packet of broadcasting;
Playing module, for playing the corresponding media of the mark according to the play command when the play time reaches Data packet.
8. the playing device of media data as claimed in claim 7, which is characterized in that described device further include: the time compares Module, play instruction generation module;
Time comparison module, for the play time to be compared with the standard time of local terminal;
Play instruction generation module, for generating play instruction when the standard time is consistent with the play time;
The playing module is specifically used for playing the corresponding media data packet of the mark according to the play instruction.
9. the playing device of media data as claimed in claim 8, which is characterized in that described device further include:
Play time obtains module, is used for when playing n-th media data packet, by the play time of n-th media data packet In addition the playing duration of n-th media data packet, obtains the play time of the N+1 media data packet;Wherein, N is positive integer;
Time compares submodule, for the play time of the N+1 media data packet to be compared with the standard time of local terminal;
Play instruction generates submodule, for when the standard time is consistent with the play time of the N+1 media data packet, Generate play instruction;
Submodule is played, according to the play instruction, plays the N+1 media data packet;And so on, until a media number According to the last one data packet finish.
10. the playing device of media data as claimed in claim 9, which is characterized in that described device further include:
Message reception module is corrected, the correction message sent for receiving main playback equipment, the correction message carries target The mark and its play time of data packet;
Correction module, for being corrected according to the mark and its play time of the target packet.
11. a kind of playing device of media data characterized by comprising
Module is obtained, for obtaining the mark and its play time of media data packet to be played;
Order generation module generates for the mark and its play time according to the media data packet to be played and plays life It enables;
Command sending module, for sending play command from playback equipment to each, so that from playback equipment in the broadcasting Between when reaching, the corresponding media data packet of the mark is played according to the play command;Wherein, it respectively receives and leads from playback equipment The to acquisite approachs for the media data that playback equipment is sent, and the media data is obtained according to the to acquisite approachs;Respectively from broadcasting Equipment is decoded media data using identical decoding rule;And identical packetization rules are used, to decoded matchmaker Volume data is packaged, and multiple media data packets are obtained;And using identical marking convention, to multiple media data packets into Line flag serial number.
12. the playing device of media data as claimed in claim 11, which is characterized in that described device further include:
Identifier acquisition module, the mark of the target packet for obtaining correction;
Time computing module calculates broadcasting for the target packet for the play time according to first media data packet Put the time;
Message generating module is corrected, for according to the mark of the target packet and the play time of the target packet, Generate correction message;
Message transmission module is corrected, for sending correction message from playback equipment to each, so that from playback equipment according to The mark and its play time of target packet are corrected.
13. a kind of play system of media data characterized by comprising a main playback equipment and multiple from playback equipment;
Media data is obtained from playback equipment, and the media data is handled, media data packet and its corresponding is obtained Mark;It include: that the to acquisite approachs for the media data that main playback equipment is sent respectively is received from playback equipment, and according to the acquisition road Diameter obtains the media data;Respectively media data is decoded using identical decoding rule from playback equipment;And it uses Identical packetization rules are packaged decoded media data, obtain multiple media data packets;And use is identical Serial number is marked to multiple media data packets in marking convention;
The main playback equipment obtains the mark and its play time of media data packet to be played;According to the matchmaker to be played The mark and its play time of volume data packet generate play command;And play command is sent from playback equipment to each;
From playback equipment when the play time reaches, the corresponding media data of the mark is played according to the play command Packet.
14. a kind of mobile terminal, which is characterized in that the mobile terminal includes memory and processor, the memory storage The instruction for having processor executable, the processor are used to execute the instruction in the memory, and described instruction is for executing such as Lower operation:
Obtain the mark and its play time of media data packet to be played;
According to the mark and its play time of the media data packet to be played, play command is generated;
Play command is sent from playback equipment to each, so that from playback equipment when the play time reaches, according to described Play command plays the corresponding media data packet of the mark;Wherein, the matchmaker that main playback equipment is sent respectively is received from playback equipment The to acquisite approachs of volume data, and the media data is obtained according to the to acquisite approachs;Respectively identical solution is used from playback equipment Code rule, is decoded media data;And identical packetization rules are used, decoded media data is packaged, Obtain multiple media data packets;And using identical marking convention, serial number is marked to multiple media data packets.
CN201610882854.6A 2016-10-08 2016-10-08 A kind of playback method of media data, apparatus and system Active CN106385611B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610882854.6A CN106385611B (en) 2016-10-08 2016-10-08 A kind of playback method of media data, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610882854.6A CN106385611B (en) 2016-10-08 2016-10-08 A kind of playback method of media data, apparatus and system

Publications (2)

Publication Number Publication Date
CN106385611A CN106385611A (en) 2017-02-08
CN106385611B true CN106385611B (en) 2019-04-12

Family

ID=57937133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610882854.6A Active CN106385611B (en) 2016-10-08 2016-10-08 A kind of playback method of media data, apparatus and system

Country Status (1)

Country Link
CN (1) CN106385611B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696762A (en) * 2017-04-12 2018-10-23 中兴通讯股份有限公司 A kind of synchronous broadcast method, device and system
CN108200457A (en) * 2018-01-19 2018-06-22 深圳市沃特沃德股份有限公司 The method and playback equipment that multiple playback equipments are played simultaneously

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905879A (en) * 2014-03-13 2014-07-02 北京奇艺世纪科技有限公司 Video data and audio data synchronized playing method and device and equipment
CN104637505A (en) * 2014-12-31 2015-05-20 小米科技有限责任公司 Audio playing method and device
CN105072014A (en) * 2015-08-28 2015-11-18 浙江大华技术股份有限公司 Multimedia data transmission method, vehicle-mounted device and monitoring server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905879A (en) * 2014-03-13 2014-07-02 北京奇艺世纪科技有限公司 Video data and audio data synchronized playing method and device and equipment
CN104637505A (en) * 2014-12-31 2015-05-20 小米科技有限责任公司 Audio playing method and device
CN105072014A (en) * 2015-08-28 2015-11-18 浙江大华技术股份有限公司 Multimedia data transmission method, vehicle-mounted device and monitoring server

Also Published As

Publication number Publication date
CN106385611A (en) 2017-02-08

Similar Documents

Publication Publication Date Title
CN105430424B (en) A kind of methods, devices and systems of net cast
CN104135667B (en) Video remote explanation synchronization method, terminal equipment and system
CN104967608B (en) Play method, mobile terminal and the fixed terminal of multimedia file
CN103559731B (en) Method and terminal for displaying lyrics under screen locking state
CN105491135B (en) Establish the method and device of data connection
CN109756449A (en) Transmission method, base station and the user terminal of system information block
CN103391473A (en) Methods and devices for providing and acquiring audios and videos
CN106453597B (en) The method of adjustment of data synchronizing cycles, apparatus and system
CN104935955A (en) Live video stream transmission method, device and system
CN109788552A (en) A kind of carrier wave collocation, user terminal and network side equipment
JP7208265B2 (en) Resource request method and user equipment
CN106411448A (en) Play control method and device, and terminal
CN110034874A (en) A kind of resource monitor method, terminal and base station
CN104093053A (en) Video file playing method, devices and system
CN110351835A (en) A kind of frequency range determines method and apparatus
CN105357657B (en) The construction method and device of Mesh network
CN105163189A (en) Method for reserving multimedia programs, server and terminal
CN106452643A (en) Playing control method and device, terminal and playing system
CN106412625B (en) Multimedia synchronous plays method, apparatus, terminal and system
CN106254924A (en) The player method of a kind of multi-medium data, system and relevant device
CN103491421A (en) Content display method and device and smart television
CN106385611B (en) A kind of playback method of media data, apparatus and system
CN106411447B (en) Control method for playing back, device and terminal
CN106412629B (en) Processing method, device, system and the computer-readable media medium of media data transmission
CN103200077B (en) The method of data interaction during a kind of voice call, Apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

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

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant