CN108614829A - A kind of playback method and terminal - Google Patents

A kind of playback method and terminal Download PDF

Info

Publication number
CN108614829A
CN108614829A CN201611140929.XA CN201611140929A CN108614829A CN 108614829 A CN108614829 A CN 108614829A CN 201611140929 A CN201611140929 A CN 201611140929A CN 108614829 A CN108614829 A CN 108614829A
Authority
CN
China
Prior art keywords
sub
audio
video
datas
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611140929.XA
Other languages
Chinese (zh)
Inventor
罗田佳
王欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201611140929.XA priority Critical patent/CN108614829A/en
Publication of CN108614829A publication Critical patent/CN108614829A/en
Pending legal-status Critical Current

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a kind of playback method and terminals, wherein playback method includes:Preset audio and video playing rule is obtained, audio and video playing rule is used to provide the broadcast mode of the first sub-audio data and the first sub-video data;Obtain X the first sub-audio datas corresponding with audio and video playing rule and Y the first sub-video datas, X the first sub-audio datas are at least one of M the first sub-audio datas divided in advance, and Y the first sub-video datas are at least one of N number of first sub-video data divided in advance;X the first sub-audio datas and Y the first sub-video datas are played out according to audio and video playing rule.Playback method provided in an embodiment of the present invention and terminal can individually repeat playing audio or video content, reduce network latency and transmission flow, save the memory space of terminal, improve the flexibility of video playing.

Description

