WO2019206226A1 - Screen operation control method and mobile terminal - Google Patents

Screen operation control method and mobile terminal Download PDF

Info

Publication number
WO2019206226A1
WO2019206226A1 PCT/CN2019/084296 CN2019084296W WO2019206226A1 WO 2019206226 A1 WO2019206226 A1 WO 2019206226A1 CN 2019084296 W CN2019084296 W CN 2019084296W WO 2019206226 A1 WO2019206226 A1 WO 2019206226A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
sub
mobile terminal
area
screen
Prior art date
Application number
PCT/CN2019/084296
Other languages
French (fr)
Chinese (zh)
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 WO2019206226A1 publication Critical patent/WO2019206226A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning

Definitions

  • the embodiments of the present disclosure relate to the field of communications technologies, and in particular, to a screen operation control method and a mobile terminal.
  • the functions provided by the application of the mobile terminal can usually be triggered by the virtual button combined with the corresponding gesture operation, because most of the applications provided by the application of the mobile terminal can be conveniently triggered by the virtual button and the corresponding gesture. Function, therefore, some traditional physical buttons, such as menu keys, home button, return button, etc., are usually not set on the mobile terminal.
  • the functions provided by the application of the mobile terminal are not all triggered by virtual buttons and gestures, and the functions provided by the application of the mobile terminal cannot be triggered by virtual buttons and gestures, and the mobile terminal is not provided with the When the physical button corresponding to the function is pressed, the user cannot trigger the function.
  • the embodiment of the present disclosure provides a screen operation control method and a mobile terminal, so as to solve the related art, the function of the application cannot be triggered by a virtual button and a gesture, and the physical button corresponding to the function of the application is not set on the mobile terminal. In this case, the user cannot trigger the function.
  • an embodiment of the present disclosure provides a screen operation control method, where the method includes:
  • At least one of an undo operation and a resume operation is performed.
  • an embodiment of the present disclosure provides a mobile terminal, where the mobile terminal includes:
  • a first receiving module configured to receive a first input of a user in a first area of the screen
  • the first execution module is configured to perform at least one of a revocation operation and a recovery operation in response to the first input.
  • an embodiment of the present disclosure provides a terminal device, including a processor, a memory, and a program stored on the memory and executable on the processor, where the program is used by the processor. The steps of the method as described in the first aspect are implemented when executed.
  • an embodiment of the present disclosure provides a computer readable storage medium, wherein the computer readable storage medium stores a program, and when the program is executed by a processor, the method of the first aspect is implemented. step.
  • the mobile terminal may be triggered to perform the undo operation and the recovery operation according to the input of the user in the first area of the screen of the mobile terminal, since the undo function and the resume function may be implemented through input on the screen of the mobile terminal.
  • Triggering therefore, can effectively solve the problem that the undo function and the recovery function cannot be triggered by the virtual button and the gesture, and the physical button corresponding to the undo function and the resume function is not set on the mobile terminal, the user cannot perform the undo function and the resume function.
  • the problem of triggering is triggered.
  • FIG. 1 is a schematic flowchart of a method for operating a mobile terminal according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of an application scenario of a method for operating a mobile terminal according to an embodiment of the present disclosure
  • FIG. 3 is a second schematic diagram of an application scenario of a method for operating a mobile terminal according to an embodiment of the present disclosure
  • FIG. 4 is a third schematic diagram of an application scenario of a method for operating a mobile terminal according to an embodiment of the present disclosure
  • FIG. 5 is a fourth schematic diagram of an application scenario of a method for operating a mobile terminal according to an embodiment of the present disclosure
  • FIG. 6 is a fifth schematic diagram of an application scenario of a method for operating a mobile terminal according to an embodiment of the present disclosure
  • FIG. 7 is a sixth schematic diagram of an application scenario of a method for operating a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a seventh schematic diagram of an application scenario of a method for operating a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of a module structure of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 10 is a second schematic diagram of a module structure of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 11 is a third schematic diagram of a module structure of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 12 is a fourth schematic diagram of a module structure of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present disclosure.
  • Embodiments provide a screen operation control method, a mobile terminal, and a computer readable storage medium, wherein a screen operation control method is applied to a mobile terminal side, which can be executed by a mobile terminal, and the mobile matter involved in the embodiment of the present disclosure
  • the terminal includes, but is not limited to, a terminal device having a file storage function, such as a mobile phone, a computer, a tablet, and a wearable device.
  • FIG. 1 is a schematic flowchart of a screen operation control method according to an embodiment of the present disclosure. As shown in FIG. 1 , the method includes the following steps:
  • Step 102 Receive a first input of a user in a first area of the screen.
  • Step 104 Perform at least one of a revocation operation and a recovery operation in response to the first input.
  • the user can make an input on the screen of the mobile terminal, at which time the mobile terminal can receive the user's input on the screen.
  • the screen of the mobile terminal may be a display screen that is touchable on the mobile terminal for the user and the mobile terminal to interact with.
  • the mobile terminal may first determine the first area of the screen, and then determine whether the received input is the first input in the first area of the screen.
  • the first area may be an area preset by the mobile terminal on the screen.
  • the first area may be a partial area or a whole area of the screen of the mobile terminal, for example, when the user uses a single hand to operate the screen.
  • the first area may be a part of the screen of the mobile terminal that can be operated by the user with one hand (such as the area 11 shown in FIG. 2); and when the user uses both hands to operate the mobile terminal with a smaller screen
  • the first area may be the entire area of the screen of the mobile terminal.
  • the mobile terminal After determining the first region, the mobile terminal can determine whether the received input is the first input in the first region.
  • the process of determining whether the input is the first input in the first region may be different when the input received by the mobile terminal is different.
  • the input received by the mobile terminal may include at least a sliding input, a pressing input, and a click input.
  • the input received by the mobile terminal may be a sliding input, and when the sliding trajectory generated by the input on the screen of the mobile terminal is located in the first area, the input may be determined to be the first in the first area. Input.
  • the input received by the mobile terminal may be a press input, and when the pressed position of the input on the screen of the mobile terminal is located in the first area, the input may be determined to be the first input in the first area.
  • the input received by the mobile terminal may be a click input, and when the input location of the input on the screen of the mobile terminal is located in the first area, the input may be determined to be the first in the first area. Input.
  • the mobile terminal when it is determined that the received input is the first input in the first area of the screen, the mobile terminal may perform at least one of the undo and resume operations in response to the first input.
  • the mobile terminal when performing the undo operation, may perform the revocation according to the stored historical operation record in the order from the back to the front, and when performing the recovery operation, the mobile terminal may cancel the operation record according to the stored history, and press the back to the The previous order restores the undo operation.
  • the history operation record stored by the mobile terminal includes an open operation 1, an open operation 2, and a close operation 3, wherein the open operation 1 can open an application, such as application A, page 1, and the open operation 2 can be based on the page.
  • a link on 1 opens page 2, and close operation 3 can close page 2 of application A
  • the mobile terminal can receive the first input of the user in the first area, and in response to the first input, perform the undo operation 4, at this time
  • the mobile terminal may cancel the close operation 3, and after performing the undo operation 4, display the page 2; after performing the undo operation 4, the mobile terminal may receive the first input of the user in the first area again, and respond At the first input, the recovery operation 5 is performed.
  • the mobile terminal can resume the above-mentioned undo operation 4, and after performing the recovery operation 5, the page 1 is displayed.
  • the mobile terminal when performing the recovery operation, may also close the operation record according to the stored history, and restore the shutdown operation in the order from the back to the front.
  • the mobile terminal can perform the recovery operation 6. At this time, the mobile terminal can resume the closing operation 3 and execute After operation 6 is resumed, page 2 is displayed.
  • the mobile terminal may receive a first input of the user in the first area of the screen, and perform at least one of a revocation operation and a recovery operation in response to the first input, as the user may be in the first area of the screen according to the user
  • the input triggers the mobile terminal to perform the undo operation and the recovery operation, so that the triggering of the undo function and the resume function can be realized by inputting on the screen of the mobile terminal, effectively solving the undo function and the recovery function that cannot be triggered by the virtual button and gesture.
  • the physical button corresponding to the undo function and the resume function is not set on the mobile terminal, the user cannot trigger the undo function and the resume function.
  • step 104 at least one of the undoing operation and the restoring operation is performed in response to the first input, which may be specifically: acquiring the first in the case that the first input is a sliding input Entering a sliding distance in the first area, where the sliding distance is greater than the preset distance, performing N times of the first control operation, wherein the first control operation is an undo operation or a recovery operation, and N times is associated with the sliding distance, N Is a positive integer.
  • the first input received by the mobile terminal in the first area may be a sliding input
  • the mobile terminal may acquire the sliding distance of the first input in the first area, and obtain the sliding distance and the preset distance.
  • a comparison result is obtained, wherein the preset distance may be a preset distance of the related person, or may be a default distance of the mobile terminal, which is not limited by the embodiment of the present disclosure.
  • the mobile terminal may perform a first control operation in response to the first input; when the comparison result is that the obtained sliding distance is greater than the preset distance, the mobile terminal may respond At the first input, the first control operation is performed N times, wherein the first control operation may be an undo operation or a recovery operation, and N times may be associated with the acquired sliding distance.
  • N may be positive. Integer.
  • N may be larger when the obtained sliding distance is larger; and N may be smaller when the obtained sliding distance is smaller.
  • the first control operation when the mobile terminal performs N times of the first control operation, the first control operation may be continuously performed N times at the first execution speed, wherein the magnitude of the first execution speed may be the same as the obtained sliding distance In association, in particular, when the sliding distance acquired above is larger, the first execution speed may be larger. At this time, the mobile terminal may continuously perform N times of the first control operation more quickly; when the above-mentioned obtained sliding distance is smaller The first execution speed can be smaller. At this time, the mobile terminal can perform N times of the first control operation continuously.
  • the mobile terminal may receive the first input of the user in the first area of the screen, and when the received first input is the sliding input, the mobile terminal may acquire the sliding of the first input in the first area.
  • the distance and the first control operation are performed N times according to the relationship between the sliding distance and the preset distance.
  • the mobile terminal can determine the number of executions of the first control operation according to the sliding distance of the first input of the user in the first area, so that the user can control the movement by controlling the sliding distance of the first input.
  • the number of executions of the first control operation by the terminal better satisfies the requirements of the number of times of revocation and the number of restorations in different scenarios, and improves the user experience.
  • step 104 at least one of the undo operation and the recovery operation is performed in response to the first input, which may be specifically: acquiring the first in the case that the first input is a press input Entering the pressing duration of the first area, and performing the second control operation M times if the pressing duration is greater than the preset duration, wherein the second control operation is an undo operation or a recovery operation, and M times is associated with the pressing duration, M Is a positive integer.
  • the first input in the first area received by the mobile terminal may be a pressing input
  • the mobile terminal may acquire the pressing duration of the first input in the first area, and the obtained pressing duration and the preset duration
  • the comparison is performed to obtain a comparison result, wherein the preset duration may be a preset duration of the related person, or may be a default duration of the mobile terminal, which is not limited by the embodiment of the present disclosure.
  • the mobile terminal may perform a second control operation in response to the first input; when the comparison result is that the acquired pressing duration is greater than the preset duration, the mobile terminal may respond At the first input, the second control operation is performed M times, wherein the second control operation may be an undo operation or a recovery operation, and the second control operation may be the same as the first control operation or may be different from the first control operation; M times may be associated with the acquired press duration, and in the embodiment of the present disclosure, M may be a positive integer.
  • M may be larger when the acquired pressing duration is larger; and M may be smaller when the acquired pressing duration is smaller.
  • the second control operation when the mobile terminal performs M times of the second control operation, the second control operation may be continuously performed M times at the second execution speed, wherein the size of the second execution speed may be the size of the pressed duration obtained as described above.
  • the second execution speed when the above-mentioned acquired pressing duration is larger, the second execution speed may be larger.
  • the mobile terminal may continuously perform M second control operations more quickly; when the obtained pressing duration is smaller The second execution speed can be smaller. At this time, the mobile terminal can perform the second control operation M times continuously.
  • the mobile terminal may receive a first input of the user in the first area of the screen, and when the received first input is a press input, the mobile terminal may acquire the pressing of the first input in the first area.
  • the duration is determined, and the second control operation is performed M times according to the relationship between the pressing duration and the preset duration.
  • the mobile terminal can determine the number of executions of the second control operation according to the pressing duration of the first input of the user in the first area, so that the user can control the movement by controlling the pressing duration of the first input.
  • the number of executions of the second control operation by the terminal better satisfies the requirements of the number of times of revocation and the number of restorations in different scenarios, and improves the user experience.
  • step 104 at least one of the undo operation and the recovery operation is performed in response to the first input, which may be specifically: acquiring the first in the case that the first input is a press input Entering a first pressing force value in the first area, and performing a third third control operation in the case that the first pressing force value is greater than the preset strength value, wherein the third control operation is an undo operation or a recovery operation, L times Associated with the first press velocity value, L is a positive integer.
  • the first input in the first area received by the mobile terminal may be a press input, and the mobile terminal may acquire the first pressing force value of the first input in the first area, and the first pressed pressure is obtained.
  • the velocity value is compared with the preset velocity value, and the comparison result is obtained.
  • the preset velocity value may be a preset velocity value of the related person, or may be a default velocity value of the mobile terminal, which is not limited by the embodiment of the disclosure.
  • the mobile terminal may perform a third control operation in response to the first input; when the comparison result is that the obtained first pressing force value is greater than the preset At the velocity value, the mobile terminal may perform L times of the third control operation in response to the first input, wherein the third control operation may be an undo operation or a resume operation, and the third control operation may be performed with the first control operation or the second control
  • the operation is the same, and may be different from the first control operation or the second control operation. This example does not limit this; the L times may be associated with the acquired first pressing force value.
  • L may be A positive integer.
  • L may be larger when the obtained first pressing force value is larger; and L may be when the obtained first pressing force value is smaller The smaller.
  • the third control operation when the mobile terminal performs the Lth third control operation, the third control operation may be continuously performed at the third execution speed, wherein the magnitude of the third execution speed may be the first pressed force acquired as described above.
  • the size of the value is associated. Specifically, when the first pressed velocity value obtained above is larger, the third execution speed may be larger. At this time, the mobile terminal may continuously perform the L third control operation continuously; The smaller the obtained first pressing force value is, the smaller the third execution speed can be. At this time, the mobile terminal can continuously perform the L third control operation continuously.
  • the mobile terminal may receive a first input of the user in the first area of the screen, and when the received first input is a press input, the mobile terminal may acquire the first input in the first area.
  • the pressing force value is pressed, and the third control operation is performed L times according to the magnitude relationship between the first pressing force value and the preset velocity value.
  • the mobile terminal can determine the number of executions of the third control operation according to the first pressing strength value of the first input of the user in the first area, so that the user can control the first input by the first
  • the velocity value is pressed to control the number of executions of the third control operation by the mobile terminal, so as to better meet the requirements of the number of times of cancellation and the number of restorations in different scenarios, and improve the user experience.
  • step 104 at least one of the undoing operation and the restoring operation is performed in response to the first input, which may be specifically: acquiring the first in the case that the first input is a click input Entering the number of clicks in the first area, in the case that the number of clicks is greater than the preset number of times, performing the fourth control operation H times, wherein the fourth control operation is an undo operation or a recovery operation, and H times is associated with the number of clicks, H Is a positive integer.
  • the first input received by the mobile terminal in the first area may be a click input
  • the mobile terminal may obtain the number of clicks of the first input in the first area, and the obtained clicks and the preset number of times
  • the comparison is performed, and the comparison result is obtained, wherein the preset number of times may be a preset number of times of the related person, or may be a default number of times of the mobile terminal, which is not limited by the embodiment of the present disclosure.
  • the mobile terminal may perform a fourth control operation in response to the first input; when the comparison result is that the preset number of times acquired is greater than the preset number of times, the mobile terminal may In response to the first input, the fourth control operation is performed H times, wherein the fourth control operation may be an undo operation or a resume operation, and the fourth control operation may be the same as the first control operation, the second control operation, or the third control operation The first control operation, the second control operation, or the third control operation may be different.
  • the H times may be associated with the acquired preset number of times.
  • the H may be Is a positive integer.
  • H may be larger when the value of the number of clicks obtained is larger; and H may be smaller when the value of the number of clicks obtained is smaller.
  • the fourth control operation when the mobile terminal performs the Hth fourth control operation, the fourth control operation may be continuously performed H at the fourth execution speed, wherein the magnitude of the fourth execution speed may be the value of the click number obtained as described above.
  • the size of the connection is related. Specifically, when the value of the number of clicks obtained above is larger, the fourth execution speed may be larger. At this time, the mobile terminal may continuously perform H times of the fourth control operation; The smaller the value of the number of clicks, the smaller the fourth execution speed, and at this time, the mobile terminal can continuously perform H times of the fourth control operation more slowly.
  • the mobile terminal may receive the first input of the user in the first area of the screen, and when the received first input is the click input, the mobile terminal may obtain the click of the first input in the first area.
  • the number of times, and the fourth control operation is performed H times according to the relationship between the number of clicks and the preset number of times.
  • the mobile terminal can determine the number of executions of the fourth control operation according to the number of clicks of the first input of the user in the first area, so that the user can control the movement by controlling the number of clicks of the first input.
  • the number of executions of the fourth control operation by the terminal better satisfies the requirements of the number of times of revocation and the number of restorations in different scenarios, and improves the user experience.
  • step 104 at least one of the undo operation and the recovery operation is performed in response to the first input, which may be specifically: performing a revocation operation in response to the first input, and then the mobile terminal may Receiving a second input of the user in the second area of the screen, the mobile terminal may perform a recovery operation in response to the second input.
  • the mobile terminal may perform a revocation operation in response to the first input, and then the mobile terminal may receive an input of the user on the screen and determine whether the input is a second input in the second region of the screen.
  • the second area may be an area preset by the mobile terminal on the screen.
  • the second area may be a partial area or a whole area after the first area is removed from the screen of the mobile terminal, for example, when the user uses one-handed
  • the second area may be a partial area after the first area is removed from the part of the screen of the mobile terminal that can be operated by the user with one hand (such as the area 12 shown in FIG. 3). Or all areas; and when the user uses both hands to operate the mobile terminal with a small screen, the second area may be a partial area after the first area is removed from the entire area of the screen of the mobile terminal.
  • the mobile terminal After determining the second region, the mobile terminal can determine whether the received input is a second input in the second region.
  • the mobile terminal After determining that the received input is the user's second input in the second region, the mobile terminal can perform a recovery operation in response to the second input. Wherein, when performing the recovery operation, the mobile terminal may resume the undo operation performed in response to the first input.
  • the mobile terminal may perform different operations in response to the acquired input. For example, when the first input of the user in the first area is acquired, the mobile terminal may perform a revocation operation in response to the acquired first input; and when the second input of the user in the second area is acquired, the mobile terminal may respond For the second input obtained, a recovery operation different from the undo operation is performed.
  • the mobile terminal may acquire a second input of the user in the second area of the screen after performing the undo operation in response to the first input, and perform a recovery operation in response to the second input, so that the response may be implemented. The recovery of the undo operation performed by the first input.
  • the mobile terminal may further determine whether to perform the undo operation or the resume operation in response to the input according to the input of the user in different areas of the screen, so that the user can determine the movement by inputting in the corresponding area.
  • the terminal responds to the operation performed by the input, and satisfies the requirement of the user to cancel the function or the recovery function in different situations, thereby improving the user experience.
  • the method before the step 102, further includes: receiving a third input of the user on the screen, and in response to the third input, the mobile terminal may divide the display area of the screen into the first area and the second area.
  • the mobile terminal may receive a third input of the user on the screen, and then, in response to the third input, divide the display area of the screen into the first area and the second area.
  • the mobile terminal may divide the display area of the screen into the first area and the second area according to the input starting point of the third input on the screen and the point on the edge of the screen of the mobile terminal.
  • the point on the edge of the screen of the mobile terminal may be the intersection of two different edges of the screen of the mobile terminal.
  • the mobile terminal may divide the display area of the screen into the first area 15 according to the input start point 13 of the third input on the screen and the intersection 14 of the right side edge and the lower side line of the mobile terminal screen. And a second area 16.
  • the mobile terminal may divide the display area of the screen into the first area and the second area according to the input starting point of the third input on the screen and the area dividing line of the preset direction, where the area is divided
  • the preset direction of the line can be the default direction of the mobile terminal.
  • the mobile terminal may divide the display area of the screen into the first area 19 and the second area 20 according to the input starting point 17 of the third input on the screen, and the preset direction 18.
  • the mobile terminal may adjust the direction of the area dividing line of the preset direction in response to the third input, and then, according to the area dividing line after the adjustment direction and the input starting point of the third input on the screen.
  • the display area of the screen is divided into a first area and a second area.
  • the third input may be at least one of a sliding input, a pressing input, and a click input, wherein when the third input is a sliding input, the mobile terminal may acquire a sliding distance of the sliding input on the screen, and according to Adjusting the sliding distance to adjust the direction of the area dividing line in the preset direction; wherein, when the obtained sliding distance is larger, the adjustment of the direction of the area dividing line in the preset direction is greater, wherein When making adjustments, you can adjust them clockwise or counterclockwise. This example does not limit this.
  • the direction of the area dividing line of the preset direction may be adjusted according to the pressing force or the pressing duration of the third input on the screen; wherein, when the third input is on the screen The greater the pressing force, or the longer the pressing duration, the greater the adjustment force of the mobile terminal to adjust the direction of the area dividing line in the preset direction.
  • the direction of the area dividing line of the preset direction may be adjusted according to the number of clicks of the third input on the screen; wherein, when the third input has more clicks on the screen, the movement is performed.
  • the adjustment strength of the terminal to adjust the direction of the area dividing line in the preset direction can be larger.
  • the mobile terminal can adjust the direction 21 of the area dividing line of the preset direction according to the third input, and obtain the adjusted direction 22. Then, the mobile terminal can input the starting point on the screen according to the third input. 23 and the adjusted direction 22 to divide the display area of the screen into the first area 24 and the second area 25.
  • the mobile terminal may receive a third input of the user on the screen, and divide the display area of the screen into the first area and the second area in response to the third input. Since the display area of the screen can be divided by the user's input to obtain a plurality of different areas, it is possible to perform different operations in response to the user's input in different areas.
  • the first input may include a first sub-input and a second sub-input
  • the step 104 may be specifically: performing an undo operation based on the first sub-input, and performing recovery based on the second sub-input The operation, wherein, in one case, the undoing operation is performed based on the first sub-input, which may be specifically: in the case that the first sub-input is the first sliding sub-input, based on the first sliding direction of the first sliding sub-input Executing the undo operation; at this time, performing the restoring operation based on the second sub input, which may be specifically: when the second sub input is the second sliding sub input, performing the second sliding direction based on the second sliding sub input
  • the undoing operation is performed based on the first sub-input, which may be specifically: in the case that the first sub-input is the first pressing sub-input, the second pressing force based on the first pressing sub-input
  • the value is executed, and the revocation operation
  • the first input may further include a first sub-input and a second sub-input, wherein the operation performed by the mobile terminal based on the first sub-input is different from the operation performed based on the second sub-input.
  • the first input may be split into at least a first sub-input and a second sub-input.
  • the first input when the first input is a sliding input, the first input may be split into at least a first sliding sub input and a second sliding sub input according to the sliding direction, wherein the sliding direction of the first sliding sub input, and the The sliding direction of the two slider inputs may be different;
  • the first input when the first input is a pressing input, the first input may be split into at least a first pressing sub input and a second pressing sub input according to the pressing force value, wherein the first pressing The pressing force value of the sub input may be different from the pressing force value of the second pressing sub input.
  • the mobile terminal may perform a revocation operation based on the first sliding direction of the first sliding sub input, and perform a recovery operation based on the second sliding direction of the second sliding input. Wherein the first sliding direction is different from the second sliding direction.
  • the first input may be a sliding input
  • the mobile terminal may perform an undo operation based on the first sliding sub input of the first input.
  • the first sliding direction of the first sliding sub input is the direction 26
  • the sliding direction of the first input may change to become the direction 27 opposite to the direction 26, as shown in FIG. 8, at which time, the mobile terminal may be based on the second sliding of the first input.
  • Sub-input to perform a recovery operation is the first input.
  • the mobile terminal may perform a cancel operation based on the second press force value of the first press sub input, and a third press force value based on the second press input, A recovery operation is performed in which the second pressing force value is different from the third pressing force value.
  • the received first input may be divided into at least a first sub input and a second sub input, and then the mobile terminal may perform a revocation operation based on the first sub input and perform a recovery operation based on the second sub input. Since the undo operation performed based on the first sub-input can be restored, the user may be inadvertently revoked in the process of performing the undo operation, or the user may want to perform the recovery operation, but the revocation is performed by mistake. In case of operation, the content that was accidentally undone is quickly recovered.
  • FIG. 9 is a schematic diagram of a module structure of a mobile terminal according to an embodiment of the present disclosure. As shown in FIG. 9, the mobile terminal includes:
  • a first receiving module 91 configured to receive a first input of a user in a first area of the screen
  • the first execution module 92 is configured to perform at least one of a revocation operation and a recovery operation in response to the first input.
  • the first input comprises at least one of the following: a sliding input, a pressing input, and a click input.
  • the first execution module 92 is configured to:
  • the first input is a sliding input
  • acquiring a sliding distance of the first input in the first area and performing a first control operation N times if the sliding distance is greater than a preset distance
  • the first control operation is an undo operation or a recovery operation, and the N times are associated with the sliding distance, and N is a positive integer;
  • the first input is a press input
  • acquiring a pressing duration of the first input in the first region and performing a second control operation M times if the pressing duration is greater than a preset duration
  • the second control operation is an undo operation or a recovery operation, and the M times are associated with the pressing duration, and M is a positive integer;
  • the first input is a press input
  • a first pressing force value of the first input in the first area and performing, in a case where the first pressing force value is greater than a preset strength value, performing L times third control operation, wherein the third control operation is an undo operation or a recovery operation, the L times being associated with the first pressing force value, L being a positive integer;
  • the fourth control operation is performed H times,
  • the fourth control operation is an undo operation or a recovery operation, and the H times are associated with the number of clicks, and H is a positive integer.
  • the first execution module 92 is configured to:
  • the mobile terminal further includes (as shown in FIG. 10):
  • a second receiving module 93 configured to receive a second input of the user in the second area of the screen
  • the second execution module 94 is configured to perform a recovery operation in response to the second input.
  • the mobile terminal further includes (as shown in FIG. 11):
  • the third receiving module 95 is configured to receive a third input of the user on the screen before receiving the first input of the user in the first area of the screen;
  • the dividing module 96 is configured to divide the display area of the screen into the first area and the second area in response to the third input.
  • the first execution module 92 includes (as shown in FIG. 12):
  • a first execution sub-module 921 configured to perform a revocation operation based on the first sub-input of the first input
  • a second execution sub-module 922 configured to perform a recovery operation based on the second one of the first inputs; wherein the first input includes the first sub-input and the second sub-input.
  • the first execution submodule 921 is configured to:
  • the first sub-input is a first sliding sub-input
  • the first sub-input is the first pressing sub-input
  • the second execution submodule 922 is configured to:
  • the second sub-input is a second slider input
  • a recovery operation is performed based on the third pressing force value of the second pressing sub-input.
  • the mobile terminal may receive a first input of the user in the first area of the screen, and perform at least one of a revocation operation and a recovery operation in response to the first input, as the user may be in the first area of the screen according to the user
  • the input triggers the mobile terminal to perform the undo operation and the recovery operation, so that the triggering of the undo function and the resume function can be realized by inputting on the screen of the mobile terminal, effectively solving the undo function and the recovery function that cannot be triggered by the virtual button and gesture.
  • the physical button corresponding to the undo function and the resume function is not set on the mobile terminal, the user cannot trigger the undo function and the resume function.
  • FIG. 13 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present disclosure
  • the mobile terminal 1300 includes, but is not limited to, a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, a processor 1310, and Power supply 1311 and other components. It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 13 does not constitute a limitation of the mobile terminal, and the mobile terminal may include more or less components than those illustrated, or combine some components, or different components. Arrangement.
  • the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle terminal, a wearable device, a pedometer, and the like.
  • the memory 1309 stores a computer program.
  • the computer program is executed by the processor 1310, the following processes can be implemented:
  • At least one of an undo operation and a resume operation is performed.
  • the first input comprises at least one of the following: a sliding input, a pressing input, and a click input.
  • the performing at least one of the undoing operation and the restoring operation in response to the first input comprises:
  • the first input is a sliding input
  • acquiring a sliding distance of the first input in the first area and performing a first control operation N times if the sliding distance is greater than a preset distance
  • the first control operation is an undo operation or a recovery operation, and the N times are associated with the sliding distance, and N is a positive integer;
  • the first input is a press input
  • acquiring a pressing duration of the first input in the first region and performing a second control operation M times if the pressing duration is greater than a preset duration
  • the second control operation is an undo operation or a recovery operation, and the M times are associated with the pressing duration, and M is a positive integer;
  • the first input is a press input
  • a first pressing force value of the first input in the first area and performing, in a case where the first pressing force value is greater than a preset strength value, performing L times third control operation, wherein the third control operation is an undo operation or a recovery operation, the L times being associated with the first pressing force value, L being a positive integer;
  • the fourth control operation is performed H times,
  • the fourth control operation is an undo operation or a recovery operation, and the H times are associated with the number of clicks, and H is a positive integer.
  • the performing at least one of the undoing operation and the restoring operation in response to the first input comprises:
  • the method further includes:
  • the method further includes:
  • the display area of the screen is divided into the first area and the second area in response to the third input.
  • the first input includes a first sub input and a second sub input
  • the performing the undo operation based on the first sub-input includes:
  • the first sub-input is a first sliding sub-input
  • the first sub-input is the first pressing sub-input
  • Performing a recovery operation based on the second sub-input includes:
  • the second sub-input is a second slider input
  • a recovery operation is performed based on the third pressing force value of the second pressing sub-input.
  • the mobile terminal may receive a first input of the user in the first area of the screen, and perform at least one of a revocation operation and a recovery operation in response to the first input, as the user may be in the first area of the screen according to the user
  • the input triggers the mobile terminal to perform the undo operation and the recovery operation, so that the triggering of the undo function and the resume function can be realized by inputting on the screen of the mobile terminal, effectively solving the undo function and the recovery function that cannot be triggered by the virtual button and gesture.
  • the physical button corresponding to the undo function and the resume function is not set on the mobile terminal, the user cannot trigger the undo function and the resume function.
  • the radio frequency unit 1301 can be used for receiving and transmitting signals during the transmission and reception of information or during a call, and specifically, after receiving downlink data from the base station, processing the processor 1310; The uplink data is sent to the base station.
  • radio frequency unit 1301 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.
  • the radio unit 1301 can also communicate with the network and other devices through a wireless communication system.
  • the mobile terminal provides the user with wireless broadband Internet access through the network module 1302, such as helping the user to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 1303 may convert the audio data received by the radio frequency unit 1301 or the network module 1302 or stored in the memory 1309 into an audio signal and output as a sound. Moreover, the audio output unit 1303 can also provide audio output (eg, call signal reception sound, message reception sound, etc.) related to a specific function performed by the mobile terminal 1300.
  • the audio output unit 1303 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 1304 is for receiving an audio or video signal.
  • the input unit 1304 may include a graphics processing unit (GPU) 13041 and a microphone 13042, and the graphics processor 13041 images an 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 data is processed.
  • the processed image frame can be displayed on display unit 1306.
  • the image frames processed by the graphics processor 13041 may be stored in the memory 1309 (or other storage medium) or transmitted via the radio unit 1301 or the network module 1302.
  • the microphone 13042 can receive sound and can process such sound as audio data.
  • the processed audio data can be converted to a format output that can be transmitted to the mobile communication base station via the radio unit 1301 in the case of a telephone call mode.
  • the mobile terminal 1300 also includes at least one type of sensor 1305, such as a light sensor, motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 13061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 13061 when the mobile terminal 1300 moves to the ear. / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the mobile terminal (such as horizontal and vertical screen switching, related games).
  • sensor 1305 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensors and the like are not described here.
  • the display unit 1306 is for displaying information input by the user or information provided to the user.
  • the display unit 1306 can include a display panel 13061.
  • the display panel 13061 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the user input unit 1307 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal.
  • the user input unit 1307 includes a touch panel 13071 and other input devices 13072.
  • the touch panel 13071 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 13071 or near the touch panel 13071. operating).
  • the touch panel 13071 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 1310 receives the commands from the processor 1310 and executes them.
  • the touch panel 13071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the user input unit 1307 can also include other input devices 13072.
  • other input devices 13072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
  • the touch panel 13071 can be overlaid on the display panel 13061. After the touch panel 13071 detects a touch operation thereon or nearby, the touch panel 13071 transmits to the processor 1310 to determine the type of the touch event, and then the processor 1310 according to the touch. The type of event provides a corresponding visual output on display panel 13061.
  • the touch panel 13071 and the display panel 13061 are used as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 13071 and the display panel 13061 may be integrated. The input and output functions of the mobile terminal are implemented, and are not limited herein.
  • the interface unit 1308 is an interface in which an external device is connected to the mobile terminal 1300.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more.
  • the interface unit 1308 can be configured to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more components within the mobile terminal 1300 or can be used at the mobile terminal 1300 and externally Data is transferred between devices.
  • Memory 1309 can be used to store software programs as well as various data.
  • the memory 1309 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.).
  • memory 1309 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 1310 is a control center of the mobile terminal that connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1309, and recalling data stored in the memory 1309.
  • the mobile terminal performs various functions and processing data to perform overall monitoring on the mobile terminal.
  • the processor 1310 may include one or more processing units; optionally, the processor 1310 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, etc., and a modulation solution
  • the processor mainly handles wireless communication. It can be understood that the above modem processor may not be integrated into the processor 1310.
  • the mobile terminal 1300 may further include a power source 1311 (such as a battery) for supplying power to various components.
  • a power source 1311 such as a battery
  • the power source 1311 may be logically connected to the processor 1310 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the mobile terminal 1300 includes some functional modules not shown, and details are not described herein again.
  • the embodiment of the present disclosure further provides a mobile terminal, including a processor 1310, a memory 1309, a computer program stored on the memory 1309 and executable on the processor 1310, the computer program being executed by the processor 1310.
  • a mobile terminal including a processor 1310, a memory 1309, a computer program stored on the memory 1309 and executable on the processor 1310, the computer program being executed by the processor 1310.
  • an embodiment of the present disclosure further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, implements various processes of the method for operating the mobile terminal, and Can achieve the same technical effect, in order to avoid duplication, no longer repeat here.
  • the computer readable storage medium such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

