CN111078087A - Mobile terminal, control mode switching method, and computer-readable storage medium - Google Patents
Mobile terminal, control mode switching method, and computer-readable storage medium Download PDFInfo
- Publication number
- CN111078087A CN111078087A CN201911168017.7A CN201911168017A CN111078087A CN 111078087 A CN111078087 A CN 111078087A CN 201911168017 A CN201911168017 A CN 201911168017A CN 111078087 A CN111078087 A CN 111078087A
- Authority
- CN
- China
- Prior art keywords
- touch
- screen
- area
- target area
- side target
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The application relates to the technical field of operation modes, and provides a mobile terminal, a control mode switching method and a computer readable storage medium, wherein the control mode switching method comprises the following steps: detecting whether a first side target area or a second side target area on a screen is subjected to touch operation, if so, analyzing according to the touch operation to obtain touch type information, judging whether the touch type information is a preset mode switching signal or not according to the touch type information, and if the touch type information is the preset mode switching signal, switching to a corresponding control mode to enter or exit a single-hand control mode. Through the mode, the mobile terminal can quickly enter or exit a single-hand operation mode through mode switching operation of the target area, convenience is brought to a user, the mobile terminal can be well compatible with large-screen operation products such as a full-screen, and user experience is improved.
Description
Technical Field
The present application relates to the field of touch control technologies, and in particular, to a control mode switching method, a mobile terminal using the control mode switching method, and a computer-readable storage medium.
Background
Touch screen (also called touch screen or touch panel) is an inductive liquid crystal display device capable of receiving input signals such as touch, when touching graphic buttons on the screen, the touch feedback system on the screen can drive various connecting devices according to a pre-programmed program, and can replace a mechanical button panel and produce vivid video and audio effects by the liquid crystal display picture. As a latest computer input device, the touch screen is the simplest, convenient and natural man-machine interaction mode at present. The multimedia interactive device gives the multimedia a brand-new appearance and is a brand-new multimedia interactive device with great attractiveness. The method is mainly applied to inquiry of public information, leadership office, industrial control, military command, electronic games, song and dish ordering, multimedia teaching, real estate pre-sale and the like.
Among them, the technology of using a touch screen for mobile terminals such as mobile phones is very mature and occupies a very large percentage, and has basically entered the technical era of full touch control.
However, as the screen of the mobile phone is larger and larger, the user must use two hands to perform operation control, which brings inconvenience to the user, especially in some occasions, the user wants to perform operation with one hand, and even though there is a mode of one-hand touch, the user often uses two hands to perform cooperative control to trigger entering but the mode, which is not very convenient for the user.
In view of various defects in the prior art, the inventors of the present application have made extensive studies to provide a mobile terminal, a control mode switching method, and a computer-readable storage medium.
Disclosure of Invention
An object of the present application is to provide a mobile terminal, a control mode switching method, and a computer-readable storage medium, which can quickly enter or exit a one-handed operation mode through a mode switching operation on a target area, thereby providing convenience for a user, and being well compatible with large-screen operation products such as a full-screen, and improving user experience.
In order to solve the above technical problem, the present application provides a control mode switching method, as one embodiment, the control mode switching method includes:
detecting whether a first side target area or a second side target area on a screen is subjected to touch operation;
if the touch operation is received, analyzing according to the touch operation to obtain touch type information;
judging whether the touch type information is a preset mode switching signal or not according to the touch type information;
if the signal is a preset mode switching signal, switching to a corresponding control mode to enter or exit the single-hand control mode.
As one embodiment, before the step of detecting whether the first side target area or the second side target area on the screen is subjected to the touch operation, the method further includes:
defining a touch area on a screen;
setting screen parameters of the touch area to construct and obtain the first side target area or the second side target area.
As an implementation manner, the step of setting the screen parameter of the touch area specifically includes:
and setting screen parameters including touch sensitivity, touch identification distance, the number of pressure sensors, area shape, area and/or horizontal and vertical screen mode switching in the touch area.
As an embodiment, the step of setting the screen parameters including touch sensitivity, touch recognition distance, number of pressure sensors, area shape, area, and/or horizontal and vertical screen mode switching in the touch area specifically includes:
improving the touch sensitivity of the touch area;
increasing a touch recognition distance of the touch area;
increasing the number of pressure sensors in the touch area;
setting the region shape or region area according to historical operation data of a user;
and/or setting the conversion position of the touch area during the mode switching of the horizontal and vertical screens.
As an embodiment, the step of defining a touch area on the screen specifically includes:
at least two corner portions are defined on the screen as the touch areas.
As an embodiment, the step of defining at least two corner portions on the screen as the touch areas specifically includes:
four corner portions are defined on the screen, and a first side target area or a second side target area of the switched representation in the landscape mode or the portrait mode is defined.
As one embodiment, the step of detecting whether the first side target area or the second side target area on the screen is subjected to a touch operation further includes:
identifying a direction mode of a current screen, wherein the direction mode comprises a horizontal screen mode and a vertical screen mode;
and determining a real-time first side target area and a real-time second side target area according to the direction mode.
As an implementation manner, the step of analyzing and obtaining the touch type information according to the touch operation specifically includes:
and analyzing the touch operation to obtain touch type information comprising single point clicking, multi-point clicking, long press touch, sliding touch, covering touch area, touch pressure value and/or press shape.
As an embodiment, in the step of determining whether the touch signal is a preset mode switching signal according to the touch type information, the preset mode switching signal includes: the long press touch reaches a preset time threshold, the coverage touch area is larger than a preset area threshold, the touch pressure value is larger than a preset pressure threshold, and the pressing shape is similar to a preset graph or any combination.
As an implementation manner, when the preset mode switching signal indicates that the touch pressure value is greater than the preset pressure threshold, the step of switching to the corresponding control mode further includes:
comparing the magnitude of the touch pressure value received between the first side target area and the second side target area;
and switching to a left-hand control mode or a right-hand control mode according to the comparison result, wherein the first side target area corresponds to the left-hand control mode, and the second side target area corresponds to the right-hand control mode.
In order to solve the above technical problem, the present application further provides a mobile terminal, as one embodiment, configured with a processor, where the processor is configured to execute program data to implement the control mode switching method as described above.
As one embodiment, the mobile terminal further includes:
the display screen is a flexible touch screen, a fixed curved surface touch screen or a fixed plane touch screen.
As one embodiment, the mobile terminal further includes:
a pressure sensor disposed on the first side target area or the second side target area for detecting a touch pressure applied to the first side target area or the second side target area;
the processor is used for calculating a touch pressure value according to the touch pressure detected by the pressure sensor.
To solve the above technical problem, the present application further provides a computer-readable storage medium as one of the embodiments, for storing program data, which when executed by a processor, implements the control mode switching method as described above.
The application provides a mobile terminal, a control mode switching method and a computer readable storage medium, wherein the control mode switching method comprises the following steps: detecting whether a first side target area or a second side target area on a screen is subjected to touch operation, if so, analyzing according to the touch operation to obtain touch type information, judging whether the touch type information is a preset mode switching signal or not according to the touch type information, and if the touch type information is the preset mode switching signal, switching to a corresponding control mode to enter or exit a single-hand control mode. Through the mode, the mobile terminal can quickly enter or exit a single-hand operation mode through mode switching operation of the target area, convenience is brought to a user, the mobile terminal can be well compatible with large-screen operation products such as a full-screen, and user experience is improved.
The foregoing description is only an overview of the technical solutions of the present application, and in order to make the technical means of the present application more clearly understood, the present application may be implemented in accordance with the content of the description, and in order to make the above and other objects, features, and advantages of the present application more clearly understood, the following preferred embodiments are described in detail with reference to the accompanying drawings.
Drawings
Fig. 1 is a flowchart illustrating a control mode switching method according to an embodiment of the present disclosure.
Fig. 1A to fig. 1H are schematic diagrams illustrating various operations and effects of an embodiment of a method for controlling mode switching according to the present application.
Fig. 2 is a schematic structural diagram of an embodiment of a mobile terminal according to the present application.
Detailed Description
To further clarify the technical measures and effects taken by the present application to achieve the intended purpose, the present application will be described in detail below with reference to the accompanying drawings and preferred embodiments.
While the present application has been described in terms of specific embodiments and examples for achieving the desired objects and objectives, it is to be understood that the invention is not limited to the disclosed embodiments, but is to be accorded the widest scope consistent with the principles and novel features as defined by the appended claims.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a control mode switching method according to an embodiment of the present application.
It should be noted that the control mode switching method of the present application may be applied to a mobile phone, a tablet computer, and a smart wearable device, and the control mode switching method of the present embodiment may include, but is not limited to, the following steps.
Step S101, detecting whether a first side target area or a second side target area on a screen is subjected to touch operation;
step S102, if a touch operation is received, analyzing according to the touch operation to obtain touch type information;
step S103, judging whether the touch type information is a preset mode switching signal or not according to the touch type information;
step S104, if the signal is a preset mode switching signal, switching to a corresponding control mode to enter or exit the single-hand control mode.
In this embodiment, before the step of detecting whether the first side target area or the second side target area on the screen is subjected to the touch operation, the method may further include: defining a touch area on a screen; setting screen parameters of the touch area to construct and obtain the first side target area or the second side target area.
It should be noted that, in the present embodiment, the step of setting the screen parameter of the touch area specifically includes: and setting screen parameters including touch sensitivity, touch identification distance, the number of pressure sensors, area shape, area and/or horizontal and vertical screen mode switching in the touch area.
Specifically, the step of setting the screen parameters including the touch sensitivity, the touch recognition distance, the number of pressure sensors, the area shape, the area, and/or the horizontal and vertical screen mode switching in the touch area according to this embodiment may specifically include the following steps:
firstly, improving the touch sensitivity of the touch area;
secondly, improving the touch identification distance of the touch area;
thirdly, increasing the number of the pressure sensors in the touch area;
fourthly, setting the shape or area of the region according to historical operation data of a user;
and/or, fifthly, setting the conversion position of the touch area during the mode switching of the horizontal and vertical screens.
It should be noted that, the step of defining a touch area on the screen in this embodiment specifically includes: at least two corner portions are defined on the screen as the touch areas. In which, it can refer to the four corner portions 1,2,3,4 shown in fig. 1A-1D.
Specifically, the step of defining at least two corner portions on the screen as the touch area in this embodiment specifically includes: four corner portions are defined on the screen, and a first side target area or a second side target area of the switched representation in the landscape mode or the portrait mode is defined. In particular, it can be seen from FIGS. 1E and 1F.
It should be noted that, in this embodiment, the step of detecting whether the first side target area or the second side target area on the screen is subjected to the touch operation further includes: identifying a direction mode of a current screen, wherein the direction mode comprises a horizontal screen mode and a vertical screen mode; and determining a real-time first side target area and a real-time second side target area according to the direction mode.
It is easily understood that, referring to fig. 1A to 1F again, since the mobile terminal performs repeated switching according to the landscape mode, the real-time first-side target area and the real-time second-side target area need to be determined continuously to avoid operation control errors.
Specifically, the step of obtaining the touch type information according to the touch operation analysis in this embodiment may specifically include: and analyzing the touch operation to obtain touch type information comprising single point clicking, multi-point clicking, long press touch, sliding touch, covering touch area, touch pressure value and/or press shape.
For example, in the step of determining whether the touch signal is a preset mode switching signal according to the touch type information in this embodiment, the preset mode switching signal includes: the long press touch reaches a preset time threshold, the coverage touch area is larger than a preset area threshold, the touch pressure value is larger than a preset pressure threshold, and the pressing shape is similar to a preset graph or any combination.
Please refer to fig. 1G and fig. 1H, in this embodiment, when the preset mode switching signal indicates that the touch pressure value is greater than the preset pressure threshold, the step of switching to the corresponding control mode further includes: comparing the magnitude of the touch pressure value received between the first side target area and the second side target area; and switching to a left-hand control mode or a right-hand control mode according to the comparison result, wherein the first side target area corresponds to the left-hand control mode, and the second side target area corresponds to the right-hand control mode.
For convenience of explanation, referring to fig. 1A-1H, a mobile phone will be described with reference to an embodiment.
In the embodiment, the touch screen can strengthen the functions of four corner areas of the touch screen, for example, the sensitivity of the four corner edge areas of the capacitive touch screen is enhanced, the recognition distance is increased to 1-2cm, the number of pressure sensors is increased, and the like. The shape of the four corner regions may be a prototype, a square, or other irregular figure, which is not limited herein.
Meanwhile, the embodiment can acquire the data a of the four corners of the touch screen by detecting the operation of the user on the touch screen after unlocking the screen, and when the user is holding the mobile phone with one hand, the palm part of the hand inevitably occupies one area B of the four parts of areas in order to hold the mobile phone more stably, so that the mobile phone can be divided into the four corners of the mobile phone with the edge areas of 1,2,3 and 4 and the corresponding data ranges B1, B2, B3 and B4 from the upper right corner shown in any figure, and the left and right single-hand modes are opened by analyzing the data range B.
Note that, in the present embodiment, the analysis of the data range includes the combined area of the contact points, the arrangement shape of the contact points, the touch pressure value corresponding to the contact points, and the like.
For example, when the area of the data range a occupied by the analyzed data range reported by the B3 area contact exceeds the set threshold, it can be considered that the single-handed mode needs to be started at this time, and the left single-handed mode is triggered to be started because the triggering area is B3; similarly, when the area of the data range a occupied by the data range B2 exceeds a set threshold, the right one-handed mode may be triggered to be turned on.
For example, when the arrangement shape reported by the B3 area contact is a shape similar to the edge of the palm, we turn on the left single-hand mode, and similarly, when the arrangement shape reported by the B2 area contact is a shape similar to the edge of the palm, we turn on the right single-hand mode. In other words, the embodiment can determine the attribute of the hand of the handheld mobile phone by determining the pressing shape, so as to switch to enter a left-hand operation mode or a right-hand operation mode.
For example, when the average pressure value detected by the B3 area is higher than the other three areas, the application can start the left single-hand mode, and similarly, when the average pressure value detected by the B2 area is higher than the other three areas, the application can start the right single-hand control mode.
According to the method and the device, the user can quickly enter or exit the single-hand operation mode through mode switching operation of the target area, convenience is brought to the user, the user can be well compatible with large-screen operation products such as a full-screen, and user experience is improved.
Referring to fig. 2, the present application further provides a mobile terminal, as one embodiment, which is configured with a processor 21, where the processor 21 is configured to execute program data to implement the control mode switching method as described above.
It is easy to understand that, the mobile terminal according to this embodiment may be an intelligent display device such as a mobile phone and a tablet computer, and may include a display screen, where the display screen is a flexible touch screen, a fixed curved touch screen, or a fixed planar touch screen.
Correspondingly, the mobile terminal of this embodiment further includes a pressure sensor, disposed on the first side target area or the second side target area, for detecting a touch pressure applied to the first side target area or the second side target area; the processor 21 is configured to calculate a touch pressure value according to the touch pressure detected by the pressure sensor.
Specifically, the processor 21 is configured to detect whether a first side target area or a second side target area located on the screen is subjected to a touch operation;
if the touch operation is received, the processor 21 is configured to analyze the touch operation to obtain touch type information;
the processor 21 is configured to determine whether the touch signal is a preset mode switching signal according to the touch type information;
if the signal is a preset mode switching signal, the processor 21 is configured to switch to a corresponding control mode to enter or exit the one-hand control mode.
In this embodiment, the processor 21 is configured to detect whether the first side target area or the second side target area on the screen is subjected to a touch operation, and may further include: the processor 21 is configured to define a touch area on the screen; the processor 21 is configured to set a screen parameter of the touch area to construct the first side target area or the second side target area.
It should be noted that, in this embodiment, the processor 21 is configured to set a screen parameter of the touch area, and specifically includes: the processor 21 is configured to set screen parameters including touch sensitivity, touch recognition distance, the number of pressure sensors, an area shape, an area, and/or switching between horizontal and vertical screen modes in the touch area.
Specifically, the processor 21 according to this embodiment is configured to set the screen parameters including the touch sensitivity, the touch recognition distance, the number of pressure sensors, the area shape, the area, and/or the horizontal and vertical screen mode switching in the touch area, and specifically may include the following:
firstly, improving the touch sensitivity of the touch area;
secondly, improving the touch identification distance of the touch area;
thirdly, increasing the number of the pressure sensors in the touch area;
fourthly, setting the shape or area of the region according to historical operation data of a user;
and/or, fifthly, setting the conversion position of the touch area during the mode switching of the horizontal and vertical screens.
It should be noted that, the processor 21 in this embodiment is configured to define a touch area on the screen, and specifically includes: the processor 21 is configured to define at least two corner portions on the screen as the touch areas. In which, it can refer to the four corner portions 1,2,3,4 shown in fig. 1A-1D.
Specifically, the processor 21 according to this embodiment is configured to define at least two corner portions on the screen as the touch areas, and specifically includes: the processor 21 is configured to define four corner portions on the screen, and define a first side target area or a second side target area of the switched representation in the landscape mode or the portrait mode. In particular, it can be seen from FIGS. 1E and 1F.
It should be noted that, in this embodiment, the processor 21 is configured to detect whether the first side target area or the second side target area on the screen is subjected to a touch operation, and further includes: the processor 21 is configured to identify a direction mode of a current screen, where the direction mode includes a landscape mode and a portrait mode; and determining a real-time first side target area and a real-time second side target area according to the direction mode.
It is easily understood that, referring to fig. 1A to 1F again, since the mobile terminal performs repeated switching according to the landscape mode, the real-time first-side target area and the real-time second-side target area need to be determined continuously to avoid operation control errors.
Specifically, the processor 21 in this embodiment is configured to obtain the touch type information according to the touch operation analysis, and specifically may include: the processor 21 is configured to obtain touch type information including a single-point click, a multi-point click, a long-press touch, a sliding touch, an overlay touch area, a touch pressure value, and/or a press shape according to the touch operation analysis.
For example, the processor 21 of this embodiment is configured to determine whether the touch type information is in a preset mode switching signal according to the touch type information, where the preset mode switching signal includes: the long press touch reaches a preset time threshold, the coverage touch area is larger than a preset area threshold, the touch pressure value is larger than a preset pressure threshold, and the pressing shape is similar to a preset graph or any combination.
Please refer to fig. 1G and fig. 1H, in this embodiment, when the preset mode switching signal indicates that the touch pressure value is greater than the preset pressure threshold, the processor 21 is configured to compare the touch pressure value received between the first side target area and the second side target area; and switching to a left-hand control mode or a right-hand control mode according to the comparison result, wherein the first side target area corresponds to the left-hand control mode, and the second side target area corresponds to the right-hand control mode.
For convenience of explanation, referring to fig. 1A-1H, a mobile phone will be described with reference to an embodiment.
In the embodiment, the touch screen can strengthen the functions of four corner areas of the touch screen, for example, the sensitivity of the four corner edge areas of the capacitive touch screen is enhanced, the recognition distance is increased to 1-2cm, the number of pressure sensors is increased, and the like. The shape of the four corner regions may be a prototype, a square, or other irregular figure, which is not limited herein.
Meanwhile, the embodiment can acquire the data a of the four corners of the touch screen by detecting the operation of the user on the touch screen after unlocking the screen, and when the user is holding the mobile phone with one hand, the palm part of the hand inevitably occupies one area B of the four parts of areas in order to hold the mobile phone more stably, so that the mobile phone can be divided into the four corners of the mobile phone with the edge areas of 1,2,3 and 4 and the corresponding data ranges B1, B2, B3 and B4 from the upper right corner shown in any figure, and the left and right single-hand modes are opened by analyzing the data range B.
Note that, in the present embodiment, the analysis of the data range includes the combined area of the contact points, the arrangement shape of the contact points, the touch pressure value corresponding to the contact points, and the like.
For example, when the area of the data range a occupied by the analyzed data range reported by the B3 area contact exceeds the set threshold, it can be considered that the single-handed mode needs to be started at this time, and the left single-handed mode is triggered to be started because the triggering area is B3; similarly, when the area of the data range a occupied by the data range B2 exceeds a set threshold, the right one-handed mode may be triggered to be turned on.
For example, when the arrangement shape reported by the B3 area contact is a shape similar to the edge of the palm, we turn on the left single-hand mode, and similarly, when the arrangement shape reported by the B2 area contact is a shape similar to the edge of the palm, we turn on the right single-hand mode. In other words, the embodiment can determine the attribute of the hand of the handheld mobile phone by determining the pressing shape, so as to switch to enter a left-hand operation mode or a right-hand operation mode.
For example, when the average pressure value detected by the B3 area is higher than the other three areas, the application can start the left single-hand mode, and similarly, when the average pressure value detected by the B2 area is higher than the other three areas, the application can start the right single-hand control mode.
According to the method and the device, the user can quickly enter or exit the single-hand operation mode through mode switching operation of the target area, convenience is brought to the user, the user can be well compatible with large-screen operation products such as a full-screen, and user experience is improved.
Furthermore, the present application also provides a computer-readable storage medium as one of the embodiments, which is used for storing program data, and the program data when being executed by a processor realizes the control mode switching method according to any one of the above embodiments.
The specific implementation of the control mode switching method may be as shown in fig. 1 and the embodiment thereof, and details are not repeated within a range that a person skilled in the art can comprehensively understand the control mode switching method by combining the embodiment thereof.
The mobile terminal, the control mode switching method and the computer readable storage medium can quickly enter or exit a single-hand operation mode through mode switching operation of the target area, bring convenience to a user, can be well compatible with large-screen operation products such as a full-screen and the like, and improve user experience.
In the application, the mobile terminal can be a mobile phone, a tablet computer, a wearable device, an intelligent television, an intelligent camera and the like.
It should be added that the computer-readable storage medium according to this embodiment may be installed or connected to a mobile phone, and preferably, the mobile phone may be provided with an Android (Android) system of an application layer, an application framework layer, a library layer, and a kernel layer.
In the embodiment, the application layer mainly works on the Android SDK, and is developed by using an API (application program interface) provided by the Android to generate an APK (Android package); the application framework layer integrates various controls and classes of the Android and provides an efficient and convenient API interface for application development. The upper part of the pair realizes a uniform interface, and the lower part of the pair also provides a uniform standard to facilitate the moving in of various libraries; the library layer is an Android and bottom hardware communication interface, encapsulates the bottom hardware interface to realize the specific logic of the module, and is exposed to the application framework through a Binder communication mechanism in a service form; the kernel layer is a layer directly connected to hardware, and may be understood as a device driver.
Meanwhile, the overall architecture of the Camera of the Android system can include functions of a viewfinder (viewfinder) and a photo (take picture), and the architecture of the MTK Android Camera program is divided into a client and a server, and can be established on the structure of an interprocess communication Binder of Android.
Specifically, the Camera application layer in the embodiment represents a Camera application APK package directly calling the SDK API to be developed on the Android. Mainly adopts encapsulation written by Java language and based on android, hardware, Camera class call, and realizes business logic and UI display of Camera application.
The Android, hardware, Camera in the embodiment is a Camera class which is provided by Android for upper layer calling, and can be used for connecting or disconnecting a Camera service, setting shooting parameters, starting and stopping previewing, shooting and the like; the method can also be used as an exposed interface of the Android Camera application framework package. If the Android application needs to use the class, the authority of Camera needs to be declared in a Manifest file, and in addition, some < uses-feature > elements need to be added to declare the Camera characteristics in the application, such as automatic focusing and the like.
Although the present application has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the application, and all changes, substitutions and alterations that fall within the spirit and scope of the application are to be understood as being included within the following description of the preferred embodiment.
Claims (14)
1. A control mode switching method, characterized by comprising the steps of:
detecting whether a first side target area or a second side target area on a screen is subjected to touch operation;
if the touch operation is received, analyzing according to the touch operation to obtain touch type information;
judging whether the touch type information is a preset mode switching signal or not according to the touch type information;
if the signal is a preset mode switching signal, switching to a corresponding control mode to enter or exit the single-hand control mode.
2. The method for switching control modes according to claim 1, wherein the step of detecting whether the first side target area or the second side target area on the screen is subjected to the touch operation further comprises:
defining a touch area on a screen;
setting screen parameters of the touch area to construct and obtain the first side target area or the second side target area.
3. The method according to claim 2, wherein the step of setting the screen parameters of the touch area specifically comprises:
and setting screen parameters including touch sensitivity, touch identification distance, the number of pressure sensors, area shape, area and/or horizontal and vertical screen mode switching in the touch area.
4. The method according to claim 3, wherein the step of setting the screen parameters including touch sensitivity, touch recognition distance, number of pressure sensors, area shape, area and/or horizontal and vertical screen mode switching in the touch area specifically comprises:
improving the touch sensitivity of the touch area;
increasing a touch recognition distance of the touch area;
increasing the number of pressure sensors in the touch area;
setting the region shape or region area according to historical operation data of a user;
and/or setting the conversion position of the touch area during the mode switching of the horizontal and vertical screens.
5. The method according to claim 2, wherein the step of defining a touch area on the screen specifically comprises:
at least two corner portions are defined on the screen as the touch areas.
6. The method according to claim 5, wherein the step of defining at least two corner portions on the screen as the touch areas specifically comprises:
four corner portions are defined on the screen, and a first side target area or a second side target area of the switched representation in the landscape mode or the portrait mode is defined.
7. The method for switching control modes according to claim 1, wherein the step of detecting whether the first side target area or the second side target area on the screen is touched further comprises:
identifying a direction mode of a current screen, wherein the direction mode comprises a horizontal screen mode and a vertical screen mode;
and determining a real-time first side target area and a real-time second side target area according to the direction mode.
8. The method according to claim 1, wherein the step of obtaining touch type information according to the touch operation analysis specifically includes:
and analyzing the touch operation to obtain touch type information comprising single point clicking, multi-point clicking, long press touch, sliding touch, covering touch area, touch pressure value and/or press shape.
9. The method according to claim 8, wherein the step of determining whether the touch signal is a preset mode switching signal according to the touch type information includes: the long press touch reaches a preset time threshold, the coverage touch area is larger than a preset area threshold, the touch pressure value is larger than a preset pressure threshold, and the pressing shape is similar to a preset graph or any combination.
10. The method according to claim 9, wherein the step of switching to the corresponding control mode when the preset mode switching signal indicates that the touch pressure value is greater than the preset pressure threshold value further comprises:
comparing the magnitude of the touch pressure value received between the first side target area and the second side target area;
and switching to a left-hand control mode or a right-hand control mode according to the comparison result, wherein the first side target area corresponds to the left-hand control mode, and the second side target area corresponds to the right-hand control mode.
11. A mobile terminal, characterized in that it is provided with a processor for executing program data for implementing the control mode switching method according to any one of claims 1-10.
12. The mobile terminal of claim 11, wherein the mobile terminal further comprises:
the display screen is a flexible touch screen, a fixed curved surface touch screen or a fixed plane touch screen.
13. The mobile terminal of claim 11, wherein the mobile terminal further comprises:
a pressure sensor disposed on the first side target area or the second side target area for detecting a touch pressure applied to the first side target area or the second side target area;
the processor is used for calculating a touch pressure value according to the touch pressure detected by the pressure sensor.
14. A computer-readable storage medium for storing program data which, when executed by a processor, implements the control mode switching method according to any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911168017.7A CN111078087A (en) | 2019-11-25 | 2019-11-25 | Mobile terminal, control mode switching method, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911168017.7A CN111078087A (en) | 2019-11-25 | 2019-11-25 | Mobile terminal, control mode switching method, and computer-readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111078087A true CN111078087A (en) | 2020-04-28 |
Family
ID=70311632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911168017.7A Pending CN111078087A (en) | 2019-11-25 | 2019-11-25 | Mobile terminal, control mode switching method, and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111078087A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021077832A1 (en) * | 2019-10-25 | 2021-04-29 | 深圳传音控股股份有限公司 | One-handed mode control method, terminal, and computer storage medium |
WO2023220983A1 (en) * | 2022-05-18 | 2023-11-23 | 北京小米移动软件有限公司 | Control method and apparatus for switching single-hand mode, device and storage medium |
US12086395B2 (en) | 2020-05-22 | 2024-09-10 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Device control method, storage medium, and non-transitory computer-readable electronic device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101676843A (en) * | 2008-09-18 | 2010-03-24 | 联想(北京)有限公司 | Touch inputting method and touch inputting device |
CN101685363A (en) * | 2008-08-29 | 2010-03-31 | 夏普株式会社 | Image capture device, image analysis device, external light intensity calculation method and image analysis method |
CN101968710A (en) * | 2010-09-29 | 2011-02-09 | 宇龙计算机通信科技(深圳)有限公司 | Method for controlling human-computer interface of electronic terminal and electronic terminal |
CN103513918A (en) * | 2013-04-27 | 2014-01-15 | 展讯通信(上海)有限公司 | Method and device capable of controlling playing progress on touch control equipment and touch control equipment |
CN103870199A (en) * | 2014-03-31 | 2014-06-18 | 华为技术有限公司 | Method for recognizing user operation mode on handheld device and handheld device |
CN104142741A (en) * | 2013-05-08 | 2014-11-12 | 宏碁股份有限公司 | Electronic device and touch control detecting method thereof |
CN104778009A (en) * | 2015-04-15 | 2015-07-15 | 京东方科技集团股份有限公司 | Driving method, driving device and display device |
CN105528169A (en) * | 2014-10-23 | 2016-04-27 | 中兴通讯股份有限公司 | A touch screen apparatus and a method for operating the same |
CN106484284A (en) * | 2016-09-22 | 2017-03-08 | 北京小米移动软件有限公司 | The method and apparatus of the singlehanded pattern of switching |
-
2019
- 2019-11-25 CN CN201911168017.7A patent/CN111078087A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101685363A (en) * | 2008-08-29 | 2010-03-31 | 夏普株式会社 | Image capture device, image analysis device, external light intensity calculation method and image analysis method |
CN101676843A (en) * | 2008-09-18 | 2010-03-24 | 联想(北京)有限公司 | Touch inputting method and touch inputting device |
CN101968710A (en) * | 2010-09-29 | 2011-02-09 | 宇龙计算机通信科技(深圳)有限公司 | Method for controlling human-computer interface of electronic terminal and electronic terminal |
CN103513918A (en) * | 2013-04-27 | 2014-01-15 | 展讯通信(上海)有限公司 | Method and device capable of controlling playing progress on touch control equipment and touch control equipment |
CN104142741A (en) * | 2013-05-08 | 2014-11-12 | 宏碁股份有限公司 | Electronic device and touch control detecting method thereof |
CN103870199A (en) * | 2014-03-31 | 2014-06-18 | 华为技术有限公司 | Method for recognizing user operation mode on handheld device and handheld device |
CN105528169A (en) * | 2014-10-23 | 2016-04-27 | 中兴通讯股份有限公司 | A touch screen apparatus and a method for operating the same |
CN104778009A (en) * | 2015-04-15 | 2015-07-15 | 京东方科技集团股份有限公司 | Driving method, driving device and display device |
CN106484284A (en) * | 2016-09-22 | 2017-03-08 | 北京小米移动软件有限公司 | The method and apparatus of the singlehanded pattern of switching |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021077832A1 (en) * | 2019-10-25 | 2021-04-29 | 深圳传音控股股份有限公司 | One-handed mode control method, terminal, and computer storage medium |
US12086395B2 (en) | 2020-05-22 | 2024-09-10 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Device control method, storage medium, and non-transitory computer-readable electronic device |
WO2023220983A1 (en) * | 2022-05-18 | 2023-11-23 | 北京小米移动软件有限公司 | Control method and apparatus for switching single-hand mode, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11128802B2 (en) | Photographing method and mobile terminal | |
US10969942B2 (en) | Method and device for displaying interface | |
CN109062479B (en) | Split screen application switching method and device, storage medium and electronic equipment | |
US10551987B2 (en) | Multiple screen mode in mobile terminal | |
US9635267B2 (en) | Method and mobile terminal for implementing preview control | |
CN107124508B (en) | Position adjusting method and device of suspension control, terminal and readable storage medium | |
CN108897483B (en) | Method for changing focus in response to gesture and dual screen communication device | |
US20180253227A1 (en) | Portable device and method for providing user interface mode thereof | |
US20140289660A1 (en) | Method and apparatus for converting object in portable terminal | |
US20130222663A1 (en) | User interface for a digital camera | |
CN106415472B (en) | Gesture control method and device, terminal equipment and storage medium | |
CN111078087A (en) | Mobile terminal, control mode switching method, and computer-readable storage medium | |
CN105843491A (en) | Quick navigation switching method and device of page, and terminal | |
WO2022048633A1 (en) | Display method and apparatus and electronic device | |
CN111078076A (en) | Application program switching method and electronic equipment | |
CN103246383B (en) | Touch display device and touch method | |
EP2613247A2 (en) | Method and apparatus for displaying keypad in terminal having touch screen | |
KR20130097331A (en) | Apparatus and method for selecting object in device with touch screen | |
CN107694087B (en) | Information processing method and terminal equipment | |
CN106020698A (en) | Mobile terminal and realization method of single-hand mode | |
CN107168566B (en) | Operation mode control method and device and terminal electronic equipment | |
CN108845752A (en) | touch operation method, device, storage medium and electronic equipment | |
CN113655929A (en) | Interface display adaptation processing method and device and electronic equipment | |
CN111078086A (en) | Mobile terminal, one-handed mode control method, and computer-readable storage medium | |
US20220004287A1 (en) | Layout method, device and equipment for window control bars |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200428 |
|
RJ01 | Rejection of invention patent application after publication |