A kind of playback method and terminal
Technical field
The present invention relates to the communications field more particularly to a kind of playback method and terminals.
Background technology
Currently, the broadcasting of more and more extensive using terminal the progress music, video of people.
Existing terminal playing method includes mainly two classes:One kind is independent video file play-back technology, i.e. a video File includes audio file, and played file is directly opened by system plays device;Another kind of is Technology of Multimedia Stream Playing, i.e., even Continuous image and acoustic information is stored in video server after compression processing, from video server to terminal user's sequence or Each compressed package is transmitted in real time, so that terminal user watches while downloading, listens to.
However, existing terminal playing method is all based on independent video unit, i.e., the sound that a played file includes Frequency and video content can not decouple as a whole, can not be individually to audio or video so as to cause existing terminal playing method Content is repeated playing so that video playing form is excessively single, increases network latency and transmission flow, also increases The memory space of terminal.
Invention content
In order to solve the above technical problems, an embodiment of the present invention is intended to provide a kind of playback method and terminal, it can be individually right Audio or video content is repeated playing, and is reduced network latency and transmission flow, is saved the memory space of terminal, Improve the flexibility of video playing.
The technical proposal of the invention is realized in this way:
In a first aspect, the embodiment of the present invention provides a kind of playback method, method is applied to terminal, including:
Preset audio and video playing rule is obtained, audio and video playing rule is for providing the first sub-audio data and the first son The broadcast mode of video data;
It obtains and corresponding X the first sub-audio datas of audio and video playing rule and Y the first sub-video datas, X a the One sub-audio data is at least one of M the first sub-audio datas divided in advance, and Y the first sub-video datas are pre- At least one of N number of first sub-video data first divided;
X the first sub-audio datas and Y the first sub-video datas are played out according to audio and video playing rule.
Optionally, audio and video playing rule includes duration proof rule, according to audio and video playing rule to X the first consonants Frequency evidence and Y the first sub-video datas play out, and specifically include:
The playing time of X the first sub-audio datas and Y the first sub-video datas is controlled according to duration proof rule.
Optionally, audio and video playing rule includes that blank note fills up rule, according to audio and video playing rule to X first Sub-audio data and Y the first sub-video datas play out, and specifically include:
When the reproduction time of X the first sub-audio datas is less than the reproduction time of Y the first sub-video datas, according to sky White note fills up rule, between X the first sub-audio datas and the blank reproduction time of Y the first sub-video datas, fills up Blank note is equal to the reproduction time of Y the first sub-video datas so as to the reproduction time of X the first sub-audio datas.
Optionally, X the first sub-audio datas and Y the first sub-video datas are being carried out according to audio and video playing rule After broadcasting, method further includes:
Predetermined registration operation and the first play operation corresponding with predetermined registration operation are set;
When detecting predetermined registration operation, X being played on the first sub-audio datas and Y the first sub-video datas are held The first play operation of row.
Optionally, M the first sub-audio datas and N number of first sub-video data are stored in server, acquisition and audio and video Corresponding X the first sub-audio data of play rules and Y the first sub-video datas, specifically include:
Corresponding X the first sub-audio datas are downloaded from a server according to audio and video playing rule and Y the first sons regard Frequency evidence.
Optionally, download from a server corresponding X the first sub-audio datas and Y the first sub-video datas it Afterwards, before being played out to X the first sub-audio datas and Y the first sub-video datas, method further includes:
X the first sub-audio datas are merged into a second audio data;
Correspondingly, being played out to X the first sub-audio datas and Y the first sub-video datas, specially:
Second audio data and Y the first sub-video datas are played out according to audio and video playing rule.
Optionally, M the first sub-audio datas and N number of first sub-video data are stored in terminal, and acquisition is broadcast with audio and video Corresponding X the first sub-audio data of rule and Y the first sub-video datas are put, are specifically included:
The first audio data is divided into M the first sub-audio datas according to preset audio segmentation rule, is regarded according to default It is N number of first sub-video data that frequency division, which cuts rule by the first partitioning video data,;M is more than or equal to 1, N and is more than or equal to 1;
Corresponding X the first sub-audio datas are obtained from M the first sub-audio datas according to audio and video playing rule, from Corresponding Y the first sub-video datas are obtained in N number of first sub-video data.
Second aspect, the embodiment of the present invention provide a kind of terminal, including acquiring unit and broadcast unit, wherein:
Acquiring unit, for obtaining preset audio and video playing rule, audio and video playing rule is for providing the first consonant The broadcast mode of frequency evidence and the first sub-video data;Obtain X the first sub-audio datas corresponding with audio and video playing rule With Y the first sub-video datas, X the first sub-audio datas be in a first sub-audio datas of M divide in advance at least One, Y the first sub-video datas are at least one of N number of first sub-video data divided in advance;
Broadcast unit, the audio and video playing rule for being obtained according to acquiring unit is to X the first sub-audio datas and Y First sub-video data plays out.
Optionally, audio and video playing rule includes duration proof rule, and broadcast unit is specifically used for:
The playing time of X the first sub-audio datas and Y the first sub-video datas is controlled according to duration proof rule.
Optionally, audio and video playing rule includes that blank note fills up rule, and broadcast unit is specifically used for:
When the reproduction time of X the first sub-audio datas is less than the reproduction time of Y the first sub-video datas, according to sky White note fills up rule, between X the first sub-audio datas and the blank reproduction time of Y the first sub-video datas, fills up Blank note is equal to the reproduction time of Y the first sub-video datas so as to the reproduction time of X the first sub-audio datas.
Optionally, terminal further includes setting unit and execution unit, wherein:
Setting unit is used in broadcast unit according to audio and video playing rule to X the first sub-audio datas and Y first After sub-video data plays out, predetermined registration operation and the first play operation corresponding with predetermined registration operation are set;
Execution unit, for when detecting the predetermined registration operation of setting unit setting, to X being played on the first consonants Frequency evidence and Y the first sub-video datas execute the first play operation.
Optionally, M the first sub-audio datas and N number of first sub-video data are stored in server, acquiring unit, specifically For:
Corresponding X the first sub-audio datas are downloaded from a server according to audio and video playing rule and Y the first sons regard Frequency evidence.
Optionally, terminal further includes combining unit, for downloading from a server corresponding X first son in acquiring unit After audio data and Y the first sub-video datas, in broadcast unit to X the first sub-audio datas and Y the first sub-videos Before data play out, X the first sub-audio datas are merged into a second audio data;
Correspondingly, broadcast unit, is specifically used for the second audio number merged to combining unit according to audio and video playing rule It is played out according to Y the first sub-video datas.
Optionally, M the first sub-audio datas and N number of first sub-video data are stored in terminal, and acquiring unit is specific to use In:
The first audio data is divided into M the first sub-audio datas according to preset audio segmentation rule, is regarded according to default It is N number of first sub-video data that frequency division, which cuts rule by the first partitioning video data,;M is more than or equal to 1, N and is more than or equal to 1;According to sound Video playing rule obtains corresponding X the first sub-audio datas from M the first sub-audio datas, from N number of first sub-video Corresponding Y the first sub-video datas are obtained in data.
An embodiment of the present invention provides a kind of playback method and terminals, by obtaining preset audio and video playing rule, sound Video playing rule is used to provide the broadcast mode of the first sub-audio data and the first sub-video data;Acquisition and audio and video playing Corresponding X the first sub-audio data of rule and Y the first sub-video datas, X the first sub-audio datas are to divide in advance At least one of M the first sub-audio datas, Y the first sub-video datas are N number of first sub-video divided in advance At least one of data;X the first sub-audio datas and Y the first sub-video datas are carried out according to audio and video playing rule It plays.Using above-mentioned technic relization scheme, since audio data and video data are independent from each other, can combine in any permutation It plays, it is thus possible to individually audio or video content be repeated playing, reduce network latency and transmission flow, section The memory space for having saved terminal improves the flexibility of video playing.
Description of the drawings
Fig. 1 is a kind of flow diagram one of playback method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram two of playback method provided in an embodiment of the present invention;
Fig. 3 is the broadcasting schematic diagram of audio and video playing provided in an embodiment of the present invention combination;
Fig. 4 is a kind of flow diagram three of playback method provided in an embodiment of the present invention;
Fig. 5 is the normal play sequential schematic of audio and video playing provided in an embodiment of the present invention combination;
Fig. 6 is the playing sequence schematic diagram after the switching of audio and video playing provided in an embodiment of the present invention combination;
Fig. 7 is a kind of structural schematic diagram one of terminal provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram two of terminal provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram three of terminal provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes.
Embodiment one
Fig. 1 is a kind of flow diagram one of playback method provided in an embodiment of the present invention, and this method is applied to terminal, broadcasts The method of putting includes:
Step 101:Preset audio and video playing rule is obtained, audio and video playing rule is for providing the first sub-audio data With the broadcast mode of the first sub-video data;
Intelligible, terminal obtains preset audio and video playing rule and can be inquired by the query interface of itself setting One audio and video playing combines corresponding audio and video playing rule and the first sub-audio data and the first sub-video data.
In practical application, terminal can be preferentially from lookup audio and video playing rule be locally stored, if local without storage sound Video playing rule, then from whois lookup audio and video playing rule.Certainly, terminal can also be regarded directly from whois lookup sound Frequency play rules, the concrete mode that the embodiment of the present invention obtains terminal preset audio and video playing rule are not particularly limited.
It should be noted that the broadcasting that audio and video playing rule is used to combine each audio and video playing illustrates, Specifically, audio and video playing rule, which can include at least one video playing sequence supporting paper and at least one audio, plays sequence Row supporting paper.Wherein, video playing sequence supporting paper describes the play rules of the first sub-video data, including each Filename, playing sequence, number of repetition, head, the run-out of a first sub-video data, and other expansible configuration items. Audio play sequence supporting paper describes the play rules of the first sub-audio data, including each first sub-audio data Filename, number of repetition, the note that fills in the blanks number, and other expansible configuration item.
Step 102:Obtain X the first sub-audio datas corresponding with audio and video playing rule and Y the first sub-video numbers According to X the first sub-audio datas are at least one of M the first sub-audio datas divided in advance, Y the first sub-videos Data are at least one of N number of first sub-video data divided in advance;
It should be noted that M the first sub-audio datas divided in advance and N number of first sub-video divided in advance Data can be deposited on server, can also deposit on local terminal, and the embodiment of the present invention, which does not do its stored position, to be had The limitation of body.
Specifically, M the first sub-audio datas and N number of first sub-video data are stored in server, step 102 includes: Corresponding X the first sub-audio datas and Y the first sub-video datas are downloaded from a server according to audio and video playing rule.
Specifically, M the first sub-audio datas and N number of first sub-video data are stored in terminal, it is step 102, specific to wrap It includes:The first audio data is divided into M the first sub-audio datas according to preset audio segmentation rule, according to default Video segmentation First partitioning video data is N number of first sub-video data by rule;M is more than or equal to 1, N and is more than or equal to 1;It is broadcast according to audio and video It puts rule and obtains corresponding X the first sub-audio datas from M the first sub-audio datas, from N number of first sub-video data Obtain corresponding Y the first sub-video datas.
In practical application, the file designation rule of M the first sub-audio datas and N number of first sub-video data can basis User preferences are configured, such as, it is seen that combination will be played and be named as Pn, wherein n is subscript.It is subordinated to the video unit of Pn Pn_VUn is asked in name, and the audio unit for being subordinated to Pn is named as Pn_AUn.The video unit that can be shared is named as C_VUn, can be total to Audio unit is named as C_AUn.Certainly, the embodiment of the present invention is to M the first sub-audio datas and N number of first sub-video number According to file designation rule be not particularly limited.
For example, the first audio data can be named as:P1_AU1*1, P1_AU2, P1_AU3, CAU0*10, P1_ AU1.First sub-video data can be named as:P1_VU1*1, P1_VU2, P1_VU3, P1_VU4*5.One audio and video playing group Conjunction is named as P1, including video unit be P1_U1, P1_U2 ... ... P1_Un, audio unit is named as P1_A1, P1_ A2 ... ... P1_An.Such a audio and video playing combination includes multiple first sub-video datas and multiple first audio datas. In practical application, there can be multiple such audio and video playings combinations, for example, P1, P2, P3 ... ..., Pn can be between them Share all M the first sub-audio data and N number of first sub-video data.
Step 103:X the first sub-audio datas and Y the first sub-video datas are carried out according to audio and video playing rule It plays.
Further, shown in Figure 2, downloading from a server corresponding X the first sub-audio datas and Y first After after sub-video data, before step 103, method further includes step 1030, and step 1030 is specially:
Step 1030:X the first sub-audio datas are merged into a second audio data;
Correspondingly, step 103 is specially:According to audio and video playing rule to second audio data and Y the first sub-videos Data play out.
It should be noted that first sub-video data can correspond to multiple first sub-audio datas, terminal is by adopting With in memory by the method for computer documents read-write splicing, before being played will corresponding with the first sub-video data all the One sub-audio data, which reads splicing in memory, becomes independent audio entirety in a memory, that is, merges into a second audio number According to.So, terminal is in playing audio-video composition file, since second audio data is slaves to first sub-video Data, so the merging of second audio data plays the broadcasting content change for not interfering with the first sub-video data, when When having switched the first sub-video data, it can also switch second audio data simultaneously so that there will be no prolong for whole audio tracks Slow phenomenon.Meanwhile also avoid terminal and play multiple first sub-audio datas when audio and video playing combines, caused by when Between consume and the first sub-audio data and the first sub-video data between the time irreversibility that generates, solve combination and play When audio and video nonsynchronous problem.
Illustratively, audio and video playing rule includes duration proof rule, according to audio and video playing rule to X first son Audio data and Y the first sub-video datas play out, and specifically include:X the first consonants are controlled according to duration proof rule The playing time of frequency evidence and Y the first sub-video datas.
It should be noted that terminal according to duration proof rule each first sub-video data start play at the time of Again it resets, to ensure that video is synchronous inside a unit with audio so that video and audio can at the time of broadcasting Correspondence is synchronized, that is, plays out correction.
Illustratively, audio and video playing rule includes that blank note fills up rule, according to audio and video playing rule to X the One sub-audio data and Y the first sub-video datas play out, and specifically include:In the broadcasting of X the first sub-audio datas Between when being less than the reproduction time of Y the first sub-video datas, rule is filled up according to blank note, in X the first sub-audio datas Between the blank reproduction time of Y the first sub-video datas, note of plugging a gap, so as to broadcasting for a first sub-audio datas of X Put reproduction time of the time equal to Y the first sub-video datas.
It should be noted that terminal fills up rule according to blank note can be named as blank note C_AU0, text is repeated Piece number is File Name*n, indicates that this file of File Name plays n times, is defaulted as 1 time, wherein in description file The description of each file is intermediate to be divided by English comma.Certainly, terminal can also name blank note in several ways, The embodiment of the present invention is not particularly limited this.
It is intelligible, if the reproduction time of X the first sub-audio datas is less than the broadcasting of Y the first sub-video datas Between, illustrate audio presentation time deficiency video playback time, therefore, fills up track using blank note and launch air raids the time, to right The audio and video moment is calibrated.
In practical applications, when terminal carries out video playing, it is responsible for playing multiple first sub-videos by video player Data, and distinguish multiple first sub-audio datas by multiple audio player plays.Specifically, it is shown in Figure 3, each First sub-video data can correspond to multiple audio tracks, wherein audio track can be independent audio file, can also wrap Include multiple first sub-audio datas.What the abscissa of reference axis indicated is playing progress rate over time in Fig. 3, is indulged in Fig. 3 To dotted line indicate be video unit line of demarcation, UV1, UV2 indicate a video file, VA1, VA2, VA3, VA4 respectively Indicate that an independent audio file, VA0 indicate blank note, when 1 second a length of, the VA0*n expression blank of blank note respectively The number of note cycle was once conversed according to one second to be exactly the time of blank note.Track 1, track 2, track 3 indicate It is the multiple audios for coordinating video unit to play.Shown in Fig. 3 in first broadcast unit, UV1 video files can repeat to broadcast It puts three times, corresponding audio is VA1, VA2, VA2, and VA2 does not have sound after finishing playing, recycle n times blank note.Subsequently into In second broadcast unit, video council plays UV2 files, and audio then plays VA3.There are one inside each broadcast unit The next pointers of Next pointers, current broadcast unit can be dynamically adapted to any one broadcast unit, currently playing unit Finish time time can be loaded into the broadcast unit of next pointers direction.
As can be seen that when a file needs to repeat playing, it is played to the finish time of this file, then will be played Progress is adjusted to start time by program, you can to replay file, it is seen that playback method provided in an embodiment of the present invention Video suitable for class of imparting knowledge to students.Such as setting-up exercises to radio music, the scenes such as gymnasium teaching.
In addition, in practice, the player of terminal system is realized by self-defined UI and plays pause/F.F./retrogressing, and Audio and video are controlled by program to be played simultaneously.
Further, refering to what is shown in Fig. 4, after step 103, method further includes step 104- steps 105, specially:
Step 104:Predetermined registration operation and the first play operation corresponding with predetermined registration operation are set;
Step 105:When detecting predetermined registration operation, X being played on the first sub-audio datas and Y the first sons are regarded Frequency is according to executing the first play operation.
Intelligible, the first play operation includes a variety of broadcast events of terminal, for example, pausing operation, handover operation, more New broadcasting content operation etc..The type of the first play operation of the embodiment of the present invention pair is not particularly limited.
In practical application, terminal can detect predetermined registration operation by expansible third party's playback interface.Terminal plays Notification message is preset according to the difference received in the process and detects that different predetermined registration operations, triggering player corresponding first are broadcast Put operation.
For example, refering to what is shown in Fig. 5, the normal playing sequence of terminal is to play in order VU1, VU2, VU3.Terminal is connecing When receiving handover operation, the operation of Switch Video resource is wanted in triggering.Specifically, refering to what is shown in Fig. 6, each of terminal plays regards Frequency unit is a pointer object, and one is contained inside this pointer object and is directed toward the video pair that next moment needs play It as next, when receiving handover operation, triggers and wants Switch Video resource, just refer to the next of currently playing video pointer To new target so that the playing sequence after terminal switching is to play in order VU1, VU NEW, VU3.Thus so that terminal Realizing broadcasting content can be changed by trigger event dynamic.
In conclusion playback method provided in an embodiment of the present invention, by obtaining preset audio and video playing rule, sound regards Frequency play rules are used to provide the broadcast mode of the first sub-audio data and the first sub-video data;It obtains and is advised with audio and video playing Then corresponding X the first sub-audio datas and Y the first sub-video datas, X the first sub-audio datas are the M divided in advance At least one of a first sub-audio data, Y the first sub-video datas are N number of first sub-video data divided in advance At least one of;X the first sub-audio datas and Y the first sub-video datas are broadcast according to audio and video playing rule It puts.Using above-mentioned technic relization scheme, since audio data and video data are independent from each other, it can combine and broadcast in any permutation It puts, it is thus possible to individually audio or video content be repeated playing, reduce network latency and transmission flow, save The memory space of terminal, improves the flexibility of video playing.
Embodiment two
Fig. 7 is a kind of structural schematic diagram one of terminal provided in an embodiment of the present invention, refering to what is shown in Fig. 7, terminal, including obtain Unit 101 and broadcast unit 102 are taken, wherein:
Acquiring unit 101, for obtaining preset audio and video playing rule, audio and video playing rule is for providing the first son The broadcast mode of audio data and the first sub-video data;Obtain X the first sub-audios corresponding with audio and video playing rule According to Y the first sub-video datas, X the first sub-audio datas be in a first sub-audio datas of M divide in advance extremely One few, Y the first sub-video datas are at least one of N number of first sub-video data divided in advance;
Broadcast unit 102, the audio and video playing rule for being obtained according to acquiring unit 101 is to X the first sub-audios It is played out according to Y the first sub-video datas.
Further, audio and video playing rule includes duration proof rule, and broadcast unit 102 is specifically used for:According to duration Proof rule controls the playing time of X the first sub-audio datas and Y the first sub-video datas.
Further, audio and video playing rule includes that blank note fills up rule, and broadcast unit 102 is specifically used for:In X When the reproduction time of a first sub-audio data is less than the reproduction time of Y the first sub-video datas, filled up according to blank note Rule, between X the first sub-audio datas and the blank reproduction time of Y the first sub-video datas, note of plugging a gap, with Just the reproduction time of X the first sub-audio datas is equal to the reproduction time of Y the first sub-video datas.
Further, refering to what is shown in Fig. 8, terminal further includes setting unit 104 and execution unit 105, wherein:Setting unit 104, it is used in broadcast unit 102 according to audio and video playing rule to X the first sub-audio datas and Y the first sub-video datas After playing out, predetermined registration operation and the first play operation corresponding with predetermined registration operation are set;Execution unit 105, for examining When measuring the predetermined registration operation of the setting of setting unit 104, to X being played on the first sub-audio datas and Y the first sub-videos Data execute the first play operation.
Further, M the first sub-audio datas and N number of first sub-video data are stored in server, acquiring unit 101, it is specifically used for:Corresponding X the first sub-audio datas and Y first are downloaded from a server according to audio and video playing rule Sub-video data.
Further, refering to what is shown in Fig. 9, terminal further includes combining unit 106, in acquiring unit 101 from server After upper corresponding X the first sub-audio data of download and Y the first sub-video datas, in broadcast unit 102 to X first son Before audio data and Y the first sub-video datas play out, X the first sub-audio datas are merged into second audio Data;Correspondingly, broadcast unit 102, is specifically used for the second audio number merged to combining unit according to audio and video playing rule It is played out according to Y the first sub-video datas.
Further, M the first sub-audio datas and N number of first sub-video data are stored in terminal, acquiring unit 101, It is specifically used for:The first audio data is divided into M the first sub-audio datas according to preset audio segmentation rule, is regarded according to default It is N number of first sub-video data that frequency division, which cuts rule by the first partitioning video data,;M is more than or equal to 1, N and is more than or equal to 1;According to sound Video playing rule obtains corresponding X the first sub-audio datas from M the first sub-audio datas, from N number of first sub-video Corresponding Y the first sub-video datas are obtained in data.
In conclusion terminal provided in an embodiment of the present invention, by obtaining preset audio and video playing rule, audio and video are broadcast Put broadcast mode of the rule for providing the first sub-audio data and the first sub-video data;It is right with audio and video playing rule to obtain The X that answers the first sub-audio datas and Y the first sub-video datas, X the first sub-audio datas are M divide in advance a the At least one of one sub-audio data, Y the first sub-video datas are in N number of first sub-video data divided in advance It is at least one;X the first sub-audio datas and Y the first sub-video datas are played out according to audio and video playing rule.It adopts Broadcasting can be combined in any permutation since audio data and video data are independent from each other with above-mentioned technic relization scheme, because And individually audio or video content can be repeated playing, reduce network latency and transmission flow, saves end The memory space at end improves the flexibility of video playing.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention Formula.Moreover, the present invention can be used can use storage in the computer that one or more wherein includes computer usable program code The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to The manufacture of order, the instruction are realized in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes In specify function.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (14)

