CN105702274B - A kind of control method and device based on button - Google Patents

A kind of control method and device based on button Download PDF

Info

Publication number
CN105702274B
CN105702274B CN201410708628.7A CN201410708628A CN105702274B CN 105702274 B CN105702274 B CN 105702274B CN 201410708628 A CN201410708628 A CN 201410708628A CN 105702274 B CN105702274 B CN 105702274B
Authority
CN
China
Prior art keywords
button
song
user
mode
control
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.)
Active
Application number
CN201410708628.7A
Other languages
Chinese (zh)
Other versions
CN105702274A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201410708628.7A priority Critical patent/CN105702274B/en
Publication of CN105702274A publication Critical patent/CN105702274A/en
Application granted granted Critical
Publication of CN105702274B publication Critical patent/CN105702274B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application involves electronic technology fields, more particularly to a kind of control method and device based on button, it is unsuitable for using in micromation equipment to solve the problem of that the mode that multiple buttons are set side by side in the prior art can occupy the more device space of more screen area or occupancy.A kind of control method based on button provided by the embodiments of the present application includes: the first mode of operation according to user to the first button, executes the first operational order to the operation object of first button control;Wherein, different operational orders is corresponded to the different modes of operation of the first button;First button is changed to the second button;Second button executes the second operational order to the operation object for controlling.Using the embodiment of the present application, different operational orders can be executed by the button that operation is deployed in same position, save the screen area or the device space of button occupancy, suitable for being used in micromation equipment.

Description

