Method, device and terminal for switching play modes

A technology of playing mode and switching module, which is applied in the multimedia field to save power, increase standby time, improve user perception and CPU utilization.

Inactive Publication Date: 2015-04-29
ZTE CORP
6 Cites 25 Cited by

AI-Extracted Technical Summary

Problems solved by technology

Whether it is high-speed hardware decoding or relatively low-speed soft...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Method used

Wherein, described switch to audio playback mode, stop the decoding of video data, be specifically: terminal stops processing video data, only audio data is decoded and output, stop processing video data as no longer video Data decoding, rendering and other operations, stop video data decoding, release all resources occupied by video decoding, and turn off the display screen ...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Abstract

Disclosed is a method for switching playback mode, the method comprising: when a terminal is playing a video and detects the occurrence of an event triggering switching of playback mode, switching to audio playback mode and stopping processing of video data. Also disclosed are a device and terminal for switching playback mode. The solution of the present invention can achieve freedom of real-time switching of video playback mode on a terminal, saving power and increasing standby time.

Application Domain

Technology Topic

Time switchingReal-time computing +2

Image

  • Method, device and terminal for switching play modes
  • Method, device and terminal for switching play modes
  • Method, device and terminal for switching play modes

Examples

  • Experimental program(6)

Example Embodiment

[0045] Example one
[0046] The embodiment of the present invention implements a method for switching the play mode, such as figure 1 As shown, the method includes the following steps:
[0047] Step 101: When the terminal is playing video, it detects an event that triggers the switching of the play mode;
[0048] Specifically, the terminal performs video playback as video and audio playback. Generally speaking, when the terminal performs video playback, it decodes the video and audio separately, and then plays it according to the timestamp; during video playback, The terminal starts the detection of the event that triggers the switching of the play mode, and the event is a set of events that trigger the switch of the play mode:
[0049] For terminals such as mobile phones, PADs, PCs, etc., the event may be the occurrence of a gesture used to trigger the switching of the playback mode, and/or the occurrence of a human eye change used to trigger the switching of the playback mode, and/or the occurrence of a gesture used to trigger the switching of playback The fingerprint change of the mode, and/or the occurrence of a designated sound for triggering the switching of the playback mode, and/or the occurrence of events such as a mechanical/electrical connection for triggering the switching of the playback mode;
[0050] For terminals such as TV sets, the infrared detection and/or voice control detection mechanism of the terminal can be fully used to detect the human infrared wavelength used to trigger the switching of the playback mode, and/or detect the control sound used to trigger the switching of the playback mode As the event.
[0051] Of course, the trigger events can be diverse and are not limited to the ones listed. Perhaps with the development of technology, more trigger events can be designed. The specified sound used to trigger the switching of the play mode, for example: snoring or deep breathing sound; the mechanical/electrical connection used to trigger the switching of the play mode, for example: the plug and unplug of the headset, whether the Bluetooth headset is connected.
[0052] Among them, the video playback mode mentioned in this article refers to the video + audio playback mode, that is, regular video playback.
[0053] Step 102: When an event that triggers the switching of the playback mode is detected, switch to the audio playback mode, and stop the decoding of the video data.
[0054] When an event that triggers the switching of the playback mode is detected, for example, when the trigger event mentioned above occurs, it switches to the audio playback mode.
[0055] Wherein, the switch to the audio playback mode to stop the decoding of video data is specifically: the terminal stops processing the video data, only decodes and outputs the audio data, and stops processing the video data as no longer decoding the video data , Rendering and other operations, stop the work of video data decoding, release all resources occupied by video decoding, and turn off the display at the same time, which is convenient for saving energy consumption, especially for battery-powered terminals, which has a good effect.
[0056] Among them, the decoding, rendering and output of video data are stopped, and the display interface of the video image is stopped, but the decoding and output of audio data are not interrupted.
[0057] In addition, depending on the trigger event defined in step 101, the detection method is different, which may be voice control detection, or infrared detection, or mechanical connection detection, or electrical connection detection, and so on. Of course, in the embodiment of the present invention, it includes but is not limited to the above detection method.

Example Embodiment