1. a kind of playback method, which is characterized in that the method is applied to terminal, including:
Preset audio and video playing rule is obtained, the audio and video playing rule is for providing the first sub-audio data and the first son The broadcast mode of video data;
Obtain X first sub-audio datas corresponding with audio and video playing rule and Y the first sub-video numbers It is at least one of a first sub-audio datas of M divide in advance according to, the X the first sub-audio datas, the Y a the One sub-video data is at least one of N number of first sub-video data divided in advance;
The X the first sub-audio datas and the Y the first sub-video datas are carried out according to the audio and video playing rule It plays.
2. according to the method described in claim 1, it is characterized in that, the audio and video playing rule includes duration proof rule, It is described that X first sub-audio datas and Y first sub-video datas are carried out according to the audio and video playing rule It plays, specifically includes:
Broadcasting for X first sub-audio datas and Y first sub-video datas is controlled according to the duration proof rule Put the moment.
3. according to the method described in claim 1, it is characterized in that, the audio and video playing rule, which includes blank note, fills up rule Then, it is described according to the audio and video playing rule to X first sub-audio datas and Y first sub-video datas into Row plays, and specifically includes:
When the reproduction time of X first sub-audio datas is less than the reproduction time of Y first sub-video datas, root Rule is filled up according to blank note, when the blank of X first sub-audio datas and Y first sub-video datas plays Between between, note of plugging a gap, so that the reproduction time of X first sub-audio datas is equal to Y first sub-videos The reproduction time of data.
4. according to the method described in claim 1, it is characterized in that, it is described according to the audio and video playing rule to X institute It states after the first sub-audio data and Y first sub-video datas play out, the method further includes:
Predetermined registration operation and the first play operation corresponding with the predetermined registration operation are set;
When detecting the predetermined registration operation, to the X being played on first sub-audio datas and Y described first Sub-video data executes first play operation.
5. according to the method described in claim 1, it is characterized in that, the M the first sub-audio datas and N number of first son Video data is stored in server, the acquisition and regular corresponding X first sub-audio data of the audio and video playing With Y first sub-video datas, specifically include:
Corresponding X the first sub-audio datas and Y first are downloaded from the server according to the audio and video playing rule Sub-video data.
6. according to the method described in claim 5, it is characterized in that, downloading corresponding X first son from the server After audio data and Y the first sub-video datas, to X first sub-audio datas and Y first sub-videos Before data play out, the method further includes:
The X the first sub-audio datas are merged into a second audio data;
Correspondingly, described play out X first sub-audio datas and Y first sub-video datas, specially:
The second audio data and Y first sub-video datas are played out according to the audio and video playing rule.
7. according to the method described in claim 1, it is characterized in that, the M the first sub-audio datas and N number of first son Video data is stored in the terminal, the acquisition and regular corresponding X first sub-audio of the audio and video playing According to Y first sub-video datas, specifically include:
The first audio data is divided into M the first sub-audio datas according to preset audio segmentation rule, according to pre- setting video point It is N number of first sub-video data that rule, which is cut, by the first partitioning video data;The M is more than or equal to 1, and the N is more than or equal to 1;
Corresponding X the first sub-audios are obtained from the M the first sub-audio datas according to the audio and video playing rule According to obtaining corresponding Y the first sub-video datas from N number of first sub-video data.
8. a kind of terminal, which is characterized in that including acquiring unit and broadcast unit, wherein:
The acquiring unit, for obtaining preset audio and video playing rule, the audio and video playing rule is for providing first The broadcast mode of sub-audio data and the first sub-video data;It obtains and the corresponding X of audio and video playing rule a described the One sub-audio data and Y first sub-video datas, the X the first sub-audio datas are M divide in advance a the At least one of one sub-audio data, the Y the first sub-video datas are N number of first sub-video data divided in advance At least one of;
The broadcast unit, the audio and video playing rule the first son described to X for being obtained according to the acquiring unit Audio data and Y first sub-video datas play out.
9. terminal according to claim 8, which is characterized in that the audio and video playing rule includes duration proof rule, The broadcast unit, is specifically used for:
Broadcasting for X first sub-audio datas and Y first sub-video datas is controlled according to the duration proof rule Put the moment.
10. terminal according to claim 8, which is characterized in that the audio and video playing rule includes that blank note is filled up Rule, the broadcast unit, is specifically used for:
When the reproduction time of X first sub-audio datas is less than the reproduction time of Y first sub-video datas, root Rule is filled up according to blank note, when the blank of X first sub-audio datas and Y first sub-video datas plays Between between, note of plugging a gap, so that the reproduction time of X first sub-audio datas is equal to Y first sub-videos The reproduction time of data.
11. terminal according to claim 8, which is characterized in that the terminal further includes setting unit and execution unit, In:
The setting unit is used in the broadcast unit according to the audio and video playing rule to X first sub-audios After data and Y first sub-video datas play out, predetermined registration operation and corresponding with the predetermined registration operation the are set One play operation;
The execution unit, for when detecting the predetermined registration operation of setting unit setting, to the playing X first sub-audio datas and Y first sub-video datas execute first play operation.
12. terminal according to claim 8, which is characterized in that M first sub-audio datas and N number of described first Sub-video data is stored in server, and the acquiring unit is specifically used for:
Corresponding X the first sub-audio datas and Y first are downloaded from the server according to the audio and video playing rule Sub-video data.
13. terminal according to claim 12, which is characterized in that the terminal further includes combining unit, for described After acquiring unit downloads corresponding X the first sub-audio datas and Y the first sub-video datas from the server, broadcasting It puts before unit plays out X first sub-audio datas and Y first sub-video datas, by the X the One sub-audio data merges into a second audio data;
Correspondingly, the broadcast unit, is specifically used for the institute merged to the combining unit according to the audio and video playing rule It states second audio data and Y first sub-video datas plays out.
14. terminal according to claim 8, which is characterized in that M first sub-audio datas and N number of described first Sub-video data is stored in the terminal, and the acquiring unit is specifically used for:
The first audio data is divided into M the first sub-audio datas according to preset audio segmentation rule, according to pre- setting video point It is N number of first sub-video data that rule, which is cut, by the first partitioning video data;The M is more than or equal to 1, and the N is more than or equal to 1;Root Corresponding X the first sub-audio datas are obtained from the M the first sub-audio datas according to the audio and video playing rule, from institute It states and obtains corresponding Y the first sub-video datas in N number of first sub-video data.
CN201611140929.XA 2016-12-12 2016-12-12 A kind of playback method and terminal Pending CN108614829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611140929.XA CN108614829A (en) 2016-12-12 2016-12-12 A kind of playback method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611140929.XA CN108614829A (en) 2016-12-12 2016-12-12 A kind of playback method and terminal

