Movatterモバイル変換


[0]ホーム

URL:


CN106802808A - Suspension button control method and device - Google Patents

Suspension button control method and device
Download PDF

Info

Publication number
CN106802808A
CN106802808ACN201710093711.1ACN201710093711ACN106802808ACN 106802808 ACN106802808 ACN 106802808ACN 201710093711 ACN201710093711 ACN 201710093711ACN 106802808 ACN106802808 ACN 106802808A
Authority
CN
China
Prior art keywords
application
sliding
floating button
instruction
button
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
Application number
CN201710093711.1A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co LtdfiledCriticalBeijing Xiaomi Mobile Software Co Ltd
Priority to CN201710093711.1ApriorityCriticalpatent/CN106802808A/en
Publication of CN106802808ApublicationCriticalpatent/CN106802808A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本公开是关于一种悬浮按钮控制方法及装置。该方法包括:在显示界面上的悬浮按钮被触发时,接收对所述悬浮按钮进行滑动操作产生的滑动指令;当接收到所述滑动指令的时刻与所述悬浮按钮的触发时刻之间的时间差小于或等于预设时长时,根据当前运行的应用来确定与所述滑动指令相对应的目标操作;执行所述目标操作。由此,可以方便用户通过滑动该悬浮按钮来控制电子设备快速执行相应的操作,并且该操作与当前运行的应用相适应。如此,不仅丰富了悬浮按钮的控制功能,并且使得用户操作更加方便快捷,实用性强。

The present disclosure relates to a floating button control method and device. The method includes: when the floating button on the display interface is triggered, receiving a sliding instruction generated by sliding the floating button; When the duration is less than or equal to the preset duration, the target operation corresponding to the sliding instruction is determined according to the currently running application; and the target operation is executed. Therefore, it is convenient for the user to control the electronic device to quickly perform corresponding operations by sliding the floating button, and the operations are adapted to the currently running application. In this way, not only the control function of the floating button is enriched, but also the user operation is more convenient and fast, and the practicability is strong.

Description

