CN104281249A - Multimedia file state switching method and electronic device - Google Patents

Multimedia file state switching method and electronic device Download PDF

Info

Publication number
CN104281249A
CN104281249A CN201310292472.4A CN201310292472A CN104281249A CN 104281249 A CN104281249 A CN 104281249A CN 201310292472 A CN201310292472 A CN 201310292472A CN 104281249 A CN104281249 A CN 104281249A
Authority
CN
China
Prior art keywords
broadcast state
multimedia file
electronic equipment
state
stopping
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.)
Granted
Application number
CN201310292472.4A
Other languages
Chinese (zh)
Other versions
CN104281249B (en
Inventor
刘龙飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310292472.4A priority Critical patent/CN104281249B/en
Publication of CN104281249A publication Critical patent/CN104281249A/en
Application granted granted Critical
Publication of CN104281249B publication Critical patent/CN104281249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a multimedia file state switching method and an electronic device. The method is applied to the electronic device, and comprises the following steps: when detecting that the sound output value of the electronic device is less than a threshold value, detecting whether M multimedia files at least containing audio information in the electronic device are in a playing state and obtaining a detection result, wherein M is an integer greater than or equal to 1; when the detection result shows that N multimedia files in the M multimedia files are in a playing state, N multimedia files are controlled to be converted into a playing stop state from the playing state, wherein N is an integer greater than or equal to 1 and less than or equal to M. By the method, the utilization rate of memory resources can be improved, the electric quantity of the electronic device is reduced, and the time of endurance of the electronic device is prolonged.

Description

A kind of state switching method of multimedia file and electronic equipment
Technical field
The present invention relates to multimedia technology field, particularly relate to a kind of state switching method and electronic equipment of multimedia file.
Background technology
Along with the development of science and technology, the function of electronic equipment is more and more perfect, and the kind of electronic equipment also gets more and more, and people have also enjoyed the various facilities that development in science and technology brings.Present people can pass through various types of electronic equipment, enjoy the comfortable life along with development in science and technology brings.Such as, user can use the electronic equipment such as smart mobile phone, notebook computer music appreciating, viewing film, and is used widely because of its intrinsic easy to use, portable advantage.
In the prior art, there is in electronic equipment multimedia file usually that at least comprise audio-frequency information, such as music file, video file, e-magazine file.The state of multimedia file can change according to practice.
Such as: user can open the music player for playing music in panel computer, when user selects the first music title of the music playlist in music player, music player is by loading first music file corresponding to first music title, after resolving the process such as first music file, first music file is made to switch to broadcast state by cancelling broadcast state, after the broadcasting of first music file terminates, start to load next music file, be the second music file, cancellation broadcast state is switched to by broadcast state to make first music file, and make the second music file switch to broadcast state by cancelling broadcast state.When the second music file is in the process of broadcast state, user is by triggering " time-out " button in music player, music player is made to receive a control operation, based on this control operation, generate the steering order that a control operation is corresponding, by performing steering order, the second music file is made to switch to stopping broadcast state by broadcast state; Be in the process stopping broadcast state at the second music file, when user closes music player, the second music file switches to cancellation broadcast state by stopping broadcast state.
Present inventor, in the process realizing the embodiment of the present application technical scheme, at least finds that there is in technology and there is following technical matters:
In prior art, whether the audio output device due to the state and electronic equipment that at least comprise the multimedia file of audio-frequency information exports sound has nothing to do, so do not have in the process of voice output at the audio output device of electronic equipment, multimedia file can be in broadcast state.Be in the process of broadcast state at multimedia file, if the volume that electronic equipment is in mute state or electronic equipment is less, now, user cannot sound corresponding to the audio-frequency information of uppick multimedia file, and it is nonsensical that multimedia file is in broadcast state.
Further, just because of when electronic equipment does not have voice output, the multimedia file at least comprising audio-frequency information is in broadcast state, now, electronic equipment needs process such as multimedia file loading, parsings, and multimedia file will committed memory resource, and memory source can not be discharged in time, cause the waste of memory source, cause electronic equipment to occur the technical matters that memory source utilization factor is low.
Further, owing to loading the media file being in broadcast state at electronic equipment, in the process of the process such as parsing, need the energy consuming electronic equipment, cause the waste of electricity, shorten the cruising time of electronic equipment.
To sum up, exist when the audio output device of electronic equipment does not have voice output in prior art, the multimedia file at least comprising audio-frequency information is in broadcast state, makes the technical matters that the memory source utilization factor of electronic equipment is low, shorten electronic equipment cruising time.
Summary of the invention
The embodiment of the present application provides a kind of state switching method and electronic equipment of multimedia file, solve the audio output device when electronic equipment existed in prior art when there is no a voice output, the multimedia file at least comprising audio-frequency information is in broadcast state, makes the technical matters that the memory source utilization factor of electronic equipment is low, shorten electronic equipment cruising time.
The embodiment of the present application provides a kind of state switching method of multimedia file on the one hand, be applied to an electronic equipment, described method comprises: when the voice output value of described electronic equipment being detected lower than a threshold value, whether the M at least the comprising audio-frequency information multimedia file detected in described electronic equipment is in broadcast state, obtain a testing result, wherein, M be more than or equal to 1 integer; When described testing result shows have N number of multimedia file to be in described broadcast state in a described M multimedia file, control described N number of multimedia file and be switched to stopping broadcast state from described broadcast state, wherein, N is the integer being more than or equal to 1 and being less than or equal to M.
Optionally, after the described N number of multimedia file of described control is switched to stopping broadcast state from described broadcast state, described method also comprises: obtain the first adjustment operation; Based on described first adjustment operation, generate the first adjustment instruction; Perform described first adjustment instruction, control described electronic equipment and carry out voice output, and control described N number of multimedia file and switch to described broadcast state from described stopping broadcast state.
Optionally, the described N number of multimedia file of described control switches to described broadcast state from described stopping broadcast state, specifically comprises: generate the first information, and described first information is in described stopping broadcast state for characterizing described N number of multimedia file; Obtain the first control operation; Based on described first control operation, generate the first steering order; Perform described first steering order, switch to described broadcast state to control described N number of multimedia file from described stopping broadcast state.
Optionally, after the described N number of multimedia file of described control switches to stopping broadcast state from described broadcast state, described method also comprises: obtain the second control operation; Based on described second control operation, generate the second steering order; Perform described second steering order, described N number of multimedia file is switched to cancellation broadcast state from described stopping broadcast state.
Optionally, after the N number of multimedia file of described control is switched to stopping broadcast state from described broadcast state, described method also comprises: when the voice output value of described electronic equipment in a preset time range being detected lower than described threshold value, controls described N number of multimedia file and switches to cancellation broadcast state from described stopping broadcast state.
The embodiment of the present application also provides a kind of electronic equipment, described electronic equipment comprises: the first detecting unit, for when the voice output value of described electronic equipment being detected lower than a threshold value, whether the M at least the comprising audio-frequency information multimedia file detected in described electronic equipment is in broadcast state, obtain a testing result, wherein, M be more than or equal to 1 integer; First control module, during for showing have N number of multimedia file to be in described broadcast state in a described M multimedia file when described testing result, control described N number of multimedia file and be switched to stopping broadcast state from described broadcast state, wherein, N is the integer being more than or equal to 1 and being less than or equal to M.
Optionally, described electronic equipment also comprises: first obtains unit, for obtaining the first adjustment operation; First generation unit, for based on described first adjustment operation, generates the first adjustment instruction; First processing unit, for performing described first adjustment instruction, controlling described electronic equipment and carrying out voice output, and controlling described N number of multimedia file and switch to described broadcast state from described stopping broadcast state.
Described first processing unit specifically comprises: first generates subelement, and for generating the first information, described first information is in described stopping broadcast state for characterizing described N number of multimedia file; First obtains subelement, for obtaining the first control operation; Second generates subelement, for based on described first control operation, generates the first steering order; First process subelement, for performing the first steering order, switches to described broadcast state to control described N number of multimedia file from described stopping broadcast state.
Optionally, described electronic equipment also comprises: second obtains unit, for obtaining the second control operation; Second generation unit, for based on described second control operation, generates the second steering order; Second processing unit, for performing described second steering order, switches to cancellation broadcast state by described N number of multimedia file from described stopping broadcast state.
Optionally, described electronic equipment also comprises: the second control module, for when the voice output value of described electronic equipment in a preset time range being detected lower than described threshold value, controlling described N number of multimedia file and switching to cancellation broadcast state from described stopping broadcast state.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
When the voice output value of electronic equipment being detected lower than a threshold value, whether the M at least the comprising audio-frequency information multimedia file in detected electrons equipment is in broadcast state, obtains a testing result, wherein, M be more than or equal to 1 integer; When testing result shows have N number of multimedia file to be in broadcast state in M multimedia file, control N number of multimedia file and be switched to stopping broadcast state from broadcast state, wherein, N is the integer being more than or equal to 1 and being less than or equal to M, due to when the voice output value of electronic equipment is lower than described threshold value, the state that can control multimedia file switches to stopping broadcast state by broadcast state, now, electronic equipment to multimedia file without the need to loading, the process such as parsing, can releasing memory resource, improve memory source utilization factor.
Further, just because of electronic equipment is without the need to being in process such as stopping the multimedia file of broadcast state loads, parsing, the electricity of electronic equipment can be saved, extend the cruising time of electronic equipment.
Further again, when the voice output value of electronic equipment is lower than described threshold value, both directly the state of multimedia file can be switched to broadcast state by stopping broadcast state, also according to user's request, the state of multimedia file can be switched to broadcast state by stopping broadcast state, make the state of multimedia file switch to the mode variation of broadcast state, can usable range be expanded.
Wherein, when the voice output value of electronic equipment is higher than described threshold value, the state directly controlling multimedia file switches to broadcast state from stopping broadcast state, can simplify the state switching flow of multimedia file, improve the state switching efficiency of multimedia file.
Wherein, when the voice output value of electronic equipment is by when switching to higher than threshold value lower than described threshold value, generate the first information, described first information is in described stopping broadcast state for characterizing described N number of multimedia file, whether the state making user can control multimedia file according to the actual requirements switches to broadcast state by stopping broadcast state, can to avoid under specific occasion under such as meeting occasion, when the voice output value of electronic equipment is higher than described threshold value, the state of multimedia file is directly by the maloperation stopping broadcast state switching to broadcast state, the state improving multimedia file switches degree of accuracy.
Further, when the voice output value of described electronic equipment being detected lower than described threshold value, the state of described N number of multimedia file can be needed to switch to cancellation broadcast state from stopping broadcast state according to user, also automatically the state of N number of multimedia file can be switched to cancellation broadcast state from stopping broadcast state, make the state of multimedia file switch to the mode variation of cancellation broadcast state, can usable range be expanded.
Wherein, when the voice output value of electronic equipment is lower than described threshold value, directly the state of multimedia file is switched to cancellation broadcast state from described stopping broadcast state according to user's request, the state switching flow of multimedia file can be simplified, improve the state switching efficiency of multimedia file.
Wherein, when the voice output value of electronic equipment in a preset time range is lower than described threshold value, control described N number of multimedia file and switch to cancellation broadcast state from described stopping broadcast state, automatically multimedia file can be switched to cancellation broadcast state from described stopping broadcast state, make electronic equipment more intelligent.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the state switching method of multimedia file in the application one embodiment;
Fig. 2 is the Organization Chart of electronic equipment in the application one embodiment.
Embodiment
The embodiment of the present application provides a kind of state switching method and electronic equipment of multimedia file, solve the audio output device when electronic equipment existed in prior art when there is no a voice output, the multimedia file at least comprising audio-frequency information is in broadcast state, makes the technical matters that the memory source utilization factor of electronic equipment is low, shorten electronic equipment cruising time.
The technical scheme of one embodiment of the invention is for solving the above problems, and general thought is as follows:
When the voice output value of electronic equipment being detected lower than a threshold value, whether the M at least the comprising audio-frequency information multimedia file in detected electrons equipment is in broadcast state, obtains a testing result, wherein, M be more than or equal to 1 integer, when testing result shows have N number of multimedia file to be in broadcast state in M multimedia file, control N number of multimedia file and be switched to stopping broadcast state from broadcast state, wherein, N is the integer being more than or equal to 1 and being less than or equal to M, because the voice output value at electronic equipment is in the process of silent mode lower than threshold value such as electronic equipment, the state that can control multimedia file switches to stopping broadcast state by broadcast state, now, electronic equipment to multimedia file without the need to loading, the process such as parsing, can releasing memory resource, improve memory source utilization factor.
Further, just because of electronic equipment is without the need to being in process such as stopping the multimedia file of broadcast state loads, parsing, the electricity of electronic equipment can be saved, extend the cruising time of electronic equipment.
In order to better understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
The present embodiment provides a kind of state switching method of multimedia file, is applied to an electronic equipment.
In a particular application, electronic equipment can be smart mobile phone, panel computer, notebook computer, mp3 or integrated computer etc., and the application is not restricted.
Please refer to Fig. 1 below, the status method of multimedia file in the embodiment of the present application is described in detail.
Step 101: when the voice output value of electronic equipment being detected lower than a threshold value, whether the M at least the comprising audio-frequency information multimedia file in detected electrons equipment is in broadcast state, obtains a testing result, wherein, M be more than or equal to 1 integer;
Step 102: when testing result shows have N number of multimedia file to be in broadcast state in M multimedia file, control N number of multimedia file and be switched to stopping broadcast state from broadcast state, wherein, N is the integer being more than or equal to 1 and being less than or equal to M.
To take electronic equipment as notebook computer be below example, the state switching method of the multimedia file in the embodiment of the present application is described.
M multimedia file such as 5 music files at least comprising audio-frequency information are stored in notebook computer, only comprise audio-frequency information in 5 music files, these 5 music files are respectively first music file, the second music file, the 3rd music file, the 4th music file and five notes of traditional Chinese music music file.
Certainly, in another embodiment of the application, multimedia file such as video file, e-magazine, the e-greeting card etc. of all right other types of multimedia file, the multimedia file of this type also includes image information, text message etc., and the application is not restricted.
Notebook computer has one for the music player of playing music, and this music player has a music playlist, as shown in the table, and music playlist records the music title of 5 music files, musical designation and playing duration respectively.
Music title Musical designation Playing duration
1 First music 03:47
2 Second music 04:22
3 3rd music 03:59
4 4th music 04:40
5 The five notes of traditional Chinese music are happy 03:55
These 5 music files all have three kinds of states, these three kinds of states are respectively broadcast state, stop broadcast state and cancel broadcast state, wherein broadcast state correspond to the state of music player playing music, stop broadcast state correspond to the state of music player time-out playing music, cancel broadcast state and correspond to the state that music player does not have playing music.Due in the current situation, user does not open music player, and music player does not have playing music, so 5 music files are all in default conditions namely cancel broadcast state.
After user opens music player, music player shows music playlist on the screen of notebook computer, and user double-clicks the first music in playlist, music player is loaded and resolves first music file corresponding to first music.After carrying out relevant treatment to first music file, music player starts to play first music file, and at this moment, first music file switches to broadcast state by cancelling broadcast state.
When first music file is played to 00:40 progress, user needs to answer an incoming call call, now, user does not wish that notebook computer exports sound, so user presses the shortcut such as F1 button for notebook computer being adjusted to silent mode, notebook computer obtains a button operation, based on button operation, generate the key command that button operation is corresponding, notebook computer is by performing key command, and the audio output device such as loudspeaker controlling notebook computer does not carry out voice output.
Certainly, in another embodiment of the application, other modes can also be had to make the audio output device of notebook computer not carry out voice output, and such as the volume value of notebook computer is adjusted to 0, the application is not restricted.
At this moment, start to perform step 101: when the voice output value of electronic equipment being detected lower than a threshold value, whether the M at least the comprising audio-frequency information multimedia file in detected electrons equipment is in broadcast state, obtains a testing result, wherein, M be more than or equal to 1 integer.Wherein, if when by electronic equipment, never voice output is weighed to most high sound output valve with numerical value 0-100, threshold value can be set to 0, namely the voice output unit of electronic equipment does not have voice output.
Certainly, in practice, threshold value also can carry out setting example as threshold value is set to 5 according to actual service condition, and the application is not restricted.
The application is described not having the state switching method of voice output to multimedia file for the voice output unit of electronic equipment, in specific implementation process, such as: when detecting that the loudspeaker of computer does not have voice output, whether 5 music files detected in notebook computer are in broadcast state, obtain a testing result, wherein, when there being N number of music file to be in broadcast state in 5 music files, this testing result shows that N number of music file is in broadcast state, and N be more than or equal to 1 and be less than or equal to 5 integer, when not having music file to be in broadcast state, this testing result shows do not have music file to be in broadcast state.Because in notebook computer, first music file is in broadcast state, so the testing result generated shows that 1 music file is in broadcast state.
Testing result can be obtained through step 101, next, start to perform step 102: when testing result shows have N number of multimedia file to be in broadcast state in M multimedia file, control N number of multimedia file and be switched to stopping broadcast state from broadcast state, wherein, N is the integer being more than or equal to 1 and being less than or equal to M.
In specific implementation process, such as: the testing result generated through step 101 shows have 1 music file to be in broadcast state in 5 music files, control first music file and switch to stopping broadcast state from broadcast state.
Different according to stopping broadcast state, two kinds of situations can be divided into.The first situation, stopping broadcast state is the stopping broadcast state of not recording played progress, and in a first scenario, notebook computer is recording played progress not, when the recovering state of first music file is broadcast state, first music file is play from the progress of 00:00.The second situation is the stopping broadcast state of recording played progress, in the latter case, notebook computer recording played progress, when the recovering state of music file is broadcast state, first music file is play from the progress of 00:40, and following embodiment will be described for the second situation.
In order to the mode variation making the state of multimedia file switch to broadcast state, can expand usable range, the embodiment of the present application can be divided into following two kinds but be not limited to two kinds of scenes.
The first scene: in order to when the audio output device of electronic equipment carries out voice output, the state switching flow of multimedia file can be simplified, improve multimedia state switching efficiency, the method in the embodiment of the present application after step 102, also comprises step: obtain the first adjustment operation; Based on the first adjustment operation, generate the first adjustment instruction; Perform first adjustment instruction, control audio output device carry out voice output, and control N number of multimedia file from stopping broadcast state switching to broadcast state.
In specific implementation process, such as: after user terminates call, first music file is needed to switch to broadcast state from stopping broadcast state, user presses the shortcut such as F2 button for silent mode being adjusted to non-mute pattern, so, notebook computer obtains the first adjustment operation, based on the first adjustment operation, notebook computer generates the first adjustment instruction corresponding to the first adjustment operation, notebook computer adjusts instruction by execution first, the loudspeaker controlling notebook computer carries out voice output, control first music file simultaneously and switch to broadcast state from stopping broadcast state, music player is made to play first music file from 00:40 progress.
The second scene: in order to avoid under such as meeting occasion under specific occasion, when the audio output device of electronic equipment has voice output, the state of multimedia file is directly by the maloperation stopping broadcast state switching to broadcast state, the state improving multimedia file switches degree of accuracy, the N number of multimedia file of control in the first scene switches to broadcast state from stopping broadcast state, specifically comprise step: generate the first information, information is in stopping broadcast state for characterizing N number of multimedia file; Obtain the first control operation; Based on the first control operation, generate the first steering order; Perform the first steering order, switch to broadcast state to control N number of multimedia file from stopping broadcast state.
In specific implementation process, such as: after the loudspeaker of notebook computer carries out voice output, notebook computer generate the first information " dear user, does is first music in stopping broadcast state; you determine to need to be placed on broadcast state? and be (Y), no (N) ".
If when user determines to need first music file to switch to broadcast state from stopping broadcast state, user presses Y button, notebook computer obtains and is used for first music file from the first control operation stopping broadcast state switching to broadcast state, based on the first control operation, generate the first steering order that the first control operation is corresponding, notebook computer is by execution first steering order, control first music file and switch to broadcast state from stopping broadcast state, make music player play first music file from 00:40 progress.
If when user determines not need first music file to switch to broadcast state from stopping broadcast state, user presses N button, notebook computer obtains for keeping first music file to be in the control operation stopping broadcast state, based on this control operation, generate the steering order that control operation is corresponding, notebook computer, by performing steering order, makes first music file be in stopping broadcast state.
Certainly, in another embodiment of the application, after user presses N button, obtain for keeping first music file to be in the control operation stopping broadcast state, notebook computer can ignore control operation, and keep first music played file to be in stopping broadcast state, the application is not restricted.
Switching to the mode variation cancelling broadcast state in order to make the state of multimedia file, can expand usable range, after step 102, the embodiment of the present application can be divided into following two kinds but be not limited to two kinds of situations.
The first situation: in order to when the audio output device of electronic equipment does not have voice output, the state switching flow of multimedia file can be simplified, improve the state switching efficiency of multimedia file, the embodiment of the present application also comprises step: obtain the second control operation; Based on the second control operation, generate the second steering order; Perform the second steering order, N number of multimedia file is switched to cancellation broadcast state from stopping broadcast state.
In specific implementation process, such as: after user presses the button of closing music player, notebook computer obtains the second control operation, based on the second control operation, generate the second steering order that the second control operation is corresponding, first music file, by execution second steering order, is switched to cancellation broadcast state from stopping broadcast state by notebook computer.
Second case: in order to automatically multimedia file be switched to cancellation broadcast state from stopping broadcast state, make electronic equipment more intelligent, after step 102, the embodiment of the present application also comprises step: when detecting that audio output device does not have voice output in a preset time range, controls N number of multimedia file and switches to cancellation broadcast state from stopping broadcast state.
In specific implementation process, such as: when the audio output device of notebook computer does not have voice output in a preset time range in such as 20 minutes, notebook computer directly generates the instruction for the state of music file being switched to cancellation state, by performing instruction, notebook computer controls first music file and switches to cancellation broadcast state from stopping broadcast state.
Thering is provided a kind of electronic equipment in an alternative embodiment of the invention, for realizing the state switching method of the multimedia file in Fig. 1 and specific embodiment thereof, please refer to Fig. 2, Fig. 2 is the Organization Chart of the present embodiment electronic equipment.
As shown in Figure 2, the present embodiment provides a kind of electronic equipment, electronic equipment comprises: the first detecting unit 201, for when detecting that the audio output device of electronic equipment does not have voice output, whether the M at least the comprising audio-frequency information multimedia file in detected electrons equipment is in broadcast state, obtain a testing result, wherein, M be more than or equal to 1 integer; First control module 202, during for showing have N number of multimedia file to be in broadcast state in M multimedia file when testing result, control N number of multimedia file and be switched to stopping broadcast state from broadcast state, wherein, N is the integer being more than or equal to 1 and being less than or equal to M.
Wherein, electronic equipment also comprises: first obtains unit, for obtaining the first adjustment operation; First generation unit, for based on the first adjustment operation, generates the first adjustment instruction; First processing unit, for performing the first adjustment instruction, control audio output device carry out voice output, and control N number of multimedia file from stopping broadcast state switching to broadcast state.
Wherein, the first processing unit specifically comprises: first generates subelement, and for generating the first information, information is in stopping broadcast state for characterizing N number of multimedia file; First obtains subelement, for obtaining the first control operation; Second generates subelement, for based on the first control operation, generates the first steering order; First process subelement, for performing the first steering order, switches to broadcast state to control N number of multimedia file from stopping broadcast state.
Wherein, electronic equipment also comprises: second obtains unit, for obtaining the second control operation; Second generation unit, for based on the second control operation, generates the second steering order; Second processing unit, for performing the second steering order, switches to cancellation broadcast state by N number of multimedia file from stopping broadcast state.
Wherein, electronic equipment also comprises: the second control module, for when detecting that audio output device does not have voice output in a preset time range, controlling N number of multimedia file and switching to cancellation broadcast state from stopping broadcast state.
Wherein, when the first detecting unit 201, first control module 202, first acquisition unit, the first generation unit, the first processing unit, the second acquisition unit, the second generation unit, the second processing unit and/or the second control module are chip, electronic equipment also comprises: circuit board, for being arranged on circuit boards by chip.
Various variation pattern in method in previous embodiment and instantiation are equally applicable to the electronic equipment of the present embodiment, by the detailed description of the aforementioned state switching method to multimedia file, those skilled in the art clearly can know the implementation method of electronic equipment in the present embodiment, so succinct in order to instructions, be not described in detail in this.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
When the voice output value of electronic equipment being detected lower than a threshold value, whether the M at least the comprising audio-frequency information multimedia file in detected electrons equipment is in broadcast state, obtains a testing result, wherein, M be more than or equal to 1 integer; When testing result shows have N number of multimedia file to be in broadcast state in M multimedia file, control N number of multimedia file and be switched to stopping broadcast state from broadcast state, wherein, N is the integer being more than or equal to 1 and being less than or equal to M, due to when the voice output value of electronic equipment is lower than described threshold value, the state that can control multimedia file switches to stopping broadcast state by broadcast state, now, electronic equipment to multimedia file without the need to loading, the process such as parsing, can releasing memory resource, improve memory source utilization factor.
Further, just because of electronic equipment is without the need to being in process such as stopping the multimedia file of broadcast state loads, parsing, the electricity of electronic equipment can be saved, extend the cruising time of electronic equipment.
Further again, when the voice output value of electronic equipment is lower than described threshold value, both directly the state of multimedia file can be switched to broadcast state by stopping broadcast state, also according to user's request, the state of multimedia file can be switched to broadcast state by stopping broadcast state, make the state of multimedia file switch to the mode variation of broadcast state, can usable range be expanded.
Wherein, when the voice output value of electronic equipment is higher than described threshold value, the state directly controlling multimedia file switches to broadcast state from stopping broadcast state, can simplify the state switching flow of multimedia file, improve the state switching efficiency of multimedia file.
Wherein, when the voice output value of electronic equipment is by when switching to higher than threshold value lower than described threshold value, generate the first information, described first information is in described stopping broadcast state for characterizing described N number of multimedia file, whether the state making user can control multimedia file according to the actual requirements switches to broadcast state by stopping broadcast state, can to avoid under specific occasion under such as meeting occasion, when the voice output value of electronic equipment is higher than described threshold value, the state of multimedia file is directly by the maloperation stopping broadcast state switching to broadcast state, the state improving multimedia file switches degree of accuracy.
Further, when the voice output value of described electronic equipment being detected lower than described threshold value, the state of described N number of multimedia file can be needed to switch to cancellation broadcast state from stopping broadcast state according to user, also automatically the state of N number of multimedia file can be switched to cancellation broadcast state from stopping broadcast state, make the state of multimedia file switch to the mode variation of cancellation broadcast state, can usable range be expanded.
Wherein, when the voice output value of electronic equipment is lower than described threshold value, directly the state of multimedia file is switched to cancellation broadcast state from described stopping broadcast state according to user's request, the state switching flow of multimedia file can be simplified, improve the state switching efficiency of multimedia file.
Wherein, when the voice output value of electronic equipment in a preset time range is lower than described threshold value, control described N number of multimedia file and switch to cancellation broadcast state from described stopping broadcast state, automatically multimedia file can be switched to cancellation broadcast state from described stopping broadcast state, make electronic equipment more intelligent.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. a state switching method for multimedia file, is applied to an electronic equipment, it is characterized in that, described method comprises:
When the voice output value of described electronic equipment being detected lower than a threshold value, whether the M at least the comprising audio-frequency information multimedia file detected in described electronic equipment is in broadcast state, obtains a testing result, wherein, M be more than or equal to 1 integer;
When described testing result shows have N number of multimedia file to be in described broadcast state in a described M multimedia file, control described N number of multimedia file and be switched to stopping broadcast state from described broadcast state, wherein, N is the integer being more than or equal to 1 and being less than or equal to M.
2. the method for claim 1, is characterized in that, after the described N number of multimedia file of described control is switched to stopping broadcast state from described broadcast state, described method also comprises:
Obtain the first adjustment operation;
Based on described first adjustment operation, generate the first adjustment instruction;
Perform described first adjustment instruction, control described electronic equipment and carry out voice output, and control described N number of multimedia file and switch to described broadcast state from described stopping broadcast state.
3. method as claimed in claim 2, it is characterized in that, the described N number of multimedia file of described control switches to described broadcast state from described stopping broadcast state, specifically comprises:
Generate the first information, described first information is in described stopping broadcast state for characterizing described N number of multimedia file;
Obtain the first control operation;
Based on described first control operation, generate the first steering order;
Perform described first steering order, switch to described broadcast state to control described N number of multimedia file from described stopping broadcast state.
4. the method for claim 1, is characterized in that, after the described N number of multimedia file of described control switches to stopping broadcast state from described broadcast state, described method also comprises:
Obtain the second control operation;
Based on described second control operation, generate the second steering order;
Perform described second steering order, described N number of multimedia file is switched to cancellation broadcast state from described stopping broadcast state.
5. the method for claim 1, is characterized in that, after the N number of multimedia file of described control is switched to stopping broadcast state from described broadcast state, described method also comprises:
When the voice output value of described electronic equipment in a preset time range being detected lower than described threshold value, controlling described N number of multimedia file and switching to cancellation broadcast state from described stopping broadcast state.
6. an electronic equipment, is characterized in that, described electronic equipment comprises:
First detecting unit, for when the voice output value of described electronic equipment being detected lower than a threshold value, whether the M at least the comprising audio-frequency information multimedia file detected in described electronic equipment is in broadcast state, obtains a testing result, wherein, M be more than or equal to 1 integer;
First control module, during for showing have N number of multimedia file to be in described broadcast state in a described M multimedia file when described testing result, control described N number of multimedia file and be switched to stopping broadcast state from described broadcast state, wherein, N is the integer being more than or equal to 1 and being less than or equal to M.
7. electronic equipment as claimed in claim 6, it is characterized in that, described electronic equipment also comprises:
First obtains unit, for obtaining the first adjustment operation;
First generation unit, for based on described first adjustment operation, generates the first adjustment instruction;
First processing unit, for performing described first adjustment instruction, controlling described electronic equipment and carrying out voice output, and controlling described N number of multimedia file and switch to described broadcast state from described stopping broadcast state.
8. electronic equipment as claimed in claim 7, it is characterized in that, described first processing unit specifically comprises:
First generates subelement, and for generating the first information, described first information is in described stopping broadcast state for characterizing described N number of multimedia file;
First obtains subelement, for obtaining the first control operation;
Second generates subelement, for based on described first control operation, generates the first steering order;
First process subelement, for performing the first steering order, switches to described broadcast state to control described N number of multimedia file from described stopping broadcast state.
9. electronic equipment as claimed in claim 6, it is characterized in that, described electronic equipment also comprises:
Second obtains unit, for obtaining the second control operation;
Second generation unit, for based on described second control operation, generates the second steering order;
Second processing unit, for performing described second steering order, switches to cancellation broadcast state by described N number of multimedia file from described stopping broadcast state.
10. electronic equipment as claimed in claim 6, it is characterized in that, described electronic equipment also comprises:
Second control module, for when the voice output value of described electronic equipment in a preset time range being detected lower than described threshold value, controlling described N number of multimedia file and switching to cancellation broadcast state from described stopping broadcast state.
CN201310292472.4A 2013-07-12 2013-07-12 A kind of state switching method and electronic equipment of multimedia file Active CN104281249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310292472.4A CN104281249B (en) 2013-07-12 2013-07-12 A kind of state switching method and electronic equipment of multimedia file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310292472.4A CN104281249B (en) 2013-07-12 2013-07-12 A kind of state switching method and electronic equipment of multimedia file

Publications (2)

Publication Number Publication Date
CN104281249A true CN104281249A (en) 2015-01-14
CN104281249B CN104281249B (en) 2019-10-29

Family

ID=52256217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310292472.4A Active CN104281249B (en) 2013-07-12 2013-07-12 A kind of state switching method and electronic equipment of multimedia file

Country Status (1)

Country Link
CN (1) CN104281249B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106937162A (en) * 2017-03-03 2017-07-07 北京小米移动软件有限公司 Audio and video playing control method and device
CN107533352A (en) * 2015-04-28 2018-01-02 Arm 有限公司 Control the conversion between standard state and static state
CN112822552A (en) * 2021-01-11 2021-05-18 湖南新云网科技有限公司 Multimedia resource loading method, device, equipment and computer storage medium
CN114461050A (en) * 2020-11-09 2022-05-10 Oppo广东移动通信有限公司 Device operation method and device, electronic device and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1900860A (en) * 2005-07-22 2007-01-24 鸿富锦精密工业(深圳)有限公司 Electronic device and method for realizing intelligent sleeping mode function
CN1937636A (en) * 2005-10-10 2007-03-28 康佳集团股份有限公司 Automatic-start music playing method for hand-held terminal
US20080120311A1 (en) * 2005-04-07 2008-05-22 Iofy Corporation Device and Method for Protecting Unauthorized Data from being used in a Presentation on a Device
US20080248797A1 (en) * 2007-04-03 2008-10-09 Daniel Freeman Method and System for Operating a Multi-Function Portable Electronic Device Using Voice-Activation
CN101930789A (en) * 2009-06-26 2010-12-29 英特尔公司 The environment for use audio analysis comes the control audio player
CN102118507A (en) * 2011-03-09 2011-07-06 惠州Tcl移动通信有限公司 Mobile terminal utilizing volume key as music pause key and realization method thereof
CN102339619A (en) * 2011-09-26 2012-02-01 华为终端有限公司 Audio/video output control method and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080120311A1 (en) * 2005-04-07 2008-05-22 Iofy Corporation Device and Method for Protecting Unauthorized Data from being used in a Presentation on a Device
CN1900860A (en) * 2005-07-22 2007-01-24 鸿富锦精密工业(深圳)有限公司 Electronic device and method for realizing intelligent sleeping mode function
CN1937636A (en) * 2005-10-10 2007-03-28 康佳集团股份有限公司 Automatic-start music playing method for hand-held terminal
US20080248797A1 (en) * 2007-04-03 2008-10-09 Daniel Freeman Method and System for Operating a Multi-Function Portable Electronic Device Using Voice-Activation
CN101930789A (en) * 2009-06-26 2010-12-29 英特尔公司 The environment for use audio analysis comes the control audio player
CN102118507A (en) * 2011-03-09 2011-07-06 惠州Tcl移动通信有限公司 Mobile terminal utilizing volume key as music pause key and realization method thereof
CN102339619A (en) * 2011-09-26 2012-02-01 华为终端有限公司 Audio/video output control method and equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107533352A (en) * 2015-04-28 2018-01-02 Arm 有限公司 Control the conversion between standard state and static state
CN106937162A (en) * 2017-03-03 2017-07-07 北京小米移动软件有限公司 Audio and video playing control method and device
CN114461050A (en) * 2020-11-09 2022-05-10 Oppo广东移动通信有限公司 Device operation method and device, electronic device and computer readable storage medium
CN112822552A (en) * 2021-01-11 2021-05-18 湖南新云网科技有限公司 Multimedia resource loading method, device, equipment and computer storage medium
CN112822552B (en) * 2021-01-11 2023-06-09 湖南新云网科技有限公司 Method, device, equipment and computer storage medium for loading multimedia resources

Also Published As

Publication number Publication date
CN104281249B (en) 2019-10-29

Similar Documents

Publication Publication Date Title
CN103019529B (en) A kind of volume adjusting method and system
US10334118B2 (en) Method and system for providing video multimedia ringtone
CN1316352C (en) Apparatus and method for controlling operation of low frequency sound output means
EP2749988B1 (en) Method and device for application program operation, mobile terminal
WO2014005328A1 (en) Method and device for allocating resource
US20070053246A1 (en) Recording/reproducing apparatus, and associated content display control method
CN101984404B (en) Method and device for controlling parallel running of application programs and terminal having device
CN104281249A (en) Multimedia file state switching method and electronic device
CN105630586A (en) Information processing method and electronic device
CN102081501A (en) Method and device for providing shortcut operation application programs for user and mobile terminal
CN104898821A (en) Information processing method and electronic equipment
CN105723326A (en) Theater volume control method and system
KR100783113B1 (en) Method for shortened storing of music file in mobile communication terminal
CN105760259A (en) Data backup method and device and electronic equipment
CN107145327A (en) A kind of audio frequency playing method, device and smart machine
CN101093719B (en) Method for protecting hearing ability, and audio playing system with function of protecting hearing ability
CN104375896A (en) Information processing method and electronic equipment
CN105702240A (en) Method and device for enabling intelligent terminal to adjust song accompaniment music
CN103700381A (en) Terminal playback management system and method
EP3144934B1 (en) Audio play method and device
US10489192B2 (en) Method and controlling apparatus for automatically terminating an application of an electronic apparatus based on audio volume level being adjusted lower than a threshold audio volume level by a user
KR101828302B1 (en) Providing Method For Radio Channel List And Portable Device supporting the same
US20140033231A1 (en) Electronic device with a function of alerting running applications and method thereof
CN103945305A (en) Information processing method and electronic equipment
CN107506168A (en) volume adjusting method, device, terminal 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
GR01 Patent grant
GR01 Patent grant