WO2021046718A1 - 一种基于悬浮按钮的快捷操作方法、装置及电子设备 - Google Patents

一种基于悬浮按钮的快捷操作方法、装置及电子设备 Download PDF

Info

Publication number
WO2021046718A1
WO2021046718A1 PCT/CN2019/105164 CN2019105164W WO2021046718A1 WO 2021046718 A1 WO2021046718 A1 WO 2021046718A1 CN 2019105164 W CN2019105164 W CN 2019105164W WO 2021046718 A1 WO2021046718 A1 WO 2021046718A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
shortcut
gesture
sliding
floating button
Prior art date
Application number
PCT/CN2019/105164
Other languages
English (en)
French (fr)
Inventor
周诗松
叶智星
柳彤
朱大卫
汤慧秀
Original Assignee
深圳海付移通科技有限公司
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 深圳海付移通科技有限公司 filed Critical 深圳海付移通科技有限公司
Priority to CN201980010276.9A priority Critical patent/CN111801647A/zh
Priority to PCT/CN2019/105164 priority patent/WO2021046718A1/zh
Publication of WO2021046718A1 publication Critical patent/WO2021046718A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Definitions

  • the present invention relates to the technical field of data processing, in particular to a quick operation method, device and electronic equipment based on floating buttons.
  • an embodiment of the present invention provides a quick operation method based on a floating button, which is applied to an electronic device, and the method includes:
  • the shortcut interface is called to start the application program interface corresponding to the shortcut interface.
  • the method before the monitoring the user's gesture operation on the floating button, the method further includes:
  • the gesture operation includes a single-click operation, a double-click operation, and a long-press operation
  • the method further includes:
  • the method further includes:
  • an operation interface corresponding to the sliding operation instruction is opened.
  • the method before the obtaining the sliding operation instruction under the call-out menu, the method further includes:
  • the sliding operation instruction includes an upward sliding operation instruction, a sliding operation instruction, a left sliding operation instruction, and a right sliding operation instruction.
  • the operation interface includes a payment code interface, a scan interface, a transfer interface, and a payment collection interface.
  • the interface, said pre-matching the corresponding operation interface for the sliding operation instruction includes:
  • the sliding operation instruction matches the payment code interface
  • the sliding operation instruction matches the sweep interface
  • the left sliding operation instruction matches the transfer interface
  • the right sliding operation instruction matches the payment interface
  • the method further includes:
  • the shortcut interface corresponding to the sliding gesture is called to start the application program interface corresponding to the shortcut interface.
  • an embodiment of the present invention provides a quick operation device based on a floating button, the device including:
  • the application program matching unit is used to set a one-to-one corresponding shortcut interface for at least one application program in advance;
  • the floating button creation unit is used to create a floating button and bind the floating button to the shortcut interface
  • the gesture operation monitoring unit is used to monitor the user's gesture operation on the floating button
  • the application program interface starting unit is configured to call the shortcut interface to start the application program interface corresponding to the shortcut interface according to the gesture operation.
  • the device further includes:
  • the shortcut interface matching unit is used to match the corresponding shortcut interface for each gesture operation.
  • the gesture operation includes a single-click operation, a double-click operation, and a long-press operation
  • the device further includes:
  • the call-out menu generating unit is used to obtain the long-press operation of the floating button by the user to generate the call-out menu.
  • the device further includes:
  • the call-out menu operation unit is used to obtain the sliding operation instruction under the call-out menu
  • an operation interface corresponding to the sliding operation instruction is opened.
  • the device further includes:
  • the operation interface matching unit is configured to match the corresponding operation interface for the sliding operation instruction in advance.
  • the sliding operation instruction includes an upward sliding operation instruction, a sliding operation instruction, a left sliding operation instruction, and a right sliding operation instruction.
  • the operation interface includes a payment code interface, a scan interface, a transfer interface, and a payment collection interface.
  • the interface, the operation interface matching unit, is specifically used for:
  • Match the payment code interface for the sliding operation instruction scan the interface for the sliding operation instruction match, match the transfer interface for the left sliding operation instruction, and match the payment interface for the right sliding operation instruction.
  • the device further includes:
  • the touch area unit is configured to receive a touch area designation instruction, designate a touch area for the user interface of the electronic device, and set the floating button in the touch area;
  • the shortcut interface corresponding to the sliding gesture is called to start the application program interface corresponding to the shortcut interface.
  • an embodiment of the present invention provides an electronic device, including:
  • At least one processor and,
  • a memory communicatively connected with the at least one processor; wherein,
  • the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the above-mentioned shortcut operation method based on the floating button.
  • embodiments of the present invention also provide a non-volatile computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by an electronic device, The electronic device is allowed to execute the above-mentioned quick operation method based on the floating button.
  • the beneficial effect of the present invention is: different from the prior art, the quick operation method based on the floating button in the embodiment of the present invention is applied to an electronic device, and the method includes: presetting at least one The application sets up a one-to-one corresponding shortcut interface; creates a floating button and binds the floating button to the shortcut interface; monitors the user's gesture operation on the floating button; according to the gesture operation, calls the shortcut interface to Start the application program interface corresponding to the shortcut interface.
  • the present invention can solve the current technical problem of time wasting caused by the complicated operation of opening the application program, realize quick operation, and improve user experience.
  • FIG. 1 is a schematic structural diagram of an application environment provided by an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a shortcut operation method based on floating buttons provided by an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a user interface of an electronic device according to an embodiment of the present invention.
  • Figure 4 is a schematic diagram of an outgoing menu provided by an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of another user interface of an electronic device according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of the operation of a touch area provided by an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a quick operation device based on floating buttons according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention.
  • each application program has its corresponding icon.
  • various applications can be effectively used and managed. Since electronic devices are usually installed with many applications, and generally, users can generally organize and classify the same types of applications in a folder, so that the desktop of the electronic device looks cleaner and more concise. However, since there are multiple folders and/or multiple applications distributed in the user interface, the process for the user to find a specific application program becomes cumbersome, and it is easy to waste unnecessary search time.
  • the present invention provides a quick operation method, device and electronic equipment based on floating buttons.
  • Figure 1 is a schematic structural diagram of an application environment provided by an embodiment of the present invention. ;
  • the application environment includes: a user 10 and an electronic device 20.
  • the user 10 may be any number of groups with the same or similar operating behaviors, such as family, work group, or individual.
  • the user 10 can interact with the electronic device 20 through any suitable type, one or more user interaction devices, such as a mouse, a keyboard, a remote control, a touch screen, a motion sensing camera, or a smart wearable device, to input instructions or control the electronic device 20 to perform a One or more operations to achieve user intent.
  • user interaction devices such as a mouse, a keyboard, a remote control, a touch screen, a motion sensing camera, or a smart wearable device, to input instructions or control the electronic device 20 to perform a One or more operations to achieve user intent.
  • the electronic device 20 may specifically be any suitable type of mobile electronic device that has a certain logical computing capability and provides one or more functions that can meet the needs of users. For example, computers, mobile phones, smart TVs, personal computers, tablets, smart phones, etc.
  • a number of application programs for realizing the user's intention are installed on the electronic device 20, and some of the application programs are displayed on the desktop of the electronic device 20 in the form of independent application icons. Other parts of the application programs are classified into different folders with the same type or the same identification, and are distinguished by different folder names, and the different folders are also displayed on the desktop of the electronic device 20.
  • the aforementioned application icons independently displayed on the desktop and the folders independently displayed on the desktop are collectively referred to as desktop icons.
  • the user 10 may interact with the electronic device 20 to view the content of the application or organize the application on the desktop icon on the desktop of the electronic device 20, for example: enter the interface of the application to view the application Message, move an application from one folder to another file, delete an application in a file, or modify the name of a folder, etc.
  • the number of interactions required for operations to meet specific user intentions is one of the important criteria used to measure user experience.
  • the number of interactions can generally refer to actions that the user needs to perform on the mobile terminal in order to complete the operation, such as a touch operation, an operation of inputting certain characters. Fewer interaction times or less interactive interface switching can complete the operation more quickly and realize the user's intention.
  • the application of the quick operation method based on the floating button provided in the following embodiments can reduce the number of interactions to realize the user's intention, which means a better user experience.
  • the electronic device 20 includes but is not limited to:
  • Mobile communication equipment This type of equipment is characterized by mobile communication functions, and its main goal is to provide voice and data communications.
  • electronic devices include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Mobile personal computer equipment This type of equipment belongs to the category of personal computers, has calculation and processing functions, and generally also has mobile Internet features.
  • electronic devices include: PDA, MID and UMPC devices, such as iPad.
  • Portable entertainment equipment This type of equipment can display and play video content, and generally also has mobile Internet features. Such devices include: video players, handheld game consoles, as well as smart toys and portable car navigation devices.
  • FIG. 2 is a schematic flowchart of a shortcut operation method based on floating buttons according to an embodiment of the present invention.
  • the shortcut operation method based on floating buttons can be executed by the electronic device in the application environment shown in FIG. 1;
  • the shortcut operation method based on floating buttons includes:
  • Step S10 Pre-set a one-to-one corresponding shortcut interface for at least one application program
  • the pre-setting a one-to-one corresponding shortcut interface for at least one application program includes: determining the priority of each application program installed on the electronic device, determining at least one application program of the first priority, for each application program
  • the application programs of the first priority are respectively provided with a shortcut interface, and the shortcut interface is used for invoking by the electronic device, so as to quickly open the application program interface corresponding to the application program.
  • the shortcut interface can be quickly called, thereby quickly entering the application program interface corresponding to the application program.
  • Step S20 Create a floating button, and bind the floating button to the shortcut interface
  • the floating button is an application control button
  • the creating the floating button includes: customizing an application control button, and enabling the application control button to support the floating state, and at the same time binding the floating button to all
  • the shortcut interface it can be understood that the floating button is bound to at least one shortcut interface, that is, the floating button is bound to the shortcut interface corresponding to the first priority application.
  • FIG. 3 is a schematic diagram of a user interface of an electronic device according to an embodiment of the present invention.
  • the user interface of the electronic device includes multiple applications and/or folders, such as WeChat, Weibo, QQ, Alipay, Perpetual Calendar, Ink Weather, China Mobile, Mail, Baidu, Taobao, Jingdong, Youku and other applications, learning folders, entertainment folders and other folders, where the floating button is in a floating state, which can be dragged at will, and the floating button does not depend on the life cycle of the application and can be used in the application It is used when the program is closed, and the floating button will not be obscured by any application, and is always placed on the top layer.
  • the user performs different program functions by performing specific gesture operations on the floating buttons.
  • Step S30 monitor the user's gesture operation on the floating button
  • the floating button includes at least one gesture operation
  • the gesture operation is used to trigger a shortcut interface in the floating button
  • the method further includes : Match the corresponding shortcut interface for each gesture operation.
  • the gesture operation includes single-click operation, double-tap operation, long-press operation, upward sliding operation, downward sliding operation, left sliding operation, right sliding operation, through The user's gesture operation on the floating button is monitored, and the specific operation result is determined.
  • the method further includes:
  • the floating button is closed, that is, the floating state of the floating button is converted to a hidden state.
  • FIG. 4 is a schematic diagram of an outgoing menu provided by an embodiment of the present invention.
  • the call-out menu includes multiple sliding options, such as payment code, scan, transfer, and payment.
  • Each of the sliding options corresponds to an application program interface, for example: payment code corresponds to payment Code interface, scanning corresponds to scanning interface, transfer corresponds to transfer interface, and collection corresponds to collection interface.
  • the method further includes:
  • an operation interface corresponding to the sliding operation instruction is opened.
  • the method further includes:
  • the sliding operation instruction includes an upward sliding operation instruction, a sliding operation instruction, a left sliding operation instruction, and a right sliding operation instruction.
  • the operation interface includes a payment code interface, a scan interface, a transfer interface, and a payment interface. Matching the corresponding operation interface for the sliding operation instruction in advance includes:
  • Match the payment code interface for the sliding operation instruction scan the interface for the sliding operation instruction match, match the transfer interface for the left sliding operation instruction, and match the payment interface for the right sliding operation instruction.
  • each sliding operation instruction corresponds to a unique sliding option
  • each sliding option corresponds to an operation interface.
  • the sliding operation instruction includes sliding up. Instructions, sliding down instructions, sliding left instructions, and sliding right instructions correspond to the payment code interface, the scan interface, the transfer interface, and the payment interface, respectively.
  • the sliding operation instruction further includes an upper-left sliding instruction, a lower-left sliding instruction, an upper-right sliding instruction, and a lower-right sliding instruction, wherein the upper-left sliding instruction, the lower-left sliding instruction, the upper-right sliding instruction, and the lower-right sliding instruction
  • the instruction matches the corresponding operation interface, for example: upper left swipe instruction, lower left swipe instruction, upper right swipe instruction, and lower right swipe instruction respectively match the shutdown interface, sleep interface, sound interface, and brightness interface, wherein the shutdown interface is used to turn off the An electronic device, that is, power off the electronic device, the sleep interface is used to put the electronic device into a sleep state, the sound interface is used to adjust the volume of the electronic device, and the brightness interface is used to adjust the The screen brightness of the electronic device.
  • Step S40 According to the gesture operation, call the shortcut interface to start the application program interface corresponding to the shortcut interface.
  • the gesture operation includes: a single-click operation, a double-click operation, and a long-press operation.
  • the shortcut interface is called to start the corresponding shortcut interface.
  • the method further includes:
  • the shortcut interface corresponding to the sliding gesture is called to start the application program interface corresponding to the shortcut interface.
  • FIG. 5 is a schematic diagram of another user interface of an electronic device according to an embodiment of the present invention.
  • the user interface of the electronic device is provided with a touch area, and the floating button is provided in the touch area.
  • the touch area is used to receive a user's single-finger operation instruction.
  • the The touch area monitors any gesture operation input by the user in the touch area, such as a single-finger touch gesture, and generates a single-finger touch instruction according to the single-finger touch gesture input by the user;
  • FIG. 6 is a schematic diagram of the operation of the touch area provided by an embodiment of the present invention.
  • the single-finger touch gestures include a slide up gesture, a slide down gesture, a left slide gesture, and a right slide gesture.
  • the slide up gesture, the slide down gesture, the left slide gesture, and the right slide gesture respectively correspond to the A application.
  • Program, B application, C application, and D application wherein the up-swiping gesture, down-slide gesture, left-swiping gesture, and right-swiping gesture respectively match the A application, B application, C application, and D
  • the shortcut interface corresponding to the application program When the user inputs a corresponding single-finger touch gesture in the touch area, the shortcut interface corresponding to the single-finger touch gesture will be triggered, thereby starting the application of the application program corresponding to the shortcut interface Program interface.
  • a shortcut interface is set up for application functions that need to support shortcut operations; and an application control button is customized to support the floating state. Realize the monitoring of all touch gestures of the floating button, and book in advance the application shortcut interfaces corresponding to different single-finger touch events.
  • the user touches and presses with a single finger record the coordinates X and Y of the touch at this time, and continue to monitor the user's next single-finger touch operation. If the user quickly lifts up after pressing, it is considered a click event, if the user performs two clicks, it is a double-click event, and if the user does not lift it, it is a long-press event.
  • a shortcut operation method based on a floating button is provided, which is applied to an electronic device.
  • the method includes: presetting a one-to-one corresponding shortcut interface for at least one application;
  • the floating button is bound to the shortcut interface; monitoring a user's gesture operation on the floating button; according to the gesture operation, the shortcut interface is called to start the application program interface corresponding to the shortcut interface.
  • FIG. 7 is a schematic structural diagram of a quick operation device based on a floating button according to an embodiment of the present invention.
  • the quick operation device 70 based on floating buttons includes:
  • the application program matching unit 71 is configured to set a one-to-one corresponding shortcut interface for at least one application program in advance;
  • the floating button creation unit 72 is configured to create a floating button and bind the floating button to the shortcut interface
  • the gesture operation monitoring unit 73 is configured to monitor the user's gesture operation on the floating button
  • the application program interface starting unit 74 is configured to call the shortcut interface to start the application program interface corresponding to the shortcut interface according to the gesture operation.
  • the device further includes:
  • the shortcut interface matching unit (not shown) is used to match the corresponding shortcut interface for each gesture operation.
  • the gesture operation includes a single-click operation, a double-click operation, and a long-press operation
  • the device further includes:
  • the call-out menu generating unit (not shown in the figure) is used to obtain the long-press operation of the floating button by the user to generate the call-out menu.
  • the device further includes:
  • a call-out menu operation unit (not shown in the figure), which is used to obtain a sliding operation instruction under the call-out menu;
  • an operation interface corresponding to the sliding operation instruction is opened.
  • the device further includes:
  • the operation interface matching unit (not shown) is used to match the corresponding operation interface for the sliding operation instruction in advance.
  • the sliding operation instruction includes an upward sliding operation instruction, a sliding operation instruction, a left sliding operation instruction, and a right sliding operation instruction.
  • the operation interface includes a payment code interface, a scan interface, a transfer interface, and a payment collection interface.
  • the interface, the operation interface matching unit, is specifically used for:
  • Match the payment code interface for the sliding operation instruction scan the interface for the sliding operation instruction match, match the transfer interface for the left sliding operation instruction, and match the payment interface for the right sliding operation instruction.
  • the device further includes:
  • a touch area unit (not shown), configured to receive a touch area designation instruction, designate a touch area for the user interface of the electronic device, and set the floating button in the touch area;
  • the shortcut interface corresponding to the sliding gesture is called to start the application program interface corresponding to the shortcut interface.
  • the above-mentioned quick operation device based on the floating button can execute the quick operation method based on the floating button provided in the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • the quick operation method based on the floating button provided in the embodiment of the present invention For technical details that are not described in detail in the embodiment of the data processing device, refer to the quick operation method based on the floating button provided in the embodiment of the present invention.
  • FIG. 8 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention.
  • the electronic device 80 includes: at least one processor 81, a memory 82, a user interface 83, and at least one network interface 84.
  • the various components in the electronic device 80 are coupled together through a bus system 85.
  • the bus system 85 is used to implement connection and communication between these components.
  • the bus system 85 also includes a power bus, a control bus, and a status signal bus.
  • various buses are marked as the bus system 85 in FIG. 8.
  • the processor 81 and the memory 82 may be connected through a bus or in other ways. In FIG. 8, the connection through a bus is taken as an example.
  • the memory 82 can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, as in the embodiment of the present invention corresponding to the shortcut operation method based on floating buttons Instructions/modules.
  • the processor 81 executes various functional applications and data processing of the electronic device by running non-volatile software programs, instructions, and modules stored in the memory 82, that is, realizing the quick operation method based on the floating button in the above method embodiment.
  • the memory 82 may include a program storage area and a data storage area.
  • the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the floating button-based shortcut operation device, etc. .
  • the memory 82 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
  • the memory 82 may optionally include a memory remotely set with respect to the processor 81, and these remote memories may be connected to a shortcut operation device based on floating buttons via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
  • the one or more modules are stored in the memory 82, and when executed by the one or more processors 81, the shortcut operation method based on the floating button in any of the foregoing method embodiments is executed, for example, the foregoing description is executed The method steps S10 to S40 in FIG. 2.
  • the user interface 83 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch panel, or a touch screen.
  • the memory 82 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory.
  • the memory 82 in the embodiment of the present invention is used to store various types of data to support the operation of the electronic device 80. Examples of these data include: any computer program used to operate on the electronic device 80, such as an executable program 821 and an operating system 822.
  • the program that implements the shortcut operation method based on the floating button of the embodiment of the present invention may be included in the executable program. 821 in.
  • the quick operation method based on the floating button disclosed in the embodiment of the present invention may be applied to the processor 81 or implemented by the processor 81.
  • the processor 81 may be an integrated circuit chip with signal processing capability. In the implementation process, the steps of the above-mentioned quick operation method based on the floating button can be completed by the integrated logic circuit of the hardware in the processor 81 or the instructions in the form of software.
  • the aforementioned processor 81 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and the like.
  • the processor 81 may implement or execute the quick operation methods, steps, and logic block diagrams based on floating buttons provided in the embodiments of the present invention.
  • the general-purpose processor may be a microprocessor or any conventional processor or the like. Combining the steps of the quick operation method based on the floating button provided by the embodiment of the present invention can be directly embodied as the completion of execution by a hardware decoding processor, or a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium. The storage medium is located in the memory 82.
  • the processor 81 reads the information in the memory 82 and completes the steps of the quick operation method based on the floating button provided by the embodiment of the present invention in combination with its hardware.
  • the electronic device 80 includes a memory 82, a processor 81, and an executable program 821 stored on the memory 82 and capable of being run by the processor 81, and the processor 81 runs the executable program 821 Implemented in program 821:
  • the shortcut interface is called to start the application program interface corresponding to the shortcut interface.
  • the processor 81 runs the executable program 821, it realizes: matching a corresponding shortcut interface for each gesture operation.
  • the gesture operation includes a single-click operation, a double-click operation, and a long-press operation, and obtains the user's long-press operation on the floating button, and generates Bring up the menu.
  • the processor 81 runs the executable program 821, it realizes: acquiring the sliding operation instruction under the call-out menu;
  • an operation interface corresponding to the sliding operation instruction is opened.
  • the processor 81 runs the executable program 821, it realizes that the sliding operation instruction is matched with a corresponding operation interface in advance.
  • the sliding operation instruction includes an upward sliding operation instruction, a sliding operation instruction, a left sliding operation instruction, and a right sliding operation instruction.
  • the operation interface Including a payment code interface, a scan interface, a transfer interface, and a payment interface.
  • the pre-matched operation interface corresponding to the sliding operation instruction includes:
  • Match the payment code interface for the sliding operation instruction scan the interface for the sliding operation instruction match, match the transfer interface for the left sliding operation instruction, and match the payment interface for the right sliding operation instruction.
  • the processor 81 when the processor 81 runs the executable program 821, it realizes: receiving a touch area designation instruction, designating a touch area for the user interface of the electronic device, and setting the floating button on the Touch area
  • the shortcut interface corresponding to the sliding gesture is called to start the application program interface corresponding to the shortcut interface.
  • the embodiment of the present invention also provides a storage medium.
  • the storage medium may be a storage medium such as an optical disk, a flash memory, or a magnetic disk, and may be a non-transitory storage medium.
  • an executable program 821 is stored on the storage medium, and when the executable program 821 is executed by the processor 81, it is realized that a one-to-one corresponding shortcut interface is set for at least one application program in advance;
  • the shortcut interface is called to start the application program interface corresponding to the shortcut interface.
  • the quick operation method based on the floating button provided by the embodiment of the present invention can present the floating button in the view of the user interface, so that the user can quickly enter the corresponding application program through the floating button.
  • the application program interface solves the current technical problem of tedious and time-consuming application opening operations and is not conducive to improving efficiency.
  • the present invention can realize quick operations and improve the user experience.
  • the embodiments of the present invention can be provided as a method, a system, or an executable program product. Therefore, the present invention may adopt the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may be in the form of executable program products implemented on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) containing computer-usable program codes.
  • computer-usable storage media including but not limited to disk storage, optical storage, etc.
  • executable program instructions can also be stored in a computer-readable memory that can guide a computer or refer to a programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the instruction device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • executable program instructions can also be loaded on a computer or a reference programmable data processing device, so that a series of operation steps are executed on the computer or a reference programmable device to produce computer-implemented processing, which can be executed on the computer or a reference programmable device.
  • the instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
  • the embodiment of the present invention also provides a computer program product, including a calculation program stored on a non-volatile computer-readable storage medium, the computer program including program instructions, when the program instructions are executed by an electronic device, The electronic device executes steps S10 to S40 of the method shown in FIG. 2.
  • the device embodiments described above are merely illustrative.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each implementation manner can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware.
  • a person of ordinary skill in the art can understand that all or part of the processes in the methods of the foregoing embodiments can be implemented by instructing relevant hardware through a computer program.
  • the program can be stored in a computer readable storage medium, and the program can be stored in a computer readable storage medium. When executed, it may include the procedures of the above-mentioned method embodiments.
  • the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种基于悬浮按钮的快捷操作方法、装置及电子设备(20),涉及数据处理技术领域。所述基于悬浮按钮的快捷操作方法,应用于电子设备(20),所述方法包括:预先为至少一个应用程序设置一一对应的快捷接口(S10);创建悬浮按钮,并将所述悬浮按钮绑定所述快捷接口(S20);监听用户对所述悬浮按钮的手势操作(S30);根据所述手势操作,调用所述快捷接口以启动所述快捷接口对应的应用程序界面(S40)。通过对悬浮按钮的操作进入应用程序界面,能够解决目前应用程序开启的操作繁琐导致浪费时间的技术问题,实现快捷操作,提高用户体验。