A kind of control method and device based on button
Technical field
This application involves electronic technology field more particularly to a kind of control method and device based on button.
Background technique
Music player is the more common application software installed on the subscriber terminal.Currently, music player plays sound Happy mode is usually to play out after playlist is added in the song of user's selection.
User has different needs the usually tool such as different song or album of songs when using music player;Than Such as, for certain new songs, user only needs audition once, after confirming that the song of audition is the song oneself liked, just has It may consider to be added into playlist;For song known to other user, user may want to directly be added into Playlist alternatively, user may want to first be added into playlist, then is broadcast without coming out currently playing It puts.
It for the demand, generally requires and multiple buttons is set side by side for every song, realize different functions respectively, For example one button of setting is used for the audition song, without being added into playlist, then a button is arranged and is used for the song Song is added playlist and plays, then a button is arranged and is only used for song playlist is added.
Obviously, this mode that multiple buttons are set side by side can occupy more screen area or occupy more equipment sky Between, it is unsuitable for using in micromation equipment.
Summary of the invention
The embodiment of the present application provides a kind of control method and device based on button, sets side by side in the prior art to solve The mode for setting multiple buttons can occupy more screen area or occupy the more device space, be unsuitable in micromation equipment The problem of use.
A kind of control method based on button provided by the embodiments of the present application, comprising:
According to user to the first mode of operation of the first button, first is executed to the operation object of first button control Operational order;Wherein, different operational orders is corresponded to the different modes of operation of the first button;
First button is changed to the second button;Second button executes the to the operation object for controlling Two operational orders.
Optionally, the method also includes:
According to user to the second mode of operation of the first button, described in the operation object execution to first button control Second operational order.
Optionally, first mode of operation is to click, and second mode of operation is long-pressing;Wherein, it is described click for It presses first button and is less than the process after setting duration and flicked;The long-pressing is to press first button to be greater than or wait In the process of setting duration.
Optionally, the operation object is song collection;
First operational order is that playlist is added in the song collection;Second operational order is broadcasting institute State song collection.
Optionally, the song collection includes at least two songs;
According to user to the first mode of operation of the first button, first is executed to the operation object of first button control Operational order, comprising:
Determine at least one song that user selects from the song collection that first button controls;
According to user to the first mode of operation of the first button, the first operational order is executed at least one described song.
A kind of control device based on button provided by the embodiments of the present application, comprising:
Execution module, for the first mode of operation according to user to the first button, to the behaviour of first button control Make object and executes the first operational order;Wherein, different operational orders is corresponded to the different modes of operation of the first button;
Module is changed, for first button to be changed to the second button;Second button is for controlling to described Operation object executes the second operational order.
The embodiment of the present application, to the different modes of operation of same button, executes different operation lives according to user respectively It enables;Also, after having executed the corresponding operational order of one of mode of operation, which is changed to the other operations of control and is ordered The button of order, when operating the button after replacement using this mode of operation or other modes of operation again, after executing replacement Other operational orders of button control.Using the embodiment of the present application, the button of same position can be deployed in by operating Different operational orders is executed, executes different operational orders from without realizing using multiple buttons, saves button occupancy Screen area or the device space, suitable for micromation equipment on use.
Detailed description of the invention
Fig. 1 is the control method flow chart based on button that the embodiment of the present application one provides;
Fig. 2 is the operating process schematic diagram that song collection is directed in the embodiment of the present application;
Fig. 3 is the control method flow chart based on button that the embodiment of the present application two provides;
Fig. 4 is the control method flow chart based on button that the embodiment of the present application three provides;
Fig. 5 (a) is that the schematic diagram of playlist is added in the song for selecting user;
Fig. 5 (b) is the schematic diagram for playing the song in playlist;
Fig. 6 is the control method flow chart based on button that the embodiment of the present application four provides;
Fig. 7 is the controling device structure diagram based on button that the embodiment of the present application five provides.
Specific embodiment
The basic thought of the embodiment of the present application is: according to user to the different modes of operation of same button, executing respectively Different operational orders;Also, after having executed the corresponding operational order of one of mode of operation, which is changed to control The button for making other operational orders, when operating the button after replacement using this mode of operation or other modes of operation again, Other operational orders of button control after executing replacement.As it can be seen that can be disposed by operation using the embodiment of the present application Different operational orders is executed in the button of same position, executes different operation lives from without realizing using multiple buttons It enables, saves the screen area or the device space of button occupancy, suitable for being used in micromation equipment.
The embodiment of the present application is described in further detail with reference to the accompanying drawings of the specification.
Embodiment one
As shown in Figure 1, for the control method flow chart based on button that the embodiment of the present application one provides, including following step It is rapid:
S101: according to user to the first mode of operation of the first button, the operation object of first button control is held The first operational order of row;Wherein, different operational orders is corresponded to the different modes of operation of the first button.
Here operation object specifically can be the operation object of some application, for example can be video collection, novel collection Conjunction, song collection etc., do not limit in the embodiment of the present application.The embodiment of the present application is mainly detailed to carrying out by taking song collection as an example Illustrate, which can be a song, an album, list of songs (such as list of songs, music of collection of choice The list of songs etc. of intersection) etc..In the step, it can preset and the different modes of operation of the first button are respectively corresponded Different operational orders.For example, may include clicking and two kinds of modes of operation of long-pressing to the mode of operation of the first button, it is assumed that Operation object described in S101 is song, however, it is determined that the first button of user click, then the song by the control of first button is added Playlist, however, it is determined that the first button of user's long-pressing then plays the song of first button control.Wherein, it clicks as pressing First button is less than the process flicked again after setting duration, and long-pressing is that pressing first button is greater than or equal to setting duration Process.
S102: first button is changed to the second button;Second button is for controlling to the operation object Execute the second operational order.
In the step, after having executed the first operational order to the first button, first button is changed to second and is pressed Button refers to the change of the software function of button from the change of the first button to the second button here, will also be deployed in same The operational order that the button of position is controlled is changed;Under the first mode of operation, operation the first button triggering is the The execution of one operational order (is also possible to different modes of operation) under same mode of operation, and the second button of operation then touches Send out the execution of the second operational order.For example, executing the song for controlling first button after clicking the first button and broadcasting being added List, and the first button is changed to control and executes the second button of other operational orders, for example after clicking the second button, is held It is bent that row plays this song.
The content described from above-described embodiment one is it is found that the embodiment of the present application actually takes saving in two directions The measure of button deployment according to user to the different modes of operation of same button, executes different respectively in one direction Operational order;In the other directions, after having executed a kind of corresponding operational order of mode of operation, which is changed to control The button for making other operational orders, when operating the button after replacement using this mode of operation or other modes of operation again, Other operational orders of button control after executing replacement.For example, as shown in Fig. 2, a song correspond to a button, one A operating process is: after clicking this button for the first time, playlist is added in this song song, clicks this button again Afterwards, it is bent to play this song;Another operating process is this button of long-pressing, then only plays this song song for user's audition, without It is added into playlist.
As it can be seen that using the embodiment of the present application different operations can be executed by the button that operation is deployed in same position Order executes different operational orders from without realizing using multiple buttons, saves the screen area of button occupancy or sets Standby space, suitable for being used in micromation equipment.
In the specific implementation process, for certain new songs, user only needs audition once namely user wishes only to play Song, without playlist is added in song;For song known to other user, user may want to directly be added Enter playlist, without being come out currently playing, alternatively, user may want to first be added into playlist, then carries out It plays.Based on these demands, in the embodiment of the present application, can make after user operates the first button using the second mode of operation The operational order of execution is identical as the operational order executed after the second button of user's operation, that is, is carried out broadcasting song.Specifically With reference to the description of following embodiments two.
Embodiment two
As shown in figure 3, for the control method flow chart based on button that the embodiment of the present application two provides, including following step It is rapid:
S301: determine that user to the mode of operation of the first button, is executed respectively based on determining different modes of operation S302 and S304.
S302: if it is determined that user operates the first button using the first mode of operation, then to the operation of the first button control Object executes the first operational order.
For example, user click certain song corresponding control button, then be added playlist for the song.
S303: first button is changed to the second button;Second button is for controlling to the operation object Execute the second operational order.
For example, playing this song that playlist is added if the second button of user click.
S304: according to user to the second mode of operation of the first button, the second operational order is executed to the operation object.
For example, playing this song song for user's audition, without being added into played column if the first button of user's long-pressing Table.
In specific implementation, the same button may only control a song, it is also possible to control entire album or entire song Qu Liebiao, when the button controls number of songs, user needs the song for selecting specifically to need to operate, in the user's operation button Afterwards, relevant operation order is executed just for the song of user's selection.For details, reference can be made to the descriptions of following embodiments three.
Embodiment three
As shown in figure 4, for the control method flow chart based on button that the embodiment of the present application three provides, including following step It is rapid:
S401: at least one song that user selects from the song collection that the first button controls is determined.
In the embodiment of the present application, the needs of in order to meet user while operate number of songs, a button control can be used Number of songs processed, user can choose a first or number of songs execution relevant operation of button control, meanwhile, every song There can be oneself independent control button.As shown in Fig. 5 (a), for list of songs 1, user be can choose in the list of songs Song 2 ... after song n, button after clicking full choosing mark, then user terminal selects user song 2 ... song Playlist is added in n.
S402: according to user to the first mode of operation of the first button, the first operation is executed at least one described song Order.
S403: being changed to the second button for first button, is determining user using the first mode of operation operation second After button, the second operational order is executed.
In the step, as shown in Fig. 5 (b), the first button is changed to the second button, after user's operation second button, Play playlist in song 2 ... song n.
In the specific implementation process, performed operational order and user is being determined after determining the second button of user's operation Operate that performed operational order after the first button is different, mode of operation of the user to the first button and the operation to the second button Mode may be the same or different, and in order to reduce design complexities, the operational order for executing the control of the second button can be set Premise be: user operates the second button using the first mode of operation of the first button of operation.For example, user click song The first button after, by the song be added playlist, user again click change after the second button after, play the song It is bent.
Using the embodiment of the present application, it can satisfy user while operating the demand of the part song in song collection, remove this Except, a control button only can be arranged to the song collection comprising number of songs, this is controlled using this control button Number of songs, so as to further save the deployment of button.
The control method based on button in the embodiment of the present application is made below by a specific embodiment further Explanation;
Example IV
As shown in fig. 6, for the control method flow chart based on button that the embodiment of the present application four provides, including following step It is rapid:
S601: determine user to the mode of operation of the first button of control song 1.
S602: if the mode of operation is to click, playlist is added in song 1, and the first button is changed to the Two buttons.
S603: if the mode of operation is long-pressing, song 1 is played for user's audition.
S604: if it is determined that the second button of user click, then play the song 1 that playlist is added.
Based on the same inventive concept, it is additionally provided in the embodiment of the present application a kind of corresponding with the control method based on button Control device based on button, control method phase of the principle solved the problems, such as due to the device with the embodiment of the present application based on button Seemingly, therefore the implementation of the device may refer to the implementation of method, and overlaps will not be repeated.
Embodiment five
As shown in fig. 7, the controling device structure diagram based on button provided for the embodiment of the present application five, comprising:
Execution module 71, for the first mode of operation according to user to the first button, to first button control Operation object executes the first operational order;Wherein, different operational orders is corresponded to the different modes of operation of the first button;
Module 72 is changed, for first button to be changed to the second button;Second button is for controlling to institute It states operation object and executes the second operational order.
Optionally, the execution module 71 is also used to:
According to user to the second mode of operation of the first button, described in the operation object execution to first button control Second operational order.
Optionally, first mode of operation is to click, and second mode of operation is long-pressing;Wherein, it is described click for It presses first button and is less than the process after setting duration and flicked;The long-pressing is to press first button to be greater than or wait In the process of setting duration.
Optionally, the operation object is song collection;
First operational order is that playlist is added in the song collection;Second operational order is broadcasting institute State song collection.
Optionally, the song collection includes at least two songs;
The execution module 71 is specifically used for: determine selected in song collection that user controls from first button to A few song;According to user to the first mode of operation of the first button, the first operation is executed at least one described song and is ordered It enables.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is process of the reference according to method, apparatus (system) and computer program product of the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the application range.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies Within, then the application is also intended to include these modifications and variations.

