CN104581320A - Method, device and terminal for switching play modes - Google Patents
Method, device and terminal for switching play modes Download PDFInfo
- Publication number
- CN104581320A CN104581320A CN201310486291.5A CN201310486291A CN104581320A CN 104581320 A CN104581320 A CN 104581320A CN 201310486291 A CN201310486291 A CN 201310486291A CN 104581320 A CN104581320 A CN 104581320A
- Authority
- CN
- China
- Prior art keywords
- play mode
- video
- switch modes
- data
- terminal
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/65—Transmission of management data between client and server
- H04N21/654—Transmission by server directed to the client
- H04N21/6543—Transmission by server directed to the client for forcing some client operations, e.g. recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44213—Monitoring of end-user related data
- H04N21/44222—Analytics of user selections, e.g. selection of programs or purchase activity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/414—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
- H04N21/41407—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4436—Power management, e.g. shutting down unused components of the receiver
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/65—Transmission of management data between client and server
- H04N21/658—Transmission by the client directed to the server
- H04N21/6587—Control parameters, e.g. trick play commands, viewpoint selection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/8547—Content authoring involving timestamps for synchronizing content
Abstract
The invention discloses a method for switching play modes. A terminal switches to an audio play mode and stops processing video data when playing a video and detecting that an event capable of triggering switching of the play modes occurs. The invention further discloses a device and the terminal for switching the play modes. With the adoption of the method, the device and the terminal for switching the play modes, the video play modes of the terminal can be switched freely in real time, electric energy can be saved, and the stand-by time can be prolonged.
Description
Technical field
The present invention relates to MultiMedia Field, especially relate to a kind of method of switch modes, device and terminal.
Background technology
As everyone knows, terminal, when carrying out video playback, is decoded respectively to Audio and Video, plays afterwards according to timestamp.For general video format, major part can adopt hardware to decode, and for the video code model that some is special, may adopt the method for software decode.Be no matter the relatively low software decode of hardware decode at a high speed or speed, all can produce certain energy consumption.
Such play mode is not suitable for following several situation:
Mobile phone terminal: the feature of mobile phone terminal is that battery energy capacity is less, and user is high to standby time requirement, and the time requirement run for all application is high;
Unmanned watching mode: this situation is all the same to mobile phone or television set or PC terminal, if video is in play mode, but current unmanned viewing, or appreciator's plugged earphone of mobile video is only wish to hear sound, video is not done to situation about requiring;
Certain user selects the video repeatedly play: this situation is also the same for mobile phone, TV, PC etc.If the video of some type is play repeatedly by user, the video of these types is probably but that user is familiar with extremely likes again very much, and in this case, user is in fact not high to video invitation, and what more pay close attention to may be audio frequency.
Summary of the invention
The embodiment of the present invention mainly provides a kind of method of switch modes, device and terminal, by switch modes, can realize the process separately to voice data, and ignore the process to video data, reduce energy consumption.
Technical scheme of the present invention is achieved in that
The method of a kind of switch modes provided by the invention, the method comprises:
When terminal carries out video playback, detect the event triggering switch modes;
When detecting that the event triggering switch modes occurs, being switched to audio-frequency play mode, stopping processing video data.
In such scheme, the method also comprises:
When terminal detects that under described audio-frequency play mode the event triggering reverse switch modes occurs, oppositely switch;
Described oppositely switching to switches back video play mode by described audio-frequency play mode.
In such scheme, the method also comprises:
When terminal starts video playback, select to enter automatic switchover play mode or normal play mode; When selecting to enter automatic switchover play mode, start described automatic switchover play mode.
In such scheme, the method also comprises: when detecting that the event triggering switch modes occurs, terminal carries out timing.
In such scheme, the method also comprises: before being switched to described audio-frequency play mode, stores played data information, and described played data information is used for oppositely switching.
In such scheme, described stopping processing video data is: terminal is decoded to voice data and exported, and stops decoding and the output of video data.
In such scheme, described reverse switching comprises:
Terminal obtains the current time stamp of present video broadcasting according to the voice data play;
Described current time stamp inquiry according to obtaining stabs corresponding video location with current time, and carries out decoding output to video from the video location of described correspondence.
The present invention also provides a kind of device of switch modes, and this device comprises:
Detection module, for detecting the event triggering switch modes;
Handover module, for when detecting that the event triggering switch modes occurs, is switched to described audio-frequency play mode;
Data processing module, for processing video data and voice data.
In such scheme, described handover module is further used for, and when detection module detects that the event triggering reverse switch modes occurs, oppositely switch, wherein, described oppositely switching to is switched to video play mode by audio-frequency play mode.
In such scheme, this device also comprises:
Selecting module, when starting video playback, selecting automatic switchover play mode, or normal play mode;
When selecting described automatic switchover play mode, start described automatic switchover play mode.
In such scheme, this device also comprises:
Timing module, when detecting that triggering the event switched occurs, carries out timing;
Memory module, for storing data playback information, described data playback information is used for oppositely switching.
The present invention also provides a kind of terminal, comprises the device of above-mentioned switch modes.
The method of a kind of switch modes that the embodiment of the present invention provides, device and terminal, when detecting that the event triggering switch modes occurs, just be switched to audio-frequency play mode, and stop processing video data simultaneously, only carry out decoding and the output of voice data; So, can realize in real time, freely switch modes.In addition, after being switched to audio-frequency play mode from video play mode, only voice data is processed, no longer processing video data, like this, energy saves energy, thus increase stand-by time, improve the utilance of user perceptibility and CPU.
Accompanying drawing explanation
The method flow schematic diagram of the switch modes that Fig. 1 provides for the embodiment of the present invention one;
The method flow schematic diagram of the switch modes that Fig. 2 provides for the embodiment of the present invention two;
The structural representation of the device of the switch modes that Fig. 3 provides for the embodiment of the present invention three;
The structural representation of the device of the switch modes that Fig. 4 provides for the embodiment of the present invention four;
The structural representation of the device of the switch modes that Fig. 5 provides for the embodiment of the present invention five;
The structural representation of the terminal of the switch modes that Fig. 6 provides for the embodiment of the present invention six.
Embodiment
In the embodiment of the present invention, after user starts automatic switchover play mode, when detecting that the event triggering switch modes occurs, be switched to audio-frequency play mode, stop processing video data, only carry out decoding and the output of voice data, extinguish screen simultaneously, serve the effect of energy efficient.
Wherein, stop processing video data, namely stop the decoding of video data, and stop the playing up of video data, export, display interface stops the display of video image, thus energy efficient.
Below by drawings and the specific embodiments, the present invention is described in further detail.
Embodiment one
The embodiment of the present invention realizes a kind of method of switch modes, and as shown in Figure 1, the method comprises following step:
Step 101: when terminal carries out video playback, detects the event triggering switch modes;
Concrete, described terminal carries out the broadcasting that video playback is Audio and Video, and generally, terminal, when carrying out video playback, is all decode respectively to Audio and Video, plays afterwards according to timestamp; When carrying out video playback, terminal starts the detection of the event triggering switch modes, and described event is the set of the event triggering switch modes:
For the terminal such as mobile phone, PAD, PC, described event can be occur gesture for triggering switch modes and/or the fingerprint that occurs human eye change for triggering switch modes and/or occur for triggering switch modes changes and/or occurs specified voice for triggering switch modes and/or occur the event such as connection of the mechanical/electrical for triggering switch modes;
For the terminals such as television set, fully can use infrared detection and/or the acoustic control testing mechanism of terminal, using the human body infrared wavelength detected for triggering switch modes and/or detect that control sound for triggering switch modes is as described event.
Certainly, trigger event can be diversified, is not limited to cited these, perhaps along with the prosperity of science and technology, can designs more trigger event.The described specified voice for triggering switch modes, such as: the sound of snoring or deep breathing sound; The connection of the described mechanical/electrical for triggering switch modes, such as: whether plug, the bluetooth earphone of earphone connect.
Wherein, the video play mode mentioned herein, refers to the play mode of video+audio frequency, is conventional video playback.
Step 102: when detecting that the event triggering switch modes occurs, being switched to audio-frequency play mode, stopping the decoding of video data.
When detecting that the event triggering switch modes occurs, such as, when trigger event mentioned above occurs, audio-frequency play mode is switched to.
Wherein, describedly be switched to audio-frequency play mode, stop the decoding of video data, be specially: terminal stops processing video data, only voice data decoded and export, stop being treated to video data operations such as no longer decoding to video data, play up, stop the work of video data decoding, all resources that release video decode takies, extinguish display screen simultaneously, be convenient to save energy consumption, especially for battery powered terminal, there is good effect.
Wherein, stop the decoding of video data, play up and export, display interface stopped the display of video image, but does not interrupt decoding and the output of voice data.
In addition, according to the difference of the trigger event of the definition in step 101, the mode of detection is also different, can be acoustic control detect or infrared detection or mechanical connection detect or electrical connection detect etc.Certainly, in embodiments of the present invention, above-mentioned detection mode is included but not limited to.
Embodiment two
The embodiment of the present invention two realizes a kind of other method of switch modes, and as shown in Figure 2, the method comprises following step:
Step 201: when terminal starts video playback, selects to enter automatic switchover play mode, or normal play mode.
Concrete, when terminal starts video playback, provide one to select dialog box at interface, user can select to be automatic switchover play mode or normal play mode, when selecting normal play mode, and normal play video.
When user selects automatic switchover play mode, terminal can switch modes in real time: be switched to audio-frequency play mode from video play mode, or be switched to video play mode from audio-frequency play mode.
Wherein, video play mode for all to process voice data and video data, namely conventional video play mode; The audio-frequency play mode mentioned herein is only decoded to voice data and is exported, and no longer decodes to video data.
Further, user can also arrange terminal and carry out video playback to give tacit consent to Starting mode, and acquiescence Starting mode can be set by user oneself, when namely starting video playback, terminal directly enters the video play mode of acquiescence, and user is without the need to carrying out the selection of video play mode.
Step 202: when selecting automatic switchover play mode, detects the event triggering switch modes.
Concrete, when selecting automatic switchover play mode, the event that terminal starts triggering switch modes detects, the event of wherein said triggering switch modes, can define according to described in embodiment one, equally, different according to the event of definition, detect mode also different, can be acoustic control detect or infrared detection or mechanical connection detect or electrical connection detect etc.Certainly, in embodiments of the present invention, above-mentioned detection mode is included but not limited to.
Wherein, the event of described triggering switch modes can be occur gesture for triggering switch modes and/or the fingerprint that occurs human eye change for triggering switch modes and/or occur for triggering switch modes changes and/or occurs specified voice for triggering switch modes and/or occur the event such as connection of the mechanical/electrical for triggering switch modes; For the terminals such as television set, fully can use infrared detection and/or the acoustic control testing mechanism of terminal, using the human body infrared wavelength detected for triggering switch modes and/or detect that control sound for triggering switch modes is as described event.
Certainly, the event of triggering can be diversified, is not limited to cited these, perhaps along with the prosperity of science and technology, can designs more trigger event.The described specified voice for triggering switch modes, such as: the sound of snoring or deep breathing sound; The connection of the described mechanical/electrical for triggering switch modes, such as: whether plug, the bluetooth earphone of earphone connect.
Step 203: when detecting that the event triggering switch modes occurs, terminal starts timing.
Concrete, under automatic switchover play mode, pre-set the time value of timing, when the event triggering switch modes occurs, start timing.
Step 204: when timing time-out, preserve played data information, be switched to audio-frequency play mode, stop processing video data.
Concrete, after starting timing, if do not receive any operational order in the time limit arranged, after arriving the time limit, preserve played data information, switch modes, switches to audio-frequency play mode by video play mode, and stop decoding and the output of video data, only voice data decoded and export.
Concrete switching flow is as follows:
1, before handover, need video data source dates etc. to preserve, the set that can arrange these parameters is A, and described video data source dates is as codec format, decoding rate etc.;
2, before handover, need decoding parametric set to preserve, as the encapsulation, source etc. of data source, can arrange these parameter sets is B;
3, stop decoding, buffered video rendering parameter, such as area size, can arrange these parameter sets is C; Afterwards, extinguish display screen, so far, switching completes.
In this process, the decoding of voice data and play up broadcasting and do not interrupt, this completes the complete switching of video to audio-frequency play mode.In this process, the data of storage or buffer memory are used for oppositely switching, and described herein oppositely switching to is switched to video play mode by audio-frequency play mode.
Wherein, described played data information comprises set A, set B and set C.
Step 205: when detecting that the event triggering reverse switch modes occurs, oppositely switch.
Concrete, audio-frequency play mode is switched in step 204, in such a mode, only voice data is decoded, play up and exports, if switch back the broadcasting that video mode playback carries out normal Audio and Video, oppositely switching with regard to needs, when detecting that the event triggering reverse switch modes occurs, oppositely switching.
Further, the step oppositely switched is:
1, resolved by video data parameter sets A, obtain the current time stamp T that voice data is play, inquiry corresponds to the position of the video in T moment;
2, video decode parameter sets B is resolved, for carrying out video decode;
3, Video Rendering parameter sets C is resolved, play for Video Rendering;
4, carry out the structure of decoding according to parameters, send ready data source simultaneously;
5, start to decode and decoded data are exported to Video Rendering part to play up;
6, light screen and carry out normal video playback.
Wherein, the event of the reverse switch modes of described triggering is, can be to occur gesture for triggering reverse switch modes and/or the fingerprint that occurs human eye change for triggering reverse switch modes and/or occur for triggering reverse switch modes changes and/or occurs specified voice for triggering reverse switch modes and/or occur the event such as connection of the mechanical/electrical for triggering reverse switch modes;
For the terminals such as television set, fully can use infrared detection and/or the acoustic control testing mechanism of terminal, using the human body infrared wavelength detected for triggering reverse switch modes and/or detect that control sound for triggering reverse switch modes is as described event.
Certainly, it can be diversified for triggering the event oppositely switched, and is not limited to cited these, perhaps along with the prosperity of science and technology, can designs the event that more triggerings oppositely switch.The described specified voice for triggering reverse switch modes, such as: get up sound or deep breathing sound; The connection of the described mechanical/electrical for triggering reverse switch modes, such as: whether plug, the bluetooth earphone of earphone connect; Also can be counteragent or the operation of the event triggering switch modes described in embodiment one.
Further, the event that described triggering oppositely switches also can be the action of user oneself setting, improves the experience of user.
Embodiment three
The embodiment of the present invention three provides a kind of device of switch modes, and as shown in Figure 3, described device comprises: detection module 301, handover module 302, data processing module 303; Wherein,
Detection module 301, for detecting the event triggering switch modes;
Handover module 302, for when detecting that the event triggering switch modes occurs, Switch Video play mode;
Data processing module 303, for processing video data and voice data.
Concrete, the event of described triggering switch modes is event described in embodiment one, the detection mode of described detection module 301 according to the difference of trigger event, can be acoustic control detect or infrared detection or mechanical connection detect or electrical connection detect etc.Certainly, in embodiments of the present invention, above-mentioned detection mode is included but not limited to.
When detection module 301 detects that the event of described triggering switch modes occurs, send switching command to described handover module 302, described handover module 302 receives Switch Video play mode after switching command, namely audio-frequency play mode is switched to from video play mode, and send instruction to data processing module 303, stop processing video data, only voice data is processed.
Concrete, described handover module 302 is switched to audio-frequency play mode from video play mode, namely no longer sends video data to described data processing module 303, only sends voice data; After described data processing module 303 receives the instruction of handover module 302, namely stop the decoding of video data, play up and export, display interface stops the display of video image, but does not interrupt decoding and the output of voice data.
Further, described detection module 301 is also for detecting the event triggering reverse switch modes.
When detection module detects that the event triggering reverse switch modes occurs, described handover module 302 is for oppositely switching, and send instruction to data processing module 303 and stop the transmission of video data, described data processing module 303 starts to decode to video data, play up and export, and carries out normal video playback.
Wherein, the event of the reverse switch modes of described triggering is for triggering the event of reverse switch modes described in embodiment two.
Embodiment four
The embodiment of the present invention four provides another device of a kind of switch modes, and as shown in Figure 4, described device comprises: select module 304, detection module 301, handover module 302, data processing module 303; Wherein,
Selecting module 304, for when starting video playback, selecting automatic switchover play mode, or normal play mode;
Detection module 301, for detecting the event triggering switch modes;
Handover module 302, for when detecting that the event triggering switch modes occurs, Switch Video play mode;
Data processing module 303, for processing video data and voice data.
When starting video, described selection module 305 selects dialog box for providing one at interface, and user can select normal play mode or automatic switchover play mode.
Concrete, when user selects normal play mode, terminal carries out normal video playback; When user selects automatic switchover play mode, then enter automatic switchover play mode, terminal can switch modes in real time: be switched to audio-frequency play mode from video play mode, or be switched to video play mode from audio-frequency play mode.
Further, user can also as required sets itself acquiescence play mode, without the need to carrying out the selection of play mode.
Wherein, the event of described triggering switch modes is event described in embodiment one, the detection mode of described detection module 301 according to the difference of trigger event, can be acoustic control detect or infrared detection or mechanical connection detect or electrical connection detect etc.Certainly, in embodiments of the present invention, above-mentioned detection mode is included but not limited to.
When detection module 301 detects that the event of described triggering switch modes occurs, send switching command to described handover module 302, described handover module 302 receives Switch Video play mode after switching command, namely audio-frequency play mode is switched to from video play mode, and send instruction to data processing module 303 and stop the transmission of video data, described data processing module 303 stops processing video data, only processes voice data.
Concrete, after described data processing module 303 receives the instruction of handover module 302, namely stop the decoding of video data, play up and export, display interface stops the display of video image, but does not interrupt decoding and the output of voice data.
Further, described detection module 301 is also for detecting the event triggering reverse switch modes.
When detection module detects that the event triggering reverse switch modes occurs, described handover module 302 is for oppositely switching, and send instruction and video data to data processing module 303, described data processing module 303 starts to decode to video data, play up and export, and carries out normal video playback.
Wherein, the event of the reverse switch modes of described triggering is for triggering the event of reverse switch modes described in embodiment two.
Embodiment five
The embodiment of the present invention five provides another device of a kind of switch modes, and as shown in Figure 5, described device comprises: select module 304, detection module 301, timing module 305, handover module 302, memory module 306, data processing module 303; Wherein,
Selecting module 304, for when starting video playback, selecting automatic switchover play mode, or normal play mode;
Detection module 301, for detecting the event triggering switch modes;
Timing module 305, when detecting that triggering the event switched occurs, carries out timing;
Handover module 302, for when detecting that the event triggering switch modes occurs, Switch Video play mode;
Memory module 306, for data and the parameter of bank switching, specifically preserves the parameters such as video data, Video Decoder and Video Rendering.
Data processing module 303, for processing video data and voice data.
When starting video, described selection module 305 selects dialog box for providing one at interface, and user can select normal play mode or automatic switchover play mode.
Concrete, when user selects normal play mode, terminal carries out normal video playback; When user selects automatic switchover play mode, then enter automatic switchover play mode, terminal can switch modes in real time: be switched to audio-frequency play mode from video play mode, or be switched to video play mode from audio-frequency play mode.
Further, user can also as required sets itself acquiescence play mode, without the need to carrying out the selection of play mode.
When user selects to enter automatic switchover play mode, timing module 305 sets the time limit.
Optionally, described timing module 305 when selecting start-up mode, can also be set by the user the time limit, if user does not set, selective system can give tacit consent to the time limit, the system default time limit can be defined by the user.
When detection module 301 detects that the event triggering switch modes occurs, timing module 305 starts timing, if do not exceed the time limit of setting, then continues to wait for, if overtime, then notifies that handover module 302 carries out the switching of play mode.
Wherein, the event of described triggering switch modes is event described in embodiment one, the detection mode of described detection module 301 according to the difference of trigger event, can be acoustic control detect or infrared detection or mechanical connection detect or electrical connection detect etc.Certainly, in embodiments of the present invention, above-mentioned detection mode is included but not limited to.
When described detection module 301 detects that the event of described triggering switch modes occurs, send switching command to described handover module 302, described handover module 302 receives Switch Video play mode after switching command, namely audio-frequency play mode is switched to from video play mode, and send instruction to described data processing module 303 and stop sending video data, described data processing module 303 stops processing video data, only processes voice data.
Wherein, before described handover module 301 switch modes, described memory module 306 preserves video data source dates (such as codec format, decoding rate etc.), is specially:
1, preserved by video data source dates (as codec format, decoding rate) etc., the set that can arrange these parameters is A;
2, decoding parametric set preserved, as the encapsulation, source etc. of data source, can arrange these parameter sets is B;
3, then stop decoding, buffered video rendering parameter, such as area size, can arrange these parameters is C.
Optionally, described memory module 306 is also for storing other parameters, such as: the definition of described triggering switch modes event, detection mode, registration, notice and call back function, and the keyword such as form, frame per second, display size in video play mode to audio frequency playing process during video playback.
After described data processing module 303 receives the instruction of handover module 302, namely stop the decoding of video data, play up and export, display interface stops the display of video image, but does not interrupt decoding and the output of voice data.
Wherein, the event of the reverse switch modes of described triggering is for triggering the event of reverse switch modes described in embodiment two.
Further, described detection module 301 is also for detecting the event triggering reverse switch modes.
When described detection module 301 detects that the event triggering reverse switch modes occurs, described handover module 302 is for oppositely switching, and send instruction and audio data to data processing module 303, described data processing module 303 starts to decode to video data, play up and export, and carries out normal video playback.
Wherein, the event of the reverse switch modes of described triggering is for triggering the event of reverse switch modes described in embodiment two.
Concrete, when described detection module 301 detects that the event triggering reverse switch modes occurs, handover module 302 is oppositely switched to video play mode by audio-frequency play mode, data acquisition system A, B, C that described data processing module 303 is preserved according to described memory module 306, video data is decoded, play up and exports, carry out normal video playback.
Wherein, described detection mode includes but not limited to above-mentioned detection mode.
Embodiment six
The embodiment of the present invention six provides a kind of terminal 40 of switch modes, and as shown in Figure 6, described terminal 40 comprises the device 30 of arbitrary switch modes in embodiment three, embodiment four and embodiment five.
Described terminal 40 can be mobile terminal, such as mobile phone, PAD etc.; Also can be immobile terminal, such as television set, PC etc.
By method provided by the present invention, device and terminal, user is when watching video, switch modes freely can be realized, from video play mode level and smooth be switched to audio-frequency play mode, or from audio-frequency play mode level and smooth be switched to video play mode, thus saves energy, increase stand-by time, realization takes over seamlessly, and improves user perceptibility.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention, and all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (12)
1. a method for switch modes, is characterized in that, described method comprises:
When terminal carries out video playback, detect the event triggering switch modes;
When detecting that the event triggering switch modes occurs, being switched to audio-frequency play mode, stopping processing video data.
2. method according to claim 1, is characterized in that, described method also comprises:
When terminal detects that under described audio-frequency play mode the event triggering reverse switch modes occurs, oppositely switch;
Described oppositely switching to switches back video play mode by described audio-frequency play mode.
3. method according to claim 2, is characterized in that, described method also comprises:
When terminal starts video playback, select to enter automatic switchover play mode or normal play mode; When selecting to enter described automatic switchover play mode, start described automatic switchover play mode.
4. method according to claim 3, is characterized in that, described method also comprises:
When detecting that the event triggering switch modes occurs, terminal carries out timing.
5. method according to claim 4, is characterized in that, described method also comprises:
Before being switched to described audio-frequency play mode, store played data information, described played data information is used for oppositely switching.
6. method according to claim 1, is characterized in that, described stopping processing video data is:
Terminal is decoded to voice data and is exported, and stops decoding and the output of video data.
7. method according to claim 2, is characterized in that, described reverse switching comprises:
Terminal obtains the current time stamp of present video broadcasting according to the voice data play;
Described current time stamp inquiry according to obtaining stabs corresponding video location with current time, and carries out decoding output to video from the video location of described correspondence.
8. a device for switch modes, is characterized in that, described device comprises:
Detection module, for detecting the event triggering switch modes;
Handover module, for when detecting that the event triggering switch modes occurs, is switched to described audio-frequency play mode;
Data processing module, for processing video data and voice data.
9. device according to claim 8, it is characterized in that, described handover module is further used for, when detection module detects that the event triggering reverse switch modes occurs, oppositely switch, wherein, described oppositely switching to is switched to described video play mode by described audio-frequency play mode.
10. device according to claim 8, is characterized in that, described device also comprises:
Selecting module, when starting video playback, selecting automatic switchover play mode, or normal play mode;
When selecting described automatic switchover play mode, start described automatic switchover play mode.
11. devices according to claim 10, is characterized in that, described device also comprises:
Timing module, when detecting that triggering the event switched occurs, carries out timing;
Memory module, for storing data playback information, described data playback information is used for oppositely switching.
12. 1 kinds of terminals, is characterized in that, comprise the device in claim 8 to 11 described in any one.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310486291.5A CN104581320A (en) | 2013-10-16 | 2013-10-16 | Method, device and terminal for switching play modes |
PCT/CN2014/085692 WO2015055053A1 (en) | 2013-10-16 | 2014-09-01 | Method, device and terminal for switching playback mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310486291.5A CN104581320A (en) | 2013-10-16 | 2013-10-16 | Method, device and terminal for switching play modes |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104581320A true CN104581320A (en) | 2015-04-29 |
Family
ID=52827642
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310486291.5A Pending CN104581320A (en) | 2013-10-16 | 2013-10-16 | Method, device and terminal for switching play modes |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104581320A (en) |
WO (1) | WO2015055053A1 (en) |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105490894A (en) * | 2015-11-27 | 2016-04-13 | 上海斐讯数据通信技术有限公司 | Terminal capable of switching audio/video play modes and switching method of the terminal |
CN105578266A (en) * | 2015-12-29 | 2016-05-11 | 北京奇艺世纪科技有限公司 | Audio and video play method and multimedia player |
CN105577947A (en) * | 2015-12-18 | 2016-05-11 | 联想(北京)有限公司 | Control method and electronic equipment |
WO2016149928A1 (en) * | 2015-03-26 | 2016-09-29 | 华为技术有限公司 | Video playing mode switching method, apparatus and terminal |
CN106792163A (en) * | 2016-11-25 | 2017-05-31 | 上海乐欢软件有限公司 | The detection method and device of a kind of video broadcasting condition |
CN106792142A (en) * | 2016-12-23 | 2017-05-31 | 惠州Tcl移动通信有限公司 | The audio frequency playing method and system of a kind of mobile terminal |
CN107071543A (en) * | 2017-05-22 | 2017-08-18 | 深圳天珑无线科技有限公司 | A kind of method and terminal for playing video |
CN107197362A (en) * | 2016-03-15 | 2017-09-22 | 广州市动景计算机科技有限公司 | A kind of method and device for playing multimedia messages |
CN107277564A (en) * | 2017-06-09 | 2017-10-20 | 腾讯科技(深圳)有限公司 | A kind of video broadcasting method, device and client |
WO2017219563A1 (en) * | 2016-06-21 | 2017-12-28 | 中兴通讯股份有限公司 | Terminal energy saving method and apparatus thereof |
WO2018054148A1 (en) * | 2016-09-26 | 2018-03-29 | 中兴通讯股份有限公司 | Method and device for playing audio in video file |
CN108173939A (en) * | 2017-12-28 | 2018-06-15 | 北京中税网控股股份有限公司 | The switching method and device of a kind of Voice and Video |
CN108235087A (en) * | 2017-12-28 | 2018-06-29 | 维沃移动通信有限公司 | A kind of playback method of video data, mobile terminal |
CN108566589A (en) * | 2018-04-26 | 2018-09-21 | 京东方科技集团股份有限公司 | Control method, display device, electronic equipment and the storage medium of display device |
CN108566561A (en) * | 2018-04-18 | 2018-09-21 | 腾讯科技(深圳)有限公司 | Video broadcasting method, device and storage medium |
WO2020155964A1 (en) * | 2019-01-30 | 2020-08-06 | 上海哔哩哔哩科技有限公司 | Audio/video switching method and apparatus, and computer device and readable storage medium |
WO2022205793A1 (en) * | 2021-03-30 | 2022-10-06 | 海信视像科技股份有限公司 | Display device and device control method |
CN115190368A (en) * | 2022-07-07 | 2022-10-14 | 北京字跳网络技术有限公司 | Play control method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006337513A (en) * | 2005-05-31 | 2006-12-14 | Funai Electric Co Ltd | Television receiver |
CN101335852A (en) * | 2008-07-31 | 2008-12-31 | 中兴通讯股份有限公司 | Terminal playing method of mobile television and mobile terminal |
CN101420558A (en) * | 2007-10-26 | 2009-04-29 | 闪联信息技术工程中心有限公司 | Video output mode switch controlling method, apparatus and video player |
CN101873447A (en) * | 2009-04-21 | 2010-10-27 | 深圳富泰宏精密工业有限公司 | Electronic device and power-saving method thereof of watching television |
CN102625150A (en) * | 2012-03-16 | 2012-08-01 | 中国科学院计算技术研究所 | Media playing system and method |
CN103024490A (en) * | 2012-12-26 | 2013-04-03 | 北京奇艺世纪科技有限公司 | Method and device supporting independent playing of audio and video |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102842326B (en) * | 2012-07-11 | 2015-11-04 | 杭州联汇数字科技有限公司 | A kind of video and audio and picture and text synchronous broadcast method |
-
2013
- 2013-10-16 CN CN201310486291.5A patent/CN104581320A/en active Pending
-
2014
- 2014-09-01 WO PCT/CN2014/085692 patent/WO2015055053A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006337513A (en) * | 2005-05-31 | 2006-12-14 | Funai Electric Co Ltd | Television receiver |
CN101420558A (en) * | 2007-10-26 | 2009-04-29 | 闪联信息技术工程中心有限公司 | Video output mode switch controlling method, apparatus and video player |
CN101335852A (en) * | 2008-07-31 | 2008-12-31 | 中兴通讯股份有限公司 | Terminal playing method of mobile television and mobile terminal |
CN101873447A (en) * | 2009-04-21 | 2010-10-27 | 深圳富泰宏精密工业有限公司 | Electronic device and power-saving method thereof of watching television |
CN102625150A (en) * | 2012-03-16 | 2012-08-01 | 中国科学院计算技术研究所 | Media playing system and method |
CN103024490A (en) * | 2012-12-26 | 2013-04-03 | 北京奇艺世纪科技有限公司 | Method and device supporting independent playing of audio and video |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016149928A1 (en) * | 2015-03-26 | 2016-09-29 | 华为技术有限公司 | Video playing mode switching method, apparatus and terminal |
CN105490894A (en) * | 2015-11-27 | 2016-04-13 | 上海斐讯数据通信技术有限公司 | Terminal capable of switching audio/video play modes and switching method of the terminal |
CN105577947A (en) * | 2015-12-18 | 2016-05-11 | 联想(北京)有限公司 | Control method and electronic equipment |
CN105577947B (en) * | 2015-12-18 | 2021-11-16 | 联想(北京)有限公司 | Control method and electronic device |
CN105578266A (en) * | 2015-12-29 | 2016-05-11 | 北京奇艺世纪科技有限公司 | Audio and video play method and multimedia player |
CN107197362A (en) * | 2016-03-15 | 2017-09-22 | 广州市动景计算机科技有限公司 | A kind of method and device for playing multimedia messages |
WO2017219563A1 (en) * | 2016-06-21 | 2017-12-28 | 中兴通讯股份有限公司 | Terminal energy saving method and apparatus thereof |
CN107872708A (en) * | 2016-09-26 | 2018-04-03 | 中兴通讯股份有限公司 | A kind of method and device of screen locking playing video file sound intermediate frequency |
WO2018054148A1 (en) * | 2016-09-26 | 2018-03-29 | 中兴通讯股份有限公司 | Method and device for playing audio in video file |
CN106792163A (en) * | 2016-11-25 | 2017-05-31 | 上海乐欢软件有限公司 | The detection method and device of a kind of video broadcasting condition |
CN106792142A (en) * | 2016-12-23 | 2017-05-31 | 惠州Tcl移动通信有限公司 | The audio frequency playing method and system of a kind of mobile terminal |
CN107071543A (en) * | 2017-05-22 | 2017-08-18 | 深圳天珑无线科技有限公司 | A kind of method and terminal for playing video |
CN107277564A (en) * | 2017-06-09 | 2017-10-20 | 腾讯科技(深圳)有限公司 | A kind of video broadcasting method, device and client |
CN108173939A (en) * | 2017-12-28 | 2018-06-15 | 北京中税网控股股份有限公司 | The switching method and device of a kind of Voice and Video |
CN108235087A (en) * | 2017-12-28 | 2018-06-29 | 维沃移动通信有限公司 | A kind of playback method of video data, mobile terminal |
CN108235087B (en) * | 2017-12-28 | 2019-07-26 | 维沃移动通信有限公司 | A kind of playback method of video data, mobile terminal |
CN108566561A (en) * | 2018-04-18 | 2018-09-21 | 腾讯科技(深圳)有限公司 | Video broadcasting method, device and storage medium |
CN108566561B (en) * | 2018-04-18 | 2022-01-28 | 腾讯科技(深圳)有限公司 | Video playing method, device and storage medium |
CN108566589A (en) * | 2018-04-26 | 2018-09-21 | 京东方科技集团股份有限公司 | Control method, display device, electronic equipment and the storage medium of display device |
WO2020155964A1 (en) * | 2019-01-30 | 2020-08-06 | 上海哔哩哔哩科技有限公司 | Audio/video switching method and apparatus, and computer device and readable storage medium |
US11490173B2 (en) | 2019-01-30 | 2022-11-01 | Shanghai Bilibili Technology Co., Ltd. | Switch of audio and video |
WO2022205793A1 (en) * | 2021-03-30 | 2022-10-06 | 海信视像科技股份有限公司 | Display device and device control method |
CN115190368A (en) * | 2022-07-07 | 2022-10-14 | 北京字跳网络技术有限公司 | Play control method and device, electronic equipment and storage medium |
WO2024008029A1 (en) * | 2022-07-07 | 2024-01-11 | 北京字跳网络技术有限公司 | Playing control method and apparatus, and electronic device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2015055053A1 (en) | 2015-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104581320A (en) | Method, device and terminal for switching play modes | |
KR100630204B1 (en) | Device and method for performing multi-tasking in wireless terminal | |
CN110851213B (en) | Information display method and terminal | |
KR101920020B1 (en) | Status Change Control Method and Electronic Device supporting the same | |
KR101665277B1 (en) | Method for controlling smart terminal device, system, program and recording medium thereof | |
CN100359460C (en) | Planning scheme of electronic device with multiple display screen parallel | |
TWI502977B (en) | Audio/video playing device, audio/video processing device, systems, and method thereof | |
KR100606060B1 (en) | Method and device for outputting data of wireless terminal to external device | |
CN111713141B (en) | Bluetooth playing method and electronic equipment | |
KR101832492B1 (en) | Device and method for confirming remaining amount of battery in wireless terminal | |
CN107360458B (en) | Play control method, device, storage medium and terminal | |
CN103024490A (en) | Method and device supporting independent playing of audio and video | |
CN106507204B (en) | Video reverse playing method and device | |
KR101688145B1 (en) | Method for reproducing moving picture and mobile terminal using this method | |
WO2012059007A1 (en) | Method for playing audio/video file, and terminal | |
EP4114023A1 (en) | Inter-device multimedia content playback continuing method | |
WO2018036352A1 (en) | Video data coding and decoding methods, devices and systems, and storage medium | |
KR20150022532A (en) | Method for reproducing a content, terminal thereof, and system thereof | |
CN102361493A (en) | Mobile terminal and method for setting address list head portrait | |
CN101534380B (en) | Mobile terminal and method thereof for switching television/broadcast channels by voice control | |
CN105490894A (en) | Terminal capable of switching audio/video play modes and switching method of the terminal | |
CN101795313A (en) | Method, device and mobile terminal for playing audio and video | |
CN107734390B (en) | Live broadcast method, device and storage medium | |
CN112565876B (en) | Screen projection method, device, equipment, system and storage medium | |
CN107888975B (en) | Video playing method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150429 |