Suspension button control method and device
Technical field
This disclosure relates to electronic device field, more particularly to a kind of suspension button control method and device.
Background technology
User's operation electronic equipment, can usually be set with certain function on the display interface of electronic equipment for convenienceSuspension button.By suspension button, user can be aided in operate electronic equipment.In correlation technique, by clicking on suspension button, canTo eject some shortcuts, user clicks on certain shortcut, and electronic equipment is that can perform prompt operation corresponding with the shortcut.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of suspension button control method and device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of suspension button control method, electronic equipment is applied to, wrappedInclude:
When suspension button on display interface is triggered, reception carries out the cunning of slide generation to the suspension buttonDynamic instruction;
When the time difference between the triggering moment of the moment for receiving the slip instruction and the suspension button be less than orDuring equal to preset duration, the object run corresponding with the slip instruction is determined according to the current application for running;
Perform the object run.
Alternatively, methods described also includes:
It is more than institute when the time difference between the triggering moment of the moment for receiving the slip instruction and the suspension buttonWhen stating preset duration, according to the slip instruction, the movement suspension button.
Alternatively, the application of the current operation includes:
The application corresponding to the display interface that the suspension button is currently located.
Alternatively, the current operation application for browse class application when, the object run include it is following in extremelyFew one:On the page move, the page move down, page up, downward page turning, the page amplify, the page reduce.
Alternatively, the current operation application be multimedia class application when, the object run include it is following inAt least one:F.F., retrogressing, the upper content of multimedia of broadcasting, the next content of multimedia of broadcasting, pause are played, commenced play out, increasingBig volume, reduction volume.
Alternatively, methods described also includes:
Receive suspension button slide and instruction is set, the suspension button slide sets instruction for indicating targetUsing, and under the intended application, the object run corresponding to the slide of the suspension button, wherein, the meshMark application is any application on the electronic equipment;
Set in response to the suspension button slide and instructed, store the intended application, the cunning of the suspension buttonCorresponding relation between dynamic operation and the object run.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of suspension push-button control device, electronic equipment is applied to, wrappedInclude:
First receiver module, when being configured as the suspension button on display interface and being triggered, receives and the suspension is pressedButton carries out the slip instruction of slide generation;
Determining module, is configured as first receiver module and receives the moment of the slip instruction and the suspensionWhen time difference between the triggering moment of button is less than or equal to preset duration, application according to current operation come determine with it is describedThe corresponding object run of slip instruction;
Performing module, is configured as performing the object run that the determining module is determined.
Alternatively, the performing module is additionally configured to when first receiver module receives the slip instructionWhen time difference between quarter and the triggering moment of the suspension button is more than the preset duration, according to the slip instruction, moveMove the suspension button.
Alternatively, the application of the current operation includes:
The application corresponding to the display interface that the suspension button is currently located.
Alternatively, the current operation application for browse class application when, the object run include it is following in extremelyFew one:On the page move, the page move down, page up, downward page turning, the page amplify, the page reduce.
Alternatively, the current operation application be multimedia class application when, the object run include it is following inAt least one:F.F., retrogressing, the upper content of multimedia of broadcasting, the next content of multimedia of broadcasting, pause are played, commenced play out, increasingBig volume, reduction volume.
Alternatively, described device also includes:
Second receiver module, is configured as receiving the setting instruction of suspension button slide, and the suspension button slides behaviourMaking to set to instruct is used to indicate intended application, and under the intended application, corresponding to the slide of the suspension buttonObject run, wherein, the intended application is any application on the electronic equipment;
Memory module, is configured to respond to the suspension button slide that second receiver module receives and setsInstruction is put, the intended application, the correspondence pass between the slide of the suspension button and the object run is storedSystem.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of suspension push-button control device, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When suspension button on display interface is triggered, reception carries out the cunning of slide generation to the suspension buttonDynamic instruction;
When the time difference between the triggering moment of the moment for receiving the slip instruction and the suspension button be less than orDuring equal to preset duration, the object run corresponding with the slip instruction is determined according to the current application for running;
Perform the object run.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of non-transitorycomputer readable storage medium, when describedInstruction in storage medium by electronic equipment computing device when so that electronic equipment is able to carry out a kind of suspension button controlMethod, methods described includes:
When suspension button on display interface is triggered, reception carries out the cunning of slide generation to the suspension buttonDynamic instruction;
When the time difference between the triggering moment of the moment for receiving the slip instruction and the suspension button be less than orDuring equal to preset duration, the object run corresponding with the slip instruction is determined according to the current application for running;
Perform the object run.
The technical scheme provided by this disclosed embodiment can include the following benefits:According to receiving for suspensionThe application of the slip instruction of button and current operation determines the object run corresponding with the slip instruction, and performs the targetOperation.So, can facilitate user that corresponding operation is quickly performed come control electronics by sliding the suspension button, andThe operation is adapted with the application of current operation.In this way, not only enriching the control function of suspension button, and cause user behaviourMake more convenient, it is practical.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, notThe disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosureExample, and it is used to explain the principle of the disclosure together with specification.
Fig. 1 is a kind of schematic diagram of the implementation environment according to an exemplary embodiment.
Fig. 2A is a kind of flow chart of the suspension button control method according to an exemplary embodiment.
Fig. 2 B are a kind of flow charts of the suspension button control method according to another exemplary embodiment.
Fig. 3 is a kind of intended application according to an exemplary embodiment, the slide of suspension button and target behaviourThe flow chart of the corresponding relation method for building up between work.
Fig. 4 is that a kind of suspension button according to an exemplary embodiment sets interface.
Fig. 5 A are a kind of block diagrams of the suspension push-button control device according to an exemplary embodiment.
Fig. 5 B are a kind of block diagrams of the suspension push-button control device according to another exemplary embodiment.
Fig. 6 is a kind of block diagram of the suspension push-button control device according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related toDuring accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodimentDescribed in implementation method do not represent all implementation methods consistent with the disclosure.Conversely, they be only with it is such as appendedThe example of the consistent apparatus and method of some aspects described in detail in claims, the disclosure.
Fig. 1 is a kind of schematic diagram of the implementation environment according to an exemplary embodiment.In display circle of electronic equipmentA suspension button 100 can be shown on face.In the related art, if user slides the suspension button 100, the suspension button100 slips that can follow user and carry out position movement.In the disclosure, electronic equipment may, for example, be and be equipped with touch displayThe electronic equipment of screen, for example, panel computer, smart mobile phone, Intelligent worn device etc., in Fig. 1, electronic equipment is with smart mobile phoneAs a example by.
Fig. 2A is a kind of flow chart of the suspension button control method according to an exemplary embodiment, wherein, the partyMethod can apply in electronic equipment, for example, the smart mobile phone shown in Fig. 1.As shown in Figure 2 A, the method can include following stepSuddenly.
In step 201, when the suspension button on display interface is triggered, reception carries out slide to suspension buttonThe slip instruction of generation.
In the disclosure, when user's finger contacts are to suspension button, suspension button is triggered, and now, electronic equipment is openedBegin to receive the slip instruction that user carries out slide and produces to suspension button.The slip instruction may, for example, be to downslideDynamic, upward sliding, slide to the left, slide to the right, it is also possible to e.g. turn-taking clockwise, turn-take counterclockwise.
In step 202., it is small when the time difference between the moment for receiving slip instruction and the triggering moment of suspension buttonWhen preset duration, the object run corresponding with the slip instruction is determined according to the current application for running.
In the disclosure, preset duration can be the empirical value of the value, or acquiescence being manually set, for example, defaultShi Changwei 2s.When electronic equipment receives slip instruction, electronic equipment can determine to receive moment of the slip instruction withTime difference between the triggering moment of suspension button, wherein, the time difference can be the duration that suspension button is pressed with the head of a household, i.e.The duration that the suspension button is persistently triggered.When the time difference preset duration is less than or equal to, now represent that user view is led toCross the slip of suspension button to carry out corresponding prompt operation, then electronic equipment can determine this according to the application of current operationThe corresponding object run of slip instruction.In one embodiment, the object run does not include mobile suspension push-botton operation.
In addition, the application of current operation can be the application corresponding to the display interface that suspension button is currently located.For example,When the application corresponding to the display interface that suspension button is currently located is wechat, wechat is the application of current operation;When outstandingWhen the application corresponding to display interface that floating button is currently located is music player, music player is answering for current operationWith.
In one embodiment, electronic equipment can be adaptively the current operation according to the application of current operationThe lower different slip instruction of application match corresponding object run.That is, for different applications, identical is slidedOperation can correspond to different object runs.
Illustratively, when the application of current operation is to browse class application, the object run can include it is following at leastOne:On the page move, the page move down, page up, downward page turning, the page amplify, the page reduce, wherein, browsing class application canBeing, for example, webpage, e-book, wechat, microblogging etc..For example, when the application of current operation is e-book, electronic equipment is cunningThe object run of dynamic instructions match can be page up, downward page turning, the page amplify, the page reduces, etc..Specifically,When the application of current operation is e-book, the corresponding object run of slip instruction of upward sliding can be paged up, toThe corresponding object run of slip instruction of lower slider can be downward page turning, the corresponding object run of slip instruction slided to the leftCan amplify font, the slip instruction slided to the right is to decrease font size.When user browses e-book, it is only necessary to outstanding by slidingFloating button can just realize page turning and font adjustment, convenient and swift.
Again for example, when the application of current operation is webpage, electronic equipment is that the object run of slip instruction matching can be withTo be moved on the page, the page is moved down, full frame browse mode, normal browsing pattern.Specifically, the application in current operation is webpageWhen, the corresponding object run of slip instruction of upward sliding can be moved on the page, the corresponding mesh of slip instruction of slide downwardMark operation can be that the page is moved down, and the corresponding object run of the slip instruction slided to the left can be full frame browse mode, to the rightThe slip instruction of slip is normal browsing pattern.
Again illustratively, when the application in current operation is multimedia class application, electronic equipment is the mesh of slip instruction matchingMark operation can include at least one of following:F.F., retrogressing, play in a upper content of multimedia, the next multimedia of broadcastingHold, suspend and play, commence play out, increase volume, reduce volume, etc..Wherein, multimedia class application may, for example, be video and answerWith, music application etc..For example, when the application of current operation is Video Applications, object run can be F.F., retrogressing, increaseVolume, the volume that reduces, the upper video content of broadcasting, the next video content of broadcasting.Specifically, the application in current operation be regardingWhen frequency is applied, the corresponding object run of slip instruction of upward sliding can be increase volume, the slip instruction pair of slide downwardThe object run answered can reduce volume, and the corresponding object run of slip instruction slided to the left can be retreated, and slide to the rightDynamic slip instruction is F.F., and the corresponding object run of slip instruction turn-taked clockwise can play next video content,The corresponding object run of slip instruction turn-taked counterclockwise can play a upper video content.
In yet another embodiment, slip instruction can also be by user's self-defining with the corresponding relation of object run.ThisSample, user can define the corresponding relation of the slide and object run under different application according to the use habit of oneself.As shown in figure 3, the corresponding relation of slip instruction and object run can be defined in the following manner.
In step 301, receive suspension button slide and instruction is set.
In the disclosure, the suspension button slide sets instruction and can serve to indicate that intended application, and in the meshUnder mark application, the object run corresponding to the slide of suspension button, wherein, intended application is to install on an electronic deviceAny application.When user needs the corresponding object run of the slide for voluntarily setting suspension button, can be by such as Fig. 4 institutesThe suspension button for showing sets interface to set the object run corresponding to slide.As shown in figure 4, intended application should for musicWith user can set corresponding object run, example according to the use habit of oneself to each slide of suspension buttonSuch as, it is increase volume to set the corresponding object run of upward sliding, and the corresponding object run of slide downward is reduction volume, to the leftCorresponding object run is slided for upper one is bent, corresponding object run is slided to the right for next song.
In step 302, set in response to suspension button slide and instructed, storage intended application, the cunning of suspension buttonCorresponding relation between dynamic operation and object run.
In the disclosure, when corresponding between the slide of the sliding button under user is to intended application and object runAfter the completion of relation is configured, electronic equipment can be by between intended application, the slide of suspension button, object run threeCorresponding relation be saved in memory module.
Illustratively, such as following table institute of the corresponding relation between intended application, the slide of suspension button, object run threeShow:
Table 1
So, electronic equipment can determine under the application of current operation by searching the corresponding relation of the storage, slidingIt is dynamic to instruct corresponding object run.
In step 203, performance objective operation.
In the disclosure, after the corresponding object run of slip instruction determines, electronic equipment performs the object run.ShowExample, when the application of current operation is e-book, the slip instruction for receiving is upward sliding, by lookup such as table 1The corresponding relation of storage can determine corresponding object run to page up, and now, electronic equipment is performed and pages up operation.
The technical scheme provided by this disclosed embodiment can include the following benefits:According to receiving for suspensionThe application of the slip instruction of button and current operation determines the object run corresponding with the slip instruction, and performs the targetOperation.So, can facilitate user that corresponding operation is quickly performed come control electronics by sliding the suspension button, andThe operation is adapted with the application of current operation.In this way, not only enriching the control function of suspension button, and cause user behaviourMake more convenient, it is practical.
Fig. 2 B are a kind of flow charts of the suspension button control method according to another exemplary embodiment.Such as Fig. 2 B institutesShow, the above method can also be comprised the following steps.
In step 204, it is big when the time difference between the moment for receiving slip instruction and the triggering moment of suspension buttonWhen preset duration, according to slip instruction, mobile suspension button.
In the disclosure, when user needs to move suspension button, this can be slided after length presses the suspension button and is hangedFloating button is realized.
Fig. 5 A are a kind of block diagrams of the suspension push-button control device according to an exemplary embodiment, wherein, the deviceCan apply to electronic equipment.Reference picture 5A, the device 500 can include:First receiver module 501, is configured as in displayWhen suspension button on interface is triggered, reception carries out the slip instruction of slide generation to the suspension button;Determine mouldBlock 502, is configured as first receiver module 501 and receives the moment of the slip instruction and touching for the suspension buttonWhen time difference between the hair moment is less than or equal to preset duration, determined and the slip instruction according to the current application for runningCorresponding object run;Performing module 503, is configured as performing the object run that the determining module 502 is determined.
The technical scheme provided by this disclosed embodiment can include the following benefits:According to receiving for suspensionThe application of the slip instruction of button and current operation determines the object run corresponding with the slip instruction, and performs the targetOperation.So, can facilitate user that corresponding operation is quickly performed come control electronics by sliding the suspension button, andThe operation is adapted with the application of current operation.In this way, not only enriching the control function of suspension button, and cause user behaviourMake more convenient, it is practical.
Alternatively, the performing module 503 is additionally configured to refer to when first receiver module 501 receives the slipWhen time difference between the triggering moment of the moment of order and the suspension button is more than the preset duration, referred to according to the slipOrder, the movement suspension button.
Alternatively, the application of the current operation can include:The display interface that the suspension button is currently locatedCorresponding application.
Alternatively, the current operation application for browse class application when, the object run include it is following in extremelyFew one:On the page move, the page move down, page up, downward page turning, the page amplify, the page reduce.
Alternatively, the current operation application be multimedia class application when, the object run include it is following inAt least one:F.F., retrogressing, the upper content of multimedia of broadcasting, the next content of multimedia of broadcasting, pause are played, commenced play out, increasingBig volume, reduction volume.
Fig. 5 B are a kind of block diagrams of the suspension push-button control device according to another exemplary embodiment, wherein, the dressPut and can apply to electronic equipment.Reference picture 5B, the device 500 can also include:Second receiver module 504, is configured as connecingReceipts suspension button slide sets instruction, and the suspension button slide sets instruction to be used to indicate intended application, andUnder the intended application, the object run corresponding to the slide of the suspension button, wherein, the intended application is peaceAny application on the electronic equipment;Memory module 505, is configured to respond to second receiver module 504 and connectsThe suspension button slide that receives sets instruction, store the intended application, the slide of the suspension button, withAnd the corresponding relation between the object run.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the methodEmbodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 6 is a kind of block diagram of the suspension push-button control device 600 according to an exemplary embodiment.For example, device600 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment setsIt is standby, body-building equipment, personal digital assistant etc..
Reference picture 6, device 600 can include following one or more assemblies:Processing assembly 602, memory 604, electric powerComponent 606, multimedia groupware 608, audio-frequency assembly 610, the interface 612 of input/output (I/O), sensor cluster 614, andCommunication component 616.
The integrated operation of the usual control device 600 of processing assembly 602, such as with display, call, data communication, phaseMachine is operated and the associated operation of record operation.Processing assembly 602 can refer to including one or more processors 620 to performOrder, to complete all or part of step of above-mentioned suspension button control method.Additionally, processing assembly 602 can include one orMultiple modules, are easy to the interaction between processing assembly 602 and other assemblies.For example, processing assembly 602 can include multimedia mouldBlock, to facilitate the interaction between multimedia groupware 608 and processing assembly 602.
Memory 604 is configured as storing various types of data supporting the operation in device 600.These data are shownExample includes the instruction for any application program or method operated on device 600, and contact data, telephone book data disappearsBreath, picture, video etc..Memory 604 can be by any kind of volatibility or non-volatile memory device or their groupClose and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compileJourney read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flashDevice, disk or CD.
Electric power assembly 606 provides electric power for the various assemblies of device 600.Electric power assembly 606 can include power management systemSystem, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 600.
Multimedia groupware 608 is included in one screen of output interface of offer between described device 600 and user.OneIn a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screenCurtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensingsDevice is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding actionBorder, but also detection and the touch or slide related duration and pressure.In certain embodiments, many matchmakersBody component 608 includes a front camera and/or rear camera.When device 600 be in operator scheme, such as screening-mode orDuring video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera andRear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 610 is configured as output and/or input audio signal.For example, audio-frequency assembly 610 includes a MikeWind (MIC), when device 600 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is matched somebody with somebodyIt is set to reception external audio signal.The audio signal for being received can be further stored in memory 604 or via communication setPart 616 sends.In certain embodiments, audio-frequency assembly 610 also includes a loudspeaker, for exports audio signal.
, to provide interface between processing assembly 602 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 612To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lockDetermine button.
Sensor cluster 614 includes one or more sensors, and the state for providing various aspects for device 600 is commentedEstimate.For example, sensor cluster 614 can detect the opening/closed mode of device 600, the relative positioning of component is for example describedComponent is the display and keypad of device 600, and sensor cluster 614 can be with 600 1 components of detection means 600 or devicePosition change, user is presence or absence of with what device 600 was contacted, the orientation of device 600 or acceleration/deceleration and device 600Temperature change.Sensor cluster 614 can include proximity transducer, be configured to be detected when without any physical contactThe presence of neighbouring object.Sensor cluster 614 can also include optical sensor, such as CMOS or ccd image sensor, for intoAs being used in application.In certain embodiments, the sensor cluster 614 can also include acceleration transducer, gyro sensorsDevice, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between device 600 and other equipment.Device600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementationIn example, communication component 616 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, the communication component 616 also includes near-field communication (NFC) module, to promote junction service.ExampleSuch as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 600 can be by one or more application specific integrated circuits (ASIC), numeral letterNumber processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array(FPGA), controller, microcontroller, microprocessor or other electronic components realization, for performing above-mentioned suspension button controlMethod.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally providedSuch as include the memory 604 of instruction, above-mentioned instruction can be performed to complete above-mentioned suspension button by the processor 620 of device 600Control method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to other embodiment party of the disclosure after considering specification and putting into practice the disclosureCase.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or adaptabilityChange follows the general principle of the disclosure and including the undocumented common knowledge or usual skill in the art of the disclosureArt means.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following claimPoint out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, andAnd can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appended claim.

