CN112181261B - Control method and device of mobile terminal - Google Patents

Control method and device of mobile terminal Download PDF

Info

Publication number
CN112181261B
CN112181261B CN202011075216.6A CN202011075216A CN112181261B CN 112181261 B CN112181261 B CN 112181261B CN 202011075216 A CN202011075216 A CN 202011075216A CN 112181261 B CN112181261 B CN 112181261B
Authority
CN
China
Prior art keywords
pressing operation
preset
mobile terminal
judging whether
detected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011075216.6A
Other languages
Chinese (zh)
Other versions
CN112181261A (en
Inventor
张文轩
马颖江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011075216.6A priority Critical patent/CN112181261B/en
Publication of CN112181261A publication Critical patent/CN112181261A/en
Application granted granted Critical
Publication of CN112181261B publication Critical patent/CN112181261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a control method and a control device of a mobile terminal. Wherein, the method comprises the following steps: when the rotation of the mobile terminal is detected, judging whether a pressing operation is detected; judging whether the pressing operation conflicts with a preset pressing operation or not under the condition that the pressing operation is detected; and under the condition that the pressing operation does not conflict with the preset pressing operation, controlling the direction of the current interface of the mobile terminal to be kept unchanged. The invention solves the technical problem of poor user experience caused by complex operation method for controlling interface rotation in the related technology.

Description

Control method and device of mobile terminal
Technical Field
The invention relates to the field of mobile terminals, in particular to a control method and a control device of a mobile terminal.
Background
At present, more and more users watch videos, pictures, forms and the like by using mobile terminals such as smart phones, tablet computers, palm computers and the like. When a user uses the mobile terminal, and the vertical screen cannot meet the user requirement, the operation space can be increased or a larger view field can be provided by switching to the horizontal screen. For the convenience of the user, the user can control the screen to be incapable of rotating by locking the screen rotating function or control the screen to automatically rotate by unlocking the screen rotating function.
However, when the user needs to rotate the screen or does not need to rotate the screen at every time, the user needs to enter the interface of the setting machine to set, and the whole operation is troublesome. Moreover, when the user lies or the mobile phone is turned, the mobile terminal cannot correctly rotate the screen according to the current state of the user, which results in poor user experience.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a control method and a control device of a mobile terminal, which are used for at least solving the technical problem of poor user experience caused by the complicated operation method of controlling interface rotation in the related technology.
According to an aspect of an embodiment of the present invention, there is provided a control method of a mobile terminal, including: when the rotation of the mobile terminal is detected, judging whether a pressing operation is detected; judging whether the pressing operation conflicts with a preset pressing operation or not under the condition that the pressing operation is detected; and under the condition that the pressing operation does not conflict with the preset pressing operation, controlling the direction of the current interface of the mobile terminal to be kept unchanged.
Optionally, the determining whether the pressing operation conflicts with a preset pressing operation includes: acquiring a rotation angle of the mobile terminal; judging whether the rotating angle is larger than a preset angle within a preset time period; determining that the pressing operation does not conflict with the preset pressing operation if the rotation angle is greater than the preset angle within the preset time period; and determining that the pressing operation conflicts with the preset pressing operation if the rotation angle is less than or equal to the preset angle within the preset time period.
Optionally, the determining whether the pressing operation conflicts with a preset pressing operation includes: acquiring the pressing force of pressing operation; judging whether the pressing force degree is greater than a preset force degree or not; if the pressing force is larger than the preset force, determining that the pressing operation does not conflict with the preset pressing operation; and if the pressing force is less than or equal to the preset force, determining that the pressing operation conflicts with the preset pressing operation.
Optionally, before determining whether the pressing operation is detected, the method further includes: judging whether the current interface is allowed to rotate; under the condition that the current interface allows rotation, judging whether the interface rotation function of the mobile terminal is locked; when the interface rotation function is not locked, it is determined whether or not a pressing operation is detected.
Optionally, in the case that the current interface prohibits rotation, or the interface rotation function is locked, the direction of controlling the current interface remains unchanged.
Alternatively, in a case where the pressing operation is not detected, the current interface is controlled to rotate.
Optionally, in the case that the pressing operation conflicts with the preset pressing operation, the mobile terminal is controlled to execute the preset pressing operation.
According to another aspect of the embodiments of the present invention, there is also provided a control apparatus of a mobile terminal, including: the first judging module is used for judging whether the pressing operation is detected or not when the rotation of the mobile terminal is detected; the second judgment module is used for judging whether the pressing operation conflicts with the preset pressing operation or not under the condition that the pressing operation is detected; and the control module is used for controlling the direction of the current interface of the mobile terminal to be kept unchanged under the condition that the pressing operation is not in conflict with the preset pressing operation.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the control method of the mobile terminal.
According to another aspect of the embodiments of the present invention, there is also provided a processor configured to execute a program, where the program executes the control method of the mobile terminal.
In the embodiment of the invention, under the condition that the rotation of the mobile terminal is detected, whether the pressing operation is detected is judged firstly, if the pressing operation is detected, whether the pressing operation conflicts with the preset pressing operation is further judged, if the pressing operation does not conflict, the fact that the screen is fixed and does not rotate is determined, and the direction of the current interface can be controlled to be kept unchanged. Compared with the prior art, the interface can be controlled not to rotate through pressing operation in the process of not influencing the normal use of the mobile terminal by a user, the user does not need to enter the setting or pull down the notification bar to change the screen locking function, so that the technical effects of simplifying the operation flow and improving the user experience are achieved, and the technical problem that the user experience is poor due to the fact that the operation method for controlling the rotation of the interface is complex in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a control method of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of an alternative control method of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an alternative method for controlling the rotation of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a control device of a mobile terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present invention, there is provided a control method of a mobile terminal, it should be noted that the steps shown in the flowchart of the figure may be executed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that here.
Fig. 1 is a flowchart of a control method of a mobile terminal according to an embodiment of the present invention, as shown in fig. 1, the method includes the steps of:
and step S102, when the rotation of the mobile terminal is detected, judging whether the pressing operation is detected.
The mobile terminal in the above steps may refer to a smart phone (e.g., an android phone, an apple cell phone, etc.), a tablet computer, a palmtop computer, etc., but is not limited thereto. The pressing operation in the above steps may refer to a click, a long press, and other operations performed by the user on the display screen of the mobile terminal, and in the embodiment of the present invention, the long press operation is taken as an example for detailed description.
In an alternative embodiment, the user may control the current interface of the mobile terminal to automatically rotate by rotating the mobile terminal, but in some special scenarios, if the user does not want the current interface to keep a specific display mode without rotating, the user may press the screen for a long time, so that the mobile terminal may automatically recognize the long-press operation.
And step S104, judging whether the pressing operation conflicts with the preset pressing operation or not when the pressing operation is detected.
The preset pressing operation in the above step may be a pressing operation of the mobile terminal itself, for example, a long-press trigger event corresponding to an application currently running in the mobile terminal.
For some application programs in the mobile terminal, in order to facilitate the use of the application programs by a user, a preset pressing operation can be set, and the user controls the application programs through the preset pressing operation.
In an alternative embodiment, in order to prevent the detected pressing operation from colliding with the preset pressing operation of the mobile terminal itself, a determination may be made as to whether the detected pressing operation collides with the preset pressing operation.
And step S106, controlling the direction of the current interface of the mobile terminal to be kept unchanged under the condition that the pressing operation does not conflict with the preset pressing operation.
In an alternative embodiment, if it is determined that the pressing operation does not conflict with the preset pressing operation, the preset pressing operation may not be executed, and it is determined that the user does not want the current interface to keep the specific display mode from rotating, and therefore, the screen may be kept from rotating, that is, the direction of controlling the current interface may be kept unchanged.
Through the above embodiments of the present invention, when the rotation of the mobile terminal is detected, it is first determined whether a pressing operation is detected, if the pressing operation is detected, it is further determined whether the pressing operation conflicts with a preset pressing operation, if the pressing operation does not conflict, it is determined that the user wants the screen to be fixed and not rotate, and the direction of the current interface can be controlled to remain unchanged. Compared with the prior art, the interface can be controlled not to rotate through pressing operation in the process of not influencing the normal use of the mobile terminal by a user, the user does not need to enter the setting or pull down the notification bar to change the screen locking function, so that the technical effects of simplifying the operation flow and improving the user experience are achieved, and the technical problem that the user experience is poor due to the fact that the operation method for controlling the rotation of the interface is complex in the prior art is solved.
Optionally, in the foregoing embodiment of the present invention, the determining whether the pressing operation conflicts with the preset pressing operation includes: acquiring a rotation angle of the mobile terminal; judging whether the rotating angle is larger than a preset angle within a preset time period; determining that the pressing operation does not conflict with the preset pressing operation if the rotation angle is greater than the preset angle within the preset time period; and determining that the pressing operation conflicts with the preset pressing operation if the rotation angle is less than or equal to the preset angle within the preset time period.
Since the user often rotates the mobile terminal by switching the mobile terminal from vertical to horizontal or from horizontal to vertical, a preset angle may be preset, and whether the mobile terminal is rotated or not may be determined by the preset angle. The angle can be a fixed value set in factory delivery, and the fixed value can be determined through experiments; the angle may also be an angle determined according to the user's needs, for example, the preset angle may be 45 °, but is not limited thereto.
Since the user often rotates the mobile terminal in a short time, a preset time period may be preset, and it is detected whether the rotation angle of the mobile terminal is greater than the preset angle in the preset time period. The time period may be a fixed value set at the time of factory shipment, and the fixed value may be determined through experiments; the time period may also be a time period determined according to user needs, for example, the preset time period may be 1S, but is not limited thereto.
If the user does not rotate the mobile terminal, the user does not need to control the screen to be not rotated; if the user rotates the mobile terminal, the user may determine whether the control screen needs not to be rotated through a pressing operation. In an alternative embodiment, it may be determined whether the detected pressing operation needs to be performed by determining whether the mobile terminal is rotated, and further, it may be determined whether the mobile terminal is rotated based on a rotation angle of the mobile terminal within a preset time period, for example, if the screen of the mobile terminal is rotated by 45 ° or more in 1 second, the pressing operation is preferentially performed, that is, it may be determined that the pressing operation does not conflict with the preset pressing operation; if the screen of the mobile terminal is not rotated by more than 45 ° for more than 1 second, the preset pressing operation is preferentially performed, that is, it may be determined that the pressing operation collides with the preset pressing operation.
The rotation angle of the mobile terminal may be determined by a gyroscope carried on the mobile terminal, but the present invention is not limited to this, and may be implemented in other manners.
Optionally, in the foregoing embodiment of the present invention, the determining whether the pressing operation conflicts with the preset pressing operation includes: acquiring the pressing force degree of pressing operation; judging whether the pressing force degree is greater than a preset force degree or not; if the pressing force is greater than the preset force, determining that the pressing operation does not conflict with the preset pressing operation; and if the pressing force is less than or equal to the preset force, determining that the pressing operation conflicts with the preset pressing operation.
The preset force in the above step may be a preset pressing force for distinguishing whether the pressing operation belongs to heavy pressing or light pressing, and the force may be a fixed value set when leaving a factory, and the fixed value may be determined through experiments; the force may also be a force determined according to the user's needs.
In an alternative embodiment, whether the user needs to control the screen not to rotate may be distinguished by pressing heavily and lightly, further, it may be determined whether the pressing operation is heavily pressed or lightly pressed by comparing the pressing force degree of the pressing operation with a preset force degree, and if it is determined that the pressing operation is heavily pressed, the pressing operation is preferentially performed, that is, it may be determined that the pressing operation does not conflict with the preset pressing operation; if it is determined that the pressing operation is a light pressing, the preset pressing operation is preferentially performed, that is, it may be determined that the pressing operation conflicts with the preset pressing operation.
It should be noted that, for the purpose of detecting the degree of pressure, certain hardware support needs to be provided, which may affect the cost of the entire mobile terminal.
Optionally, in the above embodiment of the present invention, before determining whether the pressing operation is detected, the method further includes: judging whether the current interface is allowed to rotate; under the condition that the current interface allows rotation, judging whether the interface rotation function of the mobile terminal is locked; when the interface rotation function is not locked, it is determined whether or not a pressing operation is detected.
The current interface in the above steps may be an interface displayed on a display screen of the mobile terminal.
For a mobile terminal, not all interfaces may rotate, for example, in the case that the current interface is a desktop, the interface is not allowed to rotate. For the interface capable of rotating, a user can start a screen locking function in a setting or pull-down bar to ensure that the current interface cannot rotate, and can also close the screen locking function to ensure that the current interface can rotate according to the operation of the user.
Optionally, in the above embodiment of the present invention, in a case where the current interface is prohibited from rotating, or the interface rotation function is locked, the direction of the current interface is controlled to remain unchanged.
For an interface that is not allowed to rotate, or a user opens the screen locking function, the current interface remains unchanged, that is, the current interface is not rotated, no matter whether the user rotates the mobile terminal or not.
Alternatively, in the above-described embodiment of the present invention, in a case where the pressing operation is not detected, the current interface is controlled to rotate.
In an alternative embodiment, after the user rotates the mobile terminal, if the user does not need to keep the current interface not rotating, no operation may be performed, and the mobile terminal cannot detect the pressing operation, so that the current interface may be rotated normally.
Optionally, in the above embodiment of the present invention, in a case that the pressing operation conflicts with the preset pressing operation, the mobile terminal is controlled to execute the preset pressing operation.
In an alternative embodiment, if the pressing operation conflicts with the preset pressing operation, the preset pressing operation is preferentially performed.
A preferred embodiment of the present invention will be described in detail with reference to fig. 2 and 3. As shown in fig. 2, the method may include the steps of:
in step S21, it is determined whether the current screen can be rotated.
Alternatively, if the current screen cannot rotate, the process proceeds to step S22, and the current screen is controlled to remain unchanged, that is, the control screen does not rotate; if the current screen can be rotated, the process proceeds to step S23.
In step S23, it is determined whether the screen lock function is turned on.
Optionally, if the screen locking function is turned on, the process goes to step S22 to control the current screen to remain unchanged; if the screen lock function is not turned on, that is, turned off, the process proceeds to step S25.
In step S25, it is determined whether the user has pressed the screen.
Alternatively, if the user presses the screen, the process goes to step S22 to control the current screen to remain unchanged; if the user does not press, the process proceeds to step S26, and the current screen is controlled to rotate.
For example, a mobile phone is taken as an example for explanation. As shown in fig. 3, when the mobile phone runs a rotatable application, if it is determined that the finger presses the screen and the mobile phone screen rotates, the direction of the mobile phone screen is not changed, and the state of the finger when pressed is maintained after rotation, so that the user can conveniently and quickly realize the effect of rotating the mobile phone without rotating the screen without frequently setting or pulling down the notification bar to change the screen locking. It should be noted that if the screen is rotated without pressing the screen, the rotation of the screen is not affected, and only when the finger presses the screen, the direction of the screen is not changed. The method also solves the problem that most mobile phones on the market can only rotate the full screen application by 90 degrees and cannot rotate by 270 degrees under the condition of locking the screen, and the screen direction can not be changed after the mobile phones rotate by 270 degrees by pressing the screen. The user can better provide a scheme under the special condition that the mobile phone can only be placed at 270 degrees.
Example 2
According to an embodiment of the present invention, a control device of a mobile terminal is provided, where the control device of the mobile terminal may execute the control method of the mobile terminal provided in the foregoing embodiment, and a specific implementation and an application scenario are the same as those in the foregoing embodiment, and are not described herein again.
Fig. 4 is a schematic diagram of a control apparatus of a mobile terminal according to an embodiment of the present invention, as shown in fig. 4, the apparatus includes:
a first judging module 42, configured to, when the rotation of the mobile terminal is detected, judge whether a pressing operation is detected.
And a second judging module 44, configured to judge whether the pressing operation conflicts with a preset pressing operation when the pressing operation is detected.
And the control module 46 is configured to, if the pressing operation does not conflict with the preset pressing operation, control the direction of the current interface of the mobile terminal to remain unchanged.
Optionally, in the foregoing embodiment of the present invention, the second determining module includes: the mobile terminal comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring the rotation angle of the mobile terminal; the first judging unit is used for judging whether the rotating angle in the preset time period is larger than a preset angle or not; a first determination unit configured to determine that the pressing operation does not conflict with a preset pressing operation if the rotation angle is greater than a preset angle within a preset time period; a second determination unit configured to determine that the pressing operation conflicts with a preset pressing operation if the rotation angle is less than or equal to a preset angle within a preset time period.
Optionally, in the foregoing embodiment of the present invention, the second determining module includes: a second acquisition unit configured to acquire a pressing force degree of the pressing operation; the second judgment unit is used for judging whether the pressing force degree is greater than the preset force degree or not; a third determining unit, configured to determine that the pressing operation does not conflict with the preset pressing operation if the pressing force is greater than the preset force; and the fourth determining unit is used for determining that the pressing operation conflicts with the preset pressing operation if the pressing force is less than or equal to the preset force.
Optionally, in the above embodiment of the present invention, the apparatus further includes: the third judgment module is used for judging whether the current interface allows rotation; the fourth judging module is used for judging whether the interface rotation function of the mobile terminal is locked or not under the condition that the current interface allows rotation; the first judging module is further used for judging whether the pressing operation is detected or not under the condition that the interface rotating function is unlocked.
Optionally, in the above embodiment of the present invention, the control module is further configured to control the direction of the current interface to remain unchanged in a case that the current interface is prohibited from rotating or the interface rotation function is locked.
Optionally, in the above embodiment of the present invention, the control module is further configured to control the current interface to rotate if the pressing operation is not detected.
Optionally, in the above embodiment of the present invention, the control module is further configured to control the mobile terminal to execute the preset pressing operation when the pressing operation conflicts with the preset pressing operation.
Example 3
According to an embodiment of the present invention, there is provided a computer-readable storage medium including a stored program, wherein when the program runs, an apparatus in which the computer-readable storage medium is located is controlled to execute the method for controlling a mobile terminal in embodiment 1.
Example 4
According to an embodiment of the present invention, there is provided a processor configured to execute a program, where the program executes the control method of the mobile terminal in embodiment 1.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or may not be executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (7)

1. A control method of a mobile terminal, comprising:
when the rotation of the mobile terminal is detected, judging whether a pressing operation is detected;
under the condition that the pressing operation is detected, judging whether the pressing operation conflicts with a preset pressing operation or not;
under the condition that the pressing operation does not conflict with the preset pressing operation, controlling the direction of the current interface of the mobile terminal to be kept unchanged;
wherein, judging whether the pressing operation conflicts with a preset pressing operation comprises:
acquiring a rotation angle of the mobile terminal;
judging whether the rotation angle is larger than a preset angle within a preset time period;
if the rotation angle is larger than the preset angle within the preset time period, determining that the pressing operation does not conflict with the preset pressing operation;
if the rotation angle is smaller than or equal to the preset angle within the preset time period, determining that the pressing operation conflicts with the preset pressing operation;
judging whether the pressing operation conflicts with a preset pressing operation further comprises the following steps:
acquiring the pressing force of the pressing operation;
judging whether the pressing force degree is greater than a preset force degree or not;
if the pressing force is greater than the preset force, determining that the pressing operation does not conflict with the preset pressing operation;
if the pressing force is smaller than or equal to the preset force, determining that the pressing operation conflicts with the preset pressing operation;
and under the condition that the pressing operation conflicts with the preset pressing operation, controlling the mobile terminal to execute the preset pressing operation.
2. The method of claim 1, wherein prior to determining whether a pressing operation is detected, the method further comprises:
judging whether the current interface is allowed to rotate or not;
under the condition that the current interface is allowed to rotate, judging whether the interface rotation function of the mobile terminal is locked or not;
and judging whether the pressing operation is detected or not under the condition that the interface rotation function is unlocked.
3. The method of claim 2, wherein the orientation of the current interface is controlled to remain unchanged if the current interface is inhibited from rotating or if the interface rotation function is locked.
4. The method of claim 2, wherein the current interface rotation is controlled if the pressing operation is not detected.
5. A control apparatus of a mobile terminal, characterized by comprising:
the first judging module is used for judging whether the pressing operation is detected or not when the rotation of the mobile terminal is detected;
the second judgment module is used for judging whether the pressing operation conflicts with a preset pressing operation or not under the condition that the pressing operation is detected;
the control module is used for controlling the direction of the current interface of the mobile terminal to be kept unchanged under the condition that the pressing operation is not in conflict with the preset pressing operation;
wherein the second judging module comprises:
a first obtaining unit, configured to obtain a rotation angle of the mobile terminal;
the first judgment unit is used for judging whether the rotation angle is larger than a preset angle within a preset time period;
a first determination unit, configured to determine that the pressing operation does not conflict with the preset pressing operation if the rotation angle is greater than the preset angle within the preset time period;
a second determination unit configured to determine that the pressing operation collides with the preset pressing operation if the rotation angle is less than or equal to the preset angle within the preset time period;
the second determination module further includes:
a second acquisition unit configured to acquire a pressing force degree of the pressing operation;
the second judging unit is used for judging whether the pressing force degree is greater than a preset force degree;
a third determining unit, configured to determine that the pressing operation does not conflict with the preset pressing operation if the pressing force is greater than the preset force;
a fourth determining unit, configured to determine that the pressing operation conflicts with the preset pressing operation if the pressing force is less than or equal to the preset force;
the control module is further used for controlling the mobile terminal to execute the preset pressing operation under the condition that the pressing operation conflicts with the preset pressing operation.
6. A computer-readable storage medium, comprising a stored program, wherein when the program runs, the computer-readable storage medium controls an apparatus to execute the control method of the mobile terminal according to any one of claims 1 to 4.
7. A processor, characterized in that the processor is configured to execute a program, wherein the program is configured to execute the control method of the mobile terminal according to any one of claims 1 to 4 when running.
CN202011075216.6A 2020-10-09 2020-10-09 Control method and device of mobile terminal Active CN112181261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011075216.6A CN112181261B (en) 2020-10-09 2020-10-09 Control method and device of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011075216.6A CN112181261B (en) 2020-10-09 2020-10-09 Control method and device of mobile terminal

Publications (2)

Publication Number Publication Date
CN112181261A CN112181261A (en) 2021-01-05
CN112181261B true CN112181261B (en) 2022-08-02

Family

ID=73948982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011075216.6A Active CN112181261B (en) 2020-10-09 2020-10-09 Control method and device of mobile terminal

Country Status (1)

Country Link
CN (1) CN112181261B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461352A (en) * 2014-11-13 2015-03-25 上海思立微电子科技有限公司 Screen rotation control method and electronic device
CN105162966A (en) * 2015-08-07 2015-12-16 惠州Tcl移动通信有限公司 Volume adjusting method and system based on mobile terminal
CN111194435A (en) * 2017-09-29 2020-05-22 深圳传音通讯有限公司 Interface switching method, device, terminal and computer readable medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
HRP20030264A2 (en) * 2003-04-07 2006-04-30 Erceg Marin Mobile phone with simplified dialing of limited amount of dialed numbers
CN101877736A (en) * 2009-04-30 2010-11-03 深圳富泰宏精密工业有限公司 Automatic adjusting system and method for user interface of mobile terminal
CN102662573B (en) * 2012-03-24 2016-04-27 上海量明科技发展有限公司 By pressing the method and terminal that obtain options
CN104252303A (en) * 2013-06-27 2014-12-31 福建省辉锐材料科技有限公司 Method and system for operating games based on pressure sensitive information
CN105159640B (en) * 2015-08-28 2020-06-12 北京小米移动软件有限公司 Display interface rotating method and device and mobile terminal
CN105183319B (en) * 2015-09-09 2018-11-13 魅族科技(中国)有限公司 A kind of application operating method, application operating device and terminal
CN105607775A (en) * 2016-01-18 2016-05-25 京东方科技集团股份有限公司 Pressure touch display device and pressure touch method
CN106569719A (en) * 2016-11-05 2017-04-19 上海创功通讯技术有限公司 Terminal control method and terminal
CN207782858U (en) * 2017-06-06 2018-08-28 杭州安费诺飞凤通信部品有限公司 Flexible screen mobile terminal hinge and flexible screen mobile terminal
CN107765973A (en) * 2017-11-16 2018-03-06 珠海市魅族科技有限公司 Control method and device, computer installation and the storage medium in screen display direction

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461352A (en) * 2014-11-13 2015-03-25 上海思立微电子科技有限公司 Screen rotation control method and electronic device
CN105162966A (en) * 2015-08-07 2015-12-16 惠州Tcl移动通信有限公司 Volume adjusting method and system based on mobile terminal
CN111194435A (en) * 2017-09-29 2020-05-22 深圳传音通讯有限公司 Interface switching method, device, terminal and computer readable medium

Also Published As

Publication number Publication date
CN112181261A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
US20140089842A1 (en) Method and device for interface display
US10649494B2 (en) Screen content switching method and double-screen mobile terminal
EP3617864B1 (en) Screen unlocking method and apparatus
EP3472784B1 (en) Payment information processing method, apparatus, and user device
US20210191741A1 (en) Window Switching Method, Terminal and Non-Transitory Computer-Readable Storage Medium
TWI700589B (en) Managing access to peripheral devices
CN103455740B (en) A kind of cipher processing method, device and terminal
CN106354494B (en) Method and system for quickly starting application program
CN108536370B (en) Input interface switching method and device and electronic equipment
CN105160217A (en) Application control method for intelligent watch and intelligent watch
WO2017118317A1 (en) Information image display method, a barcode payment method, and device
US11630907B2 (en) Live data viewing security
JP2019504566A (en) Information image display method and apparatus
CN107122117B (en) Notification expansion method and device, computer device and computer readable storage medium
US20190087609A1 (en) Method and system for controlling power key of terminal
US20140145821A1 (en) Screen Unlocking Method, Apparatus, and Device
CN105630498A (en) Application program display method and device and electronic equipment
CN107831990B (en) Screen locking method, screen unlocking method and electronic equipment
CN112181261B (en) Control method and device of mobile terminal
CN106959743B (en) Control method and electronic equipment
CN105549822B (en) A kind of icon moving method and mobile terminal
CN112748832B (en) Information processing method, information processing device, electronic equipment and storage medium
KR20190067240A (en) Processing method and terminal of virtual navigation bar
US20120246713A1 (en) Method and apparatus for controlling access of a secure digital memory card
CN105786418B (en) Information processing method and electronic equipment

Legal Events

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