[0058] Example two
[0059] The second embodiment of the present invention implements another method for switching the play mode, such as figure 2 As shown, the method includes the following steps:
[0060] Step 201: When the terminal starts video playback, it selects to enter the automatic switching playback mode or the normal playback mode.
[0061] Specifically, when the terminal starts video playback, a selection dialog box is provided on the interface, and the user can choose whether to automatically switch the playback mode or the normal playback mode. When the normal playback mode is selected, the video is played normally.
[0062] When the user chooses to automatically switch the playback mode, the terminal can switch the playback mode in real time: from video playback mode to audio playback mode, or from audio playback mode to video playback mode.
[0063] Among them, the video play mode is to process both audio data and video data, that is, a conventional video play mode; the audio play mode mentioned in this article only decodes and outputs audio data, and no longer decodes video data.
[0064] Further, the user can also set the terminal to play the video in the default startup mode. The default startup mode can be set by the user. That is, when the video playback is started, the terminal directly enters the default video playback mode, and the user does not need to select the video playback mode.
[0065] Step 202: When the automatic switching of the play mode is selected, an event that triggers the switching of the play mode is detected.
[0066] Specifically, when the automatic switching of the play mode is selected, the terminal starts to detect the event that triggers the switching of the play mode. The event that triggers the switching of the play mode can be defined according to the definition in the first embodiment, and similarly, according to the defined event Different, the detection method is different, it can be voice control detection, or infrared detection, or mechanical connection detection, or electrical connection detection, etc. Of course, in the embodiment of the present invention, it includes but is not limited to the above detection method.
[0067] Wherein, the event that triggers the switching of the play mode may be the occurrence of a gesture for triggering the switching of the play mode, and/or the occurrence of a human eye change for triggering the switching of the play mode, and/or the occurrence of a fingerprint change for triggering the switching of the play mode , And/or the occurrence of a designated sound for triggering the switching of the playback mode, and/or the occurrence of an event such as a mechanical/electrical connection for triggering the switching of the playback mode; for terminals such as TV sets, the terminal’s infrared detection and /Or the sound control detection mechanism, the detection of the human infrared wavelength used to trigger the switching of the playback mode and/or the detection of the control sound used to trigger the switching of the playback mode as the event.
[0068] Of course, the triggering events can be varied and not limited to the ones listed. Perhaps with the development of technology, more triggering events can be designed. The specified sound used to trigger the switching of the play mode, for example: snoring or deep breathing sound; the mechanical/electrical connection used to trigger the switching of the play mode, for example: the plug and unplug of the headset, whether the Bluetooth headset is connected.
[0069] Step 203: When an event that triggers the switching of the play mode is detected, the terminal starts timing.
[0070] Specifically, in the automatic switching play mode, the time value for timing is preset, and when an event that triggers the switching play mode occurs, the timing starts.
[0071] Step 204: When the timer expires, save the playback data information, switch to the audio playback mode, and stop processing the video data.
[0072] Specifically, after starting the timing, if no operation instruction is received within the set time limit, after the time limit is reached, save the playback data information, switch the playback mode, switch the video playback mode to the audio playback mode, and stop the decoding and output of the video data , Only the audio data is decoded and output.
[0073] The specific switching process is as follows:
[0074] 1. Before switching, it is necessary to save the video data source parameters, etc., the set of these parameters can be set to A, the video data source parameters such as decoding format, decoding rate, etc.;
[0075] 2. Before switching, you need to save the decoding parameter set, such as the package and source of the data source, and you can set these parameter sets to B;
[0076] 3. Stop decoding and buffer video rendering parameters, such as area size. You can set these parameter sets to C; after that, turn off the display screen. At this point, the switching is complete.
[0077] In this process, the decoding and rendering of audio data are not interrupted, thereby completing the complete switch from video to audio playback mode. In this process, the stored or buffered data is used for reverse switching, and the reverse switching described in this article is switching from the audio playback mode to the video playback mode.
[0078] Wherein, the playback data information includes set A, set B, and set C.
[0079] Step 205: When an event that triggers the reverse switching of the playback mode is detected, perform reverse switching.
[0080] Specifically, in step 204, switch to the audio playback mode. In this mode, only the audio data is decoded, rendered and output. If you switch back to the video playback mode for normal video and audio playback, you need to perform reverse switching , When an event that triggers reverse switching of the playback mode is detected, reverse switching is performed.
[0081] Further, the steps of reverse handover are:
[0082] 1. Analyze the video data parameter set A to obtain the current timestamp T of the audio data playback, and query the position of the video corresponding to time T;
[0083] 2. Analyze the video decoding parameter set B for video decoding;
[0084] 3. Analyze the video rendering parameter set C for video rendering and playback;
[0085] 4. Construct decoding according to various parameters, and send the prepared data source at the same time;
[0086] 5. Start decoding and output the decoded data to the video rendering part for rendering;
[0087] 6. Light up the screen for normal video playback.
[0088] Wherein, the event triggering the reverse switching of the play mode may be a gesture for triggering the reverse switching of the play mode, and/or a human eye change for triggering the reverse switching of the play mode, and/or appearance The fingerprint change that triggers the reverse switching of the playback mode, and/or the occurrence of a designated sound for triggering the reverse switching of the playback mode, and/or the occurrence of a mechanical/electrical connection that triggers the reverse switching of the playback mode;
[0089] For terminals such as TV sets, the infrared detection and/or voice-activated detection mechanism of the terminal can be fully used to detect the human infrared wavelength used to trigger the reverse switching playback mode and/or the detection used to trigger the reverse switching playback The control sound of the mode is the event.
[0090] Of course, the events that trigger the reverse handover can be diverse and are not limited to the ones listed. Perhaps with the development of technology, more events that trigger the reverse handover can be designed. The specified sound used to trigger the reverse switching of the playback mode, for example: the sound of getting up or the sound of deep breathing; the mechanical/electrical connection used to trigger the reverse switching of the playback mode, for example: whether the headset is plugged in or out, whether the Bluetooth headset Connection; it can also be the reverse action or operation of the event that triggers the switching of the play mode in the first embodiment.
[0091] Further, the event that triggers the reverse switching may also be an action set by the user, so as to improve the user's experience.

