CN107526502A - The playing method and device of media file - Google Patents
The playing method and device of media file Download PDFInfo
- Publication number
- CN107526502A CN107526502A CN201610808716.3A CN201610808716A CN107526502A CN 107526502 A CN107526502 A CN 107526502A CN 201610808716 A CN201610808716 A CN 201610808716A CN 107526502 A CN107526502 A CN 107526502A
- Authority
- CN
- China
- Prior art keywords
- media file
- trigger action
- jing yin
- live
- play
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B19/00—Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
- G11B19/02—Control of operating function, e.g. switching from recording to reproducing
- G11B19/022—Control panels
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B19/00—Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
- G11B19/02—Control of operating function, e.g. switching from recording to reproducing
- G11B19/022—Control panels
- G11B19/025—'Virtual' control panels, e.g. Graphical User Interface [GUI]
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of playing method and device of media file.This method includes:The first trigger action is detected, the first trigger action is used to indicate that the media file progress to client current live is Jing Yin;It is Jing Yin to media file progress in response to the first trigger action, and the recording medium file since the first play position in media file, media file currently played position when the first play position is carries out Jing Yin;The second trigger action is detected, wherein, it is Jing Yin to media file cancellation that the second trigger action is used for instruction;It is Jing Yin to media file cancellation in response to the second trigger action, and the media file recorded is commenced play out from the first play position in the client.The present invention is solved after correlation technique performs mute operation to the media file that is playing, media file continues to play, user is caused to cancel the playing progress rate before Jing Yin be not followed by, and Jing Yin period media file continues to play the technical problem for causing flow to consume in vain.
Description
Technical field
The present invention relates to computer realm, in particular to a kind of playing method and device of media file.
Background technology
At present, mobile phone and the Jing Yin of vehicle device all simply give disabling, such as hand the sound of whole system or some passage
The incoming ring tone of machine is muted.But the field of overall situation mute (except phone) is needed through being commonly encountered for vehicle-mounted scene, user
Scape, for example, user is in the case of navigating and listening music when needing to talk with vehicle occupant, can be directly static by mute button
All sound.But the mode of this overall situation mute has certain negative interaction, for example, user is listening to a program,
Jing Yin sometime clicking on, Jing Yin program afterwards still is continuing to play, and can't hear the program in Jing Yin period user, cancels
It is Jing Yin be not followed by before playing progress rate, cause user to listen to content imperfect, moreover, Jing Yin period program continues to play also
The flow that may result in user wastes.
For it is above-mentioned the problem of, not yet propose effective solution at present.
The content of the invention
The embodiments of the invention provide a kind of playing method and device of media file, aligned with least solving correlation technique
After the media file of broadcasting performs mute operation, media file continues to play, and causes user to cancel Jing Yin be not followed by
Playing progress rate before, and Jing Yin period media file continues to play the technical problem for causing flow to consume in vain.
One side according to embodiments of the present invention, there is provided a kind of player method of media file, including:Detection first
Trigger action, wherein, the first trigger action is used to indicate that the media file progress to client current live is Jing Yin;In response to
One trigger action is Jing Yin to media file progress, and the recording medium file since the first play position in media file, its
In, media file currently played position when the first play position is carries out Jing Yin;The second trigger action is detected, wherein, the
It is Jing Yin to media file cancellation that two trigger actions are used for instruction;And media file is cancelled in response to the second trigger action quiet
Sound, and the media file recorded is commenced play out from the first play position in the client.
Another aspect according to embodiments of the present invention, a kind of playing device of media file is additionally provided, including:First inspection
Unit is surveyed, for detecting the first trigger action, wherein, the first trigger action is used to indicate the media text to client current live
Part carries out Jing Yin;First response unit, it is Jing Yin for being carried out in response to the first trigger action to media file, and from media file
In the first play position start recording medium file, wherein, the first play position for carry out it is Jing Yin when the current institute of media file
The position of broadcasting;Second detection unit, for detecting the second trigger action, wherein, the second trigger action is used to indicate to media
File is cancelled Jing Yin;And second response unit, it is Jing Yin for cancelling in response to the second trigger action to media file, and in visitor
The media file recorded is commenced play out in the end of family from the first play position.
In embodiments of the present invention, it is Jing Yin by being carried out when detecting the first trigger action to media file, and from quiet
The currently playing position of media file starts recording medium file during sound;Media file is taken when detecting the second trigger action
Disappear Jing Yin, and in the client from it is Jing Yin when the currently playing position of media file commence play out the media file recorded, reach
To playing in Jing Yin period recording medium file and when cancelling Jing Yin the media file recorded, and then ensure user quiet
The purpose of the media file of broadcasting will not be omitted during sound, it is achieved thereby that ensureing that user watches or listens to the complete of media file
Property, and then the effect of user's audition experience is improved, and then it is Jing Yin to the media file execution played to solve correlation technique
After operation, media file continues to play, and causes user to cancel the playing progress rate before Jing Yin be not followed by, and Jing Yin period
Media file continues to play the technical problem for causing flow to consume in vain.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair
Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the hardware environment of the player method of media file according to embodiments of the present invention;
Fig. 2 is a kind of flow chart of the player method of optional media file according to embodiments of the present invention;
Fig. 3 is a kind of schematic diagram of the playing device of optional media file according to embodiments of the present invention;
Fig. 4 is the schematic diagram of the playing device of the optional media file of another kind according to embodiments of the present invention;
Fig. 5 is the schematic diagram of the playing device of the optional media file of another kind according to embodiments of the present invention;
Fig. 6 is the schematic diagram of the playing device of the optional media file of another kind according to embodiments of the present invention;
Fig. 7 is the schematic diagram of the playing device of the optional media file of another kind according to embodiments of the present invention;
Fig. 8 is the schematic diagram of the playing device of the optional media file of another kind according to embodiments of the present invention;And
Fig. 9 is a kind of structured flowchart of terminal according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects
Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, "
Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use
Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or
Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment
Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product
Or the intrinsic other steps of equipment or unit.
Embodiment 1
According to embodiments of the present invention, there is provided a kind of embodiment of the method for the player method of media file.
Alternatively, in the present embodiment, the player method of above-mentioned media file can apply to as shown in Figure 1 by servicing
In the hardware environment that device 102 and terminal 104 are formed.As shown in figure 1, server 102 is connected by network and terminal 104
Connect, above-mentioned network includes but is not limited to:Wide area network, Metropolitan Area Network (MAN) or LAN, terminal 104 are not limited to PC, mobile phone, flat board electricity
Brain etc..The player method of the media file of the embodiment of the present invention can be performed by server 102, can also by terminal 104
Perform, can also be and performed jointly by server 102 and terminal 104.Wherein, terminal 104 performs the media of the embodiment of the present invention
The player method of file can also be performed by client mounted thereto.
Fig. 2 is a kind of flow chart of the player method of optional media file according to embodiments of the present invention, such as Fig. 2 institutes
Show, this method may comprise steps of:
Step S202, the first trigger action is detected, wherein, the first trigger action is used to indicate to client current live
Media file carries out Jing Yin;
Step S204, it is Jing Yin to media file progress in response to the first trigger action, and broadcast from first in media file
Put position and start recording medium file, wherein, media file currently played position when the first play position is carries out Jing Yin;
Step S206, the second trigger action is detected, wherein, it is quiet to media file cancellation that the second trigger action is used for instruction
Sound;
Step S208, it is Jing Yin to media file cancellation in response to the second trigger action, and played in the client from first
Position commences play out the media file recorded.
It is quiet by being carried out when detecting the first trigger action to media file by above-mentioned steps S202 to step S208
Sound, and the recording medium file the currently playing position of media file when Jing Yin;When detecting the second trigger action pair
Media file cancel it is Jing Yin, and in the client from it is Jing Yin when the currently playing position of media file commence play out the matchmaker that has recorded
Body file, reach in Jing Yin period recording medium file and the media file recorded, Jin Erbao are played when cancellation is Jing Yin
Card user will not omit the purpose of the media file of broadcasting in Jing Yin period, and then solve correlation technique to the matchmaker that is playing
After body file performs mute operation, media file continues to play, and causes user to cancel the broadcasting before Jing Yin be not followed by
Progress, and Jing Yin period media file continues to play the technical problem for causing flow to consume in vain, it is achieved thereby that ensureing user
The integrality of media file is watched or listened to, and then improves the effect of user's audition experience.
In the technical scheme that step S202 is provided, client may be mounted in terminal, and the embodiment of the present invention is to terminal
Type be not specifically limited, for example, terminal can be PC, mobile phone, tablet personal computer, vehicle device etc..Client can be used for playing
Media file, herein it should be noted that the client in the embodiment of the present invention can apply App, such as Tengxun's video
App, client can also be vehicle radio stations.It should be noted that the media file that the embodiment of the present invention is played to client
Type be not specifically limited, media file can be audio file or video file.It is it should also be noted that, objective
The media file that family end is played can include live media file and non-live media file, wherein, live media
File can not perform the play operation such as pause, F.F., rewind, rather than live media file in playing process in playing process
In can perform the play operation such as pause, broadcasting, F.F., rewind.For example, live media file can be Tengxun video App
In live football match, the live program of radio station of vehicle radio station etc., non-live media file can be in Tengxun video App
Non- live film, variety show, music song etc., or music song buffered in vehicle radio station.Need what is illustrated
It is that can perform volume adjusting operation to live media file and non-live media file in the client, including increase
Add deduct small volume, it is Jing Yin, cancel it is Jing Yin etc..
So that client is current just in live media file as an example, in client live media file, the embodiment can be with
The first trigger action of detection in real time, wherein, the first trigger action can serve to indicate that the media file to client current live
Carry out Jing Yin.It is Jing Yin to media file progress to can apply to be similar in vehicular applications scene, for example, listening to music program
During, it is necessary to when receiving calls or needing to talk with people, it is necessary to music program carry out it is Jing Yin, to prevent music program
Disturb user's communication.It should be noted that need that media file is carried out Jing Yin to be applied to it in the embodiment of the present invention
In his scene, no longer illustrate one by one herein.It should also be noted that, the first trigger action can be performed on the client
Trigger action, for example, clicking on Jing Yin touch area on client application interface, the first trigger action can also be in client
The trigger action performed in terminal where holding, for example, it is assumed that client is arranged on mobile phone, the first trigger action can be pair
The trigger action that volume adjusting button on mobile phone performs, such as reduce volume until volume is zero, or to quiet on mobile phone
The trigger action that sound mode key performs, such as adjustment mobile phone is silent mode, the first trigger action can also be Voice command
Operation, for example, in the car in scene user can send " Jing Yin " this voice and realize to the mute operation of media file.This hair
Bright embodiment is not specifically limited to the triggering mode of the first trigger action, the first trigger action both can by speech trigger,
It can also be triggered by acting (such as button operation, touch control operation etc.).It should also be noted that, the first trigger action only can be with
For indicating that the media file progress to client current live is Jing Yin, the media file of client current live can not be entered
Row pause, namely the media file of client current live continue to play in Jing Yin period.
In the technical scheme that step S204 is provided, when detecting the first trigger action, the embodiment can be in response to
First trigger action carries out Jing Yin, the media file of Jing Yin rear client current live to the media file of client current live
Still continuing to play.In order to avoid user carries out Jing Yin period in the media file to client current live, because of live matchmaker
Body file, which can not suspend, to be caused user to omit to watch or listen to media file live in the Jing Yin period, therefore, real
Apply example can since the first play position in media file recording medium file, wherein, the first play position can be pair
The current currently played position of the media file just when live media file carries out Jing Yin of client, the embodiment is from quiet
The currently played position of media file starts to record the media file during sound, enables to user can be by watching or receiving
Listen the media file of recording to view or listen to the live media file of client to ensure that user will not omit, can reach and carry
High user views or listens to the integrality of the live media file of client, improves the purpose of user's audiovisual experience.And
Jing Yin period by recording the live media file of client in order to which user subsequently views or listens to, it is also possible that client
The customer flow at end will not waste.
As a kind of optional embodiment, step S204 recording medium texts since the first play position in media file
Part can take any one in following two modes:
First way:Step S2042, continue to play media file on the client from the first play position, and broadcasting
While putting media file, the media file played in client is recorded.
In the first way, in client just after live media file progress is Jing Yin, client is broadcast
Put in interface and still continuing to play the media file, the embodiment can be while the client terminal playing media file, from
One play position carries out the recording of data frame by frame to the media file played in client display interface.Specifically, it is assumed that client
It is video file to hold live media file, such as live football match, and live video file is carried out in client
After Jing Yin, the embodiment frame by frame can record the video figure played in client display interface since the first play position
Picture, finally these video frame images of recording are preserved, in order to which user can continue to watch the foot when cancelling Jing Yin
Ball is competed, and then ensures that user watches the integrality of the football match.Assuming that the live media file of client is audio file,
Such as the music program that radio is live, in client live audio file carry out it is Jing Yin after, the embodiment can be from
First play position starts frame by frame and records the voice data played in client, finally by the data of these audio frames of recording
Preserved, in order to which user can continue to listen to the music program when cancelling Jing Yin, and then ensure that user listens to the music
The integrality of program.
The second way, step S2044, media file is cached since the first play position on the client,
And using the media file being cached to as the media file recorded.
In the second way, in client just after live media file progress is Jing Yin, client is broadcast
Put in interface and still continuing to play the media file, the embodiment can be while the client terminal playing media file, in visitor
Family end backstage caches the media file to realize the purpose of the recording live media file since the first play position.Need
Illustrate, what client background cached since the first play position is the attribute data of the media file, these attribute numbers
According to can serve to indicate that the media file.The process nature that client background caches the media file is to cache the media file
Attribute data and the process preserved with document form, the media file of client terminal playing caching can be by reading these category
Property data realize.
It should be noted that above-mentioned first way, which is front end, records mode, by being played in client display interface
Media file the recording of data and preserved these data frames frame by frame.The above-mentioned second way is backstage caching side
Formula, pass through the attribute in client background buffered media file and the attribute data that will be cached to while media file is played
Preserved with document form.It should also be noted that, the embodiment the media file live to client carry out it is Jing Yin after,
Recording medium file can take any one in above two mode since the first play position in media file, this
Invention is not specifically limited to it.
The embodiment records the media by any one above-mentioned mode since the first play position in media file
File, the media file that can view or listen to record for user when cancelling Jing Yin can be reached, and then cause user
The purpose of played media file of Jing Yin period will not be omitted, has reached the integrality for ensureing that user watches media file, has carried
The effect of high user's audiovisual experience.
In the technical scheme that step S206 is provided, after Jing Yin to the progress of the media file of client current live,
While client continues the live media file, the embodiment can detect the second trigger action in real time, wherein, the second triggering
Operation can serve to indicate that Jing Yin just in live media file cancellation to client.Media file cancel it is Jing Yin can be with
Applied to similar to user in vehicular applications scene answered phone or with people talk terminate after, it is necessary to music program
Cancel Jing Yin to continue to listen to music program.It should be noted that the second trigger action can be perform on the client touch
Hair operation, cancel Jing Yin touch area or after Jing Yin touch area is clicked on for example, being clicked on client application interface
It is carried out to again tap on operation, the second trigger action can also be the trigger action performed in the terminal where client,
For example, it is assumed that client is arranged on mobile phone, the second trigger action can be touching to the volume adjusting button execution on mobile phone
Hair operation, adjustment volume, which increases to, to be not zero, or to the trigger action that the silent mode button on mobile phone performs, such as adjust
For mobile phone to non-mute pattern, the second trigger action can also be voice-controlled operations, for example, in the car in scene user can send out
Go out cancellation mute operation of " cancelling Jing Yin " this voice realization to media file.The embodiment of the present invention is to the second trigger action
Triggering mode is not specifically limited, the second trigger action both can by speech trigger, can also by action (such as button grasp
Work, touch control operation etc.) triggering..
In the technical scheme that step S208 is provided, when detecting the second trigger action, the embodiment can be in response to
Media file cancellation of second trigger action to client current live is Jing Yin, and the live media file can continue with audio
Play.If user the live media file is cancelled it is Jing Yin after, the media file from current live to play position after
The media file is put in continued broadcasting, it will is caused user can not view or listen to live media file of Jing Yin period, is caused user
The media file viewed or listened to is imperfect, influences the audiovisual experience of user.In order to avoid above mentioned problem, the embodiment can be with
After Jing Yin to live media file cancellation, the media text recorded is commenced play out from the first play position in the client
Part, wherein, the media file is played when the first play position can be to carry out Jing Yin to media file live in client
Position, the media file recorded can be since the first play position record media file.The embodiment by
The media file recorded is commenced play out from the first play position after the media file cancellation live to client is Jing Yin, can be made
User can not will not intactly view or listen to the media file because missing played media file of Jing Yin period, enter
And improve the audiovisual experience of user.
Concrete example explanation is carried out for the above embodiment of the present invention:Assuming that client is Tengxun's Video Applications, the Tengxun
Video Applications are arranged in vehicle device, and Tengxun's Video Applications are current just in live football match.Being sent a telegram here at the t1 moment needs user
Answer, the mute button in t1 moment users click Tengxun's Video Applications, then the live football match is quiet at the t1 moment
Sound, and the football match is recorded since the t1 moment.User has answered phone and has again tapped on mute button to live at the t2 moment
Football match eliminate Jing Yin, then live football after Tengxun's Video Applications do not continue to play the t2 moment at the t2 moment
Match, but commence play out the football match recorded since the t1 moment.It should be noted that Tengxun Video Applications play from
The t1 moment start record football match when, to football match live after the t2 moment still in recording process is continued, i.e., from
The t2 moment starts Tengxun's Video Applications and broadcasts state into record.It should be noted that show matchmaker with specific timetable in the citing
The play position of body file, i.e. t1 moment are the first play position.
As a kind of optional embodiment, step S208 commences play out what is recorded from the first play position in the client
Media file can include:Step S2082, play what is recorded at a predetermined velocity since the first play position in the client
Media file, wherein, predetermined speed is more than the live speed of media file.
It should be noted that the live speed of media file can be the normal speed of the live media file of client,
Predetermined speed is more than the live speed of media file herein, for example, predetermined speed can be the 1.5 of the live speed of media file
Times.The embodiment the media file live to client cancel it is Jing Yin after, in the client since the first play position with
The media file that predetermined speed broadcasting more than the live speed of media file has been recorded, pass through and accelerate to play the media text recorded
Part so that the play position for the media file recorded can pull up to just in the play position of live media file as early as possible,
And then client can be switched seamlessly to just in the broadcasting of live media file, can so shorten the recording of media file
Journey, reduce the resource that recording medium file is consumed.
As a kind of optional embodiment, step S2082 in the client since the first play position at a predetermined velocity
Playing the media file recorded can include:Step S20822, broadcast when be played at a predetermined velocity in media file second
When putting position, media file is commenced play out from the second play position with live speed in the client, wherein, the second play position
The position arrived for current live in media file.
It should be noted that because predetermined speed is more than the live speed of media file, therefore the media file recorded
Play position can after one section of event with media file current live to position overlap, the position of the coincidence is second
Play position, wherein, the second play position can be the position that current live arrives in media file.When being played at a predetermined velocity
During the second play position in media file, the embodiment can switch to from the playing process for the media file recorded
The playing process of live media file, and media text is commenced play out from the second play position with live speed in the client
Part, no longer media file is recorded since the second play position, can so reach reduction recording medium file and be disappeared
The effect of the resource of consumption.Meanwhile after the second play position is played to the predetermined speed more than live speed, with normal
Live speed plays live media file from the second play position, can shorten cause because broadcasting speed is too fast audiovisual experience compared with
The duration of difference, and then improve the effect of user's audiovisual experience.
For both the above optional embodiment, continue to illustrate on the basis of the example above of the present invention:Tengxun regards
Frequency applies the football match for commencing play out at the t2 moment and being recorded since the t1 moment, and has played this with 1.5 times of live speed
The football match of recording.It should be noted that when Tengxun's Video Applications play the football match recorded since the t1 moment, it is right
Live football match is still in recording process is continued after the t2 moment, i.e., Tengxun's Video Applications are recorded into side since the t2 moment
While broadcast state.Speed due to playing the football match recorded is more than the live speed of normal football match, when in t3
The play position of football match recorded is carved with just when the play position of live football match overlaps, namely having recorded
The playing progress rate of football match is pulled up to just in the playing progress rate of live football match, and now Tengxun's Video Applications can terminate
The recording of football match, switch to and just played out in live football match.It should be noted that also with specific in the citing
Moment represents the play position of media file, i.e. the t3 moment is the second play position.
As a kind of optional embodiment, before step S202 detects the first trigger action, or, rung in step S208
Should be Jing Yin to media file cancellation in the second trigger action, and commence play out what is recorded from the first play position in the client
After media file, the embodiment can also comprise the following steps (this is illustrated exemplified by sentencing before step S202):
Step S2012, the 3rd trigger action is detected, wherein, the 3rd trigger action is used to indicate to non-live in client
Media file carry out it is Jing Yin;
Step S2014, it is Jing Yin to non-live media file progress in response to the 3rd trigger action, and suspend non-live
Media file;
Step S2016, the 4th trigger action is detected, wherein, the 4th trigger action is used to indicate to non-live media text
Part is cancelled Jing Yin;
Step S2018, cancels Jing Yin in response to the 4th trigger action to non-live media file, and recovers to play non-straight
The media file broadcast.
It should be noted that above-mentioned steps are to be directed to non-live media file in client, non-live media file
Live media file is different from, and non-live media file allows it to be performed in playing process pause, F.F., rewind etc.
Operation.The 3rd trigger action in above-mentioned steps can serve to indicate that non-live media file is carried out it is Jing Yin, wherein, the 3rd
The type of trigger action and specific triggering mode can be similar to the first trigger action, and here is omitted.In above-mentioned steps
4th trigger action can serve to indicate that non-live media file is cancelled it is Jing Yin, wherein, the type of the 4th trigger action and
Specific triggering mode can be similar to the second trigger action, and here is omitted.
The embodiment can be carried out Jing Yin when detecting three trigger actions to non-live media file in client
And suspend the non-live media file;When detecting four trigger actions, the non-live media file can be cancelled
It is Jing Yin and recover to play the non-live media file.It should be noted that control non-live media file pause and extensive
Replay, which is put, can call the media focal points in client to be uniformly controlled interface, and the control interface can be to non-live in client
Media file be controlled.The embodiment when non-live media file carries out Jing Yin in client by controlling its temporary
Break and put, recover to play when cancelling Jing Yin, can solve the problem that correlation technique performs mute operation to the media file played
Afterwards, media file continues to play, and causes user to cancel the playing progress rate before Jing Yin be not followed by, and Jing Yin period media
File continues to play the technical problem for causing flow to consume in vain, it is achieved thereby that ensureing that user watches or listens to media file
Integrality, and then the effect of user's audition experience is improved, reduce because Jing Yin period media file continues to play consumed flow
Effect.
As a kind of optional embodiment, in step S2014 in response to the 3rd trigger action to non-live media file
Carry out Jing Yin, and after suspending non-live media file, the embodiment can also include:Step S2015, flag bit is set,
Wherein, flag bit is used to indicate to exist in client suspends the non-live media file played because carrying out Jing Yin.Correspondingly,
After step S2016 detects the 4th trigger action, the embodiment can also comprise the following steps:Step S20172, judge to mark
Whether will position is set;Step S20174, when judging that flag bit is set, obtain and suspend the non-of broadcasting because carrying out Jing Yin
Live media file;Step S20176, in response to the 4th trigger action to suspending the non-live of broadcasting because carrying out Jing Yin
Media file cancellation is Jing Yin, and recovers to play and suspend the non-live media file played because carrying out Jing Yin.
Exist it should be noted that the flag bit in above-mentioned steps can serve to indicate that in client because progress is Jing Yin and temporary
Break the non-live media file put, non-live media file is carried out Jing Yin and after suspending broadcasting in client,
The embodiment can set flag bit, such as flag bit is arranged into 1, can in order to after the 4th trigger action is detected
To need to recover the non-live media file played by judging that the flag bit determines whether there is, and then shorten and recover
Play the purpose of the time of non-live media file.
In actual application, Jing Yin shape can be monitored in Resident Process in the client in above-mentioned alternative embodiment
State changes, and the broadcasting of current media file is controlled by Jing Yin state, specifically:
When triggering Jing Yin, it can be determined that whether there is in the broadcasting pond of active client can suspend the non-live of recovery
Media file, such as music, program etc., go to suspend current media if it is present calling media focal points to be uniformly controlled interface
File, and a flag bit is set, currently there is media file to be suspended for marking, can subsequently recover;Otherwise do not deal with.
When cancelling Jing Yin, it can first judge whether that flag bit has been set, if set, then judge in currently playing pond
With the presence or absence of media file, such as music, program etc., go to recover if it does not exist, then calling media focal points to be uniformly controlled interface
Play the media file suspended before;Otherwise do not deal with.
The embodiment is searched from client by setting flag bit to shorten and judges whether to need recovery to broadcast
What is put causes to suspend the non-live media file played because progress is Jing Yin, and then raising is extensive to non-live media file progress
Replay the efficiency put, and lifts the audiovisual experience of user.
It should also be noted that, user can actively trigger the broadcasting of media file in Jing Yin period in the embodiment, this
When client user can be prompted to be currently at mute state, and if in the case of playback of media files user contact it is quiet
Sound, the media file suspended before is just no longer replied, and be to continue with playing current media file;Or user triggers in active
After the broadcasting of media file, can cancel automatically it is Jing Yin, to prevent user from missing the playing process of media file.Alternatively,
In the embodiment media file is cancelled it is Jing Yin after, can not recover to play the media file that is suspended automatically, but
Receive the trigger action of the media file being suspended that user performs, for indicating to recover broadcasting and then according to reception
To trigger action recover to play the media file that is suspended.
The above embodiment of the present invention can record in client live media file and Jing Yin cancelling in Jing Yin period
When play the media file recorded, or suspend in Jing Yin period in client non-live media file and Jing Yin cancelling
Shi Huifu plays the media file that is suspended, and then ensures that user will not omit the matchmaker of client terminal playing in Jing Yin period
The purpose of body file, and then solve after correlation technique performs mute operation to the media file that is playing, media file
Continue to play, cause user to cancel the playing progress rate before Jing Yin be not followed by, and Jing Yin period media file continues to play
Cause the technical problem that flow consumes in vain, it is achieved thereby that ensure that user watches or listens to the integrality of media file, and then
Improve the effect of user audition experience, at the same avoid Jing Yin period play media file and user do not watch after listen to and played
Media file cause waste flow the problem of.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot
In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing
The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage
In medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, calculate
Machine, server, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, a kind of media file for being used to implement the player method of above-mentioned media file is additionally provided
Playing device.Fig. 3 is a kind of schematic diagram of the playing device of optional media file according to embodiments of the present invention, such as Fig. 3
Shown, the device can include:
First detection unit 22, for detecting the first trigger action, wherein, the first trigger action is used to indicate to client
The media file of current live carries out Jing Yin;First response unit 24, for entering in response to the first trigger action to media file
Row is Jing Yin, and the recording medium file since the first play position in media file, wherein, the first play position is quiet to carry out
Media file currently played position during sound;Second detection unit 26, for detecting the second trigger action, wherein, second touches
It is Jing Yin to media file cancellation that hair operation is used for instruction;And second response unit 28, in response to the second trigger action pair
Media file cancellation is Jing Yin, and commences play out the media file recorded from the first play position in the client.
It should be noted that the first detection unit 22 in the embodiment can be used for performing in the embodiment of the present application 1
Step S202, the first response unit 24 in the embodiment can be used for performing the step S204 in the embodiment of the present application 1, the reality
Apply the second detection unit 26 in example to can be used for performing the step S206 in the embodiment of the present application 1, second in the embodiment
Response unit 28 can be used for performing the step S208 in the embodiment of the present application 1.
Herein it should be noted that above-mentioned module is identical with example and application scenarios that corresponding step is realized, but not
It is limited to the disclosure of that of above-described embodiment 1.It should be noted that above-mentioned module as a part for device may operate in as
It in hardware environment shown in Fig. 1, can be realized, can also be realized by hardware by software.
As a kind of optional embodiment, as shown in figure 4, the second response unit 28 can include:Playing module 282, use
In playing the media file recorded at a predetermined velocity since the first play position in the client, wherein, predetermined speed is big
In the live speed of media file.
It should be noted that the playing module 282 in the embodiment can be used for performing the step in the embodiment of the present application 1
S2082。
Herein it should be noted that above-mentioned module is identical with example and application scenarios that corresponding step is realized, but not
It is limited to the disclosure of that of above-described embodiment 1.It should be noted that above-mentioned module as a part for device may operate in as
It in hardware environment shown in Fig. 1, can be realized, can also be realized by hardware by software.
As a kind of optional embodiment, as shown in figure 5, playing module 282 can include:Submodule 2822 is played, is used
When the second play position being played at a predetermined velocity in media file, played in the client with live speed from second
Position commences play out media file, wherein, the second play position is the position that current live arrives in media file.
It should be noted that the broadcasting submodule 2822 in the embodiment can be used for performing in the embodiment of the present application 1
Step S20822.
Herein it should be noted that above-mentioned module is identical with example and application scenarios that corresponding step is realized, but not
It is limited to the disclosure of that of above-described embodiment 1.It should be noted that above-mentioned module as a part for device may operate in as
It in hardware environment shown in Fig. 1, can be realized, can also be realized by hardware by software.
As a kind of optional embodiment, as shown in fig. 6, the first response unit 24 can include:Module 242 is recorded, is used
Continue to play media file from the first play position on the client, and while media file is played, in client
The media file of broadcasting is recorded;Or cache module 244, on the client since the first play position to media
File is cached, and using the media file being cached to as the media file recorded.
It should be noted that the recording module 242 in the embodiment can be used for performing the step in the embodiment of the present application 1
S2042, the cache module 244 in the embodiment can be used for performing the step S2044 in the embodiment of the present application 1.
Herein it should be noted that above-mentioned module is identical with example and application scenarios that corresponding step is realized, but not
It is limited to the disclosure of that of above-described embodiment 1.It should be noted that above-mentioned module as a part for device may operate in as
It in hardware environment shown in Fig. 1, can be realized, can also be realized by hardware by software.
As a kind of optional embodiment, as shown in fig. 7, the embodiment can also include:3rd detection unit 212, use
In before the first trigger action is detected, or, it is Jing Yin cancelling in response to the second trigger action to media file, and in client
After commencing play out the media file recorded in end from the first play position, the 3rd trigger action is detected, wherein, the 3rd triggering
Operate Jing Yin to non-live media file progress in client for indicating;3rd response unit 214, in response to the 3rd
Trigger action is Jing Yin to non-live media file progress, and suspends non-live media file;4th detection unit 216, use
In the 4th trigger action of detection, wherein, it is Jing Yin to non-live media file cancellation that the 4th trigger action is used for instruction;And the
Four response units 218, it is Jing Yin for cancelling in response to the 4th trigger action to non-live media file, and recover to play non-straight
The media file broadcast.
It should be noted that the 3rd detection unit 212 in the embodiment can be used for performing in the embodiment of the present application 1
Step S2012, the 3rd response unit 214 in the embodiment can be used for performing the step S2014 in the embodiment of the present application 1,
The 4th detection unit 216 in the embodiment can be used for performing the step S2016 in the embodiment of the present application 1, in the embodiment
The 4th response unit 218 can be used for perform the embodiment of the present application 1 in step S2018.
Herein it should be noted that above-mentioned module is identical with example and application scenarios that corresponding step is realized, but not
It is limited to the disclosure of that of above-described embodiment 1.It should be noted that above-mentioned module as a part for device may operate in as
It in hardware environment shown in Fig. 1, can be realized, can also be realized by hardware by software.
As a kind of optional embodiment, as shown in figure 8, the embodiment can also include:Setting unit 215, for
Non- live media file is carried out in response to the 3rd trigger action Jing Yin, and after suspending non-live media file, set
Flag bit, wherein, flag bit is used to indicate to exist to suspend the non-live media file played because carrying out Jing Yin;Judging unit
2172, for after the 4th trigger action is detected, whether judgement symbol position to be set;Acquiring unit 2174, for judging
When going out flag bit and being set, obtain because carrying out non-live media file that is Jing Yin and suspend broadcasting;5th response unit 2176,
For to because carrying out Jing Yin and suspend the non-live media file cancellation played Jing Yin, and recovering in response to the 4th trigger action
Play and suspend the non-live media file played because carrying out Jing Yin.
It should be noted that the setting unit 215 in the embodiment can be used for performing the step in the embodiment of the present application 1
S2015, the judging unit 2172 in the embodiment can be used for performing the step S20172 in the embodiment of the present application 1, the implementation
Acquiring unit 2174 in example can be used for performing the step S20174 in the embodiment of the present application 1, the 5th sound in the embodiment
Unit 2176 is answered to can be used for performing the step S20176 in the embodiment of the present application 1.
Herein it should be noted that above-mentioned module is identical with example and application scenarios that corresponding step is realized, but not
It is limited to the disclosure of that of above-described embodiment 1.It should be noted that above-mentioned module as a part for device may operate in as
It in hardware environment shown in Fig. 1, can be realized, can also be realized by hardware by software.
By above-mentioned module, reach in Jing Yin period recording medium file and the matchmaker recorded is played when cancellation is Jing Yin
Body file, and then ensure that user will not omit the purpose of the media file of broadcasting in Jing Yin period, and then solve correlation technique
After performing mute operation to the media file played, media file continues to play, and causes user to cancel Jing Yin be followed by
Playing progress rate before not upper, and Jing Yin period media file continues to play the technical problem for causing flow to consume in vain, so as to
The integrality for ensureing that user watches or listens to media file is realized, and then improves the effect of user's audition experience.
Embodiment 3
According to embodiments of the present invention, additionally provide it is a kind of be used for implement above-mentioned media file player method server or
Terminal.
Fig. 9 is a kind of structured flowchart of terminal according to embodiments of the present invention, as shown in figure 9, the terminal can include:One
Individual or multiple (one is only shown in figure) processor 201, memory 203 and transmitting device 205 are (in above-mentioned embodiment
Dispensing device), as shown in figure 9, the terminal can also include input-output equipment 207.
Wherein, memory 203 can be used for storage software program and module, such as the media file in the embodiment of the present invention
Programmed instruction/module corresponding to playing method and device, processor 201 are stored in the software journey in memory 203 by operation
Sequence and module, so as to perform various function application and data processing, that is, realize the player method of above-mentioned media file.Deposit
Reservoir 203 may include high speed random access memory, can also include nonvolatile memory, as one or more magnetic storage fills
Put, flash memory or other non-volatile solid state memories.In some instances, memory 203 can further comprise relative to place
The remotely located memory of device 201 is managed, these remote memories can pass through network connection to terminal.The example bag of above-mentioned network
Include but be not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 205 is used to data are received or sent via network, can be also used for processor with
Data transfer between memory.Above-mentioned network instantiation may include cable network and wireless network.In an example,
Transmitting device 205 includes a network adapter (Network Interface Controller, NIC), and it can pass through netting twine
It is connected with other network equipments with router so as to be communicated with internet or LAN.In an example, transmission dress
It is radio frequency (Radio Frequency, RF) module to put 205, and it is used to wirelessly be communicated with internet.
Wherein, specifically, memory 203 is used to store application program.
Processor 201 can call the application program that memory 203 stores by transmitting device 205, to perform following steps
Suddenly:The first trigger action is detected, wherein, the first trigger action is used to indicate that the media file progress to client current live is quiet
Sound;It is Jing Yin to media file progress in response to the first trigger action, and recorded since the first play position in media file
Media file, wherein, media file currently played position when the first play position is carries out Jing Yin;The triggering behaviour of detection second
Make, wherein, it is Jing Yin to media file cancellation that the second trigger action is used for instruction;And in response to the second trigger action to media text
Part cancellation is Jing Yin, and commences play out the media file recorded from the first play position in the client.
Processor 201 is additionally operable to perform following step:Broadcast at a predetermined velocity since the first play position in the client
The media file recorded is put, wherein, predetermined speed is more than the live speed of media file.
Processor 201 is additionally operable to perform following step:When second be played at a predetermined velocity in media file plays position
When putting, media file is commenced play out from the second play position with live speed in the client, wherein, the second play position is matchmaker
The position that current live arrives in body file.
Processor 201 is additionally operable to perform following step:Continue to play media file from the first play position on the client,
And while media file is played, the media file played in client is recorded;Or on the client from first
Play position starts to cache media file, and using the media file being cached to as the media file recorded.
Processor 201 is additionally operable to perform following step:Before the first trigger action is detected, or, in response to second
Trigger action is Jing Yin to media file cancellation, and commences play out the media file recorded from the first play position in the client
Afterwards, the 3rd trigger action is detected, wherein, the 3rd trigger action is used to indicate to carry out non-live media file in client
It is Jing Yin;It is Jing Yin to non-live media file progress in response to the 3rd trigger action, and suspend non-live media file;Detection
4th trigger action, wherein, it is Jing Yin to non-live media file cancellation that the 4th trigger action is used for instruction;And in response to
Four trigger actions are Jing Yin to non-live media file cancellation, and recover to play non-live media file.
Processor 201 is additionally operable to perform following step:Non- live media file is being entered in response to the 3rd trigger action
Row is Jing Yin, and after suspending non-live media file, sets flag bit, wherein, flag bit is used to indicating existing quiet because carrying out
Sound and the non-live media file for suspending broadcasting;After the 4th trigger action is detected, whether judgement symbol position is set;
When judging that flag bit is set, obtain and suspend the non-live media file played because carrying out Jing Yin;Touched in response to the 4th
Hair operation to because carry out it is Jing Yin and suspend the non-live media file played cancel it is Jing Yin, and recover to play because progress is Jing Yin and
Suspend the non-live media file played.
Using the embodiment of the present invention, there is provided a kind of scheme of the broadcasting of media file.By detecting the first triggering
Jing Yin, and the recording medium file the currently playing position of media file when Jing Yin is carried out during operation to media file;
Media file is cancelled when detecting the second trigger action it is Jing Yin, and in the client from it is Jing Yin when media file it is currently playing
Position commences play out the media file recorded, and has reached in Jing Yin period recording medium file and has been played when cancellation is Jing Yin
The media file of recording, and then ensure that user will not omit the purpose of the media file of broadcasting in Jing Yin period, and then solve
After correlation technique performs mute operation to the media file played, media file continues to play, and causes user to cancel
It is Jing Yin be not followed by before playing progress rate, and Jing Yin period media file continue play cause flow to consume in vain technology ask
Topic, it is achieved thereby that ensureing that user watches or listens to the integrality of media file, and then improve the effect of user's audition experience.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 2
Example, the present embodiment will not be repeated here.
It will appreciated by the skilled person that the structure shown in Fig. 9 is only to illustrate, terminal can be smart mobile phone
(such as Android phone, iOS mobile phones), tablet personal computer, palm PC and mobile internet device (Mobile Internet
Devices, MID), the terminal device such as PAD.Fig. 9 it does not cause to limit to the structure of above-mentioned electronic installation.For example, terminal is also
It may include than shown in Fig. 9 more either less components (such as network interface, display device etc.) or with shown in Fig. 9
Different configurations.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To be completed by program come command terminal device-dependent hardware, the program can be stored in a computer-readable recording medium
In, storage medium can include:Flash disk, read-only storage (Read-Only Memory, ROM), random access device (Random
Access Memory, RAM), disk or CD etc..
Embodiment 4
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can
For performing the program code of the player method of media file.
Alternatively, in the present embodiment, above-mentioned storage medium can be located at multiple in the network shown in above-described embodiment
On at least one network equipment in the network equipment.
Alternatively, in the present embodiment, storage medium is arranged to the program code that storage is used to perform following steps:
S1, the first trigger action is detected, wherein, the first trigger action is used to indicate the media text to client current live
Part carries out Jing Yin;
S2, media file is carried out in response to the first trigger action it is Jing Yin, and from the first play position in media file
Start recording medium file, wherein, media file currently played position when the first play position is carries out Jing Yin;
S3, the second trigger action is detected, wherein, it is Jing Yin to media file cancellation that the second trigger action is used for instruction;
S4, it is Jing Yin to media file cancellation in response to the second trigger action, and opened in the client from the first play position
Begin to play the media file recorded.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:In the client from
First play position starts to play the media file recorded at a predetermined velocity, wherein, predetermined speed is more than the straight of media file
Broadcast speed.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:When at a predetermined velocity
During the second play position being played in media file, matchmaker is commenced play out from the second play position with live speed in the client
Body file, wherein, the second play position is the position that current live arrives in media file.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:On the client from
First play position continues to play media file, and while media file is played, to the media file played in client
Recorded;Or since the first play position media file is cached on the client, and the media that will be cached to
File is as the media file recorded.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Touched in detection first
Before hair operation, or, it is Jing Yin cancelling in response to the second trigger action to media file, and played in the client from first
After position commences play out the media file recorded, the 3rd trigger action is detected, wherein, the 3rd trigger action is used for instruction pair
Non- live media file is carried out Jing Yin in client;Non- live media file is carried out in response to the 3rd trigger action quiet
Sound, and suspend non-live media file;The 4th trigger action is detected, wherein, the 4th trigger action is used to indicate to non-live
Media file cancel it is Jing Yin;And it is Jing Yin to non-live media file cancellation in response to the 4th trigger action, and recover to broadcast
Put non-live media file.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:In response to the 3rd
Trigger action carries out Jing Yin to non-live media file, and after suspending non-live media file, sets flag bit, its
In, flag bit is used to indicate to exist to suspend the non-live media file played because carrying out Jing Yin;In the triggering behaviour of detection the 4th
After work, whether judgement symbol position is set;When judging that flag bit is set, obtain and suspend what is played because carrying out Jing Yin
Non- live media file;In response to the 4th trigger action to suspending the non-live media file played because carrying out Jing Yin and taking
Disappear Jing Yin, and recover to play and suspend the non-live media file played because carrying out Jing Yin.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 2
Example, the present embodiment will not be repeated here.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or
CD etc. is various can be with the medium of store program codes.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and is used as independent product
Sale or in use, the storage medium that above computer can be read can be stored in.Based on such understanding, skill of the invention
The part or all or part of the technical scheme that art scheme substantially contributes to prior art in other words can be with soft
The form of part product is embodied, and the computer software product is stored in storage medium, including some instructions are causing one
Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) perform each embodiment institute of the present invention
State all or part of step of method.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment
The part of detailed description, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed client, can be by others side
Formula is realized.Wherein, device embodiment described above is only schematical, such as the division of the unit, and only one
Kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or
Another system is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed it is mutual it
Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module
Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (12)
- A kind of 1. player method of media file, it is characterised in that including:The first trigger action is detected, wherein, first trigger action is used to indicate the media file to client current live Carry out Jing Yin;It is Jing Yin to media file progress in response to first trigger action, and played from first in the media file Position starts to record the media file, wherein, the media file is worked as when first play position is carries out described Jing Yin Preceding played position;The second trigger action is detected, wherein, it is Jing Yin to media file cancellation that second trigger action is used for instruction;AndIt is Jing Yin to media file cancellation in response to second trigger action, and broadcast in the client from described first Put position and commence play out the media file recorded.
- 2. according to the method for claim 1, it is characterised in that in the client since first play position Playing the media file recorded includes:Play the media file recorded at a predetermined velocity since first play position in the client, its In, the predetermined speed is more than the live speed of the media file.
- 3. according to the method for claim 2, it is characterised in that in the client since first play position Playing the media file recorded at a predetermined velocity includes:When the second play position being played at a predetermined velocity in the media file, with described live in the client Speed commences play out the media file from second play position, wherein, second play position is media text The position that current live arrives in part.
- 4. according to the method for claim 1, it is characterised in that recorded since the first play position in the media file Making the media file includes:Continue to play the media file from first play position in the client, and play the media file While, the media file played in the client is recorded;OrThe media file is cached since first play position in the client, and the institute that will be cached to Media file is stated as the media file recorded.
- 5. according to the method for claim 1, it is characterised in that before the first trigger action is detected, or, in response to Second trigger action is Jing Yin to media file cancellation, and in the client since first play position After playing the media file recorded, methods described also includes:The 3rd trigger action is detected, wherein, the 3rd trigger action is used to indicate to non-live media file in client Carry out Jing Yin;It is Jing Yin to the non-live media file progress in response to the 3rd trigger action, and suspend the non-live matchmaker Body file;The 4th trigger action is detected, wherein, the 4th trigger action is used to indicate to cancel the non-live media file It is Jing Yin;AndThe non-live media file is cancelled in response to the 4th trigger action Jing Yin, and recover to play described non-live Media file.
- 6. according to the method for claim 5, it is characterised in thatThe non-live media file is being carried out in response to the 3rd trigger action Jing Yin, and suspended described non-live After media file, methods described also includes:Flag bit is set, wherein, the flag bit is used to indicate to exist because described in progress The non-live media file that is Jing Yin and suspending broadcasting;After the 4th trigger action is detected, methods described also includes:Judge whether the flag bit is set;Judging When stating flag bit and being set, obtain described because carrying out the non-live media file that is described Jing Yin and suspend broadcasting;Response In the 4th trigger action to described quiet because carrying out the non-live media file cancellation that is described Jing Yin and suspending broadcasting Sound, and recover to play described because carrying out the non-live media file that is described Jing Yin and suspend broadcasting.
- A kind of 7. playing device of media file, it is characterised in that including:First detection unit, for detecting the first trigger action, wherein, first trigger action is used to indicate to work as client Preceding live media file carries out Jing Yin;First response unit, it is Jing Yin for being carried out in response to first trigger action to the media file, and from the matchmaker The first play position in body file starts to record the media file, wherein, first play position is described quiet to carry out The media file currently played position during sound;Second detection unit, for detecting the second trigger action, wherein, second trigger action is used to indicate to the media File is cancelled Jing Yin;AndSecond response unit, it is Jing Yin for cancelling in response to second trigger action to the media file, and in the visitor The media file recorded is commenced play out in the end of family from first play position.
- 8. device according to claim 7, it is characterised in that second response unit includes:Playing module, for playing the institute recorded at a predetermined velocity since first play position in the client Media file is stated, wherein, the predetermined speed is more than the live speed of the media file.
- 9. device according to claim 8, it is characterised in that the playing module includes:Submodule is played, for when the second play position being played at a predetermined velocity in the media file, in the visitor The media file is commenced play out from second play position with the live speed in the end of family, wherein, described second plays Position is the position that current live arrives in the media file.
- 10. device according to claim 7, it is characterised in that first response unit includes:Module is recorded, for continuing to play the media file from first play position in the client, and is being broadcast While putting the media file, the media file played in the client is recorded;OrCache module, for being cached in the client since first play position to the media file, And using the media file being cached to as the media file recorded.
- 11. device according to claim 7, it is characterised in that described device also includes:3rd detection unit, for before the first trigger action is detected, or, in response to second trigger action to institute It is Jing Yin to state media file cancellation, and commences play out the media recorded from first play position in the client After file, the 3rd trigger action is detected, wherein, the 3rd trigger action is used to indicate to non-live media in client File carries out Jing Yin;3rd response unit, it is Jing Yin for being carried out in response to the 3rd trigger action to the non-live media file, and Suspend the non-live media file;4th detection unit, for detecting the 4th trigger action, wherein, the 4th trigger action is used to indicate to described non-straight The media file broadcast is cancelled Jing Yin;And4th response unit, it is Jing Yin for cancelling in response to the 4th trigger action to the non-live media file, and Recover to play the non-live media file.
- 12. device according to claim 11, it is characterised in that described device also includes:Setting unit, for the non-live media file is carried out in response to the 3rd trigger action it is Jing Yin, and temporarily After stopping the non-live media file, flag bit is set, wherein, the flag bit is used to indicate exist because progress is described quiet Sound and the non-live media file for suspending broadcasting;Judging unit, for after the 4th trigger action is detected, judging whether the flag bit is set;Acquiring unit, for when judging that the flag bit is set, obtain and described suspend broadcasting because carrying out described Jing Yin The non-live media file;5th response unit, for suspending the institute played because carrying out described Jing Yin to described in response to the 4th trigger action State non-live media file and cancel Jing Yin, and recover to play and described suspend the described non-live of broadcasting because carrying out described Jing Yin Media file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610808716.3A CN107526502A (en) | 2016-09-02 | 2016-09-02 | The playing method and device of media file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610808716.3A CN107526502A (en) | 2016-09-02 | 2016-09-02 | The playing method and device of media file |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107526502A true CN107526502A (en) | 2017-12-29 |
Family
ID=60748481
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610808716.3A Pending CN107526502A (en) | 2016-09-02 | 2016-09-02 | The playing method and device of media file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107526502A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110945467A (en) * | 2018-04-20 | 2020-03-31 | 华为技术有限公司 | Disturbance-free method and terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1946157A (en) * | 2006-10-27 | 2007-04-11 | 中山大学 | Method and its device for intelligent processing TV program after squelch |
US20090073812A1 (en) * | 2007-09-19 | 2009-03-19 | Wintek Corporation | Audio/video alarm clock and pre-set time reminding method thereof |
CN103905854A (en) * | 2014-04-08 | 2014-07-02 | 深圳市点创科技有限公司 | Video playing method and system used for passenger transportation system |
CN104159146A (en) * | 2014-07-07 | 2014-11-19 | 乐视网信息技术(北京)股份有限公司 | Method and device for controlling video display |
CN105872800A (en) * | 2015-12-14 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Continuous playing method and terminal device after audio/video file is muted |
-
2016
- 2016-09-02 CN CN201610808716.3A patent/CN107526502A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1946157A (en) * | 2006-10-27 | 2007-04-11 | 中山大学 | Method and its device for intelligent processing TV program after squelch |
US20090073812A1 (en) * | 2007-09-19 | 2009-03-19 | Wintek Corporation | Audio/video alarm clock and pre-set time reminding method thereof |
CN103905854A (en) * | 2014-04-08 | 2014-07-02 | 深圳市点创科技有限公司 | Video playing method and system used for passenger transportation system |
CN104159146A (en) * | 2014-07-07 | 2014-11-19 | 乐视网信息技术(北京)股份有限公司 | Method and device for controlling video display |
CN105872800A (en) * | 2015-12-14 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Continuous playing method and terminal device after audio/video file is muted |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110945467A (en) * | 2018-04-20 | 2020-03-31 | 华为技术有限公司 | Disturbance-free method and terminal |
CN110945467B (en) * | 2018-04-20 | 2022-02-18 | 华为技术有限公司 | Disturbance-free method and terminal |
US11405499B2 (en) | 2018-04-20 | 2022-08-02 | Huawei Technologies Co., Ltd. | Do-not-disturb method and terminal |
US12015733B2 (en) | 2018-04-20 | 2024-06-18 | Huawei Technologies Co., Ltd. | Do-not-disturb method and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20160291929A1 (en) | Audio playback control method, and terminal device | |
CN109525707A (en) | A kind of audio frequency playing method and mobile terminal | |
US20020067839A1 (en) | The wireless voice activated and recogintion car system | |
CN106095235A (en) | Control method based on virtual reality and device | |
CN103745133B (en) | The method and terminal of a kind of information processing | |
CN110177296A (en) | A kind of video broadcasting method and mobile terminal | |
CN108540655A (en) | A kind of caller identification processing method and mobile terminal | |
CN108710458A (en) | A kind of split screen control method and terminal device | |
CN109104662A (en) | Instruction executing method, operation response method, terminal and ear speaker device | |
CN108259988A (en) | A kind of video playing control method, terminal and computer readable storage medium | |
CN107636541A (en) | Content presentation is added to wake up with projection alarm clock or alarm clock | |
CN103428328B (en) | A kind of method and system of Lookup protocol mobile terminal loudness | |
CN108418948A (en) | A kind of based reminding method, mobile terminal and computer storage media | |
CN110096249A (en) | Methods, devices and systems for prompting fast to wake up word | |
CN107864353A (en) | A kind of video recording method and mobile terminal | |
CN105120061B (en) | The display methods and device of message | |
CN108769783A (en) | Video ads playback method, mobile terminal and computer readable storage medium | |
CN109165042A (en) | Restoration methods, terminal and computer readable storage medium are interrupted in a kind of application | |
CN109276881A (en) | A kind of game control method, equipment | |
CN108923810A (en) | Interpretation method and relevant device | |
CN108009031A (en) | The control method and mobile terminal of a kind of application program | |
CN108307059A (en) | Falling protection method and related product | |
KR20230133864A (en) | Systems and methods for handling speech audio stream interruptions | |
CN108235288B (en) | A kind of Bluetooth audio frequency playback method and mobile terminal | |
CN107526502A (en) | The playing method and device of media file |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171229 |