Description

一种基于悬浮按钮的快捷操作方法、装置及电子设备 技术领域
本发明涉及数据处理技术领域,尤其涉及一种基于悬浮按钮的快捷操作方法、装置及电子设备。
背景技术
目前,随着技术的不断发展,电子设备的功能日渐强大,而大部分电子设备为了方便用户的操作,均设置有用户界面,因此,与用户界面相匹配的应用程序层出不穷,而随着电子设备的屏幕变大,可安装的应用程序非常多,为了使用应用程序的功能,用户必须要找到相应的应用程序,并触发该应用程序进入功能界面,该方式操作过于繁琐,并且在寻找应用程序的过程中容易浪费时间,影响用户体验。
发明内容
基于此,有必要针对上述技术问题,提供一种基于悬浮按钮的快捷操作方法、装置及电子设备,解决目前应用程序开启的操作繁琐导致浪费时间的技术问题,实现快捷操作,提高用户体验。
第一方面,本发明实施例提供一种基于悬浮按钮的快捷操作方法,应用于电子设备,所述方法包括:
预先为至少一个应用程序设置一一对应的快捷接口;
创建悬浮按钮,并将所述悬浮按钮绑定所述快捷接口;
监听用户对所述悬浮按钮的手势操作;
根据所述手势操作,调用所述快捷接口以启动所述快捷接口对应的应用程序界面。
在一些实施例中,所述监听用户对所述悬浮按钮的手势操作之前,所述方法还包括:
为每一手势操作匹配对应的快捷接口。
在一些实施例中,所述手势操作包括单击操作、双击操作、长按操作,所述方法还包括:
获取用户对所述悬浮按钮的长按操作,生成呼出菜单。
在一些实施例中,所述方法还包括:
获取所述呼出菜单下的滑动操作指令;
根据所述滑动操作指令,打开与所述滑动操作指令对应的操作界面。
在一些实施例中,所述获取所述呼出菜单下的滑动操作指令之前,所述方法还包括:
预先为所述滑动操作指令匹配对应的操作界面。
在一些实施例中,所述滑动操作指令包括上滑操作指令、下滑操作指令、左滑操作指令以及右滑操作指令,所述操作界面包括付款码界面、扫一扫界面、转账界面以及收款界面,所述预先为所述滑动操作指令匹配对应的操作界面,包括:
所述上滑操作指令匹配付款码界面,所述下滑操作指令匹配扫一扫界面,所述左滑操作指令匹配转账界面,所述右滑操作指令匹配收款界面。
在一些实施例中,所述方法还包括:
接收触摸区域指定指令,为所述电子设备的用户界面指定一触摸区域,并将所述悬浮按钮设置于所述触摸区域;
监听用户对所述触摸区域的单指触摸指令;
根据所述单指触摸指令,匹配对应的滑动手势;
根据所述滑动手势,调用所述滑动手势对应的快捷接口以启动所述快捷接口对应的应用程序界面。
第二方面,本发明实施例提供一种基于悬浮按钮的快捷操作装置,所述装置包括:
应用程序匹配单元,用于预先为至少一个应用程序设置一一对应的快捷接口;
悬浮按钮创建单元,用于创建悬浮按钮,并将所述悬浮按钮绑定所述快捷接口;
手势操作监听单元,用于监听用户对所述悬浮按钮的手势操作;
应用程序界面启动单元,用于根据所述手势操作,调用所述快捷接口以启动所述快捷接口对应的应用程序界面。
在一些实施例中,所述装置还包括:
快捷接口匹配单元,用于为每一手势操作匹配对应的快捷接口。
在一些实施例中,所述手势操作包括单击操作、双击操作、长按操作,所述装置还包括:
呼出菜单生成单元,用于获取用户对所述悬浮按钮的长按操作,生成呼出菜单。
在一些实施例中,所述装置还包括:
呼出菜单操作单元,用于获取所述呼出菜单下的滑动操作指令;
根据所述滑动操作指令,打开与所述滑动操作指令对应的操作界面。
在一些实施例中,所述装置还包括:
操作界面匹配单元,用于预先为所述滑动操作指令匹配对应的操作界面。
在一些实施例中,所述滑动操作指令包括上滑操作指令、下滑操作指令、左滑操作指令以及右滑操作指令,所述操作界面包括付款码界面、扫一扫界面、转账界面以及收款界面,所述操作界面匹配单元,具体用于:
为所述上滑操作指令匹配付款码界面,为所述下滑操作指令匹配扫一扫界面,为所述左滑操作指令匹配转账界面,为所述右滑操作指令匹配收款界面。
在一些实施例中,所述装置还包括:
触摸区域单元,用于接收触摸区域指定指令,为所述电子设备的用户界面指定一触摸区域,并将所述悬浮按钮设置于所述触摸区域;
监听用户对所述触摸区域的单指触摸指令;
根据所述单指触摸指令,匹配对应的滑动手势;
根据所述滑动手势,调用所述滑动手势对应的快捷接口以启动所述快捷接口对应的应用程序界面。
第三方面,本发明实施例提供一种电子设备,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述的基于悬浮按钮的快捷操作方法。
第四方面,本发明实施例还提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,当所述计算机可执行指令被 电子设备执行时,使所述电子设备执行上述的基于悬浮按钮的快捷操作方法。
与现有技术相比,本发明的有益效果是:区别于现有技术的情况,本发明实施例中的基于悬浮按钮的快捷操作方法,应用于电子设备,所述方法包括:预先为至少一个应用程序设置一一对应的快捷接口;创建悬浮按钮,并将所述悬浮按钮绑定所述快捷接口;监听用户对所述悬浮按钮的手势操作;根据所述手势操作,调用所述快捷接口以启动所述快捷接口对应的应用程序界面。通过对悬浮按钮的操作进入应用程序界面,本发明能够解决目前应用程序开启的操作繁琐导致浪费时间的技术问题,实现快捷操作,提高用户体验。
附图说明
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1是本发明实施例提供的一种应用环境的结构示意图;
图2是本发明实施例提供的一种基于悬浮按钮的快捷操作方法的流程示意图;
图3是本发明实施例提供的一种电子设备的用户界面的示意图;
图4是本发明实施例提供的一种呼出菜单的示意图;
图5是本发明实施例提供的一种电子设备的另一用户界面的示意图;
图6是本发明实施例提供的触摸区域的操作示意图;
图7是本发明实施例提供的一种基于悬浮按钮的快捷操作装置的结构示意图;
图8是本发明实施例提供的一种电子设备的硬件结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,如果不冲突,本发明实施例中的各个特征可以相互结合,均在本发明的保护范围之内。另外,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。再者,本发明所采用的“第一”、“第二”、“第三”等字样并不对数据和执行次序进行限定,仅是对功能和作用基本相同的相同项或相似项进行区分。
在电子设备,例如智能手机中,每一个应用程序均有其对应的图标,通过对应用程序的图标进行操作,可以有效的使用并管理各种应用程序。由于电子设备通常安装有很多的应用程序,并且,通常用户一般可以将相同类型的应用程序进行整理并归类于一个文件夹中,以使电子设备的桌面看起来更加干净简洁。但是,由于存在多个文件夹和/或多个应用程序分布于用户界面中,用户需要寻找特定的应用程序的过程变得繁琐,容易浪费不必要的寻找时间。
基于此,本发明提出一种基于悬浮按钮的快捷操作方法、装置及电子设备。
为了方便读者更好地理解本发明,在对本发明的发明思想进行描述之前,先对本发明的运行环境进行描述,请参阅图1,图1是本发明实施例提供的一种应用环境的结构示意图;
如图1所示,该应用环境包括:用户10和电子设备20。
用户10可以为具有任何数量的,具有相同或者相近操作行为的群体,例如家庭、工作组或者个人。用户10可以通过任何合适类型的,一种或者多种用户交互设备与电子设备20交互,例如鼠标、键盘、遥控器、触摸屏、体感摄像头或者智能可穿戴设备,输入指令或者控制电子设备20执行一种或者多种操作,用以实现用户意图。
电子设备20具体可以为任何合适类型的,具有一定逻辑运算能力,提供一个或者多个能够满足用户需求的功能的移动式电子设备。例如,计算机、手机、智能电视、个人电脑、平板电脑、智能手机等。
电子设备20上安装有若干个实现用户意图的应用程序,该若干个应用程序,部分以独立应程序图标的形式显示于电子设备20的桌面上。而另外部分应用程序则以相同类型或者相同标识的方式归类于不同的文件夹中,通过不同的文件夹命名进行区分,该不同的文件夹也显示于电子设备20的桌面上。在本发明实施例中,将上述独立显示于桌面上的应用程序图标与独立显示于桌面上的文件 夹统称为桌面图标。
在一些应用场景中,用户10可以通过与电子设备20之间交互,实现对电子设备20桌面上的桌面图标进行查看应用程序的内容或者整理应用程序,例如:进入应用程序的界面查看应用程序的消息、将一应用程序从一个文件夹移动至另一文件中、对一文件中的某一应用程序进行删除,或者修改某一文件夹名称等。
其中,为了满足特定的用户意图而进行的操作所需的交互次数,是用以衡量用户体验的其中一种重要标准。交互次数通常可以指用户为完成操作需要在移动终端上进行的动作,例如触控操作,输入某些文字的操作。较少的交互次数或者较少的交互界面切换能够更加快捷的完成操作,实现用户意图。而应用下述实施例提供的基于悬浮按钮的快捷操作方法可以减少实现用户意图的交互次数,意味着较佳的用户体验。
在本发明实施例中,所述电子设备20包括但不限于:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类电子设备包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。
(2)移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类电子设备包括:PDA、MID和UMPC设备等,例如iPad。
(3)便携式娱乐设备:这类设备可以显示和播放视频内容,一般也具备移动上网特性。该类设备包括:视频播放器,掌上游戏机,以及智能玩具和便携式车载导航设备。
(4)其他具有视频播放功能和上网功能的电子设备。
下面对本发明实施例所提供的桌面图标的整理方法进行详细描述。
请参阅图2,图2是本发明实施例提供的一种基于悬浮按钮的快捷操作方法的流程示意图,该基于悬浮按钮的快捷操作方法可以由图1所示的应用环境的电子设备所执行;
如图2所示,该基于悬浮按钮的快捷操作方法,包括:
步骤S10:预先为至少一个应用程序设置一一对应的快捷接口;
具体的,所述预先为至少一个应用程序设置一一对应的快捷接口,包括: 确定所述电子设备安装的每一应用程序的优先级,确定至少一个第一优先级的应用程序,为每一所述第一优先级的应用程序分别设置一个快捷接口,所述快捷接口用于电子设备调用,从而快速打开所述应用程序对应的应用程序界面。
通过为至少一个应用程序设置一一对应的快捷接口,能够快速调用所述快捷接口,从而快速进入所述应用程序对应的应用程序界面。
步骤S20:创建悬浮按钮,并将所述悬浮按钮绑定所述快捷接口;
具体的,所述悬浮按钮为应用程序控件按钮,所述创建悬浮按钮,包括:自定义一个应用程序控件按钮,并令所述应用程序控件按钮支持悬浮状态,同时将所述悬浮按钮绑定所述快捷接口,可以理解的是,所述悬浮按钮绑定至少一个快捷接口,即所述悬浮按钮绑定与所述第一优先级的应用程序对应的快捷接口。通过实现对所述悬浮按钮的触摸手势的监听,并提前预定不同的单指触摸事件所对应的应用程序的快捷接口,有利于通过单指触摸触发所述悬浮按钮中的快捷接口,从而快速打开所述快捷接口对应的应用程序的应用程序界面。
请参阅图3,图3是本发明实施例提供的一种电子设备的用户界面的示意图;
如图3所示,该电子设备的用户界面包括多个应用程序和/或文件夹,例如:微信、微博、QQ、支付宝、万年历、墨迹天气、***、邮件、百度、淘宝、京东、优酷等应用程序,学习文件夹、娱乐文件夹等文件夹,其中,所述悬浮按钮处于悬浮状态,其可以随意拖动,并且,所述悬浮按钮不依赖于应用程序的生命周期,可在应用程序已经关闭的情况下使用,并且该悬浮按钮不会被任何应用程序所遮挡,总是置于最上层。用户通过对悬浮按钮进行特定的手势操作以执行不同的程序功能。
步骤S30:监听用户对所述悬浮按钮的手势操作;
具体的,所述悬浮按钮包括至少一个手势操作,所述手势操作用于触发所述悬浮按钮中的快捷接口,其中,所述监听用户对所述悬浮按钮的手势操作之前,所述方法还包括:为每一手势操作匹配对应的快捷接口,例如:所述手势操作包括单击操作、双击操作、长按操作、向上滑动操作、向下滑动操作、向左滑动操作、向右滑动操作,通过监听用户对所述悬浮按钮的手势操作,确定具体的操作结果。
其中,若所述用户对所述悬浮按钮的手势操作为单击操作,则打开最近使用频率最高的应用程序的应用程序界面,具体的,所述方法还包括:
获取所述电子设备的全部应用程序的使用频率,并对所述全部应用程序的使用频率进行排序,确定最近使用频率最高的应用程序,若所述用户对所述悬浮按钮的手势操作为单击操作,则直接打开所述最近使用频率最高的应用程序,并呈现其应用程序界面。其中,对所述全部应用程序的使用频率进行排序是基于预设时间段内的使用频率进行统计得到的,所述预设时间段通过用户自定义,例如:自定义所述预设时间段为一周、两周、一个月,以及等等。
其中,若所述用户对所述悬浮按钮的手势操作为双击操作,则关闭所述悬浮按钮,即把所述悬浮按钮的悬浮状态转换为隐藏状态。
其中,若所述用户对所述悬浮按钮的手势操作为长按操作,则生成呼出菜单。
请再参阅图4,图4是本发明实施例提供的一种呼出菜单的示意图;
如图4所示,该呼出菜单包括多个滑动选项,例如:付款码、扫一扫、转账、收款,其中,每一所述滑动选项均对应一个应用程序界面,例如:付款码对应付款码界面,扫一扫对应扫一扫界面,转账对应转账界面,收款对应收款界面。
在本发明实施例中,所述方法还包括:
获取所述呼出菜单下的滑动操作指令;
根据所述滑动操作指令,打开与所述滑动操作指令对应的操作界面。
其中,所述获取所述呼出菜单下的滑动操作指令之前,所述方法还包括:
预先为所述滑动操作指令匹配对应的操作界面;
其中,所述滑动操作指令包括上滑操作指令、下滑操作指令、左滑操作指令以及右滑操作指令,所述操作界面包括付款码界面、扫一扫界面、转账界面以及收款界面,所述预先为所述滑动操作指令匹配对应的操作界面,包括:
为所述上滑操作指令匹配付款码界面,为所述下滑操作指令匹配扫一扫界面,为所述左滑操作指令匹配转账界面,为所述右滑操作指令匹配收款界面。
具体的,在所述呼出菜单下,每一滑动操作指令对应唯一的滑动选项,每一滑动选项对应一个操作界面,通过获取所述呼出菜单下的滑动操作指令,所述滑动操作指令包括向上滑动指令、向下滑动指令、向左滑动指令、向右滑动指令,分别对应付款码界面、扫一扫界面、转账界面以及收款界面,用户通过在所述呼出菜单进行向上滑动操作、向下滑动操作、向左滑动操作或向右滑动 操作,则分别生成向上滑动指令、向下滑动指令、向左滑动指令或向右滑动指令,进而进入所述付款码界面、扫一扫界面、转账界面或收款界面。
在本发明实施例中,所述滑动操作指令还包括左上滑动指令、左下滑动指令、右上滑动指令、右下滑动指令,其中,所述左上滑动指令、左下滑动指令、右上滑动指令、右下滑动指令匹配对应的操作界面,例如:左上滑动指令、左下滑动指令、右上滑动指令、右下滑动指令分别匹配关机界面、睡眠界面、声音界面、亮度界面,其中,所述关机界面用于关闭所述电子设备,即关闭所述电子设备的电源,所述睡眠界面用于使所述电子设备进入睡眠状态,所述声音界面用于调节所述电子设备的音量,所述亮度界面用于调节所述电子设备的屏幕亮度。
通过在呼出菜单下设置对应的应用程序界面的滑动操作选项,从而方便用户直接在所述呼出菜单下进行相应的滑动操作,从而启动相应的操作界面,有利于用户的快捷操作。
步骤S40:根据所述手势操作,调用所述快捷接口以启动所述快捷接口对应的应用程序界面。
具体的,通过监听用户对所述悬浮按钮的手势操作,所述手势操作包括:单击操作、双击操作、长按操作,通过所述手势操作,调用所述快捷接口以启动所述快捷接口对应的应用程序界面。
在本发明实施例中,所述方法还包括:
接收触摸区域指定指令,为所述电子设备的用户界面指定一触摸区域,并将所述悬浮按钮设置于所述触摸区域;
监听用户对所述触摸区域的单指触摸指令;
根据所述单指触摸指令,匹配对应的滑动手势;
根据所述滑动手势,调用所述滑动手势对应的快捷接口以启动所述快捷接口对应的应用程序界面。
请再参阅图5,图5是本发明实施例提供的一种电子设备的另一用户界面的示意图;
如图5所示,所述电子设备的用户界面设置有一触摸区域,所述悬浮按钮设置于所述触摸区域,其中,所述触摸区域用于接收用户的单指操作指令,具体的,所述触摸区域监听用户在该触摸区域输入的任意手势操作,例如:单指 触摸手势,根据所述用户输入的单指触摸手势,生成单指触摸指令;
请再参阅图6,图6是本发明实施例提供的触摸区域的操作示意图;
如图6所示,所述单指触摸手势包括上滑手势、下滑手势、左滑手势以及右滑手势,其中,所述上滑手势、下滑手势、左滑手势以及右滑手势分别对应A应用程序、B应用程序、C应用程序以及D应用程序,其中,所述上滑手势、下滑手势、左滑手势以及右滑手势分别匹配与所述A应用程序、B应用程序、C应用程序以及D应用程序对应的快捷接口,当所述用户在所述触摸区域输入对应的单指触摸手势时,将触发所述单指触摸手势对应的快捷接口,从而启动所述快捷接口对应的应用程序的应用程序界面。
具体的,为需要支持快捷操作的应用程序功能设立快捷接口;并自定义一个应用程序控件按钮,让其支持悬浮状态。实现对该悬浮按钮所有触摸手势的监听,并提前预定好不同的单指触摸事件所对应的应用程序快捷接口。当用户单指触摸按下的时候,记录此时触摸的坐标X和Y,并继续监听用户接下来的单指触摸操作。如果用户在按下后快速抬起则认为是点击事件,如果执行两次点击则为双击事件,如果用户不抬起则为长按事件。如果用户执行了长按操作,则监听用户接下来的进行的单指滑动操作,待用户单指滑动结束并抬起手指时,记录最后触摸的坐标X和Y并标记为结束滑动状态,然后分别计算出从开始滑动到结束滑动中X与Y的差值。根据差值的正负判断出手指滑动的方向。最后根据上述计算判断的结果得出用户执行了哪种单指触摸事件,并与应用程序早已预定好的单指触摸事件进行匹配,匹配成功执行相应功能,否则放弃该单指触摸事件。
需要说明的是,在上述各个实施例中,上述各步骤之间并不必然存在一定的先后顺序,本领域普通技术人员,根据本发明实施例的描述可以理解,不同实施例中,上述各步骤可以有不同的执行顺序,亦即,可以并行执行,亦可以交换执行等等。
在本发明实施例中,通过提供一种基于悬浮按钮的快捷操作方法,应用于电子设备,所述方法包括:预先为至少一个应用程序设置一一对应的快捷接口;创建悬浮按钮,并将所述悬浮按钮绑定所述快捷接口;监听用户对所述悬浮按钮的手势操作;根据所述手势操作,调用所述快捷接口以启动所述快捷接口对应的应用程序界面。通过对悬浮按钮的操作进入应用程序界面,本发明能够解 决目前应用程序开启的操作繁琐导致浪费时间的技术问题,实现快捷操作,提高用户体验。
相应的,本发明实施例还提供了一种基于悬浮按钮的快捷操作装置,请再参阅图7,图7是本发明实施例提供的一种基于悬浮按钮的快捷操作装置的结构示意图;
如图7所示,该基于悬浮按钮的快捷操作装置70,包括:
应用程序匹配单元71,用于预先为至少一个应用程序设置一一对应的快捷接口;
悬浮按钮创建单元72,用于创建悬浮按钮,并将所述悬浮按钮绑定所述快捷接口;
手势操作监听单元73,用于监听用户对所述悬浮按钮的手势操作;
应用程序界面启动单元74,用于根据所述手势操作,调用所述快捷接口以启动所述快捷接口对应的应用程序界面。
在一些实施例中,所述装置还包括:
快捷接口匹配单元(图未示),用于为每一手势操作匹配对应的快捷接口。
在一些实施例中,所述手势操作包括单击操作、双击操作、长按操作,所述装置还包括:
呼出菜单生成单元(图未示),用于获取用户对所述悬浮按钮的长按操作,生成呼出菜单。
在一些实施例中,所述装置还包括:
呼出菜单操作单元(图未示),用于获取所述呼出菜单下的滑动操作指令;
根据所述滑动操作指令,打开与所述滑动操作指令对应的操作界面。
在一些实施例中,所述装置还包括:
操作界面匹配单元(图未示),用于预先为所述滑动操作指令匹配对应的操作界面。
在一些实施例中,所述滑动操作指令包括上滑操作指令、下滑操作指令、左滑操作指令以及右滑操作指令,所述操作界面包括付款码界面、扫一扫界面、转账界面以及收款界面,所述操作界面匹配单元,具体用于:
为所述上滑操作指令匹配付款码界面,为所述下滑操作指令匹配扫一扫界面,为所述左滑操作指令匹配转账界面,为所述右滑操作指令匹配收款界面。
在一些实施例中,所述装置还包括:
触摸区域单元(图未示),用于接收触摸区域指定指令,为所述电子设备的用户界面指定一触摸区域,并将所述悬浮按钮设置于所述触摸区域;
监听用户对所述触摸区域的单指触摸指令;
根据所述单指触摸指令,匹配对应的滑动手势;
根据所述滑动手势,调用所述滑动手势对应的快捷接口以启动所述快捷接口对应的应用程序界面。
需要说明的是,上述基于悬浮按钮的快捷操作装置可执行本发明实施例所提供的基于悬浮按钮的快捷操作方法,具备执行方法相应的功能模块和有益效果。未在数据处理的装置实施例中详尽描述的技术细节,可参见本发明实施例所提供的基于悬浮按钮的快捷操作方法。
请参阅图8,图8是本发明实施例提供的电子设备的硬件结构示意图,如图8所示,该电子设备80包括:至少一个处理器81、存储器82、用户接口83和至少一个网络接口84。所述电子设备80中的各个组件通过总线***85耦合在一起。可以理解,总线***85用于实现这些组件之间的连接通信。总线***85除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图8中将各种总线都标为总线***85。
处理器81和存储器82可以通过总线或者其他方式连接,图8中以通过总线连接为例。
存储器82作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例基于悬浮按钮的快捷操作方法对应的指令/模块。处理器81通过运行存储在存储器82中的非易失性软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述方法实施例的基于悬浮按钮的快捷操作方法。
存储器82可以包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需要的应用程序;存储数据区可存储根据基于悬浮按钮的快捷操作装置使用所创建的数据等。此外,存储器82可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器82可选包括相对于处理器81远程设置的存储器,这些远程存储器可以通过网络连接至基于悬浮 按钮的快捷操作装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
所述一个或者多个模块存储在所述存储器82中,当被所述一个或者多个处理器81执行时,执行上述任意方法实施例中的基于悬浮按钮的快捷操作方法,例如,执行以上描述的图2中的方法步骤S10至步骤S40。
其中,用户接口83可以包括显示器、键盘、鼠标、轨迹球、点击轮、按键、按钮、触感板或者触摸屏等。
可以理解,存储器82可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。
本发明实施例中的存储器82用于存储各种类型的数据以支持电子设备80的操作。这些数据的示例包括:用于在电子设备80上操作的任何计算机程序,如可执行程序821和操作***822,实现本发明实施例的基于悬浮按钮的快捷操作方法的程序可以包含在可执行程序821中。
本发明实施例揭示的基于悬浮按钮的快捷操作方法可以应用于处理器81中,或者由处理器81实现。处理器81可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述基于悬浮按钮的快捷操作方法的各步骤可以通过处理器81中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器81可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器81可以实现或者执行本发明实施例中提供的各基于悬浮按钮的快捷操作方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所提供的基于悬浮按钮的快捷操作方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器82,处理器81读取存储器82中的信息,结合其硬件完成本发明实施例提供的基于悬浮按钮的快捷操作方法的步骤。
在本发明实施例中,所述电子设备80包括存储器82、处理器81及存储在存储器82上并能够由所述处理器81运行的可执行程序821,所述处理器81运行所述可执行程序821时实现:
预先为至少一个应用程序设置一一对应的快捷接口;
创建悬浮按钮,并将所述悬浮按钮绑定所述快捷接口;
监听用户对所述悬浮按钮的手势操作;
根据所述手势操作,调用所述快捷接口以启动所述快捷接口对应的应用程序界面。
作为一种实施方式,所述处理器81运行所述可执行程序821时实现:为每一手势操作匹配对应的快捷接口。
作为一种实施方式,所述处理器81运行所述可执行程序821时实现:所述手势操作包括单击操作、双击操作、长按操作,获取用户对所述悬浮按钮的长按操作,生成呼出菜单。
作为一种实施方式,所述处理器81运行所述可执行程序821时实现:获取所述呼出菜单下的滑动操作指令;
根据所述滑动操作指令,打开与所述滑动操作指令对应的操作界面。
作为一种实施方式,所述处理器81运行所述可执行程序821时实现:预先为所述滑动操作指令匹配对应的操作界面。
作为一种实施方式,所述处理器81运行所述可执行程序821时实现:所述滑动操作指令包括上滑操作指令、下滑操作指令、左滑操作指令以及右滑操作指令,所述操作界面包括付款码界面、扫一扫界面、转账界面以及收款界面,所述预先为所述滑动操作指令匹配对应的操作界面,包括:
为所述上滑操作指令匹配付款码界面,为所述下滑操作指令匹配扫一扫界面,为所述左滑操作指令匹配转账界面,为所述右滑操作指令匹配收款界面。
作为一种实施方式,所述处理器81运行所述可执行程序821时实现:接收触摸区域指定指令,为所述电子设备的用户界面指定一触摸区域,并将所述悬浮按钮设置于所述触摸区域;
监听用户对所述触摸区域的单指触摸指令;
根据所述单指触摸指令,匹配对应的滑动手势;
根据所述滑动手势,调用所述滑动手势对应的快捷接口以启动所述快捷接口对应的应用程序界面。
在示例性实施例中,本发明实施例还提供了一种存储介质,所述存储介质可为光盘、闪存或磁盘等存储介质,可选为非瞬间存储介质。本发明实施例中,所述存储介质上存储有可执行程序821,所述可执行程序821被处理器81执行时实现:预先为至少一个应用程序设置一一对应的快捷接口;
创建悬浮按钮,并将所述悬浮按钮绑定所述快捷接口;
监听用户对所述悬浮按钮的手势操作;
根据所述手势操作,调用所述快捷接口以启动所述快捷接口对应的应用程序界面。
综上所述,本发明实施例所提供的基于悬浮按钮的快捷操作方法,在用户界面的视图下,能够通过呈现悬浮按钮的方式,以使用户通过所述悬浮按钮快速进入相应的应用程序的应用程序界面,从而解决目前应用程序开启操作繁琐浪费时间,不利于提高效率的技术问题,通过直接操作悬浮按钮的方式,本发明能够实现快捷操作,提高用户的使用体验。
本领域内的技术人员应明白,本发明的实施例可提供为方法、***、或可执行程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的可执行程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(***)、和可执行程序产品的流程图和/或方框图来描述的。应理解可由可执行程序指令实现流程图和/或方框图中的每一流程和/或方框以及流程图和/或方框图中的流程和/或方框的结合。可提供这些可执行程序指令到通用计算机、专用计算机、嵌入式处理机或参考可编程数据处理设备的处理器以产生一个机器,使得通过计算机或参考可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些可执行程序指令也可存储在能引导计算机或参考可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些可执行程序指令也可装载到计算机或参考可编程数据处理设备上,使得在计算机或参考可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或参考可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
本发明实施例还提供了一种计算机程序产品,包括存储在非易失性计算机 可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被电子设备执行时,使所述电子设备执行如图2中的方法步骤S10至步骤S40。
上述产品可执行本发明实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例所提供的方法。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
通过以上的实施方式的描述,本领域普通技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。
以上所述仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (10)

  1. 一种基于悬浮按钮的快捷操作方法,应用于电子设备,其特征在于,所述方法包括:
    预先为至少一个应用程序设置一一对应的快捷接口;
    创建悬浮按钮,并将所述悬浮按钮绑定所述快捷接口;
    监听用户对所述悬浮按钮的手势操作;
    根据所述手势操作,调用所述快捷接口以启动所述快捷接口对应的应用程序界面。
  2. 根据权利要求1所述的方法,其特征在于,所述监听用户对所述悬浮按钮的手势操作之前,所述方法还包括:
    为每一手势操作匹配对应的快捷接口。
  3. 根据权利要求1所述的方法,其特征在于,所述手势操作包括单击操作、双击操作、长按操作,所述方法还包括:
    获取用户对所述悬浮按钮的长按操作,生成呼出菜单。
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    获取所述呼出菜单下的滑动操作指令;
    根据所述滑动操作指令,打开与所述滑动操作指令对应的操作界面。
  5. 根据权利要求4所述的方法,其特征在于,所述获取所述呼出菜单下的滑动操作指令之前,所述方法还包括:
    预先为所述滑动操作指令匹配对应的操作界面。
  6. 根据权利要求5所述的方法,其特征在于,所述滑动操作指令包括上滑操作指令、下滑操作指令、左滑操作指令以及右滑操作指令,所述操作界面包括付款码界面、扫一扫界面、转账界面以及收款界面,所述预先为所述滑动操作指令匹配对应的操作界面,包括:
    为所述上滑操作指令匹配付款码界面,为所述下滑操作指令匹配扫一扫界面,为所述左滑操作指令匹配转账界面,为所述右滑操作指令匹配收款界面。
  7. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    接收触摸区域指定指令,为所述电子设备的用户界面指定一触摸区域,并将所述悬浮按钮设置于所述触摸区域;
    监听用户对所述触摸区域的单指触摸指令;
    根据所述单指触摸指令,匹配对应的滑动手势;
    根据所述滑动手势,调用所述滑动手势对应的快捷接口以启动所述快捷接口对应的应用程序界面。
  8. 一种基于悬浮按钮的快捷操作装置,其特征在于,所述装置包括:
    应用程序匹配单元,用于预先为至少一个应用程序设置一一对应的快捷接口;
    悬浮按钮创建单元,用于创建悬浮按钮,并将所述悬浮按钮绑定所述快捷接口;
    手势操作监听单元,用于监听用户对所述悬浮按钮的手势操作;
    应用程序界面启动单元,用于根据所述手势操作,调用所述快捷接口以启动所述快捷接口对应的应用程序界面。
  9. 根据权利要求8所述的装置,其特征在于,所述装置还包括:
    快捷接口匹配单元,用于为每一手势操作匹配对应的快捷接口。
  10. 一种电子设备,其特征在于,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1-7任一项所述的基于悬浮按钮的快捷操作方法。