Claims (13)

Translated fromChinese
1.一种悬浮按钮控制方法,其特征在于,应用于电子设备,包括:1. A suspension button control method, characterized in that it is applied to electronic equipment, comprising:在显示界面上的悬浮按钮被触发时,接收对所述悬浮按钮进行滑动操作产生的滑动指令;When the floating button on the display interface is triggered, receiving a sliding instruction generated by sliding the floating button;当接收到所述滑动指令的时刻与所述悬浮按钮的触发时刻之间的时间差小于或等于预设时长时,根据当前运行的应用来确定与所述滑动指令相对应的目标操作;When the time difference between the moment of receiving the sliding instruction and the triggering moment of the floating button is less than or equal to a preset duration, determine the target operation corresponding to the sliding instruction according to the currently running application;执行所述目标操作。Execute the target action.2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that the method further comprises:当接收到所述滑动指令的时刻与所述悬浮按钮的触发时刻之间的时间差大于所述预设时长时,根据所述滑动指令,移动所述悬浮按钮。When the time difference between the moment when the sliding instruction is received and the moment when the floating button is triggered is greater than the preset duration, the floating button is moved according to the sliding instruction.3.根据权利要求1所述的方法,其特征在于,所述当前运行的应用包括:3. The method according to claim 1, wherein the currently running applications include:所述悬浮按钮当前所在的所述显示界面所对应的应用。An application corresponding to the display interface where the floating button is currently located.4.根据权利要求1所述的方法,其特征在于,在所述当前运行的应用为浏览类应用时,所述目标操作包括以下中的至少一者:页面上移、页面下移、向上翻页、向下翻页、页面放大、页面缩小。4. The method according to claim 1, wherein when the currently running application is a browsing application, the target operation includes at least one of the following: page up, page down, page up page, page down, page zoom in, page zoom out.5.根据权利要求1所述的方法,其特征在于,在所述当前运行的应用为多媒体类应用时,所述目标操作包括以下中的至少一者:快进、后退、播放上一多媒体内容、播放下一多媒体内容、暂停播放、开始播放、增大音量、减小音量。5. The method according to claim 1, wherein when the currently running application is a multimedia application, the target operation includes at least one of the following: fast forward, rewind, and play the previous multimedia content , play next multimedia content, pause playback, start playback, increase volume, decrease volume.6.根据权利要求1-5中任一项所述的方法,其特征在于,所述方法还包括:6. The method according to any one of claims 1-5, wherein the method further comprises:接收悬浮按钮滑动操作设置指令,所述悬浮按钮滑动操作设置指令用于指示目标应用,以及在所述目标应用下,所述悬浮按钮的滑动操作所对应的目标操作,其中,所述目标应用为安装在所述电子设备上的任一应用;Receive a floating button sliding operation setting instruction, the floating button sliding operation setting instruction is used to indicate a target application, and under the target application, the target operation corresponding to the sliding operation of the floating button, wherein the target application is any application installed on said electronic device;响应于所述悬浮按钮滑动操作设置指令,存储所述目标应用、所述悬浮按钮的滑动操作、以及所述目标操作之间的对应关系。In response to the floating button sliding operation setting instruction, the corresponding relationship between the target application, the floating button sliding operation, and the target operation is stored.7.一种悬浮按钮控制装置,其特征在于,应用于电子设备,包括:7. A suspension button control device, characterized in that it is applied to electronic equipment, comprising:第一接收模块,被配置为在显示界面上的悬浮按钮被触发时,接收对所述悬浮按钮进行滑动操作产生的滑动指令;The first receiving module is configured to receive a sliding instruction generated by sliding the floating button on the display interface when the floating button is triggered;确定模块,被配置为当所述第一接收模块接收到所述滑动指令的时刻与所述悬浮按钮的触发时刻之间的时间差小于或等于预设时长时,根据当前运行的应用来确定与所述滑动指令相对应的目标操作;The determination module is configured to determine the time difference with the currently running application when the time difference between the time when the first receiving module receives the sliding instruction and the time when the floating button is triggered is less than or equal to a preset duration. The target operation corresponding to the above sliding instruction;执行模块,被配置为执行所述确定模块确定出的所述目标操作。An executing module configured to execute the target operation determined by the determining module.8.根据权利要求7所述的装置,其特征在于,所述执行模块还被配置为当所述第一接收模块接收到所述滑动指令的时刻与所述悬浮按钮的触发时刻之间的时间差大于所述预设时长时,根据所述滑动指令,移动所述悬浮按钮。8. The device according to claim 7, wherein the execution module is further configured to determine the time difference between the moment when the first receiving module receives the sliding instruction and the moment when the floating button is triggered When the duration is longer than the preset duration, the floating button is moved according to the sliding instruction.9.根据权利要求7所述的装置,其特征在于,所述当前运行的应用包括:9. The device according to claim 7, wherein the currently running applications include:所述悬浮按钮当前所在的所述显示界面所对应的应用。An application corresponding to the display interface where the floating button is currently located.10.根据权利要求7所述的装置,其特征在于,在所述当前运行的应用为浏览类应用时,所述目标操作包括以下中的至少一者:页面上移、页面下移、向上翻页、向下翻页、页面放大、页面缩小。10. The device according to claim 7, wherein when the currently running application is a browsing application, the target operation includes at least one of the following: page up, page down, and page up page, page down, page zoom in, page zoom out.11.根据权利要求7所述的装置,其特征在于,在所述当前运行的应用为多媒体类应用时,所述目标操作包括以下中的至少一者:快进、后退、播放上一多媒体内容、播放下一多媒体内容、暂停播放、开始播放、增大音量、减小音量。11. The device according to claim 7, wherein when the currently running application is a multimedia application, the target operation includes at least one of the following: fast forward, rewind, and play the previous multimedia content , play next multimedia content, pause playback, start playback, increase volume, decrease volume.12.根据权利要求7-11中任一项所述的装置,其特征在于,所述装置还包括:12. The device according to any one of claims 7-11, further comprising:第二接收模块,被配置为接收悬浮按钮滑动操作设置指令,所述悬浮按钮滑动操作设置指令用于指示目标应用,以及在所述目标应用下,所述悬浮按钮的滑动操作所对应的目标操作,其中,所述目标应用为安装在所述电子设备上的任一应用;The second receiving module is configured to receive a floating button sliding operation setting instruction, the floating button sliding operation setting instruction is used to indicate a target application, and under the target application, the target operation corresponding to the floating button sliding operation , wherein the target application is any application installed on the electronic device;存储模块,被配置为响应于所述第二接收模块接收到的所述悬浮按钮滑动操作设置指令,存储所述目标应用、所述悬浮按钮的滑动操作、以及所述目标操作之间的对应关系。A storage module configured to store the correspondence between the target application, the sliding operation of the floating button, and the target operation in response to the floating button sliding operation setting instruction received by the second receiving module .13.一种悬浮按钮控制装置,其特征在于,包括:13. A floating button control device, comprising:处理器;processor;用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;其中,所述处理器被配置为:Wherein, the processor is configured as:在显示界面上的悬浮按钮被触发时,接收对所述悬浮按钮进行滑动操作产生的滑动指令;When the floating button on the display interface is triggered, receiving a sliding instruction generated by sliding the floating button;当接收到所述滑动指令的时刻与所述悬浮按钮的触发时刻之间的时间差小于或等于预设时长时,根据当前运行的应用来确定与所述滑动指令相对应的目标操作;When the time difference between the moment of receiving the sliding instruction and the triggering moment of the floating button is less than or equal to a preset duration, determine the target operation corresponding to the sliding instruction according to the currently running application;执行所述目标操作。Execute the target action.
CN201710093711.1A2017-02-212017-02-21Suspension button control method and devicePendingCN106802808A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710093711.1ACN106802808A (en)2017-02-212017-02-21Suspension button control method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710093711.1ACN106802808A (en)2017-02-212017-02-21Suspension button control method and device

