WO2018177156A1 - 一种移动终端的操作方法及移动终端 - Google Patents

一种移动终端的操作方法及移动终端 Download PDF

Info

Publication number
WO2018177156A1
WO2018177156A1 PCT/CN2018/079580 CN2018079580W WO2018177156A1 WO 2018177156 A1 WO2018177156 A1 WO 2018177156A1 CN 2018079580 W CN2018079580 W CN 2018079580W WO 2018177156 A1 WO2018177156 A1 WO 2018177156A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
page turning
turning operation
application interface
current application
Prior art date
Application number
PCT/CN2018/079580
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 维沃移动通信有限公司
Publication of WO2018177156A1 publication Critical patent/WO2018177156A1/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/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/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Definitions

  • the embodiments of the present disclosure relate to the field of terminal application technologies, and in particular, to a method for operating a mobile terminal and a mobile terminal.
  • the display interface also increases correspondingly, which makes the touch operation of the virtual button difficult, and is not convenient for the user to perform the page turning operation of the application interface.
  • the embodiments of the present disclosure provide a method for operating a mobile terminal and a mobile terminal, so as to solve the technical problem that the page turning operation of the application interface in the mobile terminal is difficult.
  • an embodiment of the present disclosure provides a method for operating a mobile terminal, including:
  • an embodiment of the present disclosure further provides a mobile terminal, including:
  • An acquiring module configured to acquire a gravity acceleration of the mobile terminal
  • the page turning control module is configured to perform a page turning operation on an application interface of the current application running in the mobile terminal if the gravity acceleration of the mobile terminal satisfies the first preset condition.
  • an embodiment of the present disclosure further provides a mobile terminal, including: a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program is processed
  • a mobile terminal including: a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program is processed
  • an embodiment of the present disclosure further provides a computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the movement as described in the first aspect The steps in the method of operation of the terminal.
  • the gravity acceleration of the mobile terminal is acquired; if the gravity acceleration of the mobile terminal satisfies the first preset condition, page turning is performed on the application interface of the current application running in the mobile terminal. operating. Since the page turning operation control of the application interface can be realized by detecting the gravity acceleration, the user does not need to perform a click touch operation, thereby reducing the difficulty of turning the page of the application interface in the mobile terminal, and facilitating the user to perform the page turning operation.
  • FIG. 1 is a flowchart of a method for operating a mobile terminal according to a first embodiment of the present disclosure
  • FIG. 2 is a flowchart of a method for operating a mobile terminal according to a second embodiment of the present disclosure
  • FIG. 3 is a second flowchart of a method for operating a mobile terminal according to a second embodiment of the present disclosure
  • FIG. 4 is a structural diagram of a mobile terminal according to a third embodiment of the present disclosure.
  • FIG. 5 is a second structural diagram of a mobile terminal according to a third embodiment of the present disclosure.
  • FIG. 6 is a third structural diagram of a mobile terminal according to a third embodiment of the present disclosure.
  • FIG. 7 is a diagram showing a structure of a mobile terminal according to a fourth embodiment of the present disclosure.
  • FIG. 8 is a configuration of a mobile terminal according to a fifth embodiment of the present disclosure.
  • FIG. 1 is a flowchart of a method for operating a mobile terminal according to an embodiment of the present disclosure. As shown in Figure 1, the following steps are included:
  • Step 101 Acquire a gravity acceleration of the mobile terminal.
  • the operation method of the mobile terminal provided by the embodiment of the present disclosure mainly controls the operation of the application, for example, when performing web browsing, for performing operation control on the advance or return of the webpage.
  • the gravitational acceleration can be obtained by detecting the gravitational acceleration sensor preset in the mobile terminal.
  • the gravity acceleration sensor is also referred to as a three-axis acceleration sensor, and can detect acceleration on the X-axis, acceleration on the Y-axis, and acceleration on the Z-axis, respectively.
  • Step 102 If the gravity acceleration of the mobile terminal meets the first preset condition, perform a page turning operation on an application interface of the current application running in the mobile terminal.
  • the content of the page turning operation mainly includes forward page turning and back page turning, and of course, a page turning operation (such as returning to the main page) for rewinding to a specified page may be set.
  • the specific content of the first preset condition may be set according to actual needs. For example, at least one condition can be set for each page turning operation, while the conditions corresponding to each page turning operation cannot overlap, thereby avoiding erroneous operations.
  • the gravity acceleration of the mobile terminal is acquired; if the gravity acceleration of the mobile terminal satisfies the first preset condition, page turning is performed on the application interface of the current application running in the mobile terminal. operating. Since the page turning operation control of the application interface can be realized by detecting the gravity acceleration, the user does not need to perform a click touch operation, thereby reducing the difficulty of turning the page of the application interface in the mobile terminal, and facilitating the user to perform the page turning operation.
  • the difference from the first embodiment is that, in this embodiment, the keys on the application interface need to be first identified.
  • the operating method of the mobile terminal includes:
  • Step 201 Acquire a gravity acceleration of the mobile terminal.
  • the gravitational acceleration can be obtained by detecting the gravitational acceleration sensor preset in the mobile terminal.
  • the gravity acceleration sensor is also referred to as a three-axis acceleration sensor, and can detect acceleration on the X-axis, acceleration on the Y-axis, and acceleration on the Z-axis, respectively.
  • Step 202 Determine whether there is a target button corresponding to the page turning operation in the application interface of the current application.
  • the application is an application software installed on the mobile terminal, and the application interface is usually provided with one or more virtual buttons after running the application software.
  • the virtual button is used for user operation control.
  • the target button is a button for controlling an application interface to perform a page turning operation.
  • the target button may be one or more, and is not further limited herein. In the following embodiment, the target button is two, which will be described in detail.
  • the target button may be a forward button, a return button, or the like, or may be a button for entering a home page or the like.
  • a general application will place a back button and a forward button in the upper left or lower left corner of the application interface. After the system runs an application, the return button and the forward button on the application interface can be identified based on the image recognition algorithm.
  • the manner of determining whether there is a target button corresponding to the page turning operation in the application interface of the current application may be set according to actual needs.
  • the foregoing step 202 may include:
  • an image of the upper left corner and the lower left corner preset area (such as a typical position) in the current page can be extracted, and then the return key and the forward key are recognized based on the related image algorithm.
  • the content of the second preset condition may be set according to actual needs.
  • an image analysis method such as a step analysis can be performed on the extracted image, and the return button and the forward button are quickly analyzed according to the orientation of the arrow. That is, in the embodiment, the second preset condition may include an arrow orientation or the like.
  • Step 203 When there is a target button corresponding to the page turning operation in the application interface of the current application, and the gravitational acceleration of the mobile terminal satisfies the first preset condition, according to the location information of the target button, The application interface of the current application running in the mobile terminal performs a page turning operation.
  • the content of the page turning operation mainly includes forward page turning and back page turning, and of course, a page turning operation (such as returning to the main page) for rewinding to a specified page may be set.
  • the specific content of the first preset condition may be set according to actual needs. For example, at least one condition can be set for each page turning operation, while the conditions corresponding to each page turning operation cannot overlap, thereby avoiding erroneous operations.
  • the forward page turning operation when it is recognized that the application interface of the current application has a forward button, and the gravity acceleration meets the condition corresponding to the forward page turning operation, the forward page turning operation is performed;
  • the return page turning operation is performed.
  • the manner of how to trigger the application interface to perform the page turning operation may be set according to actual needs.
  • a manner of transmitting a click event to a screen drive may be employed.
  • the foregoing step 203 is to perform a page turning operation on an application interface of a current application running in the mobile terminal according to the location information of the target button, including:
  • Step 303 Send a click event to a screen driver of the mobile terminal, where the click event includes location information of the target button, and the click event is used by the screen driver to trigger the current application to perform a page turning operation.
  • the location information of the target button may be determined, and the target information is screen coordinate information, and may include, for example, a row pixel value and a column pixel value.
  • the corresponding interface may be invoked to send a click event to the screen driver, where the click event includes location information of the target button, so that when the user clicks on the screen, the screen driver detects the position information of the touched screen by the screen driver to complete Control of the touch operation of the button.
  • the target button includes a forward button and a return button
  • the first preset condition includes the first sub-condition and the second sub-condition
  • the step 203 includes:
  • the mobile terminal When there is a forward button corresponding to the forward page turning operation in the application interface of the current application, and the gravity acceleration of the mobile terminal satisfies the first sub-condition, according to the position information of the forward button, the mobile terminal
  • the application interface of the current application running in the middle performs a page turning operation
  • the mobile terminal When there is a return button corresponding to the return page turning operation in the application interface of the current application, and the gravitational acceleration of the mobile terminal satisfies the second sub-condition, according to the position information of the return button, the mobile terminal The application interface of the current application running in the execution returns a page flip operation.
  • the specific content of the first sub-condition and the second sub-condition may be set according to actual needs.
  • the sub-conditions corresponding to the different target buttons are different.
  • the first sub-condition is that the acceleration of the gravitational acceleration in the X-axis direction is greater than the first preset value, and the first preset value is a positive number
  • the second sub-condition is that the acceleration of the gravity acceleration in the X-axis direction is less than a second preset value, and the second preset value is a negative number.
  • the X-axis refers to the direction of the X-axis provided by the conventional three-axis acceleration sensor, regardless of the direction in which the mobile terminal is placed. For example, when the mobile terminal is placed on a horizontal plane, whether it is placed vertically or horizontally, the X-axis direction of the three-axis acceleration sensor remains unchanged.
  • the trigger condition can also be set with the acceleration in the Y-axis direction as a reference, and will not be enumerated here.
  • the size of the first preset value and the second preset value may be set according to actual needs.
  • the absolute values of the first preset value and the second preset value may be set equal.
  • the size of the first preset value and the second preset value may not be too small, and avoiding a small angle flip causes a trigger button touch operation.
  • 30° can be set as the tilt angle value, and the corresponding X-direction acceleration is 4.9 m/s 2 . That is, the first preset value may be -4.9 m/s 2 , and the second preset value may be 4.9 m/s 2 .
  • the forward button and the return button on the application interface are first identified, and the corresponding position information of the forward button and the return button is determined.
  • a second click event is sent to the screen driver, and the second target position corresponding to the second click event is sent by the screen area to The target application, so that the target application performs a return operation of browsing the page.
  • a first click event is sent to the screen driver, and the first target position corresponding to the first click event is sent by the screen area to The target application, thereby moving the page forward by the target application.
  • steps 301 and 302 shown in FIG. 3 are the same as or similar to steps 201 and 202 shown in FIG. 2, and are not described herein again.
  • FIG. 4 is a structural diagram of a mobile terminal according to an embodiment of the present disclosure, which can implement the details of the operation method of the mobile terminal in the first to second embodiments, and achieve the same or similar effects.
  • the mobile terminal 400 includes an acquisition module 401 and a page turning control module 402, wherein:
  • An obtaining module 401 configured to acquire a gravity acceleration of the mobile terminal
  • the page turning control module 402 is configured to perform a page turning operation on an application interface of a current application running in the mobile terminal if the gravity acceleration of the mobile terminal satisfies the first preset condition.
  • the foregoing mobile terminal 400 further includes:
  • the determining module 403 is configured to determine whether there is a target button corresponding to the page turning operation in the application interface of the current application;
  • the page turning control module 402 is specifically configured to: when there is a target button corresponding to the page turning operation in the application interface of the current application, and the gravitational acceleration of the mobile terminal satisfies the first preset condition, according to the The location information of the target button performs a page turning operation on the application interface of the current application running in the mobile terminal.
  • the page turning control module 402 is configured to send a click event to a screen driver of the mobile terminal, where the click event includes location information of the target button, and the click event is used for the screen driving Triggering the current application to perform a page turning operation.
  • the determining module 403 includes:
  • An image extraction sub-module 4031 configured to extract an image located at a preset location from an application interface of the current application
  • a determining sub-module 4032 configured to determine whether the image meets a second preset condition, and if yes, determining that a target button corresponding to the page turning operation exists in an application interface of the current application; otherwise, determining the current application There is no target button corresponding to the page turning operation in the application interface of the program.
  • the target button includes a forward button and a return button
  • the first preset condition includes a first sub-condition and a second sub-condition.
  • the page turning control module 402 is specifically configured to:
  • the mobile terminal When there is a forward button corresponding to the forward page turning operation in the application interface of the current application, and the gravity acceleration of the mobile terminal satisfies the first sub-condition, according to the position information of the forward button, the mobile terminal
  • the application interface of the current application running in the middle performs a page turning operation
  • the mobile terminal When there is a return button corresponding to the return page turning operation in the application interface of the current application, and the gravitational acceleration of the mobile terminal satisfies the second sub-condition, according to the position information of the return button, the mobile terminal The application interface of the current application running in the execution returns a page flip operation.
  • the first sub-condition is that the acceleration of the gravity acceleration in the X-axis direction is greater than a first preset value, the first preset value is a positive number; and the second sub-condition is the gravity acceleration The acceleration in the X-axis direction is less than the second preset value, and the second preset value is a negative number.
  • the gravity acceleration of the mobile terminal is acquired; if the gravity acceleration of the mobile terminal satisfies the first preset condition, page turning is performed on the application interface of the current application running in the mobile terminal. operating. Since the page turning operation control of the application interface can be realized by detecting the gravity acceleration, the user does not need to perform a click touch operation, thereby reducing the difficulty of turning the page of the application interface in the mobile terminal.
  • FIG. 7 is a structural diagram of a mobile terminal according to an embodiment of the present disclosure, which can implement details of an operation method of the mobile terminal in the first to second embodiments, and achieve the same or similar effects.
  • the mobile terminal 700 includes at least one processor 701, a memory 702, at least one network interface 704, and a user interface 703.
  • the various components in mobile terminal 700 are coupled together by a bus system 705.
  • the bus system 705 is used to implement connection communication between these components.
  • the bus system 705 includes a power bus, a control bus, and a status signal bus in addition to the data bus.
  • various buses are labeled as bus system 705 in FIG.
  • the user interface 703 may include a display, a keyboard, or a pointing device (eg, a mouse, a track ball), a touch panel, or a touch screen.
  • a pointing device eg, a mouse, a track ball
  • the memory 702 in an embodiment of the present disclosure may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read only memory (PROM), an erasable programmable read only memory (Erasable PROM, EPROM), or an electric Erase programmable read only memory (EEPROM) or flash memory.
  • the volatile memory can be a Random Access Memory (RAM) that acts as an external cache.
  • RAM Random Access Memory
  • many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (Synchronous DRAM).
  • Memory 702 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
  • memory 702 stores elements, executable modules or data structures, or a subset thereof, or their extended set: operating system 7021 and application 7022.
  • the operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks.
  • the application 7022 includes various applications, such as a media player (Media Player), a browser, and the like, for implementing various application services.
  • a program implementing the method of the embodiments of the present disclosure may be included in the application 7022.
  • the processor 701 by calling the program or instruction stored in the memory 702, specifically, the program or the instruction stored in the application 7022, the processor 701 is configured to: acquire the gravity acceleration of the mobile terminal; The gravitational acceleration of the mobile terminal satisfies a first preset condition, and a page turning operation is performed on an application interface of the current application running in the mobile terminal.
  • Processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 701 or an instruction in a form of software.
  • the processor 701 may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or the like. Programming logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present disclosure may be implemented or carried out.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in connection with the embodiments of the present disclosure may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702 and completes the steps of the above method in combination with its hardware.
  • the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof.
  • the processing unit can be implemented in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processing (DSP), Digital Signal Processing Equipment (DSP Device, DSPD), programmable Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), general purpose processor, controller, microcontroller, microprocessor, other for performing the functions described herein In an electronic unit or a combination thereof.
  • ASICs Application Specific Integrated Circuits
  • DSP Digital Signal Processing
  • DSP Device Digital Signal Processing Equipment
  • PLD programmable Programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • the techniques described herein can be implemented by modules (eg, procedures, functions, and so on) that perform the functions described herein.
  • the software code can be stored in memory and executed by the processor.
  • the memory can be implemented in the processor or external to the processor.
  • the processor 701 is further configured to: determine whether there is a target button corresponding to the page turning operation in the application interface of the current application; and when there is a page turning operation in the application interface of the current application, When the target button is pressed, and the gravitational acceleration of the mobile terminal satisfies the first preset condition, the page turning operation is performed on the application interface of the current application running in the mobile terminal according to the location information of the target button.
  • the processor 701 is further configured to: send a click event to a screen driver of the mobile terminal, where the click event includes location information of the target button, and the click event is used by the screen driving trigger
  • the current application performs a page turning operation.
  • the processor 701 is further configured to: extract an image located at a preset location from an application interface of the current application; determine whether the image meets a second preset condition, and if yes, determine the There is a target button corresponding to the page turning operation in the application interface of the current application; otherwise, it is determined that the target button corresponding to the page turning operation does not exist in the application interface of the current application.
  • the target button includes a forward button and a return button
  • the first preset condition includes a first sub-condition and a second sub-condition
  • the processor 701 is further configured to: when the current application is applied There is a forward button corresponding to the forward page turning operation in the interface, and when the gravity acceleration of the mobile terminal satisfies the first sub-condition, according to the position information of the forward button, the current application running in the mobile terminal is The application interface performs a forward page turning operation
  • the mobile terminal When there is a return button corresponding to the return page turning operation in the application interface of the current application, and the gravitational acceleration of the mobile terminal satisfies the second sub-condition, according to the position information of the return button, the mobile terminal The application interface of the current application running in the execution returns a page flip operation.
  • the first sub-condition is that the acceleration of the gravity acceleration in the X-axis direction is greater than a first preset value, the first preset value is a positive number; and the second sub-condition is the gravity acceleration The acceleration in the X-axis direction is less than the second preset value, and the second preset value is a negative number.
  • the gravity acceleration of the mobile terminal is acquired; if the gravity acceleration of the mobile terminal satisfies the first preset condition, page turning is performed on the application interface of the current application running in the mobile terminal. operating. Since the page turning operation control of the application interface can be realized by detecting the gravity acceleration, the user does not need to perform a click touch operation, thereby reducing the difficulty of turning the page of the application interface in the mobile terminal.
  • FIG. 8 is a structural diagram of a mobile terminal according to an embodiment of the present disclosure, which can implement the details of the operation method of the mobile terminal in the first to second embodiments, and achieve the same or similar effects.
  • the mobile terminal 800 includes a radio frequency (RF) circuit 810, a memory 820, an input unit 830, a display unit 840, a processor 850, an audio circuit 860, a communication module 870, and a power supply 880, and includes a camera. (not shown in the figure).
  • RF radio frequency
  • the input unit 830 can be configured to receive numeric or character information input by the user, and generate signal inputs related to user settings and function control of the mobile terminal 800.
  • the input unit 830 may include a touch panel 831.
  • the touch panel 831 also referred to as a touch screen, can collect touch operations on or near the user (such as the operation of the user using any suitable object or accessory such as a finger or a stylus on the touch panel 831), and according to the preset
  • the programmed program drives the corresponding connection device.
  • the touch panel 831 can include two parts: 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 850 is provided and can receive commands from the processor 850 and execute them.
  • the touch panel 831 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 830 may further include other input devices 832, which may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like. One or more of them.
  • the display unit 840 can be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 800.
  • the display unit 840 can include a display panel 841.
  • the display panel 841 can be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED).
  • the touch panel 831 can cover the display panel 841 to form a touch display screen, and when the touch display screen detects a touch operation on or near it, it is transmitted to the processor 850 to determine the type of the touch event, and then the processor The 850 provides a corresponding visual output on the touch display depending on the type of touch event.
  • the processor 850 is a control center of the mobile terminal 800, and connects various parts of the entire mobile phone by using various interfaces and lines, by running or executing software programs and/or modules stored in the first memory 821, and calling the second storage.
  • the data in the memory 822 performs various functions and processing data of the mobile terminal 800, thereby performing overall monitoring of the mobile terminal 800.
  • processor 850 can include one or more processing units.
  • the processor 850 is configured to: acquire a gravity acceleration of the mobile terminal by calling a software program and/or a module stored in the first memory 821 and/or data in the second memory 822; If the gravitational acceleration of the mobile terminal satisfies the first preset condition, performing a page turning operation on an application interface of the current application running in the mobile terminal.
  • the processor 850 is further configured to: determine whether there is a target button corresponding to the page turning operation in the application interface of the current application; and when there is a page turning operation in the application interface of the current application When the target button is pressed, and the gravitational acceleration of the mobile terminal satisfies the first preset condition, the page turning operation is performed on the application interface of the current application running in the mobile terminal according to the location information of the target button.
  • the processor 850 is further configured to: send a click event to a screen driver of the mobile terminal, where the click event includes location information of the target button, and the click event is used by the screen driving trigger
  • the current application performs a page turning operation.
  • the processor 850 is further configured to: extract an image located at a preset location from an application interface of the current application; determine whether the image meets a second preset condition, and if yes, determine the There is a target button corresponding to the page turning operation in the application interface of the current application; otherwise, it is determined that the target button corresponding to the page turning operation does not exist in the application interface of the current application.
  • the target button includes a forward button and a return button
  • the first preset condition includes a first sub-condition and a second sub-condition
  • the processor 850 is further configured to: when the current application is applied There is a forward button corresponding to the forward page turning operation in the interface, and when the gravity acceleration of the mobile terminal satisfies the first sub-condition, according to the position information of the forward button, the current application running in the mobile terminal is The application interface performs a forward page turning operation
  • the mobile terminal When there is a return button corresponding to the return page turning operation in the application interface of the current application, and the gravitational acceleration of the mobile terminal satisfies the second sub-condition, according to the position information of the return button, the mobile terminal The application interface of the current application running in the execution returns a page flip operation.
  • the first sub-condition is that the acceleration of the gravity acceleration in the X-axis direction is greater than a first preset value, the first preset value is a positive number; and the second sub-condition is the gravity acceleration The acceleration in the X-axis direction is less than the second preset value, and the second preset value is a negative number.
  • the gravity acceleration of the mobile terminal is acquired; if the gravity acceleration of the mobile terminal satisfies the first preset condition, page turning is performed on the application interface of the current application running in the mobile terminal. operating. Since the page turning operation control of the application interface can be realized by detecting the gravity acceleration, the user does not need to perform a click touch operation, thereby reducing the difficulty of turning the page of the application interface in the mobile terminal.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • 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, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present disclosure.
  • each functional unit in various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the portion of the technical solution of the present disclosure that contributes in essence or to the prior art or the portion of the technical solution may be embodied in the form of a software product stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, and the like, which can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

本公开实施例提供一种移动终端的操作方法及移动终端。该移动终端的操作方法包括:获取所述移动终端的重力加速度;若所述移动终端的重力加速度满足第一预设条件,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。由于通过检测重力加速度即可实现应用界面的翻页操作控制,从而无需用户进行点击触摸操作,因此可以降低移动终端中应用界面的翻页操作难度,便于用户执行翻页操作。

Description

一种移动终端的操作方法及移动终端
相关申请的交叉引用
本申请主张在2017年3月27日在中国提交的中国专利申请号No.201710187256.1的优先权,其全部内容通过引用包含于此。
技术领域
本公开实施例涉及终端应用技术领域,尤其涉及一种移动终端的操作方法及移动终端。
背景技术
众所周知,在对移动终端的应用界面进行操作时,通常由应用界面上显示各式各样的虚拟按键。相应的,移动终端的屏幕驱动检测用户在屏幕上触摸的位置,并发送给应用,从而触发应用执行相应的操作。
随着移动终端的尺寸的增大,显示界面也相应地增大,导致虚拟按键的触摸操作难度较大,不便于用户进行应用界面的翻页操作。
发明内容
本公开实施例提供一种移动终端的操作方法及移动终端,以解决移动终端中应用界面的翻页操作难度较大的技术问题。
第一方面,本公开实施例提供了一种移动终端的操作方法,包括:
获取所述移动终端的重力加速度;以及
若所述移动终端的重力加速度满足第一预设条件,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。
第二方面,本公开实施例还提供了一种移动终端,包括:
获取模块,用于获取所述移动终端的重力加速度;以及
翻页控制模块,用于若所述移动终端的重力加速度满足第一预设条件,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。
第三方面,本公开实施例还提供了一种移动终端,包括:处理器、存储 器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面所述的移动终端的操作方法中的步骤。
第四方面,本公开实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的移动终端的操作方法中的步骤。
这样,本公开实施例中,获取所述移动终端的重力加速度;若所述移动终端的重力加速度满足第一预设条件,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。由于通过检测重力加速度即可实现应用界面的翻页操作控制,从而无需用户进行点击触摸操作,因此可以降低移动终端中应用界面的翻页操作难度,便于用户执行翻页操作。
附图说明
为了更清楚地说明本公开实施例或相关技术中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本公开第一实施例提供的移动终端的操作方法的流程图;
图2是本公开第二实施例提供的移动终端的操作方法的流程图之一;
图3是本公开第二实施例提供的移动终端的操作方法的流程图之二;
图4是本公开第三实施例提供的移动终端的结构图之一;
图5是本公开第三实施例提供的移动终端的结构图之二;
图6是本公开第三实施例提供的移动终端的结构图之三;
图7是本公开第四实施例提供的移动终端的结构;以及
图8是本公开第五实施例提供的移动终端的结构。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是 全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
第一实施例
参见图1,图1是本公开实施例提供的一种移动终端的操作方法的流程图。如图1所示,包括以下步骤:
步骤101,获取所述移动终端的重力加速度。
本公开实施例提供的移动终端的操作方法主要是对应用的操作进行控制,例如,在进行网页浏览时,用于对网页的前进或返回进行操作控制。
该步骤中,重力加速度可以通过预设在移动终端中的重力加速度传感器检测获得。具体的,该重力加速度传感器也称之为三轴加速度传感器,可以分别检测X轴上的加速度、Y轴上的加速度和Z轴上的加速度。
步骤102,若所述移动终端的重力加速度满足第一预设条件,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。
具体的,上述翻页操作的内容主要包括前进翻页和后退翻页,当然还可以设置后退到指定页面的翻页操作(如返回主页面)等等。上述第一预设条件的具体内容可以根据实际需要进行设置。例如,可以对每一种翻页操作设置至少一个条件,与此同时每一种翻页操作对应的条件不能重叠,从而避免误操作。
例如,以前进翻页操作和返回翻页操作为例,当上述重力加速度满足前进翻页操作对应的条件时,则会执行前进翻页操作;当上述重力加速度满足返回翻页操作对应的条件时,则会执行返回翻页操作。
这样,本公开实施例中,获取所述移动终端的重力加速度;若所述移动终端的重力加速度满足第一预设条件,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。由于通过检测重力加速度即可实现应用界面的翻页操作控制,从而无需用户进行点击触摸操作,因此可以降低移动终端中应用界面的翻页操作难度,便于用户执行翻页操作。
第二实施例
参见图2,在本公开第二实施例提供的移动终端的操作方法中,与第一实施例的区别在于,本实施例中,首先需要对应用界面上的按键进行识别。 具体的,如图2所示,该移动终端的操作方法包括:
步骤201,获取所述移动终端的重力加速度。
该步骤中,重力加速度可以通过预设在移动终端中的重力加速度传感器检测获得。具体的,该重力加速度传感器也称之为三轴加速度传感器,可以分别检测X轴上的加速度、Y轴上的加速度和Z轴上的加速度。
步骤202,判断所述当前应用程序的应用界面中是否存在与翻页操作对应的目标按键。
该步骤中,上述应用程序为安装在移动终端上的应用软件,在运行应用软件后应用界面上通常设置有一个或者多个虚拟按键。该虚拟按键用于用户进行操作控制,本实施例中上述目标按键为用于控制应用界面进行翻页操作的按键。
该目标按键可以为一个也可以为多个,在此不做进一步的限定。以下实施例中以目标按键为两个进行详细说明。
例如,上述目标按键可以为前进按键和返回按键等,还可以是进入主页面按键等。例如,一般应用都会在应用界面的左上角或者左下角安放返回按键和前进按键。在系统运行一个应用后,可以基于图像识别算法识别应用界面上的返回按键和前进按键。
具体的,判断所述当前应用程序的应用界面中是否存在与翻页操作对应的目标按键的方式可以根据实际需要进行设置。例如,在本实施例中,上述步骤202可以包括:
从所述当前应用程序的应用界面中提取位于预设位置的图像;
判断所述图像是否满足第二预设条件,如果是,则确定所述当前应用程序的应用界面中存在与翻页操作对应的目标按键;否则,确定所述当前应用程序的应用界面中不存在与翻页操作对应的目标按键。
该步骤中,可以提取当前页面中左上角和左下角预置区域(如典型位置)的图像,然后基于相关图像算法识别返回按键和前进按键。可选的,上述第二预设条件的内容可以根据实际需要进行设置。由于按键和周围存在较明显的色差,本实施例中,可以对提取的图像做一阶梯度分析等图像分析方法,根据箭头的朝向快速分析出是否存在返回按键和前进按键。即在本实施例中, 上述第二预设条件可以包括箭头朝向等。
步骤203,当所述当前应用程序的应用界面中存在与翻页操作对应的目标按键,且所述移动终端的重力加速度满足第一预设条件时,根据所述目标按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。
具体的,上述翻页操作的内容主要包括前进翻页和后退翻页,当然还可以设置后退到指定页面的翻页操作(如返回主页面)等等。上述第一预设条件的具体内容可以根据实际需要进行设置。例如,可以对每一种翻页操作设置至少一个条件,与此同时每一种翻页操作对应的条件不能重叠,从而避免误操作。
以前进翻页操作和返回翻页操作为例,当识别到当前应用程序的应用界面存在前进按键,且上述重力加速度满足前进翻页操作对应的条件时,则会执行前进翻页操作;当识别到当前应用程序的应用界面存在返回按键,且上述重力加速度满足返回翻页操作对应的条件时,则会执行返回翻页操作。
本实施例中,由于在增加了对应用界面上目标按键的识别,只有当应用界面存在目标按键时,方可执行相应的翻页操作,从而提高了翻页控制的准确性。
可选的,对于如何触发应用界面执行翻页操作的方式可以根据实际需要进行设置。例如在本实施例中,可以采用向屏幕驱动发送点击事件的方式。具体的,参照图3,上述步骤203,即根据所述目标按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作,包括:
步骤303,向所述移动终端的屏幕驱动发送点击事件,所述点击事件包括所述目标按键的位置信息,所述点击事件用于所述屏幕驱动触发所述当前应用执行翻页操作。
该步骤中,在识别出目标按键后,可以确定目标按键的位置信息,该目标信息为屏幕坐标信息,例如可以包括行像素值和列像素值。本实施例中,可以调用相应的接口向屏幕驱动发送点击事件,该点击事件中包含目标按键的位置信息,从而相当于用户点击屏幕时,屏幕驱动检测到触摸屏被触摸位置的位置信息,以完成按键的触摸操作的控制。
进一步的,上述目标按键的数量可以为多个,以下将以两个为例进行详细说明。具体的,当上述目标按键包括前进按键和返回按键,上述第一预设条件包括第一子条件和第二子条件时,上述步骤203包括:
当所述当前应用程序的应用界面中存在与前进翻页操作对应的前进按键,且所述移动终端的重力加速度满足第一子条件时,根据所述前进按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行前进翻页操作;
当所述当前应用程序的应用界面中存在与返回翻页操作对应的返回按键,且所述移动终端的重力加速度满足第二子条件时,根据所述返回按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行返回翻页操作。
本实施例中,上述第一子条件和第二子条件的具体内容可以根据实际需要进行设置。具体的,不同的目标按键对应的子条件不同,例如上述第一子条件为所述重力加速度在X轴方向的加速度大于第一预设值,所述第一预设值为正数;所述第二子条件为所述重力加速度在X轴方向的加速度小于第二预设值,所述第二预设值为负数。
其中,上述X轴是指现有的三轴加速度传感器设置的X轴的方向,与移动终端的摆放方向无关。例如在移动终端放置在水平面上,无论是竖向放置还是横向放置,三轴加速度传感器的X轴方向均保持不变。与此同时,还可以以Y轴方向上的加速度作为参考设置触发条件,在此不进行一一列举。
上述第一预设值和第二预设值的大小可以根据实际需要进行设置,例如可以将上述第一预设值和第二预设值的绝对值设置相等。具体的,该第一预设值和第二预设值的大小不能太小,避免一个小角度的翻转造成触发按键触摸操作。本实施例中,可以设置30°为倾斜角度值,对应的X方向加速度为4.9m/s 2。即上述第一预设值可以为-4.9m/s 2,第二预设值可以为4.9m/s 2
以浏览网页为例进行说明,当用户在移动终端上通过浏览器客户端或者其他应用客户端进行网页浏览时,首先识别应用界面上的前进按键和返回按键,确定前进按键和返回按键对应位置信息,当检测到用户沿着Y轴逆时针倾斜达到X轴的加速度大于4.9m/s 2,则向屏幕驱动发送第二点击事件,由 屏幕区域将第二点击事件对应的第二目标位置发送给目标应用,从而由目标应用进行浏览页面的返回操作。当检测到用户沿着Y轴顺时针倾斜达到X轴的加速度小于-4.9m/s 2,则向屏幕驱动发送第一点击事件,由屏幕区域将第一点击事件对应的第一目标位置发送给目标应用,从而由目标应用进行浏览页面的前进操作。
另外,图3中所示的步骤301和302与图2中所示的步骤201和202相同或相似,在此不再赘述。
第三实施例
参见图4,图4是本公开实施例提供的移动终端的结构图,能够实现第一至第二实施例中移动终端的操作方法的细节,并达到相同或相似的效果。如图5所示,移动终端400包括获取模块401和翻页控制模块402,其中:
获取模块401,用于获取所述移动终端的重力加速度;
翻页控制模块402,用于若所述移动终端的重力加速度满足第一预设条件,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。
可选的,参照图5,上述移动终端400还包括:
判断模块403,用于判断所述当前应用程序的应用界面中是否存在与翻页操作对应的目标按键;
所述翻页控制模块402具体用于,当所述当前应用程序的应用界面中存在与翻页操作对应的目标按键,且所述移动终端的重力加速度满足第一预设条件时,根据所述目标按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。
可选的,所述翻页控制模块402具体用于,向所述移动终端的屏幕驱动发送点击事件,所述点击事件包括所述目标按键的位置信息,所述点击事件用于所述屏幕驱动触发所述当前应用执行翻页操作。
可选的,参照图6,所述判断模块403包括:
图像提取子模块4031,用于从所述当前应用程序的应用界面中提取位于预设位置的图像;
判断子模块4032,用于判断所述图像是否满足第二预设条件,如果是,则确定所述当前应用程序的应用界面中存在与翻页操作对应的目标按键;否 则,确定所述当前应用程序的应用界面中不存在与翻页操作对应的目标按键。
可选的,所述目标按键包括前进按键和返回按键,所述第一预设条件包括第一子条件和第二子条件。
相应的,所述翻页控制模块402具体用于:
当所述当前应用程序的应用界面中存在与前进翻页操作对应的前进按键,且所述移动终端的重力加速度满足第一子条件时,根据所述前进按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行前进翻页操作;
当所述当前应用程序的应用界面中存在与返回翻页操作对应的返回按键,且所述移动终端的重力加速度满足第二子条件时,根据所述返回按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行返回翻页操作。
可选的,所述第一子条件为所述重力加速度在X轴方向的加速度大于第一预设值,所述第一预设值为正数;所述第二子条件为所述重力加速度在X轴方向的加速度小于第二预设值,所述第二预设值为负数。
这样,本公开实施例中,获取所述移动终端的重力加速度;若所述移动终端的重力加速度满足第一预设条件,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。由于通过检测重力加速度即可实现应用界面的翻页操作控制,从而无需用户进行点击触摸操作,因此可以降低移动终端中应用界面的翻页操作难度。
第四实施例
参见图7,图7是本公开实施例提供的移动终端的结构图,能够实现第一至第二实施例中移动终端的操作方法的细节,并达到相同或相似的效果。如图7所示,移动终端700包括:至少一个处理器701、存储器702、至少一个网络接口704和用户接口703。移动终端700中的各个组件通过总线系统705耦合在一起。可理解,总线系统705用于实现这些组件之间的连接通信。总线系统705除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图7中将各种总线都标为总线系统705。
其中,用户接口703可以包括显示器、键盘或者点击设备(例如,鼠标, 轨迹球(track ball))、触感板或者触摸屏等。
可以理解,本公开实施例中的存储器702可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本文描述的系统和方法的存储器702旨在包括但不限于这些和任意其它适合类型的存储器。
在一些实施方式中,存储器702存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统7021和应用程序7022。
其中,操作系统7021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序7022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本公开实施例方法的程序可以包含在应用程序7022中。
在本公开实施例中,通过调用存储器702存储的程序或指令,具体的,可以是应用程序7022中存储的程序或指令,处理器701用于:获取所述移动终端的重力加速度;若所述移动终端的重力加速度满足第一预设条件,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。
上述本公开实施例揭示的方法可以应用于处理器701中,或者由处理器701实现。处理器701可能是一种集成电路芯片,具有信号的处理能力。在 实现过程中,上述方法的各步骤可以通过处理器701中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器701可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable GateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本公开实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本公开实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器702,处理器701读取存储器702中的信息,结合其硬件完成上述方法的步骤。
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。
对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。
可选的,所述处理器701还用于:判断所述当前应用程序的应用界面中是否存在与翻页操作对应的目标按键;当所述当前应用程序的应用界面中存在与翻页操作对应的目标按键,且所述移动终端的重力加速度满足第一预设条件时,根据所述目标按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。
可选的,所述处理器701还用于:向所述移动终端的屏幕驱动发送点击事件,所述点击事件包括所述目标按键的位置信息,所述点击事件用于所述 屏幕驱动触发所述当前应用执行翻页操作。
可选的,所述处理器701还用于:从所述当前应用程序的应用界面中提取位于预设位置的图像;判断所述图像是否满足第二预设条件,如果是,则确定所述当前应用程序的应用界面中存在与翻页操作对应的目标按键;否则,确定所述当前应用程序的应用界面中不存在与翻页操作对应的目标按键。
可选的,所述目标按键包括前进按键和返回按键,所述第一预设条件包括第一子条件和第二子条件;所述处理器701还用于:当所述当前应用程序的应用界面中存在与前进翻页操作对应的前进按键,且所述移动终端的重力加速度满足第一子条件时,根据所述前进按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行前进翻页操作;
当所述当前应用程序的应用界面中存在与返回翻页操作对应的返回按键,且所述移动终端的重力加速度满足第二子条件时,根据所述返回按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行返回翻页操作。
可选的,所述第一子条件为所述重力加速度在X轴方向的加速度大于第一预设值,所述第一预设值为正数;所述第二子条件为所述重力加速度在X轴方向的加速度小于第二预设值,所述第二预设值为负数。
这样,本公开实施例中,获取所述移动终端的重力加速度;若所述移动终端的重力加速度满足第一预设条件,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。由于通过检测重力加速度即可实现应用界面的翻页操作控制,从而无需用户进行点击触摸操作,因此可以降低移动终端中应用界面的翻页操作难度。
第五实施例
请参阅图8,图8是本公开实施例提供的移动终端的结构图,能够实现第一至第二实施例中移动终端的操作方法的细节,并达到相同或相似的效果。如图8所示,移动终端800包括射频(Radio Frequency,RF)电路810、存储器820、输入单元830、显示单元840、处理器850、音频电路860、通信模块870、和电源880,还包括摄像头(图中未示出)。
其中,输入单元830可用于接收用户输入的数字或字符信息,以及产生 与移动终端800的用户设置以及功能控制有关的信号输入。具体地,本公开实施例中,该输入单元830可以包括触控面板831。触控面板831,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板831上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板831可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器850,并能接收处理器850发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板831。除了触控面板831,输入单元830还可以包括其他输入设备832,其他输入设备832可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
其中,显示单元840可用于显示由用户输入的信息或提供给用户的信息以及移动终端800的各种菜单界面。显示单元840可包括显示面板841,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板841。
应注意,触控面板831可以覆盖显示面板841,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器850以确定触摸事件的类型,随后处理器850根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。
其中处理器850是移动终端800的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器821内的软件程序和/或模块,以及调用存储在第二存储器822内的数据,执行移动终端800的各种功能和处理数据,从而对移动终端800进行整体监控。可选的,处理器850可包括一个或多个处理单元。
在本公开实施例中,通过调用存储该第一存储器821内的软件程序和/或模块和/或该第二存储器822内的数据,处理器850用于:获取所述移动终端的重力加速度;若所述移动终端的重力加速度满足第一预设条件,对所述移 动终端中正在运行的当前应用程序的应用界面执行翻页操作。
可选的,所述处理器850还用于:判断所述当前应用程序的应用界面中是否存在与翻页操作对应的目标按键;当所述当前应用程序的应用界面中存在与翻页操作对应的目标按键,且所述移动终端的重力加速度满足第一预设条件时,根据所述目标按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。
可选的,所述处理器850还用于:向所述移动终端的屏幕驱动发送点击事件,所述点击事件包括所述目标按键的位置信息,所述点击事件用于所述屏幕驱动触发所述当前应用执行翻页操作。
可选的,所述处理器850还用于:从所述当前应用程序的应用界面中提取位于预设位置的图像;判断所述图像是否满足第二预设条件,如果是,则确定所述当前应用程序的应用界面中存在与翻页操作对应的目标按键;否则,确定所述当前应用程序的应用界面中不存在与翻页操作对应的目标按键。
可选的,所述目标按键包括前进按键和返回按键,所述第一预设条件包括第一子条件和第二子条件;所述处理器850还用于:当所述当前应用程序的应用界面中存在与前进翻页操作对应的前进按键,且所述移动终端的重力加速度满足第一子条件时,根据所述前进按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行前进翻页操作;
当所述当前应用程序的应用界面中存在与返回翻页操作对应的返回按键,且所述移动终端的重力加速度满足第二子条件时,根据所述返回按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行返回翻页操作。
可选的,所述第一子条件为所述重力加速度在X轴方向的加速度大于第一预设值,所述第一预设值为正数;所述第二子条件为所述重力加速度在X轴方向的加速度小于第二预设值,所述第二预设值为负数。
这样,本公开实施例中,获取所述移动终端的重力加速度;若所述移动终端的重力加速度满足第一预设条件,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。由于通过检测重力加速度即可实现应用界面的翻页操作控制,从而无需用户进行点击触摸操作,因此可以降低移动终 端中应用界面的翻页操作难度。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本公开实施例方案的目的。
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储 介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以权利要求的保护范围为准。

Claims (14)

  1. 一种移动终端的操作方法,包括:
    获取所述移动终端的重力加速度;以及
    若所述移动终端的重力加速度满足第一预设条件,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。
  2. 根据权利要求1所述的方法,其中,所述若所述移动终端的重力加速度满足第一预设条件,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作之前,所述方法还包括:
    判断所述当前应用程序的应用界面中是否存在与翻页操作对应的目标按键;
    所述若所述移动终端的重力加速度满足第一预设条件,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作,包括:
    当所述当前应用程序的应用界面中存在与翻页操作对应的目标按键,且所述移动终端的重力加速度满足第一预设条件时,根据所述目标按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。
  3. 根据权利要求2所述的方法,其中,所述根据所述目标按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作,包括:
    向所述移动终端的屏幕驱动发送点击事件,所述点击事件包括所述目标按键的位置信息,所述点击事件用于所述屏幕驱动触发所述当前应用执行翻页操作。
  4. 根据权利要求2所述的方法,其中,所述判断所述当前应用程序的应用界面中是否存在与翻页操作对应的目标按键,包括:
    从所述当前应用程序的应用界面中提取位于预设位置的图像;以及
    判断所述图像是否满足第二预设条件,如果是,则确定所述当前应用程序的应用界面中存在与翻页操作对应的目标按键;否则,确定所述当前应用程序的应用界面中不存在与翻页操作对应的目标按键。
  5. 根据权利要求2所述的方法,其中,所述目标按键包括前进按键和返 回按键,所述第一预设条件包括第一子条件和第二子条件;
    当所述当前应用程序的应用界面中存在与翻页操作对应的目标按键,且所述移动终端的重力加速度满足第一预设条件时,根据所述目标按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作,包括:
    当所述当前应用程序的应用界面中存在与前进翻页操作对应的前进按键,且所述移动终端的重力加速度满足第一子条件时,根据所述前进按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行前进翻页操作;
    当所述当前应用程序的应用界面中存在与返回翻页操作对应的返回按键,且所述移动终端的重力加速度满足第二子条件时,根据所述返回按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行返回翻页操作。
  6. 根据权利要求5所述的方法,其中,所述第一子条件为所述重力加速度在X轴方向的加速度大于第一预设值,所述第一预设值为正数;所述第二子条件为所述重力加速度在X轴方向的加速度小于第二预设值,所述第二预设值为负数。
  7. 一种移动终端,包括:
    获取模块,用于获取所述移动终端的重力加速度;以及
    翻页控制模块,用于若所述移动终端的重力加速度满足第一预设条件,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。
  8. 根据权利要求7所述的移动终端,其中,所述移动终端还包括:
    判断模块,用于判断所述当前应用程序的应用界面中是否存在与翻页操作对应的目标按键;
    所述翻页控制模块具体用于,当所述当前应用程序的应用界面中存在与翻页操作对应的目标按键,且所述移动终端的重力加速度满足第一预设条件时,根据所述目标按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行翻页操作。
  9. 根据权利要求8所述的移动终端,其中,所述翻页控制模块具体用于, 向所述移动终端的屏幕驱动发送点击事件,该点击事件包括所述目标按键的位置信息,所述点击事件用于所述屏幕驱动触发所述当前应用执行翻页操作。
  10. 根据权利要求8所述的移动终端,其中,所述判断模块包括:
    图像提取子模块,用于从所述当前应用程序的应用界面中提取位于预设位置的图像;以及
    判断子模块,用于判断所述图像是否满足第二预设条件,如果是,则确定所述当前应用程序的应用界面中存在与翻页操作对应的目标按键;否则,确定所述当前应用程序的应用界面中不存在与翻页操作对应的目标按键。
  11. 根据权利要求8所述的移动终端,其中,所述目标按键包括前进按键和返回按键,所述第一预设条件包括第一子条件和第二子条件;
    所述翻页控制模块具体用于:
    当所述当前应用程序的应用界面中存在与前进翻页操作对应的前进按键,且所述移动终端的重力加速度满足第一子条件时,根据所述前进按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行前进翻页操作;
    当所述当前应用程序的应用界面中存在与返回翻页操作对应的返回按键,且所述移动终端的重力加速度满足第二子条件时,根据所述返回按键的位置信息,对所述移动终端中正在运行的当前应用程序的应用界面执行返回翻页操作。
  12. 根据权利要求11所述的移动终端,其中,所述第一子条件为所述重力加速度在X轴方向的加速度大于第一预设值,所述第一预设值为正数;所述第二子条件为所述重力加速度在X轴方向的加速度小于第二预设值,所述第二预设值为负数。
  13. 一种移动终端,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的移动终端的操作方法中的步骤。
  14. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的移动终端的操作方法中的步骤。
PCT/CN2018/079580 2017-03-27 2018-03-20 一种移动终端的操作方法及移动终端 WO2018177156A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710187256.1 2017-03-27
CN201710187256.1A CN106951258A (zh) 2017-03-27 2017-03-27 一种移动终端的操作方法及移动终端

Publications (1)

Publication Number Publication Date
WO2018177156A1 true WO2018177156A1 (zh) 2018-10-04

Family

ID=59472312

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/079580 WO2018177156A1 (zh) 2017-03-27 2018-03-20 一种移动终端的操作方法及移动终端

Country Status (2)

Country Link
CN (1) CN106951258A (zh)
WO (1) WO2018177156A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951258A (zh) * 2017-03-27 2017-07-14 维沃移动通信有限公司 一种移动终端的操作方法及移动终端
CN111194435B (zh) * 2017-09-29 2023-08-29 深圳传音通讯有限公司 一种界面切换的方法、装置、终端及计算机可读介质
CN110609563A (zh) * 2019-08-08 2019-12-24 深圳慧源创新科技有限公司 基于控制端加速度计翻转检测的无人机翻转控制方法
CN112346970B (zh) * 2020-10-30 2023-06-06 长沙市到家悠享网络科技有限公司 免安装应用码的测试方法、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043560A (zh) * 2009-10-20 2011-05-04 腾讯科技(深圳)有限公司 一种实现电子文档翻页的方法及装置
US20130074015A1 (en) * 2011-09-20 2013-03-21 Paul William Watkinson System to scroll text on a small display screen
CN104714643A (zh) * 2015-03-04 2015-06-17 惠州Tcl移动通信有限公司 一种利用传感器实现模拟触摸屏的方法、系统及移动终端
CN106354279A (zh) * 2016-09-22 2017-01-25 上海传英信息技术有限公司 移动终端和基于移动终端的翻页方法
CN106951258A (zh) * 2017-03-27 2017-07-14 维沃移动通信有限公司 一种移动终端的操作方法及移动终端

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853481B (zh) * 2012-12-06 2021-03-12 腾讯科技(深圳)有限公司 模拟触屏移动终端按键的方法和系统
CN103049193A (zh) * 2012-12-26 2013-04-17 广东欧珀移动通信有限公司 通过按键实现网页翻页的方法和装置
CN103076880B (zh) * 2012-12-28 2016-09-14 深圳市金立通信设备有限公司 一种终端浏览页面时控制翻页的方法及终端
CN103941875B (zh) * 2014-05-05 2017-06-13 成都理想境界科技有限公司 一种翻页方法、装置及终端
CN104461304A (zh) * 2014-12-31 2015-03-25 小米科技有限责任公司 控制应用的方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043560A (zh) * 2009-10-20 2011-05-04 腾讯科技(深圳)有限公司 一种实现电子文档翻页的方法及装置
US20130074015A1 (en) * 2011-09-20 2013-03-21 Paul William Watkinson System to scroll text on a small display screen
CN104714643A (zh) * 2015-03-04 2015-06-17 惠州Tcl移动通信有限公司 一种利用传感器实现模拟触摸屏的方法、系统及移动终端
CN106354279A (zh) * 2016-09-22 2017-01-25 上海传英信息技术有限公司 移动终端和基于移动终端的翻页方法
CN106951258A (zh) * 2017-03-27 2017-07-14 维沃移动通信有限公司 一种移动终端的操作方法及移动终端

Also Published As

Publication number Publication date
CN106951258A (zh) 2017-07-14

Similar Documents

Publication Publication Date Title
CN105824559B (zh) 一种误触识别及处理方法和电子设备
EP2972727B1 (en) Non-occluded display for hover interactions
WO2018137448A1 (zh) 一种终端指纹识别的方法及移动终端
WO2018107900A1 (zh) 一种触摸屏的防误触方法、装置、移动终端及存储介质
WO2018177156A1 (zh) 一种移动终端的操作方法及移动终端
KR102331888B1 (ko) 디스플레이 센서 및 베젤 센서에 대한 도전성 트레이스 라우팅
US9268407B1 (en) Interface elements for managing gesture control
WO2018196699A1 (zh) 一种指纹识别区域的显示方法和移动终端
WO2018107896A1 (zh) 一种分屏防误触方法、装置、移动终端及存储介质
US20120256829A1 (en) Portable electronic device and method of controlling same
US20130222329A1 (en) Graphical user interface interaction on a touch-sensitive device
US10928948B2 (en) User terminal apparatus and control method thereof
CN107450773B (zh) 一种防误触方法、终端及计算机可读存储介质
EP2770419B1 (en) Method and electronic device for displaying virtual keypad
US20130207905A1 (en) Input Lock For Touch-Screen Device
CN107562335B (zh) 一种显示区域调整方法及移动终端
US20150185850A1 (en) Input detection
CN107506130B (zh) 一种文字删除方法及移动终端
WO2019062431A1 (zh) 拍摄方法及移动终端
WO2015100746A1 (zh) 应用程序显示方法和终端
CN105824495A (zh) 一种单手操作移动终端的方法以及移动终端
US20130106707A1 (en) Method and device for gesture determination
CN108874284B (zh) 手势触发方法
CN106970752B (zh) 一种截屏方法及移动终端
WO2018133615A1 (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: 18775067

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

Country of ref document: EP

Kind code of ref document: A1