CN109885242B - Method for executing operation and electronic equipment - Google Patents

Method for executing operation and electronic equipment Download PDF

Info

Publication number
CN109885242B
CN109885242B CN201910048070.7A CN201910048070A CN109885242B CN 109885242 B CN109885242 B CN 109885242B CN 201910048070 A CN201910048070 A CN 201910048070A CN 109885242 B CN109885242 B CN 109885242B
Authority
CN
China
Prior art keywords
display area
area
coordinate
determining
sliding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910048070.7A
Other languages
Chinese (zh)
Other versions
CN109885242A (en
Inventor
周杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910048070.7A priority Critical patent/CN109885242B/en
Publication of CN109885242A publication Critical patent/CN109885242A/en
Application granted granted Critical
Publication of CN109885242B publication Critical patent/CN109885242B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an operation executing method and electronic equipment, which are used for conveniently executing operation on large-screen electronic equipment. The scheme provided by the application comprises the following steps: monitoring sliding operation in a display area of a screen in a one-hand operation mode; determining a target position according to the end position under the condition that the end position of the sliding operation is located in an operation area in the display area, wherein the target position is an actual operation position of the operation corresponding to the sliding operation in the display area; and executing the operation corresponding to the operation received by the end position at the target position. According to the scheme of the embodiment of the invention, a user can perform touch operation on the operation area with the smaller size, so that the operation on the display area with the larger size is realized. The operation process is convenient and labor-saving, and the operation and control of the display area of the electronic equipment can be realized without large-amplitude action.

Description

Method for executing operation and electronic equipment
Technical Field
The present invention relates to the field of terminals, and in particular, to a method for executing an operation and an electronic device.
Background
In the field of electronic technology, in order to optimize the visual experience of users, some electronic devices employ a screen with a larger size to display pictures. Although the large-sized screen has a good visual effect, it is inconvenient for the user to perform a touch operation. The user often needs to move an arm to realize touch operation on the large-screen electronic device.
How to conveniently execute operation on large-screen electronic equipment is a technical problem to be solved by the application.
Disclosure of Invention
The embodiment of the application aims to provide an operation executing method and electronic equipment, which are used for conveniently executing operation on large-screen electronic equipment.
In a first aspect, a method of performing an operation is provided, comprising:
monitoring sliding operation in a display area of a screen in a one-hand operation mode;
determining a target position according to the end position under the condition that the end position of the sliding operation is located in an operation area in the display area, wherein the target position is an actual operation position of the operation corresponding to the sliding operation in the display area;
and executing the operation corresponding to the operation received by the end position at the target position.
In a second aspect, an electronic device is provided, comprising:
the monitoring module is used for monitoring the sliding operation in the display area of the screen in a single-hand operation mode;
the determining module is used for determining a target position according to the end position under the condition that the end position of the sliding operation is located in an operation area in the display area, wherein the target position is an actual operation position of the operation corresponding to the sliding operation in the display area;
and the execution module is used for executing the operation corresponding to the operation received by the end position at the target position.
In a third aspect, a mobile terminal is provided, the mobile terminal comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the method as in the first aspect.
In the embodiment of the application, the target position is determined according to the end point position of the sliding operation by monitoring the sliding operation in the display area, and the operation corresponding to the operation received by the end point position is executed at the determined target position. Wherein, an operation area with smaller size is divided in a display area with larger size in the screen. By the scheme, the user can operate the operation area with the smaller size, and the operation of the display area with the larger size is realized. The operation process is convenient and labor-saving, and the operation and control of the display area of the electronic equipment can be realized without large-amplitude action.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1a is one of the flow diagrams of a method of performing an operation according to one embodiment of the invention;
FIG. 1b is one of the scenario diagrams of a method of performing an operation according to an embodiment of the present application;
FIG. 2a is a second flowchart illustrating a method for performing operations according to an embodiment of the present invention;
FIG. 2b is a second scenario diagram illustrating a method for performing operations according to an embodiment of the present application;
FIG. 3a is a third flowchart illustrating a method for performing operations according to an embodiment of the present invention;
FIG. 3b is a third scenario diagram illustrating a method of performing an operation according to an embodiment of the present application;
FIG. 3c is a fourth illustration of a scenario of a method of performing an operation according to an embodiment of the present application;
FIG. 4 is a fifth scenario diagram of a method of performing an operation according to an embodiment of the present application;
FIG. 5 is a sixth scenario diagram of a method of performing an operation according to an embodiment of the present application;
FIG. 6 is a fourth flowchart illustrating a method of performing an operation according to an embodiment of the invention;
FIG. 7 is a schematic diagram of an electronic device of the present application;
fig. 8 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. The reference numbers in the present application are only used for distinguishing the steps in the scheme and are not used for limiting the execution sequence of the steps, and the specific execution sequence is described in the specification.
Nowadays, various electronic equipment make people's life more convenient, and equipment such as the less electron wrist-watch of size, bracelet are lightly and portable, can make user convenient and fast look over time or gather information such as user's heartbeat, step number. The large-size equipment such as the tablet personal computer and the electronic paper book has a good display effect, can display more information in a picture, and is convenient for a user to watch movies and read articles.
When a user performs touch operation on a large-screen electronic device, not only fingers and wrists but also small arms and even large arms often need to be moved, which makes the operation laborious.
In order to solve the above problems in the prior art, the present application provides a method for performing an operation, as shown in fig. 1a, including the following steps:
s11: in the one-handed operation mode, a sliding operation within a display area of a screen is monitored.
In this embodiment, the one-handed operation mode may be triggered in various ways. Specifically, the user may start the one-handed operation mode by triggering the preset key, where the preset key may be an entity key or a virtual key. The user can also open the single-hand operation mode by presetting the fingerprint instruction, for example, if the left-hand ring finger is preset to open the single-hand operation mode, the user can open the single-hand operation mode by touching the fingerprint identification area with the left-hand ring finger. In addition, the single-hand operation mode can be started through a password verification mode such as a preset digital password and a preset pattern password. Under the condition that the electronic equipment is provided with modules such as a gravity sensing module and a gyroscope, a user can start a one-hand operation mode by shaking a mobile phone and other preset actions.
A screen of an electronic device may include a display area and a non-display area, wherein the display area may include a screen area having a display function for displaying a picture. The non-display area of the screen may include a virtual keyboard, an area where virtual keys are located, and the virtual keys may include a return key, a menu key, and other function keys.
In this step, the sliding operation in the display area of the screen may be monitored through the touch screen, wherein the touch screen may be a capacitive touch screen or a resistive touch screen.
S12: and under the condition that the end point position of the sliding operation is located in an operation area in the display area, determining a target position according to the end point position, wherein the target position is an actual operation position of the operation corresponding to the sliding operation in the display area.
At least one operation area is divided in the display area, as shown in fig. 1b, the operation area M is shown by a dashed box in the figure, and the operation area M may be located at the lower right corner of the display area N, so that the user can perform a sliding operation with the thumb of the right hand while holding the electronic device. The size and the position of the operation area can be preset by the user according to personal habits, and the operation area can be arranged at the lower left of the display area for the user with the left-handed hand.
S13: and executing the operation corresponding to the operation received by the end position at the target position.
The target position is an end position of the sliding operation, and when the user performs the sliding operation by using a finger, the target position is a position where the finger of the user leaves the screen. In this step, the operation performed corresponds to the operation received at the slide operation end position. Specifically, the actual operation instruction may be set in advance by the user, for example, a single-click operation, a double-click operation, a long-press operation, or the like may be performed at the target position. Or a plurality of operation instructions can be preset, and the actual operation instruction can be determined according to the operation received by the end position of the sliding operation. The method can be preset according to actual requirements of users, and can also be generated in advance by electronic equipment according to certain standards.
In the embodiment of the application, the target position is determined according to the end point position of the sliding operation by monitoring the sliding operation in the display area, and the operation corresponding to the operation received by the end point position is executed at the determined target position. Wherein, an operation area with smaller size is divided in a display area with larger size in the screen. By the scheme, the user can operate the operation area with the smaller size, and the operation of the display area with the larger size is realized. The operation process is convenient and labor-saving, and the operation and control of the display area of the electronic equipment can be realized without large-amplitude action.
Optionally, based on the method provided in the foregoing embodiment, as shown in fig. 2a, the method further includes the following steps:
s14: and under the condition that the starting point position of the sliding operation is monitored to be located in a preset trigger area in the display area, triggering the single-hand operation mode.
This step S14 may be located before the above step S11 for triggering the one-handed operation mode. The preset trigger area in the display area can be in any closed figure shape. As shown in fig. 2b, the preset trigger area S may be located in the operation area M, which is shown by circular shading. In addition, the preset trigger area can be adjacent to the operation area, so that the user can conveniently slide into the operation area after triggering the single-hand operation mode through the step. Preferably, based on the position of the operation area shown in fig. 2b, the preset trigger area may be located between the right edge of the operation area and the right edge of the display area, so that the user can slide from the right edge of the display area to the center of the screen to trigger the one-handed operation mode.
The scheme provided by the application can enable the user to trigger the single-hand operation mode quickly and conveniently, and after the single-hand operation mode is triggered through the scheme, the user can slide into the operation area to execute subsequent sliding operation. From the triggering of the single-hand operation mode to the completion of the sliding operation, the user only needs to execute one sliding operation, and the operation process is coherent and convenient.
Based on the method provided by the above embodiment, as shown in fig. 3a, the step S12 includes the following steps:
s121: determining a first coordinate of the end position within the display area.
As shown in fig. 3b, in this example, the display area N is a rectangle, the point O at the lower left corner of the display area N in the figure is the origin, and the end point is the position of the point P shown in the figure. And if the abscissa distance of the P point and the O point is a and the ordinate distance is b, the P point coordinate is (a, b), that is, the first coordinate of the end point position in the display area is (a, b).
S122: and determining a second coordinate in the display area according to the first coordinate, the side length ratio of the operation area to the display area.
As shown in fig. 3c, the region indicated by the dashed line box in the figure is the operation region M. As shown, the side length of the operation region M is W1And H1The side length of the display area N is W2And H2. From the first coordinates (a, b) determined in the above step S121, second coordinates (c, d) are determined.
Specifically, the second coordinate is determined according to the side length ratio of the operation area M to the display area N, so that the position of the first coordinate in the operation area M is the same as the position of the second coordinate in the display area N. Based on the positions of the display area N and the operation area M in the example of the present application, the first coordinate, the side length ratio of the operation area to the display area, and the second coordinate in the present solution satisfy the following relational expression:
Figure BDA0001949855280000061
Figure BDA0001949855280000062
in practical applications, the position of the second coordinate is related to the shape and size of the display area and the operation area, and the above relation may be changed according to the shape and size of the actual display area and the operation area.
S123: and determining the position of the second coordinate as the target position.
The position of the second coordinate determined in the above step is determined as a target position, which is referred to as a point Q shown in fig. 3 c.
The scheme provided by the application can determine the second coordinate according to the first coordinate, the operation area and the side length ratio of the display area, and further determine the target position. And the user can realize the touch operation on the display area with larger size through the touch operation on the operation area with smaller size.
In order to improve the visibility of the screen during operation, the operation area may not be shown within the display area. In the one-hand operation mode, when the sliding operation of the user exceeds the operation area, a first coordinate is determined according to the actual position of the sliding operation, and the first coordinate is located in the operation area.
Specifically, referring to fig. 4, when the sliding operation end position of the user is P1Due to P1Positioned beyond the upper edge of the operating area. Based on P1Determining P of coordinate points2Coordinate points where P1Abscissa and P of coordinate point2The abscissa of the coordinate points is the same, P2The ordinate of the point is the maximum value of the ordinate in the operating area. Then, according to the determined P2And determining a second coordinate in the display area according to the side length ratio of the point, the operation area and the display area.
According to the scheme, the second coordinate can be determined under the condition that the actual sliding operation exceeds the operation area, the determined position of the second coordinate is prevented from exceeding the display area, and the user experience is improved.
Based on the method provided by the above embodiment, the method further includes the following steps:
displaying a cursor in the display area, wherein the position of the cursor is determined based on the current touch point of the sliding operation.
Specifically, after the one-handed operation mode is triggered, the display cursor may be determined according to the current touch point of the sliding operation. Fig. 5 shows a point in time during which the user is performing the sliding operation, a broken line Y shows a trajectory of the sliding operation performed by the user, and a broken line Z shows a trajectory of the cursor display. The cursor shown in fig. 5 is a circular cursor, and in fact, the user may preset the style of the cursor according to actual requirements. The cursor may be a special graphic or a special effect point, such as local enlargement in the area where the cursor is located, brightness increase, brightness decrease, etc.
In the process of the user executing the sliding operation, the position of the cursor moves along with the movement of the current touch point position of the sliding operation. The user may continue to perform the sliding operation based on the current cursor position until the cursor is positioned over the location in the display area where the user wishes to perform the operation. At this time, the user may end the sliding operation, thereby implementing the operation corresponding to the operation received at the end position on the cursor position. After the end of the sliding operation, a cursor may be displayed in accordance with a position at which the sliding operation ends, and a position at which an operation corresponding to the operation received at the end position is performed may be exhibited by the display cursor.
Further, based on the method provided in the foregoing embodiment, as shown in fig. 6, in a case where the end position of the sliding operation is located in the operation area in the display area, the method further includes the following steps:
s15: and detecting the pressure value of the end position.
Specifically, the pressure sensing module in the electronic device may detect the pressure value, and the pressure sensing module may be a touch screen. The touch screen can be a capacitive touch screen or a resistive touch screen.
Wherein, the step S13 includes:
s131: and executing an operation corresponding to the operation received by the terminal position at the target position under the condition that the pressure value is greater than a preset pressure value.
The preset pressure value can be preset by a user, or can be generated in advance by the electronic equipment according to a certain rule. In the scheme, the pressure value is compared with a preset pressure value, and the operation corresponding to the operation received by the terminal position is executed under the condition that the pressure value is greater than the preset pressure value. Specifically, the user may perform a sliding operation with a finger, and when the finger slides to a position desired by the user, the user may perform a pressing operation at the position, and then lift the finger so that a pressure value at an end position of the sliding operation is greater than a preset pressure value.
In the scheme provided by the application, when the pressure value of the sliding operation end position is greater than the preset pressure value, the operation corresponding to the operation received by the end position is executed. In the actual operation process, after the user executes the sliding operation to the required position, the user can confirm the sliding operation in a pressing mode. If the pressure value detected at the end position of the sliding operation is smaller than the preset pressure value, the sliding operation can be cancelled, and the single-hand operation mode is exited. According to the scheme provided by the application, the user can confirm the operation, and if the user wants to cancel the sliding operation, the user can cancel the operation without pressing the terminal position of the sliding operation.
Further, the scheme can determine the finally executed operation according to the pressure value of the sliding operation end position. For example, when the pressure value is greater than the preset pressure value, a double-click operation is performed, when the pressure value is less than the preset pressure value, a single-click operation is performed, and the like.
In order to solve the above problems in the prior art, as shown in fig. 7, the present application provides an electronic device 70, including:
a monitoring module 71, configured to monitor a sliding operation within a display area of a screen in a one-handed operation mode;
a determining module 72, configured to determine a target position according to an end point position of the sliding operation when the end point position is located in an operation area in the display area, where the target position is an actual operation position of an operation corresponding to the sliding operation in the display area;
and an executing module 73, configured to execute, at the target position, an operation corresponding to the operation received at the end position.
In the embodiment of the application, the target position is determined according to the end position of the sliding operation by monitoring the sliding operation in the display area, and the operation corresponding to the operation received by the end position of the sliding operation is executed at the determined target position. Wherein, an operation area with smaller size is divided in a display area with larger size in the screen. By the scheme, the user can operate the operation area with the smaller size, and the operation of the display area with the larger size is realized. The operation process is convenient and labor-saving, and the operation and control of the display area of the electronic equipment can be realized without large-amplitude action.
Based on the electronic device provided in the above embodiment of the present application, the electronic device 70 further includes:
the triggering module 74 triggers the one-handed operation mode when it is monitored that the starting point position of the sliding operation is located in a preset triggering area in the display area.
Based on the electronic device provided in the above embodiment of the present application, the determining module 72 is configured to:
determining a first coordinate of the end point position within the display area;
determining a second coordinate in the display area according to the first coordinate, the side length ratio of the operation area to the display area;
and determining the position of the second coordinate as the target position.
Based on the electronic device provided in the above embodiment of the present application, the electronic device 70 further includes:
a detection module 75, configured to detect a pressure value of an end point position of the sliding operation when the end point position is located in an operation area within the display area;
wherein the executing module 73 is configured to:
and executing an operation corresponding to the operation received by the terminal position at the target position under the condition that the pressure value is greater than a preset pressure value.
Based on the electronic device provided in the above embodiment of the present application, the electronic device 70 further includes:
and a display module 76, configured to display a cursor in the display area, where a position of the cursor is determined based on the current touch point of the sliding operation.
Figure 8 is a schematic diagram of a hardware configuration of a mobile terminal implementing various embodiments of the present invention,
the mobile terminal 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 8 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 810 is configured to monitor a sliding operation in a display area of the screen in a one-handed operation mode;
determining a target position according to the end position under the condition that the end position of the sliding operation is located in an operation area in the display area, wherein the target position is an actual operation position of the operation corresponding to the sliding operation in the display area;
and executing the operation corresponding to the operation received by the end position at the target position.
In the embodiment of the application, the target position is determined according to the end point position of the sliding operation by monitoring the sliding operation in the display area, and the operation corresponding to the operation received by the end point position is executed at the determined target position. Wherein, an operation area with smaller size is divided in a display area with larger size in the screen. By the scheme, the user can operate the operation area with the smaller size, and the operation of the display area with the larger size is realized. The operation process is convenient and labor-saving, and the operation and control of the display area of the electronic equipment can be realized without large-amplitude action.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the mobile terminal 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The mobile terminal 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the mobile terminal 800 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 808 is an interface through which an external device is connected to the mobile terminal 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 800 or may be used to transmit data between the mobile terminal 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby integrally monitoring the mobile terminal. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The mobile terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and the power supply 811 may be logically coupled to the processor 810 via a power management system that may be used to manage charging, discharging, and power consumption.
In addition, the mobile terminal 800 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the above-mentioned method for executing operations, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned method for executing operations, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (6)

1. A method of performing an operation, comprising:
monitoring sliding operation in a display area of a screen in a one-hand operation mode;
determining a target position according to the end position under the condition that the end position of the sliding operation is located in an operation area in the display area, wherein the target position is an actual operation position of the operation corresponding to the sliding operation in the display area;
the determining a target position according to the end position includes:
determining a first coordinate of the end point position within the display area;
determining a second coordinate in the display area according to the first coordinate, the side length ratio of the operation area to the display area;
determining the position of the second coordinate as the target position;
executing an operation corresponding to the operation received at the end position at the target position; when the end point position of the sliding operation exceeds the operation area, determining a first coordinate according to the actual position of the end point position, wherein the first coordinate is positioned in the operation area;
in a case where the end position of the slide operation is located within an operation region within the display region, the method further includes:
detecting a pressure value of the end point position;
wherein the performing an operation corresponding to the operation received at the destination location at the target location comprises:
executing an operation corresponding to the operation received by the end position at the target position when the pressure value is greater than a preset pressure value;
the method further comprises the following steps:
and under the condition that the starting point position of the sliding operation is monitored to be located in a preset trigger area in the display area, triggering the single-hand operation mode, wherein the preset trigger area and the operation area are different areas.
2. The method of claim 1, wherein the method further comprises:
displaying a cursor in the display area, wherein the position of the cursor is determined based on the current touch point of the sliding operation.
3. An electronic device, comprising:
the monitoring module is used for monitoring the sliding operation in the display area of the screen in a single-hand operation mode;
the determining module is used for determining a target position according to the end position under the condition that the end position of the sliding operation is located in an operation area in the display area, wherein the target position is an actual operation position of the operation corresponding to the sliding operation in the display area; the determining a target position according to the end position includes: determining a first coordinate of the end point position within the display area; determining a second coordinate in the display area according to the first coordinate, the side length ratio of the operation area to the display area; determining the position of the second coordinate as the target position; when the end point position of the sliding operation exceeds the operation area, determining a first coordinate according to the actual position of the end point position, wherein the first coordinate is positioned in the operation area;
an execution module for executing an operation corresponding to the operation received at the end position at the target position;
the electronic device further includes:
the detection module is used for detecting a pressure value of the end point position under the condition that the end point position of the sliding operation is located in an operation area in the display area;
wherein the execution module is configured to:
executing an operation corresponding to the operation received by the end position at the target position when the pressure value is greater than a preset pressure value;
and the triggering module is used for triggering the one-hand operation mode under the condition that the starting point position of the sliding operation is monitored to be located in a preset triggering area in the display area, wherein the preset triggering area and the operation area are different areas.
4. The electronic device of claim 3, wherein the electronic device further comprises:
and the display module is used for displaying a cursor in the display area, and the position of the cursor is determined based on the current touch point of the sliding operation.
5. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method according to any one of claims 1 to 2.
6. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 2.
CN201910048070.7A 2019-01-18 2019-01-18 Method for executing operation and electronic equipment Active CN109885242B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910048070.7A CN109885242B (en) 2019-01-18 2019-01-18 Method for executing operation and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910048070.7A CN109885242B (en) 2019-01-18 2019-01-18 Method for executing operation and electronic equipment

Publications (2)

Publication Number Publication Date
CN109885242A CN109885242A (en) 2019-06-14
CN109885242B true CN109885242B (en) 2021-07-27

Family

ID=66926259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910048070.7A Active CN109885242B (en) 2019-01-18 2019-01-18 Method for executing operation and electronic equipment

Country Status (1)

Country Link
CN (1) CN109885242B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114063838A (en) * 2020-08-07 2022-02-18 青岛海信商用显示股份有限公司 Processing method of touch operation of display equipment and display equipment
CN114449356A (en) * 2020-11-02 2022-05-06 青岛海尔多媒体有限公司 Method, device and system for displaying operation area
TWI769739B (en) * 2021-03-15 2022-07-01 華碩電腦股份有限公司 Portable electronic device and one hand touch operation method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298433A (en) * 2014-09-30 2015-01-21 小米科技有限责任公司 Screen display method, device and mobile terminal
CN107977132A (en) * 2017-12-20 2018-05-01 维沃移动通信有限公司 A kind of method for information display and mobile terminal
CN108287655A (en) * 2018-01-16 2018-07-17 维沃移动通信有限公司 A kind of interface display method, interface display apparatus and mobile terminal
CN108696638A (en) * 2018-05-10 2018-10-23 维沃移动通信有限公司 A kind of control method and mobile terminal of mobile terminal
CN108984095A (en) * 2018-07-04 2018-12-11 Oppo广东移动通信有限公司 gesture interaction method, device, storage medium and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049879A (en) * 2013-03-14 2014-09-17 中兴通讯股份有限公司 Touch terminal and tooltip positioning method of touch terminal
CN104298462A (en) * 2014-09-22 2015-01-21 广东欧珀移动通信有限公司 Method and device for operating intelligent terminal with one hand
CN105117056B (en) * 2015-08-17 2019-02-01 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of operation touch-screen
CN106227457A (en) * 2016-07-29 2016-12-14 维沃移动通信有限公司 The implementation method of a kind of clicking operation and mobile terminal
CN107797747A (en) * 2016-08-31 2018-03-13 中兴通讯股份有限公司 A kind of screen control method, device and terminal based on multi-screen
CN106527903B (en) * 2016-12-08 2020-04-07 青岛海信电器股份有限公司 Touch control method and device
CN107132982B (en) * 2017-04-12 2020-08-25 贡海林 Single-hand control method and system for terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298433A (en) * 2014-09-30 2015-01-21 小米科技有限责任公司 Screen display method, device and mobile terminal
CN107977132A (en) * 2017-12-20 2018-05-01 维沃移动通信有限公司 A kind of method for information display and mobile terminal
CN108287655A (en) * 2018-01-16 2018-07-17 维沃移动通信有限公司 A kind of interface display method, interface display apparatus and mobile terminal
CN108696638A (en) * 2018-05-10 2018-10-23 维沃移动通信有限公司 A kind of control method and mobile terminal of mobile terminal
CN108984095A (en) * 2018-07-04 2018-12-11 Oppo广东移动通信有限公司 gesture interaction method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN109885242A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN109375890B (en) Screen display method and multi-screen electronic equipment
CN107977132B (en) Information display method and mobile terminal
EP3822778A1 (en) Method for displaying background application and mobile terminal
CN110196667B (en) Notification message processing method and terminal
CN110062105B (en) Interface display method and terminal equipment
CN110069178B (en) Interface control method and terminal equipment
CN108897486B (en) Display method and terminal equipment
CN109032486B (en) Display control method and terminal equipment
CN109032445B (en) Screen display control method and terminal equipment
CN108762705B (en) Information display method, mobile terminal and computer readable storage medium
CN108415641B (en) Icon processing method and mobile terminal
CN110531915B (en) Screen operation method and terminal equipment
CN107728923B (en) Operation processing method and mobile terminal
CN109683802B (en) Icon moving method and terminal
CN109407948B (en) Interface display method and mobile terminal
CN108228902B (en) File display method and mobile terminal
WO2020078234A1 (en) Display control method and terminal
CN109885242B (en) Method for executing operation and electronic equipment
CN108469940B (en) Screenshot method and terminal
CN111190517B (en) Split screen display method and electronic equipment
CN109669656B (en) Information display method and terminal equipment
CN108984099B (en) Man-machine interaction method and terminal
CN108897477B (en) Operation control method and terminal equipment
CN111443860B (en) Touch control method and electronic equipment
CN110879685B (en) Interaction method of application program interface and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant