WO2019047973A1 - 一种终端操作方法及终端、计算机可读存储介质 - Google Patents

一种终端操作方法及终端、计算机可读存储介质 Download PDF

Info

Publication number
WO2019047973A1
WO2019047973A1 PCT/CN2018/105031 CN2018105031W WO2019047973A1 WO 2019047973 A1 WO2019047973 A1 WO 2019047973A1 CN 2018105031 W CN2018105031 W CN 2018105031W WO 2019047973 A1 WO2019047973 A1 WO 2019047973A1
Authority
WO
WIPO (PCT)
Prior art keywords
floating ball
touch operation
preset
terminal
control area
Prior art date
Application number
PCT/CN2018/105031
Other languages
English (en)
French (fr)
Inventor
邱敏
薛安溪
Original Assignee
惠州Tcl移动通信有限公司
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 惠州Tcl移动通信有限公司 filed Critical 惠州Tcl移动通信有限公司
Publication of WO2019047973A1 publication Critical patent/WO2019047973A1/zh

Links

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/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
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a terminal operating method, a terminal, and a computer readable storage medium.
  • the embodiment of the invention provides a terminal operation method, a terminal, and a computer readable storage medium, which can solve the existing physical button for canceling the bottom of the screen of the mobile terminal, and adopt the virtual button of the navigation bar at the bottom of the screen, but the navigation bar still needs to occupy the application. Problems with screen space can be used.
  • an embodiment of the present invention provides a terminal operation method, including:
  • the preset control area is displayed on the terminal screen
  • the short pull event is responded to perform its corresponding control operation.
  • control area is a ring that is a predetermined distance from the floating ball, and the floating ball is a center of the ring.
  • the terminal operating method wherein the step of detecting whether the floating ball moves to the control area to trigger a preset short pull event comprises:
  • the preset short pull event is not triggered.
  • the terminal operation method wherein, when the touch operation on the suspended ball ends, detecting whether there is an intersection between the area where the suspended ball is located and the control area, the method specifically includes:
  • the duration is less than or equal to the preset time threshold, it is detected whether there is an intersection between the area where the floating sphere ends and the control area.
  • the terminal operating method wherein, when the touch operation of the floating ball ends, the step of acquiring the duration of the touch operation and comparing the duration with a preset time threshold specifically includes :
  • the duration of the touch operation is calculated according to the end time and the start time of the touch operation, and the duration is compared with a preset time threshold.
  • the terminal operating method wherein before the step of displaying a preset control area on the terminal screen when the touch operation on the preset floating ball is detected, the method further includes:
  • the touch operation on the preset floating ball is monitored.
  • the terminal operating method wherein, if the floating ball is provided with the control authority of the application, the step of monitoring the touch operation on the preset floating ball includes:
  • the floating ball has the control authority of the application, the floating ball is displayed on the terminal screen, and the touch operation on the floating ball is monitored.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium stores one or more programs, and the one or more programs may be executed by one or more processors. To achieve the following steps:
  • the preset control area is displayed on the terminal screen
  • the short pull event is responded to perform its corresponding control operation.
  • the step of detecting whether the floating ball moves to the control area to trigger a preset short pull event includes:
  • the preset short pull event is not triggered.
  • the step of detecting whether there is an intersection between the area where the suspended ball is located and the control area when the touch operation on the floating ball ends specifically includes:
  • the duration is less than or equal to the preset time threshold, it is detected whether there is an intersection between the area where the floating sphere ends and the control area.
  • the duration of the touch operation is calculated according to the end time and the start time of the touch operation, and the duration is compared with a preset time threshold.
  • the method before the step of displaying a preset control area on the terminal screen when the touch operation on the preset floating ball is detected, the method further includes:
  • the touch operation on the preset floating ball is monitored.
  • the step of monitoring the touch operation on the preset floating ball includes:
  • the floating ball has the control authority of the application, the floating ball is displayed on the terminal screen, and the touch operation on the floating ball is monitored.
  • an embodiment of the present invention provides a terminal, including: a processor, a memory, and a communication bus; and the memory stores a computer readable program executable by the processor;
  • the communication bus implements connection communication between the processor and the memory
  • the processor implements the following steps when executing the computer readable program:
  • the preset control area is displayed on the terminal screen
  • control area is a ring that is a predetermined distance from the floating ball, and the floating ball is a center of the ring.
  • the step of detecting whether the floating ball moves to the control area to trigger a preset short pull event includes:
  • the preset short pull event is not triggered.
  • the step of detecting whether there is an intersection between the area where the suspended ball is located and the control area when the touch operation of the suspended ball ends specifically includes:
  • the duration is less than or equal to the preset time threshold, it is detected whether there is an intersection between the area where the floating sphere ends and the control area.
  • the duration of the touch operation is calculated according to the end time and the start time of the touch operation, and the duration is compared with a preset time threshold.
  • the method before the step of displaying the preset control area on the terminal screen when the touch operation on the preset floating ball is monitored, the method further includes:
  • the touch operation on the preset floating ball is monitored.
  • the step of monitoring the touch operation on the preset floating ball, if the floating ball is provided with the control authority of the application specifically includes:
  • the floating ball has the control authority of the application, the floating ball is displayed on the terminal screen, and the touch operation on the floating ball is monitored.
  • an embodiment of the present invention provides a terminal operating method, a terminal, and a computer readable storage medium, where the method includes: when monitoring a touch operation on a preset floating ball, on a terminal screen Displaying a preset control area; detecting whether the floating ball moves to the control area to trigger a preset short pull event; if detecting that the floating ball moves to the control area, responding to the short pull event Perform its corresponding control operations.
  • the present invention presets a control area, triggers a short pull event when the floating ball moves to the control area, and performs a control operation on the terminal through the short pull event. In this way, on the one hand, the user's dependence on the virtual key is reduced, and the screen ratio is increased; on the other hand, the operation steps of the floating ball are simplified, and the user is convenient to use.
  • FIG. 1 is a flowchart of a method for operating a terminal according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the present invention provides a method for operating a terminal, a terminal, and a computer readable storage medium.
  • the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • the present invention in order to solve the problem of occupying the screen space, the present invention adds a floating ball to the terminal, and the floating ball can be suspended on the display interface of the terminal screen.
  • FIG. 1 is a flowchart of a method for operating a terminal according to an embodiment of the present invention. The method includes:
  • the suspended spheres may be shaped, but not limited to, circular, rectangular or square.
  • the position of the floating ball on the screen of the terminal can be, but is not limited to, the edge of the screen, which can also automatically select the location where it is located according to the content displayed on the screen. For example, when the terminal switches the display interface, the terminal acquires the display content of the current display interface and the display interface occupied by the display content; and then determines the area that is not occupied by the display content according to the display area occupied by the display content, and The suspended ball is displayed in the unoccupied area to prevent the floating ball from affecting the display of the displayed content.
  • the touch operation is an operation in which the user touches the floating ball, that is, the floating ball receives a touch operation of the user.
  • the touch operation is a sliding operation, that is, the touch operation on the floating ball is monitored to listen to the operation of clicking the floating ball and driving the floating ball to slide along the terminal screen.
  • the floating ball setting interface may be mentioned in the setting menu of the terminal, and the floating ball setting interface is used to set the opening/closing of the floating ball, the control operation corresponding to the short pulling event, and the control authority of the floating ball.
  • a floating ball display option is provided, the display option including an on and off button, and the floating ball can be hovering and displayed on the terminal display screen after the user selects the open button.
  • the terminal since the terminal may need to set the opening/closing of the floating ball and the control right of the floating ball, when the touch operation on the preset floating ball is monitored, the preset control area may be included before the terminal screen is displayed. :
  • the detecting whether the floating ball has the control permission of the application corresponding to the application interface is determining whether the floating ball has obtained the access permission/call permission of the communication interface of the application
  • the communication interface may be
  • the interface for accessing the third-party application may also be an access interface corresponding to each function in the application, which may be a communication interface provided by the terminal device.
  • the method further includes: detecting whether the floating ball function is turned on, that is, determining whether the floating ball is turned on and then detecting whether the floating ball has the control of the application Permission; or it may be first to determine whether the floating ball has the control authority of the application, and then determine whether the floating ball is turned on.
  • the touch operation for monitoring the preset floating ball is specifically: if the floating ball has the control authority of the application, determining the Whether the floating ball function is turned on; when the floating ball is turned on, the floating ball is displayed on the terminal screen, and the touch operation on the floating ball is monitored.
  • the floating ball in order to simplify the display process of the floating ball, it is possible to determine whether the floating ball is turned on when the terminal device is turned on, and only need to detect whether the floating ball has the control authority of the application when each application is opened, if The floating sphere is displayed directly when the permission is controlled.
  • the touch operation for monitoring the preset floating ball is specifically: if the floating ball has the control permission of the application, the terminal screen The floating ball is displayed on the upper side and the touch operation on the floating ball is monitored.
  • control area is pre-stored by the terminal, and the control area is a ring that is a predetermined distance from the suspended ball, and the floating ball is the center of the ring.
  • preset distance may be a distance between an inner diameter of the ring and a center of the suspension ball, for example, 40 pixels.
  • the width of the ring may also be preset, for example, 50 pixels.
  • the control area may be multiple, and the plurality of control areas are all rings, and the plurality of rings are concentric, that is, the plurality of control areas are the center of the floating ball. Centered, rings of different distances are radii.
  • the terminal can preset a plurality of short pull events, and each short pull event corresponds to one control area, so that the terminal can perform various operations through the short pull event, for example, “fast return” and “backward”.
  • Main menu "screen capture” and "lock screen” operations.
  • a preset control area is taken as an example for illustration.
  • the detecting whether the floating ball moves to the control area to trigger the preset short pull event specifically includes:
  • the touch operation of the suspended ball ends, it means that the touch operation of the floating ball disappears, that is, whether the end position of the touch operation of the suspended ball is detected within the control region. Whether the end position of the floating ball is detected is in the control area can be realized by detecting whether there is an intersection between the area where the floating ball is located and the control area when the touch operation ends.
  • the first pixel point included in the area where the suspended sphere is located may be acquired, and the second pixel point included in the control area is acquired, and then the first pixel point is formed.
  • control area is a ring centered on the center of the suspension ball when the touch ball is touched, and the distance from the center of the ball is preset. That is to say, when the touch operation causes the suspension ball to move, the control area does not move.
  • the short pull event is a control event generated by the floating ball moving in the control region and ending at the control region.
  • the time threshold of the duration of the touch operation may be set in advance, and the time that occurs within the time threshold and satisfies the short pull event trigger condition is determined to be short. Pull the event.
  • detecting whether the area where the suspended ball is located and the control area have an intersection point specifically includes:
  • the duration is a time between the start and the end of the touch operation, that is, the time required to monitor the touch operation needs to be recorded, that is, when the touch operation is monitored, the current time of the system is acquired, and The current time is stored as the open time of the touch operation.
  • a timer is started, and the duration of the touch operation is recorded by the timer, wherein the timer configures a preset time threshold, so Whether the timer expires to determine whether the duration exceeds a time threshold.
  • the duration of the touch operation is obtained, and the duration is compared with the preset time threshold.
  • S2112 Calculate a duration of the touch operation according to the end time and a start time of the touch operation, and compare the duration with a preset time threshold.
  • the touch operation on time and end time are separately calculated, and the duration is calculated based on the end time and the start time.
  • the display of the control area is cancelled to cancel the monitoring of the short pull event.
  • control operation corresponding to the short pull time is preset, for example, operations such as “quick return”, “back to main menu”, “screen capture”, and “lock screen”. And, when the floating ball is not detected to move to the control area, the display of the control area is cancelled to cancel the monitoring of the short pull event.
  • the terminal operation method displays a preset control area on the terminal screen when the touch operation on the preset floating ball is monitored; and detects whether the floating ball moves to the control area, A preset short pull event is triggered; if the floating ball is detected to move to the control area, the short pull event is responded to perform its corresponding control operation.
  • the present invention presets a control area, triggers a short pull event when the floating ball moves to the control area, and performs a control operation on the terminal through the short pull event. In this way, on the one hand, the user's dependence on the virtual key is reduced, and the screen ratio is increased; on the other hand, the operation steps of the floating ball are simplified, and the user is convenient to use.
  • An embodiment of the present invention further provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the above The steps in the terminal operation method of any of the above.
  • the embodiment of the present invention further provides a terminal, as shown in FIG. 2, which includes at least one processor 20; a display screen 21; and a memory 22, which may further include a communication interface 23 and Bus 24.
  • the processor 20, the display screen 21, the memory 22, and the communication interface 23 can complete communication with each other through the bus 24.
  • the display screen 21 is set to display a user guidance interface preset in the initial setting mode.
  • the communication interface 23 can transmit information.
  • Processor 20 may invoke logic instructions in memory 22 to perform the methods in the above-described embodiments.
  • logic instructions in the memory 22 described above may be implemented in the form of software functional units and sold or used as separate products, and may be stored in a computer readable storage medium.
  • the memory 22 is a computer readable storage medium, and can be configured to store a software program, a computer executable program, a program instruction or a module corresponding to the method in the embodiment of the present disclosure.
  • the processor 30 performs the functional application and data processing by executing software programs, instructions or modules stored in the memory 22, i.e., implements the methods in the above embodiments.
  • the memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal device, and the like. Further, the memory 22 may include a high speed random access memory, and may also include a nonvolatile memory. For example, U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM, disk or CD-ROM A variety of media that can store program code, or a transient storage medium.
  • FIG. 3 is a block diagram showing a specific structure of a terminal according to an embodiment of the present invention.
  • the terminal may be used to implement the terminal operation method provided in the foregoing embodiment.
  • the terminal 1200 can be a smartphone or a tablet.
  • the terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more (only one shown) computer-readable storage medium, an input unit 130, and a display unit 140.
  • the sensor 150, the audio circuit 160, the transmission module 170, and the processor 180 including the processing core of one or more (only one shown in the figure) and the power supply 190 and the like.
  • the structure of the terminal 1200 shown in FIG. 3 does not constitute a limitation of the terminal 1200, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
  • the RF circuit 110 is configured to receive and transmit electromagnetic waves, and realize mutual conversion between electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices.
  • the RF circuit 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, a memory, and the like.
  • SIM Subscriber Identity Module
  • the RF circuit 110 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices over a wireless network.
  • the wireless network described above may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
  • the above wireless networks may use various communication standards, protocols and technologies, including but not limited to global mobile communication systems (Global System for Mobile Communication, GSM), Enhanced Mobile Communication Technology (Enhanced Data GSM Environment, EDGE), Wideband Code Division Multiple Access (Wideband Code) Division Multiple Access, WCDMA), Code Division Multiple Access (Code Division) Access, CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wireless Fidelity, Wi-Fi) (such as the Institute of Electrical and Electronics Engineers Standard IEEE 802.11a, IEEE 802.11b, IEEE 802.11g and / or IEEE 802.11n), VoIP (Voice) Over Internet Protocol, VoIP), Worldwide Interoperability for Microwave Access (Worldwide Interoperability for Microwave Access, Wi-Max, other protocols for mail, instant messaging, and short messages, as well as any other suitable communication protocol, may even include protocols that are not currently being developed.
  • GSM Global System for Mobile Communication
  • EDGE Enhanced Mobile Communication Technology
  • WCDMA Wideband Code Division Multiple Access
  • CDMA Code Division Multiple
  • the memory 120 can be used to store software programs and modules, such as program instructions/modules corresponding to the terminal operating methods in the above embodiments, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120. , that is, the function of terminal operation.
  • Memory 120 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 120 can further include memory remotely located relative to processor 180, which can be connected to terminal 1200 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of the terminal 1200, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141, and optionally, an LCD (Liquid may be used)
  • the display panel 141 is configured in the form of a Crystal Display (LCD) or an OLED (Organic Light-Emitting Diode).
  • touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • Terminal 1200 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the terminal 1200 moves to the ear. / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the terminal 1200 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the terminal 1200.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the terminal, for example, via the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 1200.
  • the terminal 1200 can help the user to send and receive emails, browse web pages, access streaming media, etc. through the transmission module 170 (for example, a Wi-Fi module), which provides wireless broadband Internet access to the user.
  • the transmission module 170 for example, a Wi-Fi module
  • FIG. 3 shows the transmission module 170, it can be understood that it does not belong to the essential configuration of the terminal 1200, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is a control center of the terminal 1200 that connects various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120, The various functions and processing data of the terminal 1200 are executed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and For applications, etc., the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • Terminal 1200 also includes a power supply 190 (such as a battery) that powers various components.
  • the power supply can be logically coupled to processor 180 through a power management system to manage charging, discharging, and power management through a power management system. And other functions.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the terminal 1200 may further include a camera (such as a front camera, a rear camera), a Bluetooth module, and the like, and details are not described herein.
  • the display unit of the terminal is a touch screen display
  • the terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be processed by one or more The execution of one or more programs includes instructions for performing the following operations:
  • the preset control area is displayed on the terminal screen
  • control area is a ring that is a predetermined distance from the floating ball, and the floating ball is a center of the ring.
  • the step of detecting whether the floating ball moves to the control area to trigger a preset short pull event includes:
  • the preset short pull event is not triggered.
  • the step of detecting whether there is an intersection between the area where the suspended ball is located and the control area when the touch operation of the suspended ball ends specifically includes:
  • the duration is less than or equal to the preset time threshold, it is detected whether there is an intersection between the area where the floating sphere ends and the control area.
  • the duration of the touch operation is calculated according to the end time and the start time of the touch operation, and the duration is compared with a preset time threshold.
  • the method before the step of displaying the preset control area on the terminal screen when the touch operation on the preset floating ball is monitored, the method further includes:
  • the touch operation on the preset floating ball is monitored.
  • the step of monitoring the touch operation on the preset floating ball, if the floating ball is provided with the control authority of the application specifically includes:
  • the floating ball has the control authority of the application, the floating ball is displayed on the terminal screen, and the touch operation on the floating ball is monitored.

Landscapes

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

Abstract

一种终端操作方法及终端、计算机可读存储介质,所述方法包括:当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域(S10);检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件(S20);若检测到所述悬浮球移动至所述控制区域,则响应所述短拉取事件以执行其对应的控制操作(S30)。

Description

一种终端操作方法及终端、计算机可读存储介质
本申请要求于2017年9月11日提交中国专利局、申请号为201710813068.5、发明名称为“一种终端操作方法及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及终端技术领域,特别涉及一种终端操作方法及终端、计算机可读存储介质。
背景技术
随着智能移动终端的不断发展,最大化提高屏占比已经成为各大移动终端厂商的终极目标,为了达到这个目标,取消移动终端屏幕底部的物理按键已经慢慢成为了设计趋势,然而,取消掉物理按键虽然能提高屏占比,但是用户使用移动终端时还是需要这些物理按键的功能(如Home,Back,Recent等),为解决这个问题,常规的做法是在屏幕下方加入导航栏虚拟键,但导航栏虚仍然需要占用应用可使用屏幕空间的。
因而现有技术还有待改进和提高。
技术问题
本发明实施例提供一种终端操作方法及终端、计算机可读存储介质,可以解决现有取消移动终端屏幕底部的物理按键,采用在屏幕下方加入导航栏虚拟键,但导航栏虚仍然需要占用应用可使用屏幕空间的问题。
技术解决方案
为了解决上述技术问题,本发明所采用的技术方案如下:
第一方面,本发明实施例提供一种终端操作方法,其包括:
当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域;
检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件;
若检测到所述悬浮球移动至所述控制区域,则响应所述短拉取事件以执行其对应的控制操作。
所述终端操作方法,其中,所述控制区域为距离所述悬浮球预设距离的圆环,且所述悬浮球为所述圆环的圆心。
所述终端操作方法,其中,所述检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件的步骤,具体包括:
在对悬浮球的触碰操作结束时,检测悬浮球所处区域与所述控制区域是否存在交点;
若检测到交点,则触发预设短拉取事件;
若未检测到交点,则不触发预设短拉取事件。
所述终端操作方法,其中,所述在对悬浮球的触碰操作结束时,检测悬浮球所处区域与所述控制区域是否存在交点的步骤,具体包括:
在所述悬浮球的触碰操作结束时,获取所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较;
当所述持续时间小于等于预设时间阈值时,检测所述悬浮球结束时所处区域与所述控制区域是否存在交点。
所述终端操作方法,其中,所述在所述悬浮球的触碰操作结束时,获取所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较的步骤,具体包括:
在所述悬浮球的触碰操作结束时,获取所述触碰操作的结束时间;
根据所述结束时间与触碰操作的开始时间计算所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较。
所述终端操作方法,其中,所述当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域的步骤之前,还包括:
获取终端屏幕所显示的应用界面,并检测悬浮球是否具备所述应用界面对应的应用程序的控制权限;
若所述悬浮球具备所述应用程序的控制权限,则监听对预设悬浮球的触碰操作。
所述终端操作方法,其中,所述若所述悬浮球具备所述应用程序的控制权限,则监听对预设悬浮球的触碰操作的步骤,具体包括:
若所述悬浮球具备所述应用程序的控制权限,则在终端屏幕上显示悬浮球,并监听对所述悬浮球的触碰操作。
第二方面,本发明实施例提供一种计算机可读存储介质,其中,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如下步骤:
当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域;
检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件;
若检测到所述悬浮球移动至所述控制区域,则响应所述短拉取事件以执行其对应的控制操作。
在所述计算机可读存储介质中,其中,所述检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件的步骤,具体包括:
在对悬浮球的触碰操作结束时,检测悬浮球所处区域与所述控制区域是否存在交点;
若检测到交点,则触发预设短拉取事件;
若未检测到交点,则不触发预设短拉取事件。
在所述计算机可读存储介质中,其中,所述在对悬浮球的触碰操作结束时,检测悬浮球所处区域与所述控制区域是否存在交点的步骤,具体包括:
在所述悬浮球的触碰操作结束时,获取所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较;
当所述持续时间小于等于预设时间阈值时,检测所述悬浮球结束时所处区域与所述控制区域是否存在交点。
在所述计算机可读存储介质中,其中,所述在所述悬浮球的触碰操作结束时,获取所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较的步骤,具体包括:
在所述悬浮球的触碰操作结束时,获取所述触碰操作的结束时间;
根据所述结束时间与触碰操作的开始时间计算所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较。
在所述计算机可读存储介质中,其中,所述当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域的步骤之前,还包括:
获取终端屏幕所显示的应用界面,并检测悬浮球是否具备所述应用界面对应的应用程序的控制权限;
若所述悬浮球具备所述应用程序的控制权限,则监听对预设悬浮球的触碰操作。
在所述计算机可读存储介质中,其中,所述若所述悬浮球具备所述应用程序的控制权限,则监听对预设悬浮球的触碰操作的步骤,具体包括:
若所述悬浮球具备所述应用程序的控制权限,则在终端屏幕上显示悬浮球,并监听对所述悬浮球的触碰操作。
第三方面,本发明实施例提供一种终端,其包括:处理器、存储器及通信总线;所述存储器上存储有可被所述处理器执行的计算机可读程序;
所述通信总线实现处理器和存储器之间的连接通信;
所述处理器执行所述计算机可读程序时实现如下步骤:
当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域;
检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件;
若检测到所述悬浮球移动至所述控制区域,则响应所述短拉取事件以执行其对应的控制操作;
在未检测到所述悬浮球移动至所述控制区域时,取消所述控制区域的显示以取消短拉取事件的监听。
在所述终端中,其中,所述控制区域为距离所述悬浮球预设距离的圆环,且所述悬浮球为所述圆环的圆心。
在所述终端中,其中,所述检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件的步骤,具体包括:
在对悬浮球的触碰操作结束时,检测悬浮球所处区域与所述控制区域是否存在交点;
若检测到交点,则触发预设短拉取事件;
若未检测到交点,则不触发预设短拉取事件。
在所述终端中,其中,所述在对悬浮球的触碰操作结束时,检测悬浮球所处区域与所述控制区域是否存在交点的步骤,具体包括:
在所述悬浮球的触碰操作结束时,获取所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较;
当所述持续时间小于等于预设时间阈值时,检测所述悬浮球结束时所处区域与所述控制区域是否存在交点。
在所述终端中,其中,所述在所述悬浮球的触碰操作结束时,获取所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较的步骤,具体包括:
在所述悬浮球的触碰操作结束时,获取所述触碰操作的结束时间;
根据所述结束时间与触碰操作的开始时间计算所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较。
在所述终端中,其中,所述当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域的步骤之前,还包括:
获取终端屏幕所显示的应用界面,并检测悬浮球是否具备所述应用界面对应的应用程序的控制权限;
若所述悬浮球具备所述应用程序的控制权限,则监听对预设悬浮球的触碰操作。
在所述终端中,其中,所述若所述悬浮球具备所述应用程序的控制权限,则监听对预设悬浮球的触碰操作的步骤,具体包括:
若所述悬浮球具备所述应用程序的控制权限,则在终端屏幕上显示悬浮球,并监听对所述悬浮球的触碰操作。
有益效果
与现有技术相比,本发明实施例提供了一种终端操作方法及终端、计算机可读存储介质,所述方法包括:当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域;检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件;若检测到所述悬浮球移动至所述控制区域,则响应所述短拉取事件以执行其对应的控制操作。本发明预先设置控制区域,当悬浮球移动至控制区域时触发短拉取事件,通过所述短拉取事件对终端进行控制操作。这样一方面减轻用户对虚拟按键的依赖,提高屏占比;另一方面简化了悬浮球的操作步骤,便于用户使用。
附图说明
图1为本发明实施例提供的终端操作方法的流程图。
图2为本发明实施例提供的终端的结构原理图。
图3是本发明实施例提供的终端的具体结构示意图。
本发明的实施方式
本发明提供一种终端操作方法及终端、计算机可读存储介质,为使本发明的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。 应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。 应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。
下面结合附图,通过对实施例的描述,对发明内容作进一步说明。
在本发明实施例中,为了解决占用屏幕空间的问题,本发明在终端增设了悬浮球,所述悬浮球可以悬浮于终端屏幕的显示界面上。
请参照图1,图1为本发明实施例提供的终端操作方法的流程图。所述方法包括:
S10、当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域。
在一些实施例中,所述悬浮球为形状可以为但不限于圆形、长方形或正方形。并且,所述悬浮球位于终端屏幕上的位置可以但不限于屏幕边缘,其还可以根据屏幕上显示的内容而自动选择其所处的位置。例如,当终端切换显示界面时,终端会获取当前显示界面的显示内容以及显示内容所占用的显示界面的区域;再根据显示内容占用的显示区域确定未被所述显示内容占用的区域,并将悬浮球显示于未被占用的区域,以避免悬浮球影响显示内容的显示。
所述触碰操作为用户触摸所述悬浮球的操作,即所述悬浮球接收到用户的触摸操作。在本实施例中,所述触碰操作为滑动操作,即监听到对悬浮球的触碰操作为监听到点击悬浮球并带动悬浮球沿终端屏幕滑动的操作。
进一步,可在终端的设置菜单中提悬浮球设置界面,通过悬浮球设置界面设置悬浮球的开启/关闭、短拉取事件对应的控制操作以及悬浮球的控制权限等。例如,提供悬浮球显示选项,该显示选项包含开启和关闭按钮,当用户选择开启按钮之后,所述悬浮球可悬浮显示在终端显示屏幕上。此外,由于终端可以需要设置悬浮球的开启/关闭以及悬浮球的控制权限,从而所述当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域之前可以包括:
S01、获取终端屏幕所显示的应用界面,并检测悬浮球是否具备所述应用界面对应的应用程序的控制权限;
S02、若所述悬浮球具备所述应用程序的控制权限,则监听对预设悬浮球的触碰操作。
在一些实施例中,所述检测悬浮球是否具备所述应用界面对应的应用程序的控制权限,是判断悬浮球是否已取得所述应用程序的通讯接口的访问权限/调用权限,通信接口可以是访问第三方应用的接口,也可以是所述应用程序内部各功能对应的访问接口,其可以是终端设备自带的通信接口。
进一步,当所述悬浮球具备所述应用程序的控制权限之前或者之后还可以包括检测悬浮球功能是否开启的步骤,即可以先判断悬浮球是否开启之后再检测悬浮球是否具备所述应用的控制权限;也可以是先检测悬浮球是否具备所述应用的控制权限后,再判断悬浮球是否开启。示例性的,若所述悬浮球具备所述应用程序的控制权限,则监听到对预设悬浮球的触碰操作具体为:若所述悬浮球具备所述应用程序的控制权限,判断所述悬浮球功能是否开启;当悬浮球开启时,在终端屏幕上显示悬浮球,并监听对所述悬浮球的触碰操作。而在实际应用中,为了简化悬浮球的显示过程,可以在终端设备开启时判断悬浮球是否开启,而在开启每个应用程序时仅需检测悬浮球是否具有所述应用的控制权限,若具有控制权限时直接显示悬浮球。相应的,若所述悬浮球具备所述应用程序的控制权限,则监听到对预设悬浮球的触碰操作具体为:若所述悬浮球具备所述应用程序的控制权限,则在终端屏幕上显示悬浮球,并监听对所述悬浮球的触碰操作。
S20、检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件。
在一些实施例中,所述控制区域为终端预先存储的,并且所述控制区域为距离所述悬浮球预设距离的圆环,同时所述悬浮球为所述圆环的圆心。其中,所述预设距离可以为所述圆环内径与悬浮球的球心的距离,例如,40像素。所述圆环的宽度也可以是预先设置的,例如,50像素。而在实际应用中,所述控制区域可以为多个,并所述多个控制区域均为圆环,且多个圆环同心,即所述多个控制区域为以所述悬浮球的球心为中心,不同距离为半径的圆环。这样终端可以预先设置多个短拉取事件,并且每个短拉取事件与一个控制区域相对应,使得通过短拉取事件可以对终端进行多种操作,例如,“快速返回”、“回到主菜单”、“截屏”以及“锁屏”等操作。在本实施中,以预设一个控制区域为例加以说明。
示例性的,所述检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件具体包括:
S21、在对悬浮球的触碰操作结束时,检测悬浮球所处区域与所述控制区域是否存在交点;
S22、若检测到交点,则触发预设短拉取事件;
S23、若未检测到交点,则不触发预设短拉取事件。
具体的,对悬浮球的触碰操作结束时指的是对悬浮球的触碰操作消失时,即检测对悬浮球的触碰操作的结束位置是否处于控制区域内。所述检测悬浮球的结束位置是否处于控制区域,可以通过检测触碰操作结束时,悬浮球所处区域与所述控制区域是否存在交点来实现。在实际应用中,在对悬浮球触碰操作结束时,可以获取悬浮球所处区域包括的第一像素点,同时获取控制区域所包含的第二像素点,然后将第一像素点构成的集合与第二像素点构成的集合进行比较,以判定两个集合是否存在共同像素点,从而确定悬浮球所处区域与所述控制区域是否存在交点。此外,所述控制区域是以所述监听到对悬浮球进行触碰操作时悬浮球的球心为中心,并距离球心预设距离的圆环。也就是说,当触碰操作带动悬浮球移动时,所述控制区域不动。
所述短拉取事件为所述悬浮球移动在所述控制区域并在所述控制区域结束而产生的控制事件。此外,为了将短拉取事件与已知的滑动事件区分,可以预先设置触碰操作的持续时间的时间阈值,所述时间阈值之内发生的并满足短拉取事件触发条件的时间判定为短拉取事件。相应的,所述在对悬浮球的触碰操作结束时,检测悬浮球所处区域与所述控制区域是否存在交点具体包括:
S211、在所述悬浮球的触碰操作结束时,获取所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较。
具体地,所述持续时间为所述触碰操作开始至结束之间的时间,也就是说,需要记录监听到触碰操作的时间,即在监听到触碰操作时,获取系统当前时间,并将所述当前时间存储为触碰操作的开启时间。当然,在实际应用中,可以在监听到触碰操作时,启动一计时器,通过所述计时器记录触碰操作的持续时间,其中,所述计时器配置预设时间阈值,这样通过判断所述计时器是否超时来判断所述持续时间是否超过时间阈值。
在本实施例中,所述在所述悬浮球的触碰操作结束时,获取所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较,具体可以包括:
S2111、在所述悬浮球的触碰操作结束时,获取所述触碰操作的结束时间;
S2112、根据所述结束时间与触碰操作的开始时间计算所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较。
具体地,分别计算触碰操作开启时间和结束时间,根据结束时间和开始时间计算持续时间。
S212、当所述持续时间小于等于预设时间阈值时,检测所述悬浮球结束时所处区域与所述控制区域是否存在交点。
具体地的,当所述持续时间大于预设时间阈值时,取消所述控制区域的显示以取消短拉取事件的监听。
S30、若检测到所述悬浮球移动至所述控制区域,则响应所述短拉取事件以执行其对应的控制操作。
具体地,所述短拉取时间对应的控制操作为预先设置的,例如,“快速返回”、“回到主菜单”、“截屏”以及“锁屏”等操作。并且,在未检测到所述悬浮球移动至所述控制区域时,取消所述控制区域的显示以取消短拉取事件的监听。
因此,本发明实施例提供的终端操作方法,通过当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域;检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件;若检测到所述悬浮球移动至所述控制区域,则响应所述短拉取事件以执行其对应的控制操作。本发明预先设置控制区域,当悬浮球移动至控制区域时触发短拉取事件,通过所述短拉取事件对终端进行控制操作。这样一方面减轻用户对虚拟按键的依赖,提高屏占比;另一方面简化了悬浮球的操作步骤,便于用户使用。
本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如上任意一项所述的终端操作方法中的步骤。
本发明实施例还提供了一种终端,如图2所示,其包括至少一个处理器(processor)20;显示屏21;以及存储器(memory)22,还可以包括通信接口(Communications Interface)23和总线24。其中,处理器20、显示屏21、存储器22和通信接口23可以通过总线24完成相互间的通信。显示屏21设置为显示初始设置模式中预设的用户引导界面。通信接口23可以传输信息。处理器20可以调用存储器22中的逻辑指令,以执行上述实施例中的方法。
此外,上述的存储器22中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。
存储器22作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令或模块。处理器30通过运行存储在存储器22中的软件程序、指令或模块,从而执行功能应用以及数据处理,即实现上述实施例中的方法。
存储器22可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器22可以包括高速随机存取存储器,还可以包括非易失性存储器。例如,U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。
此外,上述存储介质以及移动终端中的多条指令处理器加载并执行的具体过程在上述方法中已经详细说明,在这里就不再一一陈述。
图3示出了本发明实施例提供的终端的具体结构框图,该终端可以用于实施上述实施例中提供的终端操作方法。该终端1200可以为智能手机或平板电脑。
如图3所示,终端1200可以包括RF(Radio Frequency,射频)电路110、包括有一个或一个以上(图中仅示出一个)计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、传输模块170、包括有一个或者一个以上(图中仅示出一个)处理核心的处理器180以及电源190等部件。本领域技术人员可以理解,图3中示出的终端1200结构并不构成对终端1200的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
RF电路110用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。RF电路110可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。RF电路110可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(Global System for Mobile Communication, GSM)、增强型移动通信技术(Enhanced Data GSM Environment, EDGE),宽带码分多址技术(Wideband Code Division Multiple Access, WCDMA),码分多址技术(Code Division Access, CDMA)、时分多址技术(Time Division Multiple Access, TDMA),无线保真技术(Wireless Fidelity, Wi-Fi)(如美国电气和电子工程师协会标准 IEEE 802.11a, IEEE 802.11b, IEEE802.11g 和/或 IEEE 802.11n)、网络电话(Voice over Internet Protocol, VoIP)、全球微波互联接入(Worldwide Interoperability for Microwave Access, Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。
存储器120可用于存储软件程序以及模块,如上述实施例中终端操作方法对应的程序指令/模块,处理器180通过运行存储在存储器120内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现终端操作的功能。存储器120可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器120可进一步包括相对于处理器180远程设置的存储器,这些远程存储器可以通过网络连接至终端1200。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及终端1200的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图3中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输出功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。
终端1200还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在终端1200移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等; 至于终端1200还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路160、扬声器161,传声器162可提供用户与终端1200之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与终端1200的通信。
终端1200通过传输模块170(例如Wi-Fi模块)可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图3示出了传输模块170,但是可以理解的是,其并不属于终端1200的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器180是终端1200的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行终端1200的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;在一些实施例中,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。
终端1200还包括给各个部件供电的电源190(比如电池),在一些实施例中,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,终端1200还可以包括摄像头(如前置摄像头、后置摄像头)、蓝牙模块等,在此不再赘述。具体在本实施例中,终端的显示单元是触摸屏显示器,终端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行述一个或者一个以上程序包含用于进行以下操作的指令:
当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域;
检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件;
若检测到所述悬浮球移动至所述控制区域,则响应所述短拉取事件以执行其对应的控制操作;
在未检测到所述悬浮球移动至所述控制区域时,取消所述控制区域的显示以取消短拉取事件的监听。
在所述终端中,其中,所述控制区域为距离所述悬浮球预设距离的圆环,且所述悬浮球为所述圆环的圆心。
在所述终端中,其中,所述检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件的步骤,具体包括:
在对悬浮球的触碰操作结束时,检测悬浮球所处区域与所述控制区域是否存在交点;
若检测到交点,则触发预设短拉取事件;
若未检测到交点,则不触发预设短拉取事件。
在所述终端中,其中,所述在对悬浮球的触碰操作结束时,检测悬浮球所处区域与所述控制区域是否存在交点的步骤,具体包括:
在所述悬浮球的触碰操作结束时,获取所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较;
当所述持续时间小于等于预设时间阈值时,检测所述悬浮球结束时所处区域与所述控制区域是否存在交点。
在所述终端中,其中,所述在所述悬浮球的触碰操作结束时,获取所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较的步骤,具体包括:
在所述悬浮球的触碰操作结束时,获取所述触碰操作的结束时间;
根据所述结束时间与触碰操作的开始时间计算所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较。
在所述终端中,其中,所述当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域的步骤之前,还包括:
获取终端屏幕所显示的应用界面,并检测悬浮球是否具备所述应用界面对应的应用程序的控制权限;
若所述悬浮球具备所述应用程序的控制权限,则监听对预设悬浮球的触碰操作。
在所述终端中,其中,所述若所述悬浮球具备所述应用程序的控制权限,则监听对预设悬浮球的触碰操作的步骤,具体包括:
若所述悬浮球具备所述应用程序的控制权限,则在终端屏幕上显示悬浮球,并监听对所述悬浮球的触碰操作。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (20)

  1. 一种终端操作方法,其中,所述方法包括:
    当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域;
    检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件;
    若检测到所述悬浮球移动至所述控制区域,则响应所述短拉取事件以执行其对应的控制操作。
  2. 根据权利要求1所述终端操作方法,其中,所述控制区域为距离所述悬浮球预设距离的圆环,且所述悬浮球为所述圆环的圆心。
  3. 根据权利要求1所述终端操作方法,其中,所述检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件的步骤,具体包括:
    在对悬浮球的触碰操作结束时,检测悬浮球所处区域与所述控制区域是否存在交点;
    若检测到交点,则触发预设短拉取事件;
    若未检测到交点,则不触发预设短拉取事件。
  4. 根据权利要求3所述终端操作方法,其中,所述在对悬浮球的触碰操作结束时,检测悬浮球所处区域与所述控制区域是否存在交点的步骤,具体包括:
    在所述悬浮球的触碰操作结束时,获取所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较;
    当所述持续时间小于等于预设时间阈值时,检测所述悬浮球结束时所处区域与所述控制区域是否存在交点。
  5. 根据权利要求4所述终端操作方法,其中,所述在所述悬浮球的触碰操作结束时,获取所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较的步骤,具体包括:
    在所述悬浮球的触碰操作结束时,获取所述触碰操作的结束时间;
    根据所述结束时间与触碰操作的开始时间计算所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较。
  6. 根据权利要求1所述终端操作方法,其中,所述当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域的步骤之前,还包括:
    获取终端屏幕所显示的应用界面,并检测悬浮球是否具备所述应用界面对应的应用程序的控制权限;
    若所述悬浮球具备所述应用程序的控制权限,则监听对预设悬浮球的触碰操作。
  7. 根据权利要求6所述终端操作方法,其中,所述若所述悬浮球具备所述应用程序的控制权限,则监听对预设悬浮球的触碰操作的步骤,具体包括:
    若所述悬浮球具备所述应用程序的控制权限,则在终端屏幕上显示悬浮球,并监听对所述悬浮球的触碰操作。
  8. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如下步骤:
    当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域;
    检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件;
    若检测到所述悬浮球移动至所述控制区域,则响应所述短拉取事件以执行其对应的控制操作。
  9. 根据权利要求8所述计算机可读存储介质,其中,所述检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件的步骤,具体包括:
    在对悬浮球的触碰操作结束时,检测悬浮球所处区域与所述控制区域是否存在交点;
    若检测到交点,则触发预设短拉取事件;
    若未检测到交点,则不触发预设短拉取事件。
  10. 根据权利要求9所述计算机可读存储介质,其中,所述在对悬浮球的触碰操作结束时,检测悬浮球所处区域与所述控制区域是否存在交点的步骤,具体包括:
    在所述悬浮球的触碰操作结束时,获取所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较;
    当所述持续时间小于等于预设时间阈值时,检测所述悬浮球结束时所处区域与所述控制区域是否存在交点。
  11. 根据权利要求10所述计算机可读存储介质,其中,所述在所述悬浮球的触碰操作结束时,获取所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较的步骤,具体包括:
    在所述悬浮球的触碰操作结束时,获取所述触碰操作的结束时间;
    根据所述结束时间与触碰操作的开始时间计算所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较。
  12. 根据权利要求8所述计算机可读存储介质,其中,所述当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域的步骤之前,还包括:
    获取终端屏幕所显示的应用界面,并检测悬浮球是否具备所述应用界面对应的应用程序的控制权限;
    若所述悬浮球具备所述应用程序的控制权限,则监听对预设悬浮球的触碰操作。
  13. 根据权利要求12所述计算机可读存储介质,其中,所述若所述悬浮球具备所述应用程序的控制权限,则监听对预设悬浮球的触碰操作的步骤,具体包括:
    若所述悬浮球具备所述应用程序的控制权限,则在终端屏幕上显示悬浮球,并监听对所述悬浮球的触碰操作。
  14. 一种终端,其中,包括:处理器、存储器及通信总线;所述存储器上存储有可被所述处理器执行的计算机可读程序;
    所述通信总线实现处理器和存储器之间的连接通信;
    所述处理器执行所述计算机可读程序时实现如下步骤:
    当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域;
    检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件;
    若检测到所述悬浮球移动至所述控制区域,则响应所述短拉取事件以执行其对应的控制操作;
    在未检测到所述悬浮球移动至所述控制区域时,取消所述控制区域的显示以取消短拉取事件的监听。
  15. 根据权利要求14所述终端,其中,所述控制区域为距离所述悬浮球预设距离的圆环,且所述悬浮球为所述圆环的圆心。
  16. 根据权利要求14所述终端,其中,所述检测悬浮球是否移动至所述控制区域,以触发预设短拉取事件的步骤,具体包括:
    在对悬浮球的触碰操作结束时,检测悬浮球所处区域与所述控制区域是否存在交点;
    若检测到交点,则触发预设短拉取事件;
    若未检测到交点,则不触发预设短拉取事件。
  17. 根据权利要求16所述终端,其中,所述在对悬浮球的触碰操作结束时,检测悬浮球所处区域与所述控制区域是否存在交点的步骤,具体包括:
    在所述悬浮球的触碰操作结束时,获取所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较;
    当所述持续时间小于等于预设时间阈值时,检测所述悬浮球结束时所处区域与所述控制区域是否存在交点。
  18. 根据权利要求17所述终端,其中,所述在所述悬浮球的触碰操作结束时,获取所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较的步骤,具体包括:
    在所述悬浮球的触碰操作结束时,获取所述触碰操作的结束时间;
    根据所述结束时间与触碰操作的开始时间计算所述触碰操作的持续时间,并将所述持续时间与预设时间阈值进行比较。
  19. 根据权利要求14所述终端,其中,所述当监听到对预设悬浮球的触碰操作时,在终端屏幕上显示预设的控制区域的步骤之前,还包括:
    获取终端屏幕所显示的应用界面,并检测悬浮球是否具备所述应用界面对应的应用程序的控制权限;
    若所述悬浮球具备所述应用程序的控制权限,则监听对预设悬浮球的触碰操作。
  20. 根据权利要求19所述终端,其中,所述若所述悬浮球具备所述应用程序的控制权限,则监听对预设悬浮球的触碰操作的步骤,具体包括:
    若所述悬浮球具备所述应用程序的控制权限,则在终端屏幕上显示悬浮球,并监听对所述悬浮球的触碰操作。
PCT/CN2018/105031 2017-09-11 2018-09-11 一种终端操作方法及终端、计算机可读存储介质 WO2019047973A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710813068.5A CN107491253B (zh) 2017-09-11 2017-09-11 一种终端操作方法及终端
CN201710813068.5 2017-09-11

Publications (1)

Publication Number Publication Date
WO2019047973A1 true WO2019047973A1 (zh) 2019-03-14

Family

ID=60652393

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/105031 WO2019047973A1 (zh) 2017-09-11 2018-09-11 一种终端操作方法及终端、计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN107491253B (zh)
WO (1) WO2019047973A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491253B (zh) * 2017-09-11 2020-08-11 惠州Tcl移动通信有限公司 一种终端操作方法及终端
CN109766043A (zh) * 2018-12-29 2019-05-17 华为技术有限公司 电子设备的操作方法和电子设备
CN110251939A (zh) * 2019-05-22 2019-09-20 武汉掌游科技有限公司 一种竖屏h5游戏侧滑菜单悬浮球图形界面及操作方法
CN113703351A (zh) * 2021-07-26 2021-11-26 珠海格力电器股份有限公司 一种设备控制方法、装置及系统
CN113946267A (zh) * 2021-10-20 2022-01-18 百融至信(北京)征信有限公司 一种基于移动端的返回操作方法及系统

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130212529A1 (en) * 2012-02-13 2013-08-15 Samsung Electronics Co., Ltd. User interface for touch and swipe navigation
CN103873672A (zh) * 2012-12-18 2014-06-18 沈阳晨讯希姆通科技有限公司 移动终端
CN104246677A (zh) * 2012-04-20 2014-12-24 索尼公司 信息处理设备、信息处理方法和程序
CN104808906A (zh) * 2015-05-15 2015-07-29 上海斐讯数据通信技术有限公司 具有触摸显示屏的电子设备及触摸显示屏控制方法
CN105511771A (zh) * 2014-09-22 2016-04-20 宇龙计算机通信科技(深圳)有限公司 一种快捷操作方法、装置和终端
CN105912258A (zh) * 2016-04-13 2016-08-31 北京小米移动软件有限公司 操作处理方法及装置
CN107491253A (zh) * 2017-09-11 2017-12-19 惠州Tcl移动通信有限公司 一种终端操作方法及终端

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130212529A1 (en) * 2012-02-13 2013-08-15 Samsung Electronics Co., Ltd. User interface for touch and swipe navigation
CN104246677A (zh) * 2012-04-20 2014-12-24 索尼公司 信息处理设备、信息处理方法和程序
CN103873672A (zh) * 2012-12-18 2014-06-18 沈阳晨讯希姆通科技有限公司 移动终端
CN105511771A (zh) * 2014-09-22 2016-04-20 宇龙计算机通信科技(深圳)有限公司 一种快捷操作方法、装置和终端
CN104808906A (zh) * 2015-05-15 2015-07-29 上海斐讯数据通信技术有限公司 具有触摸显示屏的电子设备及触摸显示屏控制方法
CN105912258A (zh) * 2016-04-13 2016-08-31 北京小米移动软件有限公司 操作处理方法及装置
CN107491253A (zh) * 2017-09-11 2017-12-19 惠州Tcl移动通信有限公司 一种终端操作方法及终端

Also Published As

Publication number Publication date
CN107491253A (zh) 2017-12-19
CN107491253B (zh) 2020-08-11

Similar Documents

Publication Publication Date Title
WO2019047973A1 (zh) 一种终端操作方法及终端、计算机可读存储介质
TWI520043B (zh) 消息查看方法、裝置和移動終端
US20170315777A1 (en) Method, terminal, and storage medium for starting voice input function of terminal
WO2018045878A1 (zh) 触摸屏参数的调整方法及相关产品
CN111083684A (zh) 控制电子设备的方法及电子设备
JP7301956B2 (ja) 情報処理方法および端末
WO2014206101A1 (zh) 一种基于手势的会话处理方法、装置及终端设备
WO2015043194A1 (zh) 虚拟键盘显示方法、装置及终端
WO2016197697A1 (zh) 手势控制方法、装置及系统
WO2019011335A1 (zh) 一种移动终端及其控制方法和可读存储介质
CN108681427B (zh) 一种访问权限控制的方法及终端设备
CN109976611B (zh) 终端设备的控制方法及终端设备
WO2013149530A1 (zh) 显示信息的方法、移动终端和计算机可读存储介质
CN106951143B (zh) 隐藏应用图标的方法及装置
CN107992342B (zh) 一种应用配置更改方法及移动终端
KR20220092602A (ko) 애플리케이션 공유 방법, 전자기기 및 컴퓨터 판독가능 저장 매체
KR20220114075A (ko) 인터페이스 공유 방법 및 전자기기
WO2019052551A1 (zh) 终端设备的交互方法、存储介质以及终端设备
WO2015024372A1 (zh) 发起通信的方法、装置及移动终端
US20210326479A1 (en) Permission Management Method and Terminal Device
WO2019034110A1 (zh) 按键控制方法、存储介质及智能终端
WO2019029564A1 (zh) 一种控制移动终端显示亮度的方法、移动终端及存储装置
WO2019057119A1 (zh) 基于移动终端的wifi热点连接方法及移动终端、存储介质
WO2019011231A1 (zh) 降低移动终端sar值的方法及存储介质、移动终端
WO2019042478A1 (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: 18854065

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: 18854065

Country of ref document: EP

Kind code of ref document: A1