Example Embodiment

[0092] Example three
[0093] The third embodiment of the present invention provides a device for switching play modes, such as image 3 As shown, the device includes: a detection module 301, a switching module 302, and a data processing module 303; among them,
[0094] The detection module 301 is used to detect the event that triggers the switching of the play mode;
[0095] The switching module 302 is configured to switch the video playback mode when an event that triggers the switching of the playback mode is detected;
[0096] The data processing module 303 is used to process video data and audio data.
[0097] Specifically, the event that triggers the switching of the play mode is the event described in the first embodiment, and the detection method of the detection module 301 can be sound control detection, or infrared detection, or mechanical connection detection, or electrical Connection detection and so on. Of course, in the embodiment of the present invention, it includes but is not limited to the above detection method.
[0098] When the detection module 301 detects that the event that triggers the switching of the playback mode occurs, it sends a switching instruction to the switching module 302, and the switching module 302 switches the video playback mode after receiving the switching instruction, that is, switches from the video playback mode to the audio playback mode. Play mode, and send an instruction to the data processing module 303 to stop processing the video data and only process the audio data.
[0099] Specifically, the switching module 302 switches from the video playback mode to the audio playback mode, that is, no more video data is sent to the data processing module 303, only audio data is sent; the data processing module 303 receives an instruction from the switching module 302 After that, the decoding, rendering and output of the video data are stopped, and the display interface stops the display of the video image, but the decoding and output of the audio data are not interrupted.
[0100] Further, the detection module 301 is also used to detect an event that triggers reverse switching of the playback mode.
[0101] When the detection module detects the occurrence of an event that triggers reverse switching of the playback mode, the switching module 302 is used to perform reverse switching, and sends an instruction to the data processing module 303 and stops sending video data, and the data processing module 303 starts Decode, render and output video data, and perform normal video playback.
[0102] Wherein, the event triggering the reverse switching of the play mode is the event triggering the reverse switching of the play mode in the second embodiment.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Similar technology patents

Classification and recommendation of technical efficacy words

  • Save electricity
  • Extend standby time

Crude oil pulsing electrical desalting technique

InactiveCN101037612ASave electricityDewatering/demulsification with electric/magnetic meansWater contentPulse frequency
Owner:CHINA PETROLEUM & CHEM CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products