PCT/CN2019/105164 2019-09-10 2019-09-10 一种基于悬浮按钮的快捷操作方法、装置及电子设备 WO2021046718A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980010276.9A CN111801647A (zh) 2019-09-10 2019-09-10 一种基于悬浮按钮的快捷操作方法、装置及电子设备
PCT/CN2019/105164 WO2021046718A1 (zh) 2019-09-10 2019-09-10 一种基于悬浮按钮的快捷操作方法、装置及电子设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/105164 WO2021046718A1 (zh) 2019-09-10 2019-09-10 一种基于悬浮按钮的快捷操作方法、装置及电子设备

Publications (1)

Publication Number Publication Date
WO2021046718A1 true WO2021046718A1 (zh) 2021-03-18

Family

ID=72805565

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/105164 WO2021046718A1 (zh) 2019-09-10 2019-09-10 一种基于悬浮按钮的快捷操作方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN111801647A (zh)
WO (1) WO2021046718A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022094939A1 (zh) * 2020-11-06 2022-05-12 千手数字科技股份有限公司 一种基于多任务作业环境之多工悬浮式可视框架应用处理方法及***
CN114356177A (zh) * 2021-12-31 2022-04-15 上海洛轲智能科技有限公司 车载***菜单栏的显示方法、装置和电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011090302A2 (ko) * 2010-01-19 2011-07-28 Park Chul 터치패널을 갖는 개인휴대단말기의 작동방법
CN105653265A (zh) * 2015-12-24 2016-06-08 北京奇虎科技有限公司 切换应用的方法、装置及终端设备
CN106249999A (zh) * 2016-07-28 2016-12-21 乐视控股(北京)有限公司 终端操作方法及装置
US20170308235A1 (en) * 2014-12-26 2017-10-26 Shenzhen China Star Optoelectronics Technology Co., Ltd. Floating touch method
CN107861679A (zh) * 2017-09-18 2018-03-30 深圳市金立通信设备有限公司 一种操作处理方法、终端及计算机可读存储介质
CN110134301A (zh) * 2019-04-08 2019-08-16 努比亚技术有限公司 一种应用功能操作方法、终端及计算机可读存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180048142A (ko) * 2016-11-02 2018-05-10 엘지전자 주식회사 이동 단말기 및 그 제어방법
CN107783711A (zh) * 2017-11-07 2018-03-09 北京小米移动软件有限公司 控制应用程序执行操作的方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011090302A2 (ko) * 2010-01-19 2011-07-28 Park Chul 터치패널을 갖는 개인휴대단말기의 작동방법
US20170308235A1 (en) * 2014-12-26 2017-10-26 Shenzhen China Star Optoelectronics Technology Co., Ltd. Floating touch method
CN105653265A (zh) * 2015-12-24 2016-06-08 北京奇虎科技有限公司 切换应用的方法、装置及终端设备
CN106249999A (zh) * 2016-07-28 2016-12-21 乐视控股(北京)有限公司 终端操作方法及装置
CN107861679A (zh) * 2017-09-18 2018-03-30 深圳市金立通信设备有限公司 一种操作处理方法、终端及计算机可读存储介质
CN110134301A (zh) * 2019-04-08 2019-08-16 努比亚技术有限公司 一种应用功能操作方法、终端及计算机可读存储介质