Abstract

Provided are a screen operation control method and a mobile terminal. The method comprises: receiving a first input of a user in a first region of a screen; and executing at least one of a cancellation operation and a recovery operation in response to the first input.

Description

屏幕操作控制方法及移动终端Screen operation control method and mobile terminal
相关申请的交叉引用Cross-reference to related applications
本申请主张在2018年4月28日在中国提交的中国专利申请号No.201810403193.3的优先权,其全部内容通过引用包含于此。The present application claims priority to Chinese Patent Application No. 201 810 034 413, filed on Jan. 28, s.
技术领域Technical field
本公开实施例涉及通信技术领域,尤其涉及一种屏幕操作控制方法及移动终端。The embodiments of the present disclosure relate to the field of communications technologies, and in particular, to a screen operation control method and a mobile terminal.
背景技术Background technique
随着移动终端技术的发展,移动终端的应用所提供的功能通常可以由虚拟按键结合对应的手势操作来触发,由于可以通过虚拟按键以及对应的手势便捷地触发移动终端的应用所提供的大部分功能,因此,移动终端上通常不再设置一些传统的实体按键,如菜单键、主页键、返回键等。With the development of the mobile terminal technology, the functions provided by the application of the mobile terminal can usually be triggered by the virtual button combined with the corresponding gesture operation, because most of the applications provided by the application of the mobile terminal can be conveniently triggered by the virtual button and the corresponding gesture. Function, therefore, some traditional physical buttons, such as menu keys, home button, return button, etc., are usually not set on the mobile terminal.
但是,目前,移动终端的应用所提供的功能并不都能通过虚拟按键和手势来触发,当移动终端的应用所提供的功能不能通过虚拟按键和手势触发,且移动终端上也未设置与该功能对应的实体按键时,用户无法对该功能进行触发。However, at present, the functions provided by the application of the mobile terminal are not all triggered by virtual buttons and gestures, and the functions provided by the application of the mobile terminal cannot be triggered by virtual buttons and gestures, and the mobile terminal is not provided with the When the physical button corresponding to the function is pressed, the user cannot trigger the function.
发明内容Summary of the invention
本公开实施例提供一种屏幕操作控制方法以及移动终端,以解决相关技术中,在应用的功能不能由虚拟按键和手势触发,且移动终端上也未设置与该应用的功能对应的实体按键的情况下,用户无法对该功能进行触发的问题。The embodiment of the present disclosure provides a screen operation control method and a mobile terminal, so as to solve the related art, the function of the application cannot be triggered by a virtual button and a gesture, and the physical button corresponding to the function of the application is not set on the mobile terminal. In this case, the user cannot trigger the function.
为了解决上述技术问题,本公开是这样实现的:In order to solve the above technical problems, the present disclosure is implemented as follows:
第一方面,本公开实施例提供了一种屏幕操作控制方法,该方法包括:In a first aspect, an embodiment of the present disclosure provides a screen operation control method, where the method includes:
接收用户在屏幕的第一区域的第一输入;Receiving a first input of a user in a first area of the screen;
响应于所述第一输入,执行撤销操作和恢复操作中的至少一个。In response to the first input, at least one of an undo operation and a resume operation is performed.
第二方面,本公开实施例提供了一种移动终端,该移动终端包括:In a second aspect, an embodiment of the present disclosure provides a mobile terminal, where the mobile terminal includes:
第一接收模块,用于接收用户在屏幕的第一区域的第一输入;a first receiving module, configured to receive a first input of a user in a first area of the screen;
第一执行模块,用于响应于所述第一输入,执行撤销操作和恢复操作中的至少一个。The first execution module is configured to perform at least one of a revocation operation and a recovery operation in response to the first input.
第三方面,本公开实施例提供了一种终端设备,该终端设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present disclosure provides a terminal device, including a processor, a memory, and a program stored on the memory and executable on the processor, where the program is used by the processor The steps of the method as described in the first aspect are implemented when executed.
第四方面,本公开实施例提供了一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有程序,所述程序被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present disclosure provides a computer readable storage medium, wherein the computer readable storage medium stores a program, and when the program is executed by a processor, the method of the first aspect is implemented. step.
在本公开实施例中,可以根据用户在移动终端的屏幕的第一区域的输入来触发移动终端执行撤销操作和恢复操作,由于可以通过在移动终端屏幕的输入来实现对撤销功能和恢复功能的触发,因此,可以有效解决在不能由虚拟按键和手势触发撤销功能和恢复功能,且移动终端上也未设置与撤销功能和恢复功能对应的实体按键的情况下,用户无法对撤销功能和恢复功能进行触发的问题。In the embodiment of the present disclosure, the mobile terminal may be triggered to perform the undo operation and the recovery operation according to the input of the user in the first area of the screen of the mobile terminal, since the undo function and the resume function may be implemented through input on the screen of the mobile terminal. Triggering, therefore, can effectively solve the problem that the undo function and the recovery function cannot be triggered by the virtual button and the gesture, and the physical button corresponding to the undo function and the resume function is not set on the mobile terminal, the user cannot perform the undo function and the resume function. The problem of triggering.
附图说明DRAWINGS
图1为本公开一实施例提供的移动终端的操作方法的流程示意图;FIG. 1 is a schematic flowchart of a method for operating a mobile terminal according to an embodiment of the present disclosure;
图2为本公开实施例提供的移动终端的操作方法的应用场景示意图之一;FIG. 2 is a schematic diagram of an application scenario of a method for operating a mobile terminal according to an embodiment of the present disclosure;
图3为本公开实施例提供的移动终端的操作方法的应用场景示意图之二;FIG. 3 is a second schematic diagram of an application scenario of a method for operating a mobile terminal according to an embodiment of the present disclosure;
图4为本公开实施例提供的移动终端的操作方法的应用场景示意图之三;FIG. 4 is a third schematic diagram of an application scenario of a method for operating a mobile terminal according to an embodiment of the present disclosure;
图5为本公开实施例提供的移动终端的操作方法的应用场景示意图之四;FIG. 5 is a fourth schematic diagram of an application scenario of a method for operating a mobile terminal according to an embodiment of the present disclosure;
图6为本公开实施例提供的移动终端的操作方法的应用场景示意图之五;FIG. 6 is a fifth schematic diagram of an application scenario of a method for operating a mobile terminal according to an embodiment of the present disclosure;
图7为本公开实施例提供的移动终端的操作方法的应用场景示意图之六;FIG. 7 is a sixth schematic diagram of an application scenario of a method for operating a mobile terminal according to an embodiment of the present disclosure;
图8为本公开实施例提供的移动终端的操作方法的应用场景示意图之七;FIG. 8 is a seventh schematic diagram of an application scenario of a method for operating a mobile terminal according to an embodiment of the present disclosure;
图9为本公开一实施例提供的移动终端的模块组成示意图之一;FIG. 9 is a schematic diagram of a module structure of a mobile terminal according to an embodiment of the present disclosure;
图10为本公开一实施例提供的移动终端的模块组成示意图之二;FIG. 10 is a second schematic diagram of a module structure of a mobile terminal according to an embodiment of the present disclosure;
图11为本公开一实施例提供的移动终端的模块组成示意图之三;FIG. 11 is a third schematic diagram of a module structure of a mobile terminal according to an embodiment of the present disclosure;
图12为本公开一实施例提供的移动终端的模块组成示意图之四;FIG. 12 is a fourth schematic diagram of a module structure of a mobile terminal according to an embodiment of the present disclosure;
图13为实现本公开各个实施例的一种移动终端的硬件结构示意图。FIG. 13 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present disclosure.
具体实施方式detailed description
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present disclosure. It is obvious that the described embodiments are a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without departing from the inventive scope are the scope of the disclosure.
为解决相关技术中,在应用的功能不能由虚拟按键和手势触发,且移动终端上也未设置与该应用的功能对应的实体按键的情况下,用户无法对该功能进行触发的问题,本公开实施例提供了一种屏幕操作控制方法、一种移动终端和一种计算机可读存储介质,其中,屏幕操作控制方法应用于移动终端侧,能够由移动终端执行,本公开实施例中涉及的移动终端包括但不限于手机、电脑、平板电脑、可穿戴设备等具有文件存储功能的终端设备。In order to solve the problem in the related art, when the function of the application cannot be triggered by a virtual button and a gesture, and the physical button corresponding to the function of the application is not set on the mobile terminal, the user cannot trigger the function, and the present disclosure Embodiments provide a screen operation control method, a mobile terminal, and a computer readable storage medium, wherein a screen operation control method is applied to a mobile terminal side, which can be executed by a mobile terminal, and the mobile matter involved in the embodiment of the present disclosure The terminal includes, but is not limited to, a terminal device having a file storage function, such as a mobile phone, a computer, a tablet, and a wearable device.
请参见图1,图1为本公开一实施例提供的屏幕操作控制方法的流程示意图,如图1所示,该方法包括以下步骤:Referring to FIG. 1 , FIG. 1 is a schematic flowchart of a screen operation control method according to an embodiment of the present disclosure. As shown in FIG. 1 , the method includes the following steps:
步骤102:接收用户在屏幕的第一区域的第一输入。Step 102: Receive a first input of a user in a first area of the screen.
步骤104:响应于第一输入,执行撤销操作和恢复操作中的至少一个。Step 104: Perform at least one of a revocation operation and a recovery operation in response to the first input.
在本公开实施例中,用户可以在移动终端的屏幕上进行输入,此时,移动终端可以接收用户在屏幕上的输入。In an embodiment of the present disclosure, the user can make an input on the screen of the mobile terminal, at which time the mobile terminal can receive the user's input on the screen.
在一个实施例中,移动终端的屏幕可以为移动终端上可供触摸的、供用户以及移动终端进行交互的显示屏。In one embodiment, the screen of the mobile terminal may be a display screen that is touchable on the mobile terminal for the user and the mobile terminal to interact with.
在本公开实施例中,在接收到用户在屏幕的输入后,移动终端可以先确定屏幕的第一区域,然后,确定接收到的输入是否为在屏幕的第一区域的第一输入。In an embodiment of the present disclosure, after receiving the user's input on the screen, the mobile terminal may first determine the first area of the screen, and then determine whether the received input is the first input in the first area of the screen.
其中,第一区域可以为移动终端在屏幕上预先设置的区域,在一个示例中,第一区域可以为移动终端的屏幕的部分区域或全部区域,例如,当用户使用单手来操作屏幕较大的移动终端时,第一区域可以为移动终端的屏幕上可以被用户单手操作到的那部分区域(如图2所示的区域11);而当用户使用双手来操作屏幕较小的移动终端时,第一区域可以为移动终端的屏幕的全 部区域。The first area may be an area preset by the mobile terminal on the screen. In one example, the first area may be a partial area or a whole area of the screen of the mobile terminal, for example, when the user uses a single hand to operate the screen. When the mobile terminal is used, the first area may be a part of the screen of the mobile terminal that can be operated by the user with one hand (such as the area 11 shown in FIG. 2); and when the user uses both hands to operate the mobile terminal with a smaller screen The first area may be the entire area of the screen of the mobile terminal.
在确定了第一区域后,移动终端可以确定接收到的输入是否为在第一区域的第一输入。After determining the first region, the mobile terminal can determine whether the received input is the first input in the first region.
在一个实施例中,当移动终端接收到的输入不同时,确定该输入是否为在第一区域的第一输入的过程可以不同。其中,移动终端接收到的输入可以至少包括滑动输入、按压输入和点击输入。In one embodiment, the process of determining whether the input is the first input in the first region may be different when the input received by the mobile terminal is different. The input received by the mobile terminal may include at least a sliding input, a pressing input, and a click input.
在一个示例中,移动终端接收到的输入可以为滑动输入,则当该输入在移动终端的屏幕上产生的滑动轨迹均位于第一区域内时,可以确定该输入为在第一区域的第一输入。In an example, the input received by the mobile terminal may be a sliding input, and when the sliding trajectory generated by the input on the screen of the mobile terminal is located in the first area, the input may be determined to be the first in the first area. Input.
在另一个示例中,移动终端接收到的输入可以为按压输入,则当该输入在移动终端的屏幕上的按压位置位于第一区域内时,可以确定该输入为在第一区域的第一输入。In another example, the input received by the mobile terminal may be a press input, and when the pressed position of the input on the screen of the mobile terminal is located in the first area, the input may be determined to be the first input in the first area. .
在再一个示例中,移动终端接收到的输入可以为点击输入,则当该输入在移动终端的屏幕上的点击位置均位于第一区域内时,可以确定该输入为在第一区域的第一输入。In still another example, the input received by the mobile terminal may be a click input, and when the input location of the input on the screen of the mobile terminal is located in the first area, the input may be determined to be the first in the first area. Input.
在本公开实施例中,当确定接收到的输入为在屏幕的第一区域的第一输入时,移动终端可以响应于第一输入,执行撤销和恢复操作中的至少一个。In an embodiment of the present disclosure, when it is determined that the received input is the first input in the first area of the screen, the mobile terminal may perform at least one of the undo and resume operations in response to the first input.
其中,在执行撤销操作时,移动终端可以根据存储的历史操作记录,按从后往前的顺序进行撤销,而在执行恢复操作时,移动终端可以根据存储的历史撤销操作记录,按从后往前的顺序对撤销操作进行恢复。Wherein, when performing the undo operation, the mobile terminal may perform the revocation according to the stored historical operation record in the order from the back to the front, and when performing the recovery operation, the mobile terminal may cancel the operation record according to the stored history, and press the back to the The previous order restores the undo operation.
在一个示例中,移动终端存储的历史操作记录包括打开操作1、打开操作2以及关闭操作3,其中,打开操作1可以打开某个应用,如应用A,的页面1,打开操作2可以根据页面1上的一个链接打开页面2,关闭操作3可以关闭应用A的页面2,移动终端可以接收到用户在第一区域的第一输入,并响应于该第一输入,执行撤销操作4,此时,移动终端可以对关闭操作3进行撤销,并在执行撤销操作4后,对页面2进行显示;在执行撤销操作4后,移动终端可以再次接收到用户在第一区域的第一输入,并响应于该第一输入,执行恢复操作5,此时,移动终端可以对上述撤销操作4进行恢复,并在执行恢复操作5后,对页面1进行显示。In one example, the history operation record stored by the mobile terminal includes an open operation 1, an open operation 2, and a close operation 3, wherein the open operation 1 can open an application, such as application A, page 1, and the open operation 2 can be based on the page. A link on 1 opens page 2, and close operation 3 can close page 2 of application A, the mobile terminal can receive the first input of the user in the first area, and in response to the first input, perform the undo operation 4, at this time The mobile terminal may cancel the close operation 3, and after performing the undo operation 4, display the page 2; after performing the undo operation 4, the mobile terminal may receive the first input of the user in the first area again, and respond At the first input, the recovery operation 5 is performed. At this time, the mobile terminal can resume the above-mentioned undo operation 4, and after performing the recovery operation 5, the page 1 is displayed.
在一个实施例中,移动终端在执行恢复操作时,也可以根据存储的历史关闭操作记录,按从后往前的顺序对关闭操作进行恢复。In an embodiment, when performing the recovery operation, the mobile terminal may also close the operation record according to the stored history, and restore the shutdown operation in the order from the back to the front.
在上述示例中,若在执行关闭操作3后,接收到用户在第一区域的第一输入,则移动终端可以执行恢复操作6,此时,移动终端可以对关闭操作3进行恢复,并在执行恢复操作6后,对页面2进行显示。In the above example, if the first input of the user in the first area is received after the closing operation 3 is performed, the mobile terminal can perform the recovery operation 6. At this time, the mobile terminal can resume the closing operation 3 and execute After operation 6 is resumed, page 2 is displayed.
在本公开实施例中,移动终端可以接收用户在屏幕的第一区域的第一输入,并响应于第一输入执行撤销操作和恢复操作中的至少一个,由于可以根据用户在屏幕的第一区域的输入来触发移动终端执行撤销操作和恢复操作,从而可以通过在移动终端的屏幕的输入来实现对撤销功能和恢复功能的触发,有效解决在不能由虚拟按键和手势触发撤销功能和恢复功能,且移动终端上也未设置与撤销功能和恢复功能对应的实体按键的情况下,用户无法对撤销功能和恢复功能进行触发的问题。In an embodiment of the present disclosure, the mobile terminal may receive a first input of the user in the first area of the screen, and perform at least one of a revocation operation and a recovery operation in response to the first input, as the user may be in the first area of the screen according to the user The input triggers the mobile terminal to perform the undo operation and the recovery operation, so that the triggering of the undo function and the resume function can be realized by inputting on the screen of the mobile terminal, effectively solving the undo function and the recovery function that cannot be triggered by the virtual button and gesture. In the case where the physical button corresponding to the undo function and the resume function is not set on the mobile terminal, the user cannot trigger the undo function and the resume function.
在本公开的一个实施例中,在上述步骤104中,响应于第一输入,执行撤销操作和恢复操作中的至少一个,可以具体为:在第一输入为滑动输入的情况下,获取第一输入在第一区域的滑动距离,在滑动距离大于预设距离的情况下,执行N次第一控制操作,其中,第一控制操作为撤销操作或恢复操作,N次与滑动距离相关联,N为正整数。In an embodiment of the present disclosure, in the above step 104, at least one of the undoing operation and the restoring operation is performed in response to the first input, which may be specifically: acquiring the first in the case that the first input is a sliding input Entering a sliding distance in the first area, where the sliding distance is greater than the preset distance, performing N times of the first control operation, wherein the first control operation is an undo operation or a recovery operation, and N times is associated with the sliding distance, N Is a positive integer.
在本公开实施例中,移动终端接收到的在第一区域的第一输入可以为滑动输入,移动终端可以获取第一输入在第一区域的滑动距离,并将获取的滑动距离与预设距离进行比较,得到比较结果,其中,预设距离可以为相关人员预先设定的距离,也可以为移动终端默认的距离,本公开实施例对此不作限制。In the embodiment of the present disclosure, the first input received by the mobile terminal in the first area may be a sliding input, and the mobile terminal may acquire the sliding distance of the first input in the first area, and obtain the sliding distance and the preset distance. For comparison, a comparison result is obtained, wherein the preset distance may be a preset distance of the related person, or may be a default distance of the mobile terminal, which is not limited by the embodiment of the present disclosure.
当比较结果为获取的滑动距离不大于预设距离时,移动终端可以响应于该第一输入,执行一次第一控制操作;当比较结果为获取的滑动距离大于预设距离时,移动终端可以响应于该第一输入,执行N次第一控制操作,其中,第一控制操作可以为撤销操作或恢复操作,N次可以与获取的滑动距离相关联,在本公开实施例中,N可以为正整数。When the comparison result is that the obtained sliding distance is not greater than the preset distance, the mobile terminal may perform a first control operation in response to the first input; when the comparison result is that the obtained sliding distance is greater than the preset distance, the mobile terminal may respond At the first input, the first control operation is performed N times, wherein the first control operation may be an undo operation or a recovery operation, and N times may be associated with the acquired sliding distance. In the embodiment of the present disclosure, N may be positive. Integer.
在一个示例中,若获取的滑动距离大于预设距离,则当获取的滑动距离 越大时,N可以越大;当获取的滑动距离越小时,N可以越小。In one example, if the obtained sliding distance is greater than the preset distance, N may be larger when the obtained sliding distance is larger; and N may be smaller when the obtained sliding distance is smaller.
在一个示例中,当移动终端执行N次第一控制操作时,可以以第一执行速度来连续执行N次第一控制操作,其中,第一执行速度的大小可以与上述获取的滑动距离的大小相关联,具体地,当上述获取的滑动距离越大时,第一执行速度可以越大,此时,移动终端可以越快地连续执行N次第一控制操作;当上述获取的滑动距离越小时,第一执行速度可以越小,此时,移动终端可以越慢地连续执行N次第一控制操作。In one example, when the mobile terminal performs N times of the first control operation, the first control operation may be continuously performed N times at the first execution speed, wherein the magnitude of the first execution speed may be the same as the obtained sliding distance In association, in particular, when the sliding distance acquired above is larger, the first execution speed may be larger. At this time, the mobile terminal may continuously perform N times of the first control operation more quickly; when the above-mentioned obtained sliding distance is smaller The first execution speed can be smaller. At this time, the mobile terminal can perform N times of the first control operation continuously.
在本公开实施例中,移动终端可以接收到用户在屏幕的第一区域的第一输入,当接收到的第一输入为滑动输入时,移动终端可以获取该第一输入在第一区域的滑动距离,并根据滑动距离与预设距离的大小关系,来执行N次第一控制操作。In the embodiment of the present disclosure, the mobile terminal may receive the first input of the user in the first area of the screen, and when the received first input is the sliding input, the mobile terminal may acquire the sliding of the first input in the first area. The distance and the first control operation are performed N times according to the relationship between the sliding distance and the preset distance.
由本公开实施例的内容可知,移动终端可以根据用户在第一区域的第一输入的滑动距离来确定对第一控制操作的执行次数,从而使得用户可以通过控制第一输入的滑动距离来控制移动终端对第一控制操作的执行次数,更好地满足用户在不同场景下对撤销次数和恢复次数的需求,提升用户体验。It can be known from the content of the embodiment of the present disclosure that the mobile terminal can determine the number of executions of the first control operation according to the sliding distance of the first input of the user in the first area, so that the user can control the movement by controlling the sliding distance of the first input. The number of executions of the first control operation by the terminal better satisfies the requirements of the number of times of revocation and the number of restorations in different scenarios, and improves the user experience.
在本公开的一个实施例中,在上述步骤104中,响应于第一输入,执行撤销操作和恢复操作中的至少一个,可以具体为:在第一输入为按压输入的情况下,获取第一输入在第一区域的按压时长,在按压时长大于预设时长的情况下,执行M次第二控制操作,其中,第二控制操作为撤销操作或恢复操作,M次与按压时长相关联,M为正整数。In an embodiment of the present disclosure, in the above step 104, at least one of the undo operation and the recovery operation is performed in response to the first input, which may be specifically: acquiring the first in the case that the first input is a press input Entering the pressing duration of the first area, and performing the second control operation M times if the pressing duration is greater than the preset duration, wherein the second control operation is an undo operation or a recovery operation, and M times is associated with the pressing duration, M Is a positive integer.
在本公开实施例中,移动终端接收到的在第一区域的第一输入可以为按压输入,移动终端可以获取第一输入在第一区域的按压时长,并将获取的按压时长与预设时长进行比较,得到比较结果,其中,预设时长可以为相关人员预先设定的时长,也可以为移动终端默认的时长,本公开实施例对此不作限制。In the embodiment of the present disclosure, the first input in the first area received by the mobile terminal may be a pressing input, and the mobile terminal may acquire the pressing duration of the first input in the first area, and the obtained pressing duration and the preset duration The comparison is performed to obtain a comparison result, wherein the preset duration may be a preset duration of the related person, or may be a default duration of the mobile terminal, which is not limited by the embodiment of the present disclosure.
当比较结果为获取的按压时长不大于预设时长时,移动终端可以响应于该第一输入,执行一次第二控制操作;当比较结果为获取的按压时长大于预设时长时,移动终端可以响应于该第一输入,执行M次第二控制操作,其中, 第二控制操作可以为撤销操作或恢复操作,第二控制操作可以与第一控制操作相同,也可以与第一控制操作不相同;M次可以与获取的按压时长相关联,在本公开实施例中,M可以为正整数。When the comparison result is that the obtained pressing duration is not greater than the preset duration, the mobile terminal may perform a second control operation in response to the first input; when the comparison result is that the acquired pressing duration is greater than the preset duration, the mobile terminal may respond At the first input, the second control operation is performed M times, wherein the second control operation may be an undo operation or a recovery operation, and the second control operation may be the same as the first control operation or may be different from the first control operation; M times may be associated with the acquired press duration, and in the embodiment of the present disclosure, M may be a positive integer.
在一个示例中,若获取的按压时长大于预设时长,则当获取的按压时长越大时,M可以越大;当获取的按压时长越小时,M可以越小。In one example, if the acquired pressing duration is greater than the preset duration, M may be larger when the acquired pressing duration is larger; and M may be smaller when the acquired pressing duration is smaller.
在一个示例中,当移动终端执行M次第二控制操作时,可以以第二执行速度来连续执行M次第二控制操作,其中,第二执行速度的大小可以与上述获取的按压时长的大小相关联,具体地,当上述获取的按压时长越大时,第二执行速度可以越大,此时,移动终端可以越快地连续执行M次第二控制操作;当上述获取的按压时长越小时,第二执行速度可以越小,此时,移动终端可以越慢地连续执行M次第二控制操作。In one example, when the mobile terminal performs M times of the second control operation, the second control operation may be continuously performed M times at the second execution speed, wherein the size of the second execution speed may be the size of the pressed duration obtained as described above. In association, in particular, when the above-mentioned acquired pressing duration is larger, the second execution speed may be larger. At this time, the mobile terminal may continuously perform M second control operations more quickly; when the obtained pressing duration is smaller The second execution speed can be smaller. At this time, the mobile terminal can perform the second control operation M times continuously.
在本公开实施例中,移动终端可以接收到用户在屏幕的第一区域的第一输入,当接收到的第一输入为按压输入时,移动终端可以获取该第一输入在第一区域的按压时长,并根据按压时长与预设时长的大小关系,来执行M次第二控制操作。In an embodiment of the present disclosure, the mobile terminal may receive a first input of the user in the first area of the screen, and when the received first input is a press input, the mobile terminal may acquire the pressing of the first input in the first area. The duration is determined, and the second control operation is performed M times according to the relationship between the pressing duration and the preset duration.
由本公开实施例的内容可知,移动终端可以根据用户在第一区域的第一输入的按压时长来确定对第二控制操作的执行次数,从而使得用户可以通过控制第一输入的按压时长来控制移动终端对第二控制操作的执行次数,更好地满足用户在不同场景下对撤销次数和恢复次数的需求,提升用户体验。It can be known from the content of the embodiment of the present disclosure that the mobile terminal can determine the number of executions of the second control operation according to the pressing duration of the first input of the user in the first area, so that the user can control the movement by controlling the pressing duration of the first input. The number of executions of the second control operation by the terminal better satisfies the requirements of the number of times of revocation and the number of restorations in different scenarios, and improves the user experience.
在本公开的一个实施例中,在上述步骤104中,响应于第一输入,执行撤销操作和恢复操作中的至少一个,可以具体为:在第一输入为按压输入的情况下,获取第一输入在第一区域的第一按压力度值,在第一按压力度值大于预设力度值的情况下,执行L次第三控制操作,其中,第三控制操作为撤销操作或恢复操作,L次与第一按压力度值相关联,L为正整数。In an embodiment of the present disclosure, in the above step 104, at least one of the undo operation and the recovery operation is performed in response to the first input, which may be specifically: acquiring the first in the case that the first input is a press input Entering a first pressing force value in the first area, and performing a third third control operation in the case that the first pressing force value is greater than the preset strength value, wherein the third control operation is an undo operation or a recovery operation, L times Associated with the first press velocity value, L is a positive integer.
在本公开实施例中,移动终端接收到的在第一区域的第一输入可以为按压输入,移动终端可以获取第一输入在第一区域的第一按压力度值,并将获取的第一按压力度值与预设力度值进行比较,得到比较结果,其中,预设力度值可以为相关人员预先设定的力度值,也可以为移动终端默认的力度值, 本公开实施例对此不作限制。In the embodiment of the present disclosure, the first input in the first area received by the mobile terminal may be a press input, and the mobile terminal may acquire the first pressing force value of the first input in the first area, and the first pressed pressure is obtained. The velocity value is compared with the preset velocity value, and the comparison result is obtained. The preset velocity value may be a preset velocity value of the related person, or may be a default velocity value of the mobile terminal, which is not limited by the embodiment of the disclosure.
当比较结果为获取的第一按压力度值不大于预设力度值时,移动终端可以响应于该第一输入,执行一次第三控制操作;当比较结果为获取的第一按压力度值大于预设力度值时,移动终端可以响应于该第一输入,执行L次第三控制操作,其中,第三控制操作可以为撤销操作或恢复操作,第三控制操作可以与第一控制操作或第二控制操作相同,也可以与第一控制操作或第二控制操作不相同,本示例对此不做限制;L次可以与获取的第一按压力度值相关联,在本公开实施例中,L可以为正整数。When the comparison result is that the obtained first pressing force value is not greater than the preset strength value, the mobile terminal may perform a third control operation in response to the first input; when the comparison result is that the obtained first pressing force value is greater than the preset At the velocity value, the mobile terminal may perform L times of the third control operation in response to the first input, wherein the third control operation may be an undo operation or a resume operation, and the third control operation may be performed with the first control operation or the second control The operation is the same, and may be different from the first control operation or the second control operation. This example does not limit this; the L times may be associated with the acquired first pressing force value. In the embodiment of the present disclosure, L may be A positive integer.
在一个示例中,若获取的第一按压力度值大于预设力度值,则当获取的第一按压力度值越大时,L可以越大;当获取的第一按压力度值越小时,L可以越小。In an example, if the obtained first pressing force value is greater than the preset strength value, L may be larger when the obtained first pressing force value is larger; and L may be when the obtained first pressing force value is smaller The smaller.
在一个示例中,当移动终端执行L次第三控制操作时,可以以第三执行速度来连续执行L次第三控制操作,其中,第三执行速度的大小可以与上述获取的第一按压力度值的大小相关联,具体地,当上述获取的第一按压力度值越大时,第三执行速度可以越大,此时,移动终端可以越快地连续执行L次第三控制操作;当上述获取的第一按压力度值越小时,第三执行速度可以越小,此时,移动终端可以越慢地连续执行L次第三控制操作。In one example, when the mobile terminal performs the Lth third control operation, the third control operation may be continuously performed at the third execution speed, wherein the magnitude of the third execution speed may be the first pressed force acquired as described above. The size of the value is associated. Specifically, when the first pressed velocity value obtained above is larger, the third execution speed may be larger. At this time, the mobile terminal may continuously perform the L third control operation continuously; The smaller the obtained first pressing force value is, the smaller the third execution speed can be. At this time, the mobile terminal can continuously perform the L third control operation continuously.
在本公开实施例中,移动终端可以接收到用户在屏幕的第一区域的第一输入,当接收到的第一输入为按压输入时,移动终端可以获取该第一输入在第一区域的第一按压力度值,并根据第一按压力度值与预设力度值的大小关系,来执行L次第三控制操作。In an embodiment of the present disclosure, the mobile terminal may receive a first input of the user in the first area of the screen, and when the received first input is a press input, the mobile terminal may acquire the first input in the first area. The pressing force value is pressed, and the third control operation is performed L times according to the magnitude relationship between the first pressing force value and the preset velocity value.
由本公开实施例的内容可知,移动终端可以根据用户在第一区域的第一输入的第一按压力度值来确定对第三控制操作的执行次数,从而使得用户可以通过控制第一输入的第一按压力度值来控制移动终端对第三控制操作的执行次数,更好地满足用户在不同场景下对撤销次数和恢复次数的需求,提升用户体验。It can be seen from the content of the embodiment of the present disclosure that the mobile terminal can determine the number of executions of the third control operation according to the first pressing strength value of the first input of the user in the first area, so that the user can control the first input by the first The velocity value is pressed to control the number of executions of the third control operation by the mobile terminal, so as to better meet the requirements of the number of times of cancellation and the number of restorations in different scenarios, and improve the user experience.
在本公开的一个实施例中,在上述步骤104中,响应于第一输入,执行撤销操作和恢复操作中的至少一个,可以具体为:在第一输入为点击输入的 情况下,获取第一输入在第一区域的点击次数,在点击次数大于预设次数的情况下,执行H次第四控制操作,其中,第四控制操作为撤销操作或恢复操作,H次与点击次数相关联,H为正整数。In an embodiment of the present disclosure, in the above step 104, at least one of the undoing operation and the restoring operation is performed in response to the first input, which may be specifically: acquiring the first in the case that the first input is a click input Entering the number of clicks in the first area, in the case that the number of clicks is greater than the preset number of times, performing the fourth control operation H times, wherein the fourth control operation is an undo operation or a recovery operation, and H times is associated with the number of clicks, H Is a positive integer.
在本公开实施例中,移动终端接收到的在第一区域的第一输入可以为点击输入,移动终端可以获取第一输入在第一区域的点击次数,并将获取的点击次数与预设次数进行比较,并得到比较结果,其中,预设次数可以为相关人员预先设定的次数,也可以为移动终端默认的次数,本公开实施例对此不作限制。In the embodiment of the present disclosure, the first input received by the mobile terminal in the first area may be a click input, and the mobile terminal may obtain the number of clicks of the first input in the first area, and the obtained clicks and the preset number of times The comparison is performed, and the comparison result is obtained, wherein the preset number of times may be a preset number of times of the related person, or may be a default number of times of the mobile terminal, which is not limited by the embodiment of the present disclosure.
当比较结果为获取的点击次数不大于预设次数时,移动终端可以响应于该第一输入,执行一次第四控制操作;当比较结果为获取的预设次数大于预设次数时,移动终端可以响应于该第一输入,执行H次第四控制操作,其中,第四控制操作可以为撤销操作或恢复操作,第四控制操作可以与第一控制操作、第二控制操作或第三控制操作相同,也可以与第一控制操作、第二控制操作或第三控制操作不相同,本示例对此不做限制;H次可以与获取的预设次数相关联,在本公开实施例中,H可以为正整数。When the comparison result is that the number of clicks obtained is not greater than the preset number of times, the mobile terminal may perform a fourth control operation in response to the first input; when the comparison result is that the preset number of times acquired is greater than the preset number of times, the mobile terminal may In response to the first input, the fourth control operation is performed H times, wherein the fourth control operation may be an undo operation or a resume operation, and the fourth control operation may be the same as the first control operation, the second control operation, or the third control operation The first control operation, the second control operation, or the third control operation may be different. The present example does not limit this; the H times may be associated with the acquired preset number of times. In the embodiment of the present disclosure, the H may be Is a positive integer.
在一个示例中,若获取的点击次数大于预设次数,则当获取的点击次数的值越大时,H可以越大;当获取的点击次数的值越小时,H可以越小。In one example, if the number of clicks obtained is greater than the preset number of times, H may be larger when the value of the number of clicks obtained is larger; and H may be smaller when the value of the number of clicks obtained is smaller.
在一个示例中,当移动终端执行H次第四控制操作时,可以以第四执行速度来连续执行H次第四控制操作,其中,第四执行速度的大小可以与上述获取的点击次数的值的大小相关联,具体地,当上述获取的点击次数的值越大时,第四执行速度可以越大,此时,移动终端可以越快地连续执行H次第四控制操作;当上述获取的点击次数的值越小时,第四执行速度可以越小,此时,移动终端可以越慢地连续执行H次第四控制操作。In one example, when the mobile terminal performs the Hth fourth control operation, the fourth control operation may be continuously performed H at the fourth execution speed, wherein the magnitude of the fourth execution speed may be the value of the click number obtained as described above. The size of the connection is related. Specifically, when the value of the number of clicks obtained above is larger, the fourth execution speed may be larger. At this time, the mobile terminal may continuously perform H times of the fourth control operation; The smaller the value of the number of clicks, the smaller the fourth execution speed, and at this time, the mobile terminal can continuously perform H times of the fourth control operation more slowly.
在本公开实施例中,移动终端可以接收到用户在屏幕的第一区域的第一输入,当接收到的第一输入为点击输入时,移动终端可以获取该第一输入在第一区域的点击次数,并根据点击次数与预设次数的大小关系,来执行H次第四控制操作。In the embodiment of the present disclosure, the mobile terminal may receive the first input of the user in the first area of the screen, and when the received first input is the click input, the mobile terminal may obtain the click of the first input in the first area. The number of times, and the fourth control operation is performed H times according to the relationship between the number of clicks and the preset number of times.
由本公开实施例的内容可知,移动终端可以根据用户在第一区域的第一输入的点击次数来确定对第四控制操作的执行次数,从而使得用户可以通过 控制第一输入的点击次数来控制移动终端对第四控制操作的执行次数,更好地满足用户在不同场景下对撤销次数和恢复次数的需求,提升用户体验。It can be seen from the content of the embodiment of the present disclosure that the mobile terminal can determine the number of executions of the fourth control operation according to the number of clicks of the first input of the user in the first area, so that the user can control the movement by controlling the number of clicks of the first input. The number of executions of the fourth control operation by the terminal better satisfies the requirements of the number of times of revocation and the number of restorations in different scenarios, and improves the user experience.
在本公开一个实施例中,在上述步骤104中,响应于第一输入,执行撤销操作和恢复操作中的至少一个,可以具体为:响应于第一输入,执行撤销操作,然后,移动终端可以接收用户在屏幕的第二区域的第二输入,响应于第二输入,移动终端可以执行恢复操作。In an embodiment of the present disclosure, in the above step 104, at least one of the undo operation and the recovery operation is performed in response to the first input, which may be specifically: performing a revocation operation in response to the first input, and then the mobile terminal may Receiving a second input of the user in the second area of the screen, the mobile terminal may perform a recovery operation in response to the second input.
在本公开实施例中,移动终端可以响应于第一输入,执行撤销操作,然后,移动终端可以接收用户在屏幕上的输入,并确定该输入是否为在屏幕的第二区域的第二输入。In an embodiment of the present disclosure, the mobile terminal may perform a revocation operation in response to the first input, and then the mobile terminal may receive an input of the user on the screen and determine whether the input is a second input in the second region of the screen.
其中,第二区域可以为移动终端在屏幕上预先设置的区域,在一个示例中,第二区域可以为移动终端的屏幕除去第一区域后的部分区域或全部区域,例如,当用户使用单手来操作屏幕较大的移动终端时,第二区域可以为移动终端的屏幕上可以被用户单手操作到的那部分区域中除去第一区域后的部分区域(如图3所示的区域12)或全部区域;而当用户使用双手来操作屏幕较小的移动终端时,第二区域可以为移动终端的屏幕的全部区域中除去第一区域后的部分区域。The second area may be an area preset by the mobile terminal on the screen. In one example, the second area may be a partial area or a whole area after the first area is removed from the screen of the mobile terminal, for example, when the user uses one-handed When the mobile terminal with a large screen is operated, the second area may be a partial area after the first area is removed from the part of the screen of the mobile terminal that can be operated by the user with one hand (such as the area 12 shown in FIG. 3). Or all areas; and when the user uses both hands to operate the mobile terminal with a small screen, the second area may be a partial area after the first area is removed from the entire area of the screen of the mobile terminal.
在确定了第二区域后,移动终端可以确定接收到的输入是否为在第二区域的第二输入。After determining the second region, the mobile terminal can determine whether the received input is a second input in the second region.
由于确定接收到的输入是否为在第二区域的第二输入的过程,与上述实施例中确定接收到的输入是否为在第一区域的第一输入的过程类似,因此,本公开实施例在此不再赘述。Since the process of determining whether the received input is the second input in the second region is similar to the process of determining whether the received input is the first input in the first region in the above embodiment, the embodiment of the present disclosure is This will not be repeated here.
在确定接收到的输入为用户在第二区域的第二输入后,移动终端可以响应第二输入执行恢复操作。其中,在执行该恢复操作时,移动终端可以对响应于第一输入执行的撤销操作进行恢复。After determining that the received input is the user's second input in the second region, the mobile terminal can perform a recovery operation in response to the second input. Wherein, when performing the recovery operation, the mobile terminal may resume the undo operation performed in response to the first input.
在本公开实施例中,当获取到用户在不同区域的输入后,移动终端可以响应于获取的输入,执行不同的操作。例如,当获取到用户在第一区域的第一输入时,移动终端可以响应于获取的第一输入,执行撤销操作;而当获取到用户在第二区域的第二输入时,移动终端可以响应于获取的第二输入,执 行与撤销操作不同的恢复操作。In the embodiment of the present disclosure, after the user's input in different areas is acquired, the mobile terminal may perform different operations in response to the acquired input. For example, when the first input of the user in the first area is acquired, the mobile terminal may perform a revocation operation in response to the acquired first input; and when the second input of the user in the second area is acquired, the mobile terminal may respond For the second input obtained, a recovery operation different from the undo operation is performed.
在本公开实施例中,移动终端可以在响应于第一输入执行撤销操作后,获取用户在屏幕的第二区域的第二输入,并响应于第二输入执行恢复操作,从而可以实现对响应于第一输入执行的撤销操作的恢复。In an embodiment of the present disclosure, the mobile terminal may acquire a second input of the user in the second area of the screen after performing the undo operation in response to the first input, and perform a recovery operation in response to the second input, so that the response may be implemented. The recovery of the undo operation performed by the first input.
此外,本公开实施例中,移动终端还可以根据用户在屏幕不同区域中的输入来确定响应于该输入时执行撤销操作还是恢复操作,从而使得用户可以通过在对应区域中进行输入,来确定移动终端响应于该输入执行的操作,满足用户在不同情况下对撤销功能或恢复功能的需求,提升用户体验。In addition, in the embodiment of the present disclosure, the mobile terminal may further determine whether to perform the undo operation or the resume operation in response to the input according to the input of the user in different areas of the screen, so that the user can determine the movement by inputting in the corresponding area. The terminal responds to the operation performed by the input, and satisfies the requirement of the user to cancel the function or the recovery function in different situations, thereby improving the user experience.
在本公开一个实施例中,在上述步骤102之前,还包括:接收用户在屏幕的第三输入,响应于第三输入,移动终端可以将屏幕的显示区域划分为第一区域和第二区域。In an embodiment of the present disclosure, before the step 102, the method further includes: receiving a third input of the user on the screen, and in response to the third input, the mobile terminal may divide the display area of the screen into the first area and the second area.
在本公开实施例中,移动终端可以接收用户在屏幕上的第三输入,然后,可以响应于第三输入,将屏幕的显示区域划分为第一区域和第二区域。In an embodiment of the present disclosure, the mobile terminal may receive a third input of the user on the screen, and then, in response to the third input, divide the display area of the screen into the first area and the second area.
在一个示例中,移动终端可以根据第三输入在屏幕上的输入起始点,以及移动终端屏幕边线上的点,来将屏幕的显示区域划分为第一区域和第二区域。其中,移动终端屏幕边线上的点,可以为移动终端屏幕的两条不同边线的交点。In one example, the mobile terminal may divide the display area of the screen into the first area and the second area according to the input starting point of the third input on the screen and the point on the edge of the screen of the mobile terminal. The point on the edge of the screen of the mobile terminal may be the intersection of two different edges of the screen of the mobile terminal.
请参见图4,移动终端可以根据第三输入在屏幕上的输入起始点13,以及移动终端屏幕右侧边线与下侧边线的交点14,来将屏幕的显示区域划分为第一区域15,和第二区域16。Referring to FIG. 4, the mobile terminal may divide the display area of the screen into the first area 15 according to the input start point 13 of the third input on the screen and the intersection 14 of the right side edge and the lower side line of the mobile terminal screen. And a second area 16.
在另一个示例中,移动终端可以根据第三输入在屏幕上的输入起始点,以及预设方向的区域分割线来将屏幕的显示区域划分为第一区域和第二区域,其中,该区域分割线的预设方向可以为移动终端默认的方向。In another example, the mobile terminal may divide the display area of the screen into the first area and the second area according to the input starting point of the third input on the screen and the area dividing line of the preset direction, where the area is divided The preset direction of the line can be the default direction of the mobile terminal.
请参见图5,移动终端可以根据第三输入在屏幕上的输入起始点17,以及预设方向18,来将屏幕的显示区域划分为第一区域19,和第二区域20。Referring to FIG. 5, the mobile terminal may divide the display area of the screen into the first area 19 and the second area 20 according to the input starting point 17 of the third input on the screen, and the preset direction 18.
在再一个示例中,移动终端可以响应于第三输入,对预设方向的区域分割线的方向进行调整,然后,根据调整方向后的区域分割线以及第三输入在屏幕上的输入起始点来将屏幕的显示区域划分为第一区域和第二区域。In still another example, the mobile terminal may adjust the direction of the area dividing line of the preset direction in response to the third input, and then, according to the area dividing line after the adjustment direction and the input starting point of the third input on the screen. The display area of the screen is divided into a first area and a second area.
在本示例中,第三输入可以滑动输入、按压输入和点击输入中的至少一种,其中,当第三输入为滑动输入时,移动终端可以获取该滑动输入在屏幕上的滑动距离,并根据获取的滑动距离,来对预设方向的区域分割线的方向进行调整;其中,当获取的滑动距离越大时,对预设方向的区域分割线的方向进行调整的调整力度越大,其中,在进行调整时,可以顺时针进行调整,也可以逆时针进行调整,本示例对此不作限制。In this example, the third input may be at least one of a sliding input, a pressing input, and a click input, wherein when the third input is a sliding input, the mobile terminal may acquire a sliding distance of the sliding input on the screen, and according to Adjusting the sliding distance to adjust the direction of the area dividing line in the preset direction; wherein, when the obtained sliding distance is larger, the adjustment of the direction of the area dividing line in the preset direction is greater, wherein When making adjustments, you can adjust them clockwise or counterclockwise. This example does not limit this.
类似地,当第三输入为按压输入时,可以根据第三输入在屏幕上的按压力度或按压时长来对预设方向的区域分割线的方向进行调整;其中,当第三输入在屏幕上的按压力度越大,或按压时长越长时,移动终端对预设方向的区域分割线的方向进行调整的调整力度可以越大。Similarly, when the third input is a press input, the direction of the area dividing line of the preset direction may be adjusted according to the pressing force or the pressing duration of the third input on the screen; wherein, when the third input is on the screen The greater the pressing force, or the longer the pressing duration, the greater the adjustment force of the mobile terminal to adjust the direction of the area dividing line in the preset direction.
当第三输入为点击输入时,可以根据第三输入在屏幕上的点击次数来对预设方向的区域分割线的方向进行调整;其中,当第三输入在屏幕上的点击次数越多时,移动终端对预设方向的区域分割线的方向进行调整的调整力度可以越大。When the third input is a click input, the direction of the area dividing line of the preset direction may be adjusted according to the number of clicks of the third input on the screen; wherein, when the third input has more clicks on the screen, the movement is performed. The adjustment strength of the terminal to adjust the direction of the area dividing line in the preset direction can be larger.
请参见图6,移动终端可以根据第三输入对预设方向的区域分割线的方向21进行调整,并得到调整后的方向22,然后,移动终端可以根据第三输入在屏幕上的输入起始点23以及调整后的方向22来将屏幕的显示区域划分为第一区域24和第二区域25。Referring to FIG. 6, the mobile terminal can adjust the direction 21 of the area dividing line of the preset direction according to the third input, and obtain the adjusted direction 22. Then, the mobile terminal can input the starting point on the screen according to the third input. 23 and the adjusted direction 22 to divide the display area of the screen into the first area 24 and the second area 25.
在本公开实施例中,移动终端可以接收用户在屏幕的第三输入,并响应于第三输入,将屏幕的显示区域划分为第一区域和第二区域。由于可以通过用户的输入来对屏幕的显示区域进行划分,得到多个不同的区域,因此,可以实现在响应于用户在不同区域的输入时,执行不同的操作。In an embodiment of the present disclosure, the mobile terminal may receive a third input of the user on the screen, and divide the display area of the screen into the first area and the second area in response to the third input. Since the display area of the screen can be divided by the user's input to obtain a plurality of different areas, it is possible to perform different operations in response to the user's input in different areas.
在本公开的一个实施例中,第一输入可以包括第一子输入和第二子输入,上述步骤104可以具体为:基于第一子输入,执行撤销操作,以及基于第二子输入,执行恢复操作,其中,在一种情况下,基于第一子输入,执行撤销操作,可以具体为:在第一子输入为第一滑动子输入的情况下,基于第一滑动子输入的第一滑动方向,执行撤销操作;此时,基于第二子输入,执行恢复操作,可以具体为:在第二子输入为第二滑动子输入的情况下,基于第二 滑动子输入的第二滑动方向,执行恢复操作;在另一种情况下,基于第一子输入,执行撤销操作,可以具体为:在第一子输入为第一按压子输入的情况下,基于第一按压子输入的第二按压力度值,执行撤销操作;此时,基于第二子输入,执行恢复操作,可以具体为:在第二子输入为第二按压子输入的情况下,基于第二滑动子输入的第三按压力度值,执行恢复操作。In an embodiment of the present disclosure, the first input may include a first sub-input and a second sub-input, and the step 104 may be specifically: performing an undo operation based on the first sub-input, and performing recovery based on the second sub-input The operation, wherein, in one case, the undoing operation is performed based on the first sub-input, which may be specifically: in the case that the first sub-input is the first sliding sub-input, based on the first sliding direction of the first sliding sub-input Executing the undo operation; at this time, performing the restoring operation based on the second sub input, which may be specifically: when the second sub input is the second sliding sub input, performing the second sliding direction based on the second sliding sub input In another case, the undoing operation is performed based on the first sub-input, which may be specifically: in the case that the first sub-input is the first pressing sub-input, the second pressing force based on the first pressing sub-input The value is executed, and the revocation operation is performed. At this time, the recovery operation is performed based on the second sub-input, which may be specifically: when the second sub-input is the second compression sub-input, the base A recovery operation is performed on the third pressing force value of the second slider input.
在本公开实施例中,第一输入还可以包括第一子输入和第二子输入,其中,移动终端基于第一子输入执行的操作,与基于第二子输入执行的操作不同。In an embodiment of the present disclosure, the first input may further include a first sub-input and a second sub-input, wherein the operation performed by the mobile terminal based on the first sub-input is different from the operation performed based on the second sub-input.
在本公开实施例中,第一输入可以被至少拆分为第一子输入和第二子输入。具体地,当第一输入为滑动输入时,可以根据滑动方向来将第一输入至少拆分为第一滑动子输入和第二滑动子输入,其中,第一滑动子输入的滑动方向,与第二滑动子输入的滑动方向可以不同;当第一输入为按压输入时,可以根据按压力度值来将第一输入至少拆分为第一按压子输入和第二按压子输入,其中,第一按压子输入的按压力度值,与第二按压子输入的按压力度值可以不同。In an embodiment of the present disclosure, the first input may be split into at least a first sub-input and a second sub-input. Specifically, when the first input is a sliding input, the first input may be split into at least a first sliding sub input and a second sliding sub input according to the sliding direction, wherein the sliding direction of the first sliding sub input, and the The sliding direction of the two slider inputs may be different; when the first input is a pressing input, the first input may be split into at least a first pressing sub input and a second pressing sub input according to the pressing force value, wherein the first pressing The pressing force value of the sub input may be different from the pressing force value of the second pressing sub input.
在一个实施例中,当第一输入为滑动输入时,移动终端可以基于第一滑动子输入的第一滑动方向,执行撤销操作,以及,基于第二滑动输入的第二滑动方向,执行恢复操作,其中,第一滑动方向与第二滑动方向不同。In one embodiment, when the first input is a sliding input, the mobile terminal may perform a revocation operation based on the first sliding direction of the first sliding sub input, and perform a recovery operation based on the second sliding direction of the second sliding input. Wherein the first sliding direction is different from the second sliding direction.
例如,请参见图7,第一输入可以为滑动输入,移动终端可以基于第一输入的第一滑动子输入,执行撤销操作,此时,第一滑动子输入的第一滑动方向为方向26,在移动终端执行撤销操作的过程中,第一输入的滑动方向可以发生变化,变为与方向26相反的方向27,如图8所示,此时,移动终端可以基于第一输入的第二滑动子输入,执行恢复操作。For example, referring to FIG. 7, the first input may be a sliding input, and the mobile terminal may perform an undo operation based on the first sliding sub input of the first input. At this time, the first sliding direction of the first sliding sub input is the direction 26, During the execution of the undo operation by the mobile terminal, the sliding direction of the first input may change to become the direction 27 opposite to the direction 26, as shown in FIG. 8, at which time, the mobile terminal may be based on the second sliding of the first input. Sub-input to perform a recovery operation.
在另一个实施例中,当第一输入为按压输入时,移动终端可以基于第一按压子输入的第二按压力度值,执行撤销操作,以及,基于第二按压输入的第三按压力度值,执行恢复操作,其中,第二按压力度值与第三按压力度值不同。In another embodiment, when the first input is a press input, the mobile terminal may perform a cancel operation based on the second press force value of the first press sub input, and a third press force value based on the second press input, A recovery operation is performed in which the second pressing force value is different from the third pressing force value.
在本公开实施例中,可以将接收的第一输入至少划分为第一子输入和第二子输入,然后,移动终端可以基于第一子输入执行撤销操作,以及基于第 二子输入执行恢复操作,由于可以对基于第一子输入执行的撤销操作进行恢复,因此,可以使得用户在执行撤销操作的过程中不小心撤销过多的情况下,或用户本想执行恢复操作,却误执行了撤销操作的情况下,快速地恢复被不小心撤销的内容。In an embodiment of the present disclosure, the received first input may be divided into at least a first sub input and a second sub input, and then the mobile terminal may perform a revocation operation based on the first sub input and perform a recovery operation based on the second sub input. Since the undo operation performed based on the first sub-input can be restored, the user may be inadvertently revoked in the process of performing the undo operation, or the user may want to perform the recovery operation, but the revocation is performed by mistake. In case of operation, the content that was accidentally undone is quickly recovered.
对应上述屏幕操作控制方法,本公开实施例还提供了一种移动终端,图9为本公开一实施例提供的移动终端的模块组成示意图,如图9所示,该移动终端,包括:Corresponding to the above-mentioned screen operation control method, the embodiment of the present disclosure further provides a mobile terminal. FIG. 9 is a schematic diagram of a module structure of a mobile terminal according to an embodiment of the present disclosure. As shown in FIG. 9, the mobile terminal includes:
第一接收模块91,用于接收用户在屏幕的第一区域的第一输入;a first receiving module 91, configured to receive a first input of a user in a first area of the screen;
第一执行模块92,用于响应于所述第一输入,执行撤销操作和恢复操作中的至少一个。The first execution module 92 is configured to perform at least one of a revocation operation and a recovery operation in response to the first input.
可选的,所述第一输入包括以下至少一种:滑动输入、按压输入和点击输入。Optionally, the first input comprises at least one of the following: a sliding input, a pressing input, and a click input.
可选的,所述第一执行模块92用于:Optionally, the first execution module 92 is configured to:
在所述第一输入为滑动输入的情况下,获取所述第一输入在所述第一区域的滑动距离,在所述滑动距离大于预设距离的情况下,执行N次第一控制操作,其中,所述第一控制操作为撤销操作或恢复操作,所述N次与所述滑动距离相关联,N为正整数;When the first input is a sliding input, acquiring a sliding distance of the first input in the first area, and performing a first control operation N times if the sliding distance is greater than a preset distance, The first control operation is an undo operation or a recovery operation, and the N times are associated with the sliding distance, and N is a positive integer;
或者,or,
在所述第一输入为按压输入的情况下,获取所述第一输入在所述第一区域的按压时长,在所述按压时长大于预设时长的情况下,执行M次第二控制操作,其中,所述第二控制操作为撤销操作或恢复操作,所述M次与所述按压时长相关联,M为正整数;When the first input is a press input, acquiring a pressing duration of the first input in the first region, and performing a second control operation M times if the pressing duration is greater than a preset duration The second control operation is an undo operation or a recovery operation, and the M times are associated with the pressing duration, and M is a positive integer;
或者,or,
在所述第一输入为按压输入的情况下,获取所述第一输入在所述第一区域的第一按压力度值,在所述第一按压力度值大于预设力度值的情况下,执行L次第三控制操作,其中,所述第三控制操作为撤销操作或恢复操作,所述L次与所述第一按压力度值相关联,L为正整数;And acquiring, in the case that the first input is a press input, a first pressing force value of the first input in the first area, and performing, in a case where the first pressing force value is greater than a preset strength value, performing L times third control operation, wherein the third control operation is an undo operation or a recovery operation, the L times being associated with the first pressing force value, L being a positive integer;
或者,or,
在所述第一输入为点击输入的情况下,获取所述第一输入在所述第一区域的点击次数,在所述点击次数大于预设次数的情况下,执行H次第四控制操作,其中,所述第四控制操作为撤销操作或恢复操作,所述H次与所述点击次数相关联,H为正整数。In the case that the first input is a click input, the number of clicks of the first input in the first area is acquired, and in the case that the number of clicks is greater than a preset number of times, the fourth control operation is performed H times, The fourth control operation is an undo operation or a recovery operation, and the H times are associated with the number of clicks, and H is a positive integer.
可选的,所述第一执行模块92用于:Optionally, the first execution module 92 is configured to:
响应于所述第一输入,执行撤销操作;Rescuing the undo operation in response to the first input;
所述移动终端还包括(如图10所示):The mobile terminal further includes (as shown in FIG. 10):
第二接收模块93,用于接收用户在所述屏幕的第二区域的第二输入;a second receiving module 93, configured to receive a second input of the user in the second area of the screen;
第二执行模块94,用于响应于所述第二输入,执行恢复操作。The second execution module 94 is configured to perform a recovery operation in response to the second input.
可选的,所述移动终端还包括(如图11所示):Optionally, the mobile terminal further includes (as shown in FIG. 11):
第三接收模块95,用于在接收用户在屏幕的第一区域的第一输入之前,接收用户在所述屏幕的第三输入;The third receiving module 95 is configured to receive a third input of the user on the screen before receiving the first input of the user in the first area of the screen;
划分模块96,用于响应于所述第三输入,将所述屏幕的显示区域划分为所述第一区域和第二区域。The dividing module 96 is configured to divide the display area of the screen into the first area and the second area in response to the third input.
可选的,所述第一执行模块92包括(如图12所示):Optionally, the first execution module 92 includes (as shown in FIG. 12):
第一执行子模块921,用于基于所述第一输入中的第一子输入,执行撤销操作;a first execution sub-module 921, configured to perform a revocation operation based on the first sub-input of the first input;
第二执行子模块922,用于基于所述第一输入中的第二子输入,执行恢复操作;其中,所述第一输入包括所述第一子输入和所述第二子输入。a second execution sub-module 922, configured to perform a recovery operation based on the second one of the first inputs; wherein the first input includes the first sub-input and the second sub-input.
可选的,所述第一执行子模块921用于:Optionally, the first execution submodule 921 is configured to:
在所述第一子输入为第一滑动子输入的情况下,基于所述第一滑动子输入的第一滑动方向,执行撤销操作;In a case where the first sub-input is a first sliding sub-input, performing a revocation operation based on a first sliding direction of the first sliding sub-input;
或者,or,
在所述第一子输入为第一按压子输入的情况下,基于所述第一按压子输入的第二按压力度值,执行撤销操作;When the first sub-input is the first pressing sub-input, performing a revocation operation based on the second pressing force value of the first pressing sub-input;
所述第二执行子模块922用于:The second execution submodule 922 is configured to:
在所述第二子输入为第二滑动子输入的情况下,基于所述第二滑动子输入的第二滑动方向,执行恢复操作;In a case where the second sub-input is a second slider input, performing a recovery operation based on the second sliding direction of the second slider input;
或者,or,
在所述第二子输入为第二按压子输入的情况下,基于所述第二按压子输入的第三按压力度值,执行恢复操作。In a case where the second sub-input is a second pressing sub-input, a recovery operation is performed based on the third pressing force value of the second pressing sub-input.
在本公开实施例中,移动终端可以接收用户在屏幕的第一区域的第一输入,并响应于第一输入执行撤销操作和恢复操作中的至少一个,由于可以根据用户在屏幕的第一区域的输入来触发移动终端执行撤销操作和恢复操作,从而可以通过在移动终端的屏幕的输入来实现对撤销功能和恢复功能的触发,有效解决在不能由虚拟按键和手势触发撤销功能和恢复功能,且移动终端上也未设置与撤销功能和恢复功能对应的实体按键的情况下,用户无法对撤销功能和恢复功能进行触发的问题。In an embodiment of the present disclosure, the mobile terminal may receive a first input of the user in the first area of the screen, and perform at least one of a revocation operation and a recovery operation in response to the first input, as the user may be in the first area of the screen according to the user The input triggers the mobile terminal to perform the undo operation and the recovery operation, so that the triggering of the undo function and the resume function can be realized by inputting on the screen of the mobile terminal, effectively solving the undo function and the recovery function that cannot be triggered by the virtual button and gesture. In the case where the physical button corresponding to the undo function and the resume function is not set on the mobile terminal, the user cannot trigger the undo function and the resume function.
图13为实现本公开各个实施例的一种移动终端的硬件结构示意图,FIG. 13 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present disclosure,
该移动终端1300包括但不限于:射频单元1301、网络模块1302、音频输出单元1303、输入单元1304、传感器1305、显示单元1306、用户输入单元1307、接口单元1308、存储器1309、处理器1310、以及电源1311等部件。本领域技术人员可以理解,图13中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The mobile terminal 1300 includes, but is not limited to, a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, a processor 1310, and Power supply 1311 and other components. It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 13 does not constitute a limitation of the mobile terminal, and the mobile terminal may include more or less components than those illustrated, or combine some components, or different components. Arrangement. In the embodiments of the present disclosure, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle terminal, a wearable device, a pedometer, and the like.
其中,存储器1309内存储有计算机程序,该计算机程序被处理器1310执行时,能够实现以下流程:The memory 1309 stores a computer program. When the computer program is executed by the processor 1310, the following processes can be implemented:
接收用户在屏幕的第一区域的第一输入;Receiving a first input of a user in a first area of the screen;
响应于所述第一输入,执行撤销操作和恢复操作中的至少一个。In response to the first input, at least one of an undo operation and a resume operation is performed.
可选地,所述第一输入包括以下至少一种:滑动输入、按压输入和点击输入。Optionally, the first input comprises at least one of the following: a sliding input, a pressing input, and a click input.
可选地,该计算机程序被处理器1310执行时,所述响应于所述第一输入,执行撤销操作和恢复操作中的至少一个,包括:Optionally, when the computer program is executed by the processor 1310, the performing at least one of the undoing operation and the restoring operation in response to the first input comprises:
在所述第一输入为滑动输入的情况下,获取所述第一输入在所述第一区域的滑动距离,在所述滑动距离大于预设距离的情况下,执行N次第一控制操作,其中,所述第一控制操作为撤销操作或恢复操作,所述N次与所述滑 动距离相关联,N为正整数;When the first input is a sliding input, acquiring a sliding distance of the first input in the first area, and performing a first control operation N times if the sliding distance is greater than a preset distance, The first control operation is an undo operation or a recovery operation, and the N times are associated with the sliding distance, and N is a positive integer;
或者,or,
在所述第一输入为按压输入的情况下,获取所述第一输入在所述第一区域的按压时长,在所述按压时长大于预设时长的情况下,执行M次第二控制操作,其中,所述第二控制操作为撤销操作或恢复操作,所述M次与所述按压时长相关联,M为正整数;When the first input is a press input, acquiring a pressing duration of the first input in the first region, and performing a second control operation M times if the pressing duration is greater than a preset duration The second control operation is an undo operation or a recovery operation, and the M times are associated with the pressing duration, and M is a positive integer;
或者,or,
在所述第一输入为按压输入的情况下,获取所述第一输入在所述第一区域的第一按压力度值,在所述第一按压力度值大于预设力度值的情况下,执行L次第三控制操作,其中,所述第三控制操作为撤销操作或恢复操作,所述L次与所述第一按压力度值相关联,L为正整数;And acquiring, in the case that the first input is a press input, a first pressing force value of the first input in the first area, and performing, in a case where the first pressing force value is greater than a preset strength value, performing L times third control operation, wherein the third control operation is an undo operation or a recovery operation, the L times being associated with the first pressing force value, L being a positive integer;
或者,or,
在所述第一输入为点击输入的情况下,获取所述第一输入在所述第一区域的点击次数,在所述点击次数大于预设次数的情况下,执行H次第四控制操作,其中,所述第四控制操作为撤销操作或恢复操作,所述H次与所述点击次数相关联,H为正整数。In the case that the first input is a click input, the number of clicks of the first input in the first area is acquired, and in the case that the number of clicks is greater than a preset number of times, the fourth control operation is performed H times, The fourth control operation is an undo operation or a recovery operation, and the H times are associated with the number of clicks, and H is a positive integer.
可选地,该计算机程序被处理器1310执行时,所述响应于所述第一输入,执行撤销操作和恢复操作中的至少一个,包括:Optionally, when the computer program is executed by the processor 1310, the performing at least one of the undoing operation and the restoring operation in response to the first input comprises:
响应于所述第一输入,执行撤销操作;Rescuing the undo operation in response to the first input;
所述方法还包括:The method further includes:
接收用户在所述屏幕的第二区域的第二输入;Receiving a second input of a user in a second area of the screen;
响应于所述第二输入,执行恢复操作。In response to the second input, a recovery operation is performed.
可选地,该计算机程序被处理器1310执行时,所述接收用户在屏幕的第一区域的第一输入之前,所述方法还包括:Optionally, when the computer program is executed by the processor 1310, the receiving the user before the first input of the first area of the screen, the method further includes:
接收用户在所述屏幕的第三输入;Receiving a third input of the user on the screen;
响应于所述第三输入,将所述屏幕的显示区域划分为所述第一区域和第二区域。The display area of the screen is divided into the first area and the second area in response to the third input.
可选地,该计算机程序被处理器1310执行时,所述第一输入包括第一子输入和第二子输入;Optionally, when the computer program is executed by the processor 1310, the first input includes a first sub input and a second sub input;
所述响应于所述第一输入,执行撤销操作和恢复操作中的至少一个,包括:Responding to the first input, performing at least one of a revocation operation and a recovery operation, including:
基于所述第一子输入,执行撤销操作;以及,基于所述第二子输入,执行恢复操作。Performing a revocation operation based on the first sub-input; and performing a recovery operation based on the second sub-input.
可选地,该计算机程序被处理器1310执行时,该计算机程序被处理器1310执行时,所述基于所述第一子输入,执行撤销操作,包括:Optionally, when the computer program is executed by the processor 1310, when the computer program is executed by the processor 1310, the performing the undo operation based on the first sub-input includes:
在所述第一子输入为第一滑动子输入的情况下,基于所述第一滑动子输入的第一滑动方向,执行撤销操作;In a case where the first sub-input is a first sliding sub-input, performing a revocation operation based on a first sliding direction of the first sliding sub-input;
或者,or,
在所述第一子输入为第一按压子输入的情况下,基于所述第一按压子输入的第二按压力度值,执行撤销操作;When the first sub-input is the first pressing sub-input, performing a revocation operation based on the second pressing force value of the first pressing sub-input;
所述基于所述第二子输入,执行恢复操作,包括:Performing a recovery operation based on the second sub-input includes:
在所述第二子输入为第二滑动子输入的情况下,基于所述第二滑动子输入的第二滑动方向,执行恢复操作;In a case where the second sub-input is a second slider input, performing a recovery operation based on the second sliding direction of the second slider input;
或者,or,
在所述第二子输入为第二按压子输入的情况下,基于所述第二按压子输入的第三按压力度值,执行恢复操作。In a case where the second sub-input is a second pressing sub-input, a recovery operation is performed based on the third pressing force value of the second pressing sub-input.
在本公开实施例中,移动终端可以接收用户在屏幕的第一区域的第一输入,并响应于第一输入执行撤销操作和恢复操作中的至少一个,由于可以根据用户在屏幕的第一区域的输入来触发移动终端执行撤销操作和恢复操作,从而可以通过在移动终端的屏幕的输入来实现对撤销功能和恢复功能的触发,有效解决在不能由虚拟按键和手势触发撤销功能和恢复功能,且移动终端上也未设置与撤销功能和恢复功能对应的实体按键的情况下,用户无法对撤销功能和恢复功能进行触发的问题。In an embodiment of the present disclosure, the mobile terminal may receive a first input of the user in the first area of the screen, and perform at least one of a revocation operation and a recovery operation in response to the first input, as the user may be in the first area of the screen according to the user The input triggers the mobile terminal to perform the undo operation and the recovery operation, so that the triggering of the undo function and the resume function can be realized by inputting on the screen of the mobile terminal, effectively solving the undo function and the recovery function that cannot be triggered by the virtual button and gesture. In the case where the physical button corresponding to the undo function and the resume function is not set on the mobile terminal, the user cannot trigger the undo function and the resume function.
应理解的是,本公开实施例中,射频单元1301可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1310处理;另外,将上行的数据发送给基站。通常,射频单元1301包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1301还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 1301 can be used for receiving and transmitting signals during the transmission and reception of information or during a call, and specifically, after receiving downlink data from the base station, processing the processor 1310; The uplink data is sent to the base station. In general, radio frequency unit 1301 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. In addition, the radio unit 1301 can also communicate with the network and other devices through a wireless communication system.
移动终端通过网络模块1302为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides the user with wireless broadband Internet access through the network module 1302, such as helping the user to send and receive emails, browse web pages, and access streaming media.
音频输出单元1303可以将射频单元1301或网络模块1302接收的或者在存储器1309中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1303还可以提供与移动终端1300执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1303包括扬声器、蜂鸣器以及受话器等。The audio output unit 1303 may convert the audio data received by the radio frequency unit 1301 or the network module 1302 or stored in the memory 1309 into an audio signal and output as a sound. Moreover, the audio output unit 1303 can also provide audio output (eg, call signal reception sound, message reception sound, etc.) related to a specific function performed by the mobile terminal 1300. The audio output unit 1303 includes a speaker, a buzzer, a receiver, and the like.
输入单元1304用于接收音频或视频信号。输入单元1304可以包括图形处理器(Graphics Processing Unit,GPU)13041和麦克风13042,图形处理器13041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1306上。经图形处理器13041处理后的图像帧可以存储在存储器1309(或其它存储介质)中或者经由射频单元1301或网络模块1302进行发送。麦克风13042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1301发送到移动通信基站的格式输出。The input unit 1304 is for receiving an audio or video signal. The input unit 1304 may include a graphics processing unit (GPU) 13041 and a microphone 13042, and the graphics processor 13041 images an 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 data is processed. The processed image frame can be displayed on display unit 1306. The image frames processed by the graphics processor 13041 may be stored in the memory 1309 (or other storage medium) or transmitted via the radio unit 1301 or the network module 1302. The microphone 13042 can receive sound and can process such sound as audio data. The processed audio data can be converted to a format output that can be transmitted to the mobile communication base station via the radio unit 1301 in the case of a telephone call mode.
移动终端1300还包括至少一种传感器1305,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板13061的亮度,接近传感器可在移动终端1300移动到耳边时,关闭显示面板13061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1305还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 1300 also includes at least one type of sensor 1305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 13061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 13061 when the mobile terminal 1300 moves to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the mobile terminal (such as horizontal and vertical screen switching, related games). , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; sensor 1305 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensors and the like are not described here.
显示单元1306用于显示由用户输入的信息或提供给用户的信息。显示单元1306可包括显示面板13061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配 置显示面板13061。The display unit 1306 is for displaying information input by the user or information provided to the user. The display unit 1306 can include a display panel 13061. The display panel 13061 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
用户输入单元1307可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1307包括触控面板13071以及其他输入设备13072。触控面板13071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板13071上或在触控面板13071附近的操作)。触控面板13071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1310,接收处理器1310发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板13071。除了触控面板13071,用户输入单元1307还可以包括其他输入设备13072。具体地,其他输入设备13072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 1307 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 1307 includes a touch panel 13071 and other input devices 13072. The touch panel 13071, also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 13071 or near the touch panel 13071. operating). The touch panel 13071 may include two parts of a touch detection device and a touch controller. Wherein, 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 1310 receives the commands from the processor 1310 and executes them. In addition, the touch panel 13071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 13071, the user input unit 1307 can also include other input devices 13072. Specifically, other input devices 13072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
进一步的,触控面板13071可覆盖在显示面板13061上,当触控面板13071检测到在其上或附近的触摸操作后,传送给处理器1310以确定触摸事件的类型,随后处理器1310根据触摸事件的类型在显示面板13061上提供相应的视觉输出。虽然在图13中,触控面板13071与显示面板13061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板13071与显示面板13061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the touch panel 13071 can be overlaid on the display panel 13061. After the touch panel 13071 detects a touch operation thereon or nearby, the touch panel 13071 transmits to the processor 1310 to determine the type of the touch event, and then the processor 1310 according to the touch. The type of event provides a corresponding visual output on display panel 13061. Although in FIG. 13 , the touch panel 13071 and the display panel 13061 are used as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 13071 and the display panel 13061 may be integrated. The input and output functions of the mobile terminal are implemented, and are not limited herein.
接口单元1308为外部装置与移动终端1300连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1308可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端1300内的一个或多个元件或者可以用于在移动终端1300和外部装置之间传输数据。The interface unit 1308 is an interface in which an external device is connected to the mobile terminal 1300. For example, the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more. The interface unit 1308 can be configured to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more components within the mobile terminal 1300 or can be used at the mobile terminal 1300 and externally Data is transferred between devices.
存储器1309可用于存储软件程序以及各种数据。存储器1309可主要包 括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1309可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。 Memory 1309 can be used to store software programs as well as various data. The memory 1309 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.). Moreover, memory 1309 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.
处理器1310是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器1309内的软件程序和/或模块,以及调用存储在存储器1309内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器1310可包括一个或多个处理单元;可选的,处理器1310可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1310中。The processor 1310 is a control center of the mobile terminal that connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1309, and recalling data stored in the memory 1309. The mobile terminal performs various functions and processing data to perform overall monitoring on the mobile terminal. The processor 1310 may include one or more processing units; optionally, the processor 1310 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, etc., and a modulation solution The processor mainly handles wireless communication. It can be understood that the above modem processor may not be integrated into the processor 1310.
移动终端1300还可以包括给各个部件供电的电源1311(比如电池),可选的,电源1311可以通过电源管理系统与处理器1310逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 1300 may further include a power source 1311 (such as a battery) for supplying power to various components. Alternatively, the power source 1311 may be logically connected to the processor 1310 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,移动终端1300包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 1300 includes some functional modules not shown, and details are not described herein again.
可选的,本公开实施例还提供一种移动终端,包括处理器1310,存储器1309,存储在存储器1309上并可在所述处理器1310上运行的计算机程序,该计算机程序被处理器1310执行时实现上述移动终端的操作方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, the embodiment of the present disclosure further provides a mobile terminal, including a processor 1310, a memory 1309, a computer program stored on the memory 1309 and executable on the processor 1310, the computer program being executed by the processor 1310. The various processes of the foregoing method for operating the mobile terminal are implemented, and the same technical effects can be achieved. To avoid repetition, details are not described herein again.
进一步地,本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述移动终端的操作方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Further, an embodiment of the present disclosure further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, implements various processes of the method for operating the mobile terminal, and Can achieve the same technical effect, in order to avoid duplication, no longer repeat here. The computer readable storage medium, such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者 装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, portions of the technical solutions of the present disclosure that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (eg, ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present disclosure.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure have been described above with reference to the drawings, but the present disclosure is not limited to the specific embodiments described above, and the specific embodiments described above are merely illustrative and not restrictive, and those skilled in the art In the light of the present disclosure, many forms may be made without departing from the scope of the disclosure and the scope of the appended claims.

Claims (16)

  1. 一种屏幕操作控制方法,包括:A screen operation control method includes:
    接收用户在屏幕的第一区域的第一输入;Receiving a first input of a user in a first area of the screen;
    响应于所述第一输入,执行撤销操作和恢复操作中的至少一个。In response to the first input, at least one of an undo operation and a resume operation is performed.
  2. 根据权利要求1所述的方法,其中,所述第一输入包括以下至少一种:滑动输入、按压输入和点击输入。The method of claim 1, wherein the first input comprises at least one of: a sliding input, a pressing input, and a click input.
  3. 根据权利要求1所述的方法,其中,所述响应于所述第一输入,执行撤销操作和恢复操作中的至少一个,包括:The method of claim 1, wherein said performing at least one of a revocation operation and a recovery operation in response to said first input comprises:
    在所述第一输入为滑动输入的情况下,获取所述第一输入在所述第一区域的滑动距离,在所述滑动距离大于预设距离的情况下,执行N次第一控制操作,其中,所述第一控制操作为撤销操作或恢复操作,所述N次与所述滑动距离相关联,N为正整数;When the first input is a sliding input, acquiring a sliding distance of the first input in the first area, and performing a first control operation N times if the sliding distance is greater than a preset distance, The first control operation is an undo operation or a recovery operation, and the N times are associated with the sliding distance, and N is a positive integer;
    或者,or,
    在所述第一输入为按压输入的情况下,获取所述第一输入在所述第一区域的按压时长,在所述按压时长大于预设时长的情况下,执行M次第二控制操作,其中,所述第二控制操作为撤销操作或恢复操作,所述M次与所述按压时长相关联,M为正整数;When the first input is a press input, acquiring a pressing duration of the first input in the first region, and performing a second control operation M times if the pressing duration is greater than a preset duration The second control operation is an undo operation or a recovery operation, and the M times are associated with the pressing duration, and M is a positive integer;
    或者,or,
    在所述第一输入为按压输入的情况下,获取所述第一输入在所述第一区域的第一按压力度值,在所述第一按压力度值大于预设力度值的情况下,执行L次第三控制操作,其中,所述第三控制操作为撤销操作或恢复操作,所述L次与所述第一按压力度值相关联,L为正整数;And acquiring, in the case that the first input is a press input, a first pressing force value of the first input in the first area, and performing, in a case where the first pressing force value is greater than a preset strength value, performing L times third control operation, wherein the third control operation is an undo operation or a recovery operation, the L times being associated with the first pressing force value, L being a positive integer;
    或者,or,
    在所述第一输入为点击输入的情况下,获取所述第一输入在所述第一区域的点击次数,在所述点击次数大于预设次数的情况下,执行H次第四控制操作,其中,所述第四控制操作为撤销操作或恢复操作,所述H次与所述点 击次数相关联,H为正整数。In the case that the first input is a click input, the number of clicks of the first input in the first area is acquired, and in the case that the number of clicks is greater than a preset number of times, the fourth control operation is performed H times, The fourth control operation is an undo operation or a recovery operation, and the H times are associated with the number of clicks, and H is a positive integer.
  4. 根据权利要求1所述的方法,其中,所述响应于所述第一输入,执行撤销操作和恢复操作中的至少一个,包括:The method of claim 1, wherein said performing at least one of a revocation operation and a recovery operation in response to said first input comprises:
    响应于所述第一输入,执行撤销操作;Rescuing the undo operation in response to the first input;
    所述方法还包括:The method further includes:
    接收用户在所述屏幕的第二区域的第二输入;Receiving a second input of a user in a second area of the screen;
    响应于所述第二输入,执行恢复操作。In response to the second input, a recovery operation is performed.
  5. 根据权利要求1所述的方法,其中,所述接收用户在屏幕的第一区域的第一输入之前,所述方法还包括:The method of claim 1, wherein the method further comprises: prior to receiving the first input of the user in the first area of the screen, the method further comprising:
    接收用户在所述屏幕的第三输入;Receiving a third input of the user on the screen;
    响应于所述第三输入,将所述屏幕的显示区域划分为所述第一区域和第二区域。The display area of the screen is divided into the first area and the second area in response to the third input.
  6. 根据权利要求1所述的方法,其中,所述第一输入包括第一子输入和第二子输入;The method of claim 1 wherein said first input comprises a first sub-input and a second sub-input;
    所述响应于所述第一输入,执行撤销操作和恢复操作中的至少一个,包括:Responding to the first input, performing at least one of a revocation operation and a recovery operation, including:
    基于所述第一子输入,执行撤销操作;以及,基于所述第二子输入,执行恢复操作。Performing a revocation operation based on the first sub-input; and performing a recovery operation based on the second sub-input.
  7. 根据权利要求6所述的方法,其中,所述基于所述第一子输入,执行撤销操作,包括:The method of claim 6 wherein said performing an undo operation based on said first sub-input comprises:
    在所述第一子输入为第一滑动子输入的情况下,基于所述第一滑动子输入的第一滑动方向,执行撤销操作;In a case where the first sub-input is a first sliding sub-input, performing a revocation operation based on a first sliding direction of the first sliding sub-input;
    或者,or,
    在所述第一子输入为第一按压子输入的情况下,基于所述第一按压子输入的第二按压力度值,执行撤销操作;When the first sub-input is the first pressing sub-input, performing a revocation operation based on the second pressing force value of the first pressing sub-input;
    所述基于所述第二子输入,执行恢复操作,包括:Performing a recovery operation based on the second sub-input includes:
    在所述第二子输入为第二滑动子输入的情况下,基于所述第二滑动子输入的第二滑动方向,执行恢复操作;In a case where the second sub-input is a second slider input, performing a recovery operation based on the second sliding direction of the second slider input;
    或者,or,
    在所述第二子输入为第二按压子输入的情况下,基于所述第二按压子输入的第三按压力度值,执行恢复操作。In a case where the second sub-input is a second pressing sub-input, a recovery operation is performed based on the third pressing force value of the second pressing sub-input.
  8. 一种移动终端,包括:A mobile terminal includes:
    第一接收模块,用于接收用户在屏幕的第一区域的第一输入;a first receiving module, configured to receive a first input of a user in a first area of the screen;
    第一执行模块,用于响应于所述第一输入,执行撤销操作和恢复操作中的至少一个。The first execution module is configured to perform at least one of a revocation operation and a recovery operation in response to the first input.
  9. 根据权利要求8所述的移动终端,其中,所述第一输入包括以下至少一种:滑动输入、按压输入和点击输入。The mobile terminal of claim 8, wherein the first input comprises at least one of: a sliding input, a pressing input, and a click input.
  10. 根据权利要求8所述的移动终端,其中,所述第一执行模块用于:The mobile terminal of claim 8, wherein the first execution module is configured to:
    在所述第一输入为滑动输入的情况下,获取所述第一输入在所述第一区域的滑动距离,在所述滑动距离大于预设距离的情况下,执行N次第一控制操作,其中,所述第一控制操作为撤销操作或恢复操作,所述N次与所述滑动距离相关联,N为正整数;When the first input is a sliding input, acquiring a sliding distance of the first input in the first area, and performing a first control operation N times if the sliding distance is greater than a preset distance, The first control operation is an undo operation or a recovery operation, and the N times are associated with the sliding distance, and N is a positive integer;
    或者,or,
    在所述第一输入为按压输入的情况下,获取所述第一输入在所述第一区域的按压时长,在所述按压时长大于预设时长的情况下,执行M次第二控制操作,其中,所述第二控制操作为撤销操作或恢复操作,所述M次与所述按压时长相关联,M为正整数;When the first input is a press input, acquiring a pressing duration of the first input in the first region, and performing a second control operation M times if the pressing duration is greater than a preset duration The second control operation is an undo operation or a recovery operation, and the M times are associated with the pressing duration, and M is a positive integer;
    或者,or,
    在所述第一输入为按压输入的情况下,获取所述第一输入在所述第一区域的第一按压力度值,在所述第一按压力度值大于预设力度值的情况下,执行L次第三控制操作,其中,所述第三控制操作为撤销操作或恢复操作,所 述L次与所述第一按压力度值相关联,L为正整数;And acquiring, in the case that the first input is a press input, a first pressing force value of the first input in the first area, and performing, in a case where the first pressing force value is greater than a preset strength value, performing L times third control operation, wherein the third control operation is an undo operation or a recovery operation, the L times being associated with the first pressing force value, L being a positive integer;
    或者,or,
    在所述第一输入为点击输入的情况下,获取所述第一输入在所述第一区域的点击次数,在所述点击次数大于预设次数的情况下,执行H次第四控制操作,其中,所述第四控制操作为撤销操作或恢复操作,所述H次与所述点击次数相关联,H为正整数。In the case that the first input is a click input, the number of clicks of the first input in the first area is acquired, and in the case that the number of clicks is greater than a preset number of times, the fourth control operation is performed H times, The fourth control operation is an undo operation or a recovery operation, and the H times are associated with the number of clicks, and H is a positive integer.
  11. 根据权利要求8所述的移动终端,其中,所述第一执行模块用于:The mobile terminal of claim 8, wherein the first execution module is configured to:
    响应于所述第一输入,执行撤销操作;Rescuing the undo operation in response to the first input;
    所述移动终端还包括:The mobile terminal further includes:
    第二接收模块,用于接收用户在所述屏幕的第二区域的第二输入;a second receiving module, configured to receive a second input of the user in the second area of the screen;
    第二执行模块,用于响应于所述第二输入,执行恢复操作。And a second execution module, configured to perform a recovery operation in response to the second input.
  12. 根据权利要求8所述的移动终端,还包括:The mobile terminal of claim 8, further comprising:
    第三接收模块,用于在接收用户在屏幕的第一区域的第一输入之前,接收用户在所述屏幕的第三输入;a third receiving module, configured to receive a third input of the user on the screen before receiving the first input of the user in the first area of the screen;
    划分模块,用于响应于所述第三输入,将所述屏幕的显示区域划分为所述第一区域和第二区域。And a dividing module, configured to divide the display area of the screen into the first area and the second area in response to the third input.
  13. 根据权利要求8所述的移动终端,其中,所述第一执行模块包括:The mobile terminal of claim 8, wherein the first execution module comprises:
    第一执行子模块,用于基于所述第一输入中的第一子输入,执行撤销操作;a first execution submodule, configured to perform a revocation operation based on the first sub input of the first input;
    第二执行子模块,用于基于所述第一输入中的第二子输入,执行恢复操作;其中,所述第一输入包括所述第一子输入和所述第二子输入。a second execution submodule configured to perform a restore operation based on the second one of the first inputs; wherein the first input includes the first sub input and the second sub input.
  14. 根据权利要求13所述的移动终端,其中,所述第一执行子模块用于:The mobile terminal of claim 13, wherein the first execution submodule is used to:
    在所述第一子输入为第一滑动子输入的情况下,基于所述第一滑动子输入的第一滑动方向,执行撤销操作;In a case where the first sub-input is a first sliding sub-input, performing a revocation operation based on a first sliding direction of the first sliding sub-input;
    或者,or,
    在所述第一子输入为第一按压子输入的情况下,基于所述第一按压子输入的第二按压力度值,执行撤销操作;When the first sub-input is the first pressing sub-input, performing a revocation operation based on the second pressing force value of the first pressing sub-input;
    所述第二执行子模块用于:The second execution submodule is used to:
    在所述第二子输入为第二滑动子输入的情况下,基于所述第二滑动子输入的第二滑动方向,执行恢复操作;In a case where the second sub-input is a second slider input, performing a recovery operation based on the second sliding direction of the second slider input;
    或者,or,
    在所述第二子输入为第二按压子输入的情况下,基于所述第二按压子输入的第三按压力度值,执行恢复操作。In a case where the second sub-input is a second pressing sub-input, a recovery operation is performed based on the third pressing force value of the second pressing sub-input.
  15. 一种移动终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如权利要求1至7中任一项所述的方法的步骤。A mobile terminal comprising: a memory, a processor, and a program stored on the memory and operable on the processor, the program being executed by the processor to implement any one of claims 1 to 7 The steps of the method described in the item.
  16. 一种计算机可读存储介质,所述计算机可读存储介质上存储有程序,所述程序被处理器执行时实现如权利要求1至7中任一项所述的方法的步骤。A computer readable storage medium having stored thereon a program, the program being executed by a processor to implement the steps of the method of any one of claims 1 to 7.
PCT/CN2019/084296 2018-04-28 2019-04-25 Screen operation control method and mobile terminal WO2019206226A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810403193.3 2018-04-28
CN201810403193.3A CN108762648A (en) 2018-04-28 2018-04-28 Screen operator control method and mobile terminal

Publications (1)

Publication Number Publication Date
WO2019206226A1 true WO2019206226A1 (en) 2019-10-31

Family

ID=64008751

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/084296 WO2019206226A1 (en) 2018-04-28 2019-04-25 Screen operation control method and mobile terminal

Country Status (2)

Country Link
CN (1) CN108762648A (en)
WO (1) WO2019206226A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108762648A (en) * 2018-04-28 2018-11-06 维沃移动通信有限公司 Screen operator control method and mobile terminal
CN111459717A (en) * 2020-03-30 2020-07-28 维沃移动通信有限公司 Operation control method and electronic equipment
CN114125564A (en) * 2020-08-31 2022-03-01 华为终端有限公司 Video control method and device and terminal
CN113157185B (en) * 2021-05-17 2022-07-15 上海临冠数据科技有限公司 Gesture operation method and device for undo redo

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116466A (en) * 2013-03-04 2013-05-22 珠海金山办公软件有限公司 Touch screen device and method and system used for carrying out withdrawing operation or restoring operation in touch screen device
CN104125332A (en) * 2013-04-29 2014-10-29 Lg电子株式会社 Mobile terminal and a method of controlling the mobile terminal
CN105549813A (en) * 2015-11-30 2016-05-04 东莞酷派软件技术有限公司 Mobile terminal control method and mobile terminal
CN105975170A (en) * 2016-06-20 2016-09-28 财付通支付科技有限公司 Page loading method and device
CN107506130A (en) * 2017-07-17 2017-12-22 维沃移动通信有限公司 A kind of word delet method and mobile terminal
CN108762648A (en) * 2018-04-28 2018-11-06 维沃移动通信有限公司 Screen operator control method and mobile terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6610917B2 (en) * 1998-05-15 2003-08-26 Lester F. Ludwig Activity indication, external source, and processing loop provisions for driven vibrating-element environments
CN102841746B (en) * 2012-07-11 2015-08-05 广东欧珀移动通信有限公司 A kind of mobile phone webpage interaction method
CN103019589B (en) * 2012-11-26 2015-07-08 广东欧珀移动通信有限公司 Method for deleting list items in sliding manner
JP2014211720A (en) * 2013-04-17 2014-11-13 富士通株式会社 Display apparatus and display control program
CN104636047B (en) * 2013-11-07 2019-01-22 腾讯科技(深圳)有限公司 The method, apparatus and touch screen terminal operated to the object in list
CN106354379B (en) * 2015-07-15 2019-11-26 中国移动通信集团公司 The method of multiple objects is hidden based on gesture, restores the method and device of display
CN106843710A (en) * 2015-12-04 2017-06-13 程喜庆 A kind of method that editor is slided on touch-screen
CN107831984A (en) * 2017-10-31 2018-03-23 努比亚技术有限公司 A kind of switching method, terminal and the computer-readable recording medium of singlehanded pattern

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116466A (en) * 2013-03-04 2013-05-22 珠海金山办公软件有限公司 Touch screen device and method and system used for carrying out withdrawing operation or restoring operation in touch screen device
CN104125332A (en) * 2013-04-29 2014-10-29 Lg电子株式会社 Mobile terminal and a method of controlling the mobile terminal
CN105549813A (en) * 2015-11-30 2016-05-04 东莞酷派软件技术有限公司 Mobile terminal control method and mobile terminal
CN105975170A (en) * 2016-06-20 2016-09-28 财付通支付科技有限公司 Page loading method and device
CN107506130A (en) * 2017-07-17 2017-12-22 维沃移动通信有限公司 A kind of word delet method and mobile terminal
CN108762648A (en) * 2018-04-28 2018-11-06 维沃移动通信有限公司 Screen operator control method and mobile terminal

Also Published As

Publication number Publication date
CN108762648A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
WO2019154181A1 (en) Display control method and mobile terminal
WO2019196707A1 (en) Mobile terminal control method and mobile terminal
WO2019141174A1 (en) Unread message processing method and mobile terminal
WO2019174611A1 (en) Application configuration method and mobile terminal
WO2019141243A1 (en) Method for starting application program and mobile terminal
WO2019174629A1 (en) Image processing method and flexible-screen terminal
WO2019120087A1 (en) Processing method for reducing power consumption and mobile terminal
WO2019196864A1 (en) Control method for virtual button and mobile terminal
WO2019206226A1 (en) Screen operation control method and mobile terminal
CN109558061B (en) Operation control method and terminal
WO2020181955A1 (en) Interface control method and terminal device
WO2019179332A1 (en) Method for closing application and mobile terminal
WO2019114522A1 (en) Screen control method, screen control apparatus, and mobile terminal
CN109032486B (en) Display control method and terminal equipment
WO2019196691A1 (en) Keyboard interface display method and mobile terminal
WO2019174459A1 (en) Application processing method and mobile terminal
WO2019218862A1 (en) Screen operation method and mobile terminal
WO2019080775A1 (en) Notification message prompting method and mobile terminal
WO2019120192A1 (en) Method for editing text, and mobile device
WO2019206077A1 (en) Video call processing method and mobile terminal
WO2019214502A1 (en) Method for operating multimedia content, and mobile terminal
WO2019076371A1 (en) Resource data display method and mobile terminal
WO2019169991A1 (en) Display method and mobile terminal
WO2019184946A1 (en) Human facial recognition control method and mobile terminal
CN110324497B (en) Operation control method, terminal and computer readable storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1