CN102981724A - Song switching method and electronic device - Google Patents
Song switching method and electronic device Download PDFInfo
- Publication number
- CN102981724A CN102981724A CN2012104643608A CN201210464360A CN102981724A CN 102981724 A CN102981724 A CN 102981724A CN 2012104643608 A CN2012104643608 A CN 2012104643608A CN 201210464360 A CN201210464360 A CN 201210464360A CN 102981724 A CN102981724 A CN 102981724A
- Authority
- CN
- China
- Prior art keywords
- touch screen
- song
- screen event
- switching command
- electronic equipment
- 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
Images
Abstract
The invention is suitable for the field of an electronic device, and provides a song switching method and an electronic device. The song switching method comprises the steps of detecting whether the electronic device receives a touch screen event when the electronic device plays music, judging whether the touch screen event carries a song switching order when the electronic device receives the touch screen event, switching a currently playing song if the touch screen event carries the song switching order, and proceeding to detect whether the electronic device receives the touch screen event if the touch screen event does not carry the song switching order. The song switching method and the electronic device can improve convenience for operation of users.
Description
Technical field
The invention belongs to electronic device field, relate in particular to a kind of song changing method and electronic equipment.
Background technology
At present, most electronic equipment all possesses music playback function, and in order to reduce electric quantity consumption as far as possible, when the electronic equipment music playing, the lcd screen of electronic equipment and some relevant devices all can be turned off.Because the system of electronic equipment enters dormant state, therefore in the process of music playing, if the user need to be switched song, usually adopt following 2 kinds of modes: (1) reopens electronic equipment, opens music software, and then switches to next bent song; (2) if the user uses line control earphone to listen song, then switch next song by the line control earphone operation.
In summary, when the user did not use line control earphone to listen song and needs the switching song, the user needed a plurality of operation stepss, complex operation, and the user experiences low.
Summary of the invention
The embodiment of the invention provides a kind of song changing method and electronic equipment, is intended to solve existing song changing method complex operation when switching song, and the user experiences low problem.
The embodiment of the invention is achieved in that provides a kind of song changing method, and described method comprises the steps:
When the electronic equipment music playing, detect described electronic equipment and whether receive the touch screen event;
When receiving the touch screen event, judge that whether described touch screen event carries the song switching command, if carry the song switching command, then switches the song of current broadcast, if do not carry the song switching command, then continue the described electronic equipment of detecting and whether receive the touch screen event.
Another purpose of the embodiment of the invention is to provide a kind of electronic equipment, and described electronic equipment comprises:
The touch screen event detection unit is used for detecting described electronic equipment and whether receiving the touch screen event when the electronic equipment music playing;
The song switch unit, be used for when receiving the touch screen event, judge whether described touch screen event carries the song switching command, if carry the song switching command, then switch the song of current broadcast, if do not carry the song switching command, then continue the described electronic equipment of detecting and whether receive the touch screen event.
In embodiments of the present invention, need not to reopen electronic equipment and music software, just can switch current song, therefore reduced user's operation, improve the convenience of user's operation, thereby improved user's good experience.
Description of drawings
Fig. 1 is the process flow diagram of a kind of song changing method of providing of first embodiment of the invention;
Fig. 2 is the structural drawing of a kind of electronic equipment of providing of second embodiment of the invention;
Fig. 3 is the structural drawing of the another kind of electronic equipment that provides of second embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
In embodiments of the present invention, when the electronic equipment music playing, detect described electronic equipment and whether receive the touch screen event that carries the song switching command, and when receiving the touch screen event that carries the song switching command, switch the song of current broadcast.
For technical solutions according to the invention are described, describe below by specific embodiment.
Embodiment one:
Fig. 1 shows the process flow diagram of a kind of song changing method that first embodiment of the invention provides, and details are as follows:
Step S11 when the electronic equipment music playing, detects described electronic equipment and whether receives the touch screen event.
In this step, at the electronic equipment music playing, when system entered dormant state, whether this electronic equipment received the touch screen event with the screen of this electronic equipment of detecting real-time.
Step S12 when receiving the touch screen event, judges whether described touch screen event carries the song switching command, if carry the song switching command, then switch the song of current broadcast, if do not carry the song switching command, then continue the described electronic equipment of detecting and whether receive the touch screen event.
In this step, when the screen of electronic equipment received the touch screen event, this electronic equipment judged whether this touch screen event carries the song switching command, if, then switch the song of current broadcast, otherwise, do not deal with, and whether the screen of continuation detecting electronic equipment receives the touch screen event.
Wherein, judge whether described touch screen event carries the song switching command and can adopt following step, specific as follows:
Judge whether described touch screen event is the double-click event, if, judge that described touch screen event carries the song switching command, otherwise, judge that described touch screen event does not carry the song switching command.
In this step, when being the double-click event, the touch screen event just switches the song of current broadcast detecting, since false touch touch into the possibility of double-clicking little, therefore improved the accuracy of identification song switching command, certainly, the song switching command also can be set when the user touches screen 3 times, just send, be not construed as limiting herein.For example, suppose that the user is the screen that primary electron equipment is touched in false touch, then this electronic equipment will can not be judged to be the song switching command with this time touch screen event, therefore can not switch the song of current broadcast.
Preferably, judge whether described touch screen event carries the song switching command and also can adopt following step, specific as follows:
Whether judge the duration of described touch screen event greater than default time threshold, if, judge that described touch screen event carries the song switching command, otherwise, judge that described touch screen event does not carry the song switching command.
In this step, just switch the song of current broadcast in the duration that detects the touch screen event during greater than default time threshold and since false touch touch the time of screen may be very short, therefore improved the accuracy of identification song switching command.
In embodiments of the present invention, when the electronic equipment music playing, detect described electronic equipment and whether receive the touch screen event that carries the song switching command, and when receiving the touch screen event that carries the song switching command, switch the song of current broadcast.Because the song changing method that the embodiment of the invention provides is when the system hibernates music playing of electronic equipment, need not to reopen electronic equipment and music software, just can switch current song, therefore reduced user's operation, improve the convenience of user's operation, thereby improved user's good experience.
As a preferred embodiment, before whether the described electronic equipment of described detecting receives the step of touch screen event, comprise step:
Receive the touch-screen switching song open command that the user sends, open touch-screen and switch the song function.
In the present embodiment, if the user wishes can realize the touch-screen handoff functionality when electronic equipment enters the dormant state music playing, then before electronic equipment enters dormant state, need to send touch-screen and switch the song open command to open this touch-screen switching song function.
Embodiment two:
Fig. 2 shows the structural drawing of a kind of electronic equipment that second embodiment of the invention provides, and details are as follows: for convenience of explanation, only show the part relevant with present embodiment.
Wherein, described electronic equipment comprises:
Touch screen event detection unit 21 is used for detecting described electronic equipment and whether receiving the touch screen event when the electronic equipment music playing.
In the present embodiment, whether the screen of touch screen event detection unit 21 detecting real-time electronic equipments receives the touch screen event, thereby can in time respond the touch screen event that detects.
In the present embodiment, this song switch unit 22 judges whether the touch screen event that receives carries the song switching command, if, then switch the song of current broadcast, otherwise, do not deal with, and whether the screen of continuation detecting electronic equipment receives the touch screen event.
Preferably, described song switch unit 22 judges that the step whether described touch screen event carries the song switching command specifically comprises:
Judge whether described touch screen event is the double-click event, if, judge that described touch screen event carries the song switching command, otherwise, judge that described touch screen event does not carry the song switching command.
Preferably, described song switch unit 22 judges that the step whether described touch screen event carries the song switching command specifically comprises:
Whether judge the duration of described touch screen event greater than default time threshold, if, judge that described touch screen event carries the song switching command, otherwise, judge that described touch screen event does not carry the song switching command.
In embodiments of the present invention, song switch unit 22 judges whether the touch screen event of touch screen event detection unit 21 detectings carries the song switching command, and switches the song of current broadcast when this touch screen event carries the song switching command.Owing to need not to reopen electronic equipment and music software, just can switch current song, therefore reduced user's operation, improve the convenience of user's operation, thereby improved user's good experience.
Fig. 3 shows the structural drawing of the another kind of electronic equipment that second embodiment of the invention provides, and as a preferred embodiment, described electronic equipment also comprises:
Handoff functionality setting unit 23 is used for receiving the touch-screen switching song open command that the user sends, and opens touch-screen and switches the song function.
In the present embodiment, the user opens touch-screen by this handoff functionality setting unit 23 switches the song function.
In embodiments of the present invention, when the electronic equipment music playing, detect described electronic equipment and whether receive the touch screen event that carries the song switching command, and when receiving the touch screen event that carries the song switching command, switch the song of current broadcast.Because the song changing method that the embodiment of the invention provides is when the system hibernates music playing of electronic equipment, need not to reopen electronic equipment and music software, just can switch current song, therefore reduced user's operation, improve the convenience of user's operation, thereby improved user's good experience.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. a song changing method is characterized in that, described method comprises the steps:
When the electronic equipment music playing, detect described electronic equipment and whether receive the touch screen event;
When receiving the touch screen event, judge that whether described touch screen event carries the song switching command, if carry the song switching command, then switches the song of current broadcast, if do not carry the song switching command, then continue the described electronic equipment of detecting and whether receive the touch screen event.
2. the method for claim 1 is characterized in that, before whether the described electronic equipment of described detecting receives the step of touch screen event, comprises step:
Receive the touch-screen switching song open command that the user sends, open touch-screen and switch the song function.
3. such as claim 1 or 2 each described methods, it is characterized in that the described step of judging whether described touch screen event carries the song switching command specifically comprises:
Judge whether described touch screen event is the double-click event, if, judge that described touch screen event carries the song switching command, otherwise, judge that described touch screen event does not carry the song switching command.
4. such as claim 1 or 2 each described methods, it is characterized in that the described step of judging whether described touch screen event carries the song switching command specifically comprises:
Whether judge the duration of described touch screen event greater than default time threshold, if, judge that described touch screen event carries the song switching command, otherwise, judge that described touch screen event does not carry the song switching command.
5. an electronic equipment is characterized in that, described electronic equipment comprises:
The touch screen event detection unit is used for detecting described electronic equipment and whether receiving the touch screen event when the electronic equipment music playing;
The song switch unit, be used for when receiving the touch screen event, judge whether described touch screen event carries the song switching command, if carry the song switching command, then switch the song of current broadcast, if do not carry the song switching command, then continue the described electronic equipment of detecting and whether receive the touch screen event.
6. electronic equipment as claimed in claim 5 is characterized in that, described electronic equipment comprises:
The handoff functionality setting unit is used for receiving the touch-screen switching song open command that the user sends, and opens touch-screen and switches the song function.
7. such as claim 5 or 6 each described electronic equipments, it is characterized in that described song switch unit judges that the step whether described touch screen event carries the song switching command specifically comprises:
Judge whether described touch screen event is the double-click event, if, judge that described touch screen event carries the song switching command, otherwise, judge that described touch screen event does not carry the song switching command.
8. such as claim 5 or 6 each described electronic equipments, it is characterized in that described song switch unit judges that the step whether described touch screen event carries the song switching command specifically comprises:
Whether judge the duration of described touch screen event greater than default time threshold, if, judge that described touch screen event carries the song switching command, otherwise, judge that described touch screen event does not carry the song switching command.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012104643608A CN102981724A (en) | 2012-11-16 | 2012-11-16 | Song switching method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012104643608A CN102981724A (en) | 2012-11-16 | 2012-11-16 | Song switching method and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102981724A true CN102981724A (en) | 2013-03-20 |
Family
ID=47855820
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012104643608A Pending CN102981724A (en) | 2012-11-16 | 2012-11-16 | Song switching method and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102981724A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104092812A (en) * | 2013-12-02 | 2014-10-08 | 腾讯科技(深圳)有限公司 | Media playing control method and device |
CN107731247A (en) * | 2017-10-27 | 2018-02-23 | 珠海市魅族科技有限公司 | Playback of songs method, apparatus, computer installation and computer-readable recording medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050114374A1 (en) * | 2003-04-04 | 2005-05-26 | Juszkiewicz Henry E. | User interface for a combination compact disc recorder and player system |
EP1789864A2 (en) * | 2004-01-07 | 2007-05-30 | Gibson Guitar Corp. | User interface for a combination compact disc recorder and player system |
CN101615409A (en) * | 2009-07-31 | 2009-12-30 | 深圳华为通信技术有限公司 | Media play controlling method, system and media player, earphone wire device |
CN102236502A (en) * | 2010-04-21 | 2011-11-09 | 上海三旗通信科技有限公司 | Pressure touch gesture recognition human-computer interaction way for mobile terminal |
CN102662463A (en) * | 2012-03-22 | 2012-09-12 | 上海华勤通讯技术有限公司 | Mobile terminal and identification method |
CN102694921A (en) * | 2012-05-29 | 2012-09-26 | 惠州Tcl移动通信有限公司 | Mobile terminal and music switching method based on same |
-
2012
- 2012-11-16 CN CN2012104643608A patent/CN102981724A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050114374A1 (en) * | 2003-04-04 | 2005-05-26 | Juszkiewicz Henry E. | User interface for a combination compact disc recorder and player system |
EP1789864A2 (en) * | 2004-01-07 | 2007-05-30 | Gibson Guitar Corp. | User interface for a combination compact disc recorder and player system |
CN101615409A (en) * | 2009-07-31 | 2009-12-30 | 深圳华为通信技术有限公司 | Media play controlling method, system and media player, earphone wire device |
CN102236502A (en) * | 2010-04-21 | 2011-11-09 | 上海三旗通信科技有限公司 | Pressure touch gesture recognition human-computer interaction way for mobile terminal |
CN102662463A (en) * | 2012-03-22 | 2012-09-12 | 上海华勤通讯技术有限公司 | Mobile terminal and identification method |
CN102694921A (en) * | 2012-05-29 | 2012-09-26 | 惠州Tcl移动通信有限公司 | Mobile terminal and music switching method based on same |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104092812A (en) * | 2013-12-02 | 2014-10-08 | 腾讯科技(深圳)有限公司 | Media playing control method and device |
CN104092812B (en) * | 2013-12-02 | 2016-04-13 | 腾讯科技(深圳)有限公司 | Media play controlling method and device |
CN107731247A (en) * | 2017-10-27 | 2018-02-23 | 珠海市魅族科技有限公司 | Playback of songs method, apparatus, computer installation and computer-readable recording medium |
CN107731247B (en) * | 2017-10-27 | 2019-08-02 | 珠海市魅族科技有限公司 | Playback of songs method, apparatus, computer installation and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10949374B2 (en) | Type-C interface controlling circuit, controlling method and mobile terminal | |
KR101962445B1 (en) | Mobile terminal having touch screen and method for providing user interface | |
KR101590341B1 (en) | Method and apparatus controlling interrupt in portable terminal | |
CN103076973B (en) | A kind of windows switching method, system and intelligent terminal | |
US20100173679A1 (en) | Apparatus and method for controlling turning on/off operation of display unit in portable terminal | |
CN103544973B (en) | The song control method of a kind of music player and device | |
CN102520852A (en) | Control method of mobile equipment screen status and associated mobile equipment | |
CN101668080A (en) | Method and device for controlling mobile terminal by earphone | |
CN103558941A (en) | Method, device and mobile terminal for adjusting power consumption of touch screen | |
CN108536370B (en) | Input interface switching method and device and electronic equipment | |
CN104765524A (en) | Application switching method and device | |
US10651950B2 (en) | Method and system for shortening wireless pairing connection time by detecting an object or body | |
EP2955619A1 (en) | Mobile terminal and application control method therefor | |
CN102866804A (en) | Method and system for adjusting touch screen sensitivity of mobile terminal | |
CN104991820B (en) | The method and mobile terminal that a kind of mobile terminal application is switched fast | |
CN106940997B (en) | Method and device for sending voice signal to voice recognition system | |
CN104898950B (en) | music control method and system | |
CN103902112A (en) | Control method and electronic equipment | |
CN102945010A (en) | Method and device for realizing automatic switching of sound source | |
CN110072013B (en) | Terminal control method and device | |
CN112764891B (en) | Electronic terminal and method for controlling application | |
CN103064621A (en) | Electronic device and unlocking method and unlocking device thereof | |
CN104345947A (en) | Mistaken touch prevention method and device | |
CN102981724A (en) | Song switching method and electronic device | |
CN102945124B (en) | The method and system that a kind of mobile terminal controlling application program exits fast |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130320 |