Also Published As

Publication number Publication date
CN111801647A (zh) 2020-10-20

Similar Documents

Publication Publication Date Title
CA2841195C (en) Method and apparatus for multitasking
US9595238B2 (en) Electronic device, cover for electronic device, and method of performing a function in an electronic device
CN105677305B (zh) 图标管理的方法、装置及终端
KR102020345B1 (ko) 터치스크린을 구비하는 단말에서 홈 화면의 구성 방법 및 장치
US20130268895A1 (en) Terminal device and icon management method
US20120216146A1 (en) Method, apparatus and computer program product for integrated application and task manager display
US9690479B2 (en) Method and apparatus for controlling application using key inputs or combination thereof
CN108984093B (zh) 触控操作方法、装置、存储介质及电子设备
CN104063128B (zh) 一种信息处理方法及电子设备
TWI431523B (zh) 用於分類圖示之使用者介面之提供方法及電子裝置
CN101907974A (zh) 一种触摸屏的操作管理方法及触摸屏终端
US20120287154A1 (en) Method and apparatus for controlling display of item
US10521248B2 (en) Electronic device and method thereof for managing applications
CN103620542A (zh) 基于触摸屏的物理按键模拟方法及装置
JP2020161135A (ja) チャットスレッドを表示するための方法およびシステム
CN103294392A (zh) 用于在移动装置中编辑内容视图的方法和设备
EP2965181B1 (en) Enhanced canvas environments
WO2016183912A1 (zh) 菜单布局方法及装置
WO2021046718A1 (zh) 一种基于悬浮按钮的快捷操作方法、装置及电子设备
US20130238976A1 (en) Information processing apparatus, information processing method, and computer program
US20130127745A1 (en) Method for Multiple Touch Control Virtual Objects and System thereof
CN110688190A (zh) 智能交互平板的控制方法和装置
CN114415886A (zh) 应用图标的管理方法和电子设备
CN104090724A (zh) 一种智能终端中通过双指手势操作文件的方法及装置
CN103150103A (zh) 手势操作物件与视窗的方法及***

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19944847

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19944847

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19944847

Country of ref document: EP

Kind code of ref document: A1