Publications (1)

Publication NumberPublication Date
CN106802808Atrue CN106802808A (en)2017-06-06

Family

ID=58987586

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710093711.1APendingCN106802808A (en)2017-02-212017-02-21Suspension button control method and device

Country Status (1)

CountryLink
CN (1)CN106802808A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107783711A (en)*2017-11-072018-03-09北京小米移动软件有限公司Application program is controlled to perform the method and device of operation
CN108897475A (en)*2018-05-312018-11-27维沃移动通信有限公司A kind of image processing method and mobile terminal
WO2020000886A1 (en)*2018-06-292020-01-02深圳春沐源控股有限公司Terminal program control method based on floating button, and terminal device
CN110825277A (en)*2018-08-072020-02-21阿里巴巴集团控股有限公司 Control method, device and electronic device
CN111443862A (en)*2020-03-312020-07-24深圳匠心谷信息技术有限公司Control method and system based on suspension button and storage medium
CN112311932A (en)*2020-10-232021-02-02珠海格力电器股份有限公司Control center gesture control method and device, computer equipment and storage medium
WO2022127786A1 (en)*2020-12-142022-06-23华为技术有限公司Page sliding processing method and related apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103440083A (en)*2013-08-232013-12-11深圳市精准分众传媒有限公司Method for showing mobile phone advertisement in suspension mode
CN105302408A (en)*2014-06-242016-02-03腾讯科技(深圳)有限公司Method and apparatus for adjusting position of hover button and terminal
US20160062640A1 (en)*2014-09-012016-03-03Chiun Mai Communication Systems, Inc.Electronic device for browsing data and method thereof
CN105912258A (en)*2016-04-132016-08-31北京小米移动软件有限公司Method and device for operation processing
CN105930147A (en)*2016-04-132016-09-07北京小米移动软件有限公司Application function starting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103440083A (en)*2013-08-232013-12-11深圳市精准分众传媒有限公司Method for showing mobile phone advertisement in suspension mode
CN105302408A (en)*2014-06-242016-02-03腾讯科技(深圳)有限公司Method and apparatus for adjusting position of hover button and terminal
US20160062640A1 (en)*2014-09-012016-03-03Chiun Mai Communication Systems, Inc.Electronic device for browsing data and method thereof
CN105912258A (en)*2016-04-132016-08-31北京小米移动软件有限公司Method and device for operation processing
CN105930147A (en)*2016-04-132016-09-07北京小米移动软件有限公司Application function starting method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107783711A (en)*2017-11-072018-03-09北京小米移动软件有限公司Application program is controlled to perform the method and device of operation
CN108897475A (en)*2018-05-312018-11-27维沃移动通信有限公司A kind of image processing method and mobile terminal
CN108897475B (en)*2018-05-312020-09-29维沃移动通信有限公司 Image processing method and mobile terminal
WO2020000886A1 (en)*2018-06-292020-01-02深圳春沐源控股有限公司Terminal program control method based on floating button, and terminal device
CN110825277A (en)*2018-08-072020-02-21阿里巴巴集团控股有限公司 Control method, device and electronic device
CN110825277B (en)*2018-08-072023-05-26阿里巴巴集团控股有限公司Control method and device and electronic equipment
CN111443862A (en)*2020-03-312020-07-24深圳匠心谷信息技术有限公司Control method and system based on suspension button and storage medium
CN112311932A (en)*2020-10-232021-02-02珠海格力电器股份有限公司Control center gesture control method and device, computer equipment and storage medium
WO2022127786A1 (en)*2020-12-142022-06-23华为技术有限公司Page sliding processing method and related apparatus
CN114691002A (en)*2020-12-142022-07-01华为技术有限公司Page sliding processing method and related device
CN114691002B (en)*2020-12-142023-10-20华为技术有限公司Page sliding processing method and related device