Publications (1)

Publication Number Publication Date
CN108614829A true CN108614829A (en) 2018-10-02

Family

ID=63657648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611140929.XA Pending CN108614829A (en) 2016-12-12 2016-12-12 A kind of playback method and terminal

Country Status (1)

Country Link
CN (1) CN108614829A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112153456A (en) * 2020-09-25 2020-12-29 北京达佳互联信息技术有限公司 Video data recording method and device, electronic equipment and storage medium
CN115174960A (en) * 2022-06-21 2022-10-11 咪咕文化科技有限公司 Audio and video synchronization method and device, computing equipment and storage medium

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040170392A1 (en) * 2003-02-19 2004-09-02 Lie Lu Automatic detection and segmentation of music videos in an audio/video stream
CN1527599A (en) * 1995-09-29 2004-09-08 ���µ�����ҵ��ʽ���� Multi-visual angle connection coding method for potential flow and apparatus thereof
CN1692426A (en) * 2002-11-20 2005-11-02 Lg电子有限公司 Recording medium having data structure for managing reproduction of data recorded thereon and recording and reproducing methods and apparatuses
CN101047842A (en) * 2006-03-27 2007-10-03 中兴通讯股份有限公司 Method for playing flow media audio-vedio on radio binary operation environment mobile phone
CN101242510A (en) * 2008-02-18 2008-08-13 华为技术有限公司 A playing method and realization device for dynamic audio and video menu
CN101729857A (en) * 2009-11-24 2010-06-09 中兴通讯股份有限公司 Method for accessing video service and video playing system
US20100250778A1 (en) * 2009-03-25 2010-09-30 Jonsson Karl S UPnP AV DEMUX
US20120011544A1 (en) * 2005-01-27 2012-01-12 Arthur Vaysman Viewer-customized interactive displays including dynamic video mosaic elements
CN102802002A (en) * 2012-08-14 2012-11-28 上海艾麒信息科技有限公司 Method for mobile phone to play back 3-dimensional television videos
US20130027507A1 (en) * 2007-09-30 2013-01-31 Thapa Mukund N Synchronization and Mixing of Audio and Video Streams in Network Based Video Conferencing Call Systems
CN103313122A (en) * 2012-03-09 2013-09-18 联想(北京)有限公司 Data processing method and electronic device
CN103605709A (en) * 2013-11-12 2014-02-26 天脉聚源(北京)传媒科技有限公司 Distributed audio and video processing device and distributed audio and video processing method
CN103686315A (en) * 2012-09-13 2014-03-26 深圳市快播科技有限公司 Synchronous audio and video playing method and device
CN104378675A (en) * 2014-12-08 2015-02-25 厦门雅迅网络股份有限公司 Multichannel audio-video synchronized playing processing method
CN104853239A (en) * 2015-04-27 2015-08-19 浙江生辉照明有限公司 Audio and video synchronous playback control method and system
US20150243177A1 (en) * 2014-02-24 2015-08-27 Eopin Oy Providing an and audio and/or video component for computer-based learning
CN105120331A (en) * 2015-08-21 2015-12-02 小米科技有限责任公司 Method and apparatus of processing live audio and video
CN105744334A (en) * 2016-02-18 2016-07-06 海信集团有限公司 Method and equipment for audio and video synchronization and synchronous playing
CN105959786A (en) * 2016-04-28 2016-09-21 乐视控股(北京)有限公司 Audio and video playing method and device
CN106095359A (en) * 2016-05-31 2016-11-09 深圳市小氪科技有限公司 A kind of video image free splicing and the system of segmentation

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1527599A (en) * 1995-09-29 2004-09-08 ���µ�����ҵ��ʽ���� Multi-visual angle connection coding method for potential flow and apparatus thereof
CN1692426A (en) * 2002-11-20 2005-11-02 Lg电子有限公司 Recording medium having data structure for managing reproduction of data recorded thereon and recording and reproducing methods and apparatuses
US20040170392A1 (en) * 2003-02-19 2004-09-02 Lie Lu Automatic detection and segmentation of music videos in an audio/video stream
US20120011544A1 (en) * 2005-01-27 2012-01-12 Arthur Vaysman Viewer-customized interactive displays including dynamic video mosaic elements
CN101047842A (en) * 2006-03-27 2007-10-03 中兴通讯股份有限公司 Method for playing flow media audio-vedio on radio binary operation environment mobile phone
US20130027507A1 (en) * 2007-09-30 2013-01-31 Thapa Mukund N Synchronization and Mixing of Audio and Video Streams in Network Based Video Conferencing Call Systems
CN101242510A (en) * 2008-02-18 2008-08-13 华为技术有限公司 A playing method and realization device for dynamic audio and video menu
CN101242510B (en) * 2008-02-18 2012-08-08 华为技术有限公司 A playing method and realization device for dynamic audio and video menu
US20100250778A1 (en) * 2009-03-25 2010-09-30 Jonsson Karl S UPnP AV DEMUX
CN101729857A (en) * 2009-11-24 2010-06-09 中兴通讯股份有限公司 Method for accessing video service and video playing system
CN103313122A (en) * 2012-03-09 2013-09-18 联想(北京)有限公司 Data processing method and electronic device
CN102802002A (en) * 2012-08-14 2012-11-28 上海艾麒信息科技有限公司 Method for mobile phone to play back 3-dimensional television videos
CN103686315A (en) * 2012-09-13 2014-03-26 深圳市快播科技有限公司 Synchronous audio and video playing method and device
CN103605709A (en) * 2013-11-12 2014-02-26 天脉聚源(北京)传媒科技有限公司 Distributed audio and video processing device and distributed audio and video processing method
US20150243177A1 (en) * 2014-02-24 2015-08-27 Eopin Oy Providing an and audio and/or video component for computer-based learning
CN104378675A (en) * 2014-12-08 2015-02-25 厦门雅迅网络股份有限公司 Multichannel audio-video synchronized playing processing method
CN104853239A (en) * 2015-04-27 2015-08-19 浙江生辉照明有限公司 Audio and video synchronous playback control method and system
CN105120331A (en) * 2015-08-21 2015-12-02 小米科技有限责任公司 Method and apparatus of processing live audio and video
CN105744334A (en) * 2016-02-18 2016-07-06 海信集团有限公司 Method and equipment for audio and video synchronization and synchronous playing
CN105959786A (en) * 2016-04-28 2016-09-21 乐视控股(北京)有限公司 Audio and video playing method and device
CN106095359A (en) * 2016-05-31 2016-11-09 深圳市小氪科技有限公司 A kind of video image free splicing and the system of segmentation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘小晶等: "教学视频微型化改造与应用的新探索", 《中国电化教育》 *
李鹏: "Adobe Flash CS6动画设计与制作技能基础教程", 《北京希望电子出版社》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112153456A (en) * 2020-09-25 2020-12-29 北京达佳互联信息技术有限公司 Video data recording method and device, electronic equipment and storage medium
CN115174960A (en) * 2022-06-21 2022-10-11 咪咕文化科技有限公司 Audio and video synchronization method and device, computing equipment and storage medium
CN115174960B (en) * 2022-06-21 2023-08-15 咪咕文化科技有限公司 Audio and video synchronization method and device, computing equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108259989B (en) Video live broadcast method, computer readable storage medium and terminal equipment
CN106851385B (en) Video recording method and device and electronic equipment
CN109168078B (en) Video definition switching method and device
CN106658133B (en) Audio and video synchronous playing method and terminal
CN103226961B (en) A kind of playing method and device
CN104703036B (en) A kind of method, apparatus and system of synchronized multimedia file playback progress
EP3996382A1 (en) Gapless video looping
WO2019197714A1 (en) Controlling audio in multi-viewpoint omnidirectional content
CN104837037B (en) A kind of generation method and device of video carousel list
CN104202540A (en) Method and system for generating video by using picture
CN103414627A (en) Virtual gift display method and system
CN109218795A (en) A kind of more device plays progress synchronous method, device and terminal device
CN105872786B (en) A kind of method and device for launching advertisement by barrage in a program
CN106534888A (en) Method and system for selecting background music based on video content
CN108366299A (en) A kind of media playing method and device
US20230079893A1 (en) Multi-Viewpoint Multi-User Audio User Experience
CN105025344A (en) Inter-cut method and device
CN104811582A (en) A method and device for playing multiple intelligent devices synchronously
WO2018191720A1 (en) System and method for spatial and immersive computing
CN108614829A (en) A kind of playback method and terminal
WO2024212738A1 (en) Vibration processing method and related device
CN112055242A (en) Video synchronous playing method, device, system and storage medium
CN109002275B (en) AR background audio processing method and device, AR equipment and readable storage medium
CN109040819A (en) Playback progress synchronous method, device, equipment and storage medium
CN108153508A (en) A kind of method and device of audio frequency process

Legal Events

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

Address after: 310012 building A01, 1600 yuhangtang Road, Wuchang Street, Yuhang District, Hangzhou City, Zhejiang Province

Applicant after: CHINA MOBILE (HANGZHOU) INFORMATION TECHNOLOGY Co.,Ltd.

Applicant after: China Mobile Communications Corp.

Address before: 310012, No. 14, building three, Chang Torch Hotel, No. 259, Wensanlu Road, Xihu District, Zhejiang, Hangzhou

Applicant before: CHINA MOBILE (HANGZHOU) INFORMATION TECHNOLOGY Co.,Ltd.

Applicant before: China Mobile Communications Corp.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181002