Claims (10)

1. a kind of control method based on button, which is characterized in that this method comprises:
According to user to the first mode of operation of the first button, the first operation is executed to the operation object of first button control Order;Wherein, different operational orders is corresponded to the different modes of operation of the first button;
First button is changed to the second button;Second button executes the second behaviour to the operation object for controlling It orders;
Wherein, according to user to the first mode of operation of the first button, the is executed to the operation object of first button control One operational order, comprising: if it is determined that the first button of user click, then playlist is added in the song by the control of first button, If it is determined that the first button of user's long-pressing, then play the song of first button control;
After clicking the first button, the first button is changed to the second button that control executes broadcasting this song song.
2. the method as described in claim 1, which is characterized in that the method also includes:
According to user to the second mode of operation of the first button, described second is executed to the operation object of first button control Operational order.
3. method according to claim 2, which is characterized in that first mode of operation is to click, the second operation side Formula is long-pressing;Wherein, described to click to press first button and being less than the process after setting duration and flicked;The long-pressing is Press the process that first button is greater than or equal to setting duration.
4. the method as described in claims 1 to 3 is any, which is characterized in that the operation object is song collection;
First operational order is that playlist is added in the song collection;Second operational order is to play the song Qu Jihe.
5. method as claimed in claim 4, which is characterized in that the song collection includes at least two songs;
According to user to the first mode of operation of the first button, the first operation is executed to the operation object of first button control Order, comprising:
Determine at least one song that user selects from the song collection that first button controls;
According to user to the first mode of operation of the first button, the first operational order is executed at least one described song.
6. a kind of control device based on button, which is characterized in that the device includes:
Execution module, the operation pair for the first mode of operation according to user to the first button, to first button control As executing the first operational order;Wherein, different operational orders is corresponded to the different modes of operation of the first button;
Module is changed, for first button to be changed to the second button;Second button is for controlling to the operation Object executes the second operational order;
Wherein, according to user to the first mode of operation of the first button, the is executed to the operation object of first button control One operational order, comprising: if it is determined that the first button of user click, then playlist is added in the song by the control of first button, If it is determined that the first button of user's long-pressing, then play the song of first button control;
After clicking the first button, the first button is changed to the second button that control executes broadcasting this song song.
7. device as claimed in claim 6, which is characterized in that the execution module is also used to:
According to user to the second mode of operation of the first button, described second is executed to the operation object of first button control Operational order.
8. device as claimed in claim 7, which is characterized in that first mode of operation is to click, the second operation side Formula is long-pressing;Wherein, described to click to press first button and being less than the process after setting duration and flicked;The long-pressing is Press the process that first button is greater than or equal to setting duration.
9. the device as described in claim 6~8 is any, which is characterized in that the operation object is song collection;
First operational order is that playlist is added in the song collection;Second operational order is to play the song Qu Jihe.
10. device as claimed in claim 9, which is characterized in that the song collection includes at least two songs;
The execution module is specifically used for: determining at least one that user selects from the song collection that first button controls Song;According to user to the first mode of operation of the first button, the first operational order is executed at least one described song.
CN201410708628.7A 2014-11-28 2014-11-28 A kind of control method and device based on button Active CN105702274B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410708628.7A CN105702274B (en) 2014-11-28 2014-11-28 A kind of control method and device based on button

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410708628.7A CN105702274B (en) 2014-11-28 2014-11-28 A kind of control method and device based on button

Publications (2)

Publication Number Publication Date
CN105702274A CN105702274A (en) 2016-06-22
CN105702274B true CN105702274B (en) 2019-01-15

Family

ID=56230873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410708628.7A Active CN105702274B (en) 2014-11-28 2014-11-28 A kind of control method and device based on button

Country Status (1)

Country Link
CN (1) CN105702274B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6185163B1 (en) * 1997-10-16 2001-02-06 Delco Electronics Corporation Vehicle audio system having random access player with play list control
CN101826352A (en) * 2009-03-02 2010-09-08 株式会社泛泰 Music playback and the method that is used for the music selection and resets
CN102800338A (en) * 2011-05-27 2012-11-28 上海三旗通信科技股份有限公司 Interface display and function control mode of music player
CN103914238A (en) * 2012-12-30 2014-07-09 网易(杭州)网络有限公司 Method and device for achieving integration of controls in interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6185163B1 (en) * 1997-10-16 2001-02-06 Delco Electronics Corporation Vehicle audio system having random access player with play list control
CN101826352A (en) * 2009-03-02 2010-09-08 株式会社泛泰 Music playback and the method that is used for the music selection and resets
CN102800338A (en) * 2011-05-27 2012-11-28 上海三旗通信科技股份有限公司 Interface display and function control mode of music player
CN103914238A (en) * 2012-12-30 2014-07-09 网易(杭州)网络有限公司 Method and device for achieving integration of controls in interface

Also Published As

Publication number Publication date
CN105702274A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
US10540394B1 (en) Configuring a playlist or sequence of compositions or stream of compositions
EP2261926A1 (en) Spatial audio enhanced user interface for browsing a list of items
EP3345079B1 (en) Combined tablet screen drag-and-drop interface
JP2015088340A (en) Light control table
CN101188713A (en) Method and apparatus for displaying menu in cross shape
CN102622868B (en) A kind of method for remotely controlling, display control unit, telepilot and system
US10739953B2 (en) Apparatus and method for providing user interface
US8716584B1 (en) Using recognition-segments to find and play a composition containing sound
CN103488410B (en) A kind of methods, devices and systems that display content is controlled
US20160328149A1 (en) Display screen-based physical button simulation method and electronic device
CN103699501A (en) Audio equipment managing method and system of mobile terminal
CN105898513A (en) Multimedia resource play method and device and terminal equipment based on Android platform
CN104951185A (en) Information processing method and electronic equipment
CN103702220A (en) Video playing method and device
JP5846101B2 (en) Operating device and program
CN103713814A (en) Information processing method and electronic device
KR20150142347A (en) User terminal device, and Method for controlling for User terminal device, and multimedia system thereof
US20200159398A1 (en) Application program, terminal device controlling method, terminal device and server
CN105224178A (en) A kind of information processing method and electronic equipment
CN105630595A (en) Information processing method and electronic equipment
US9852765B2 (en) Graphical user interface, process, program, storage medium and computer system for arranging music
US9354808B2 (en) Display control device, display control method, and program
CN105702274B (en) A kind of control method and device based on button
CN103366783A (en) Method, device and equipment for adjusting video information play time points
CN106990935B (en) A kind of audio frequency playing method and mobile terminal

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