Similar Documents

PublicationPublication DateTitle
CN105657173B (en) Volume adjustment method, device and mobile terminal
CN106371688B (en)Full screen one-handed performance method and device
CN106802808A (en)Suspension button control method and device
CN104598111B (en)Switch the method and device of display pattern
US9167059B2 (en)Mobile terminal and control method thereof
CN107544810B (en)Method and device for controlling application program
CN104731688B (en)Point out the method and device of reading progress
WO2018027501A1 (en)Terminal, touch response method, and device
CN104486451B (en)Application program recommends method and device
CN103995666B (en)A kind of method and apparatus of setting operating mode
CN106293396A (en)terminal control method, device and terminal
CN104536935B (en)Calculate display methods, calculate edit methods and device
CN105487680B (en) Method, device and terminal for screen capture of terminal
CN104793843B (en)desktop display method and device
JP2017527928A (en) Text input method, apparatus, program, and recording medium
CN104461348B (en)Information choosing method and device
CN105373334B (en)Interactive screen control method and device
CN106502560A (en)Display control method and device
CN107544683A (en)Multistage presses the method and device of key control, electronic equipment
CN104536659B (en)Object information processing method and device
CN107885571A (en)Show page control method and device
CN105468281B (en)The method and apparatus for showing set interface
KR20140105340A (en)Method and Apparatus for operating multi tasking in a terminal
CN105119815B (en)The method and device of music is realized in instant communication interface
CN104951228B (en)Laying method, device and the terminal device of icon

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20170606


[8]ページ先頭

©2009-2025 Movatter.jp