CN107239166B - Method for adjusting interface display of mobile terminal and mobile terminal - Google Patents

Method for adjusting interface display of mobile terminal and mobile terminal Download PDF

Info

Publication number
CN107239166B
CN107239166B CN201710398210.4A CN201710398210A CN107239166B CN 107239166 B CN107239166 B CN 107239166B CN 201710398210 A CN201710398210 A CN 201710398210A CN 107239166 B CN107239166 B CN 107239166B
Authority
CN
China
Prior art keywords
area
mobile terminal
interface
sub
touch screen
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
CN201710398210.4A
Other languages
Chinese (zh)
Other versions
CN107239166A (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.)
Xiamen Meitu Mobile Technology Co Ltd
Original Assignee
Xiamen Meitu Mobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Meitu Mobile Technology Co Ltd filed Critical Xiamen Meitu Mobile Technology Co Ltd
Priority to CN201710398210.4A priority Critical patent/CN107239166B/en
Publication of CN107239166A publication Critical patent/CN107239166A/en
Application granted granted Critical
Publication of CN107239166B publication Critical patent/CN107239166B/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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method for adjusting interface display of a mobile terminal, wherein the mobile terminal comprises a touch screen suitable for displaying an interface on the mobile terminal, the touch screen comprises a plurality of sub-blocks, and the method comprises the following steps: monitoring whether the mobile terminal generates a collision event or not, and reading the capacitance value of each sub-block in the touch screen if the collision event occurs; judging whether the capacitance value of each sub-block is in an effective interval or not; when the capacitance value of the subblock is judged not to be in the effective interval, acquiring a coordinate position corresponding to the subblock; and adjusting the interface display according to the coordinate position corresponding to the sub-block. The invention also discloses a corresponding mobile terminal.

Description

Method for adjusting interface display of mobile terminal and mobile terminal
Technical Field
The invention relates to the field of mobile terminals, in particular to a method for adjusting interface display of a mobile terminal and the mobile terminal.
Background
With the continuous development of computer communication and internet technology, mobile terminals, such as mobile phones, personal digital assistants, tablet computers and the like, are applied more and more widely, application functions provided by the mobile terminals are more and more abundant, and users can take out the mobile terminals at any time and any place for entertainment, work and daily social contact. On the other hand, large-screen mobile terminals are increasingly favored by users, and in the using process of the large-screen mobile terminals, due to the fact that the using environments and conditions are various, accidents such as collision and falling are prone to occurring under some conditions, for example, when a smart phone is placed in a trousers pocket, the smart phone falls due to walking extrusion, and therefore screen touch failure is probably caused, and in this way, the user can only go to a website to detect and change the screen.
In some scenes, if some key areas in the display screen are damaged, for example, a key area for receiving a call is damaged, but an important call needs to be received at the moment, a user can only be in a hurry, which brings great inconvenience to the user and influences the working life of the user.
Therefore, a solution for intelligently adjusting the interface display of the mobile terminal is needed.
Disclosure of Invention
To this end, the present invention provides a method of adjusting a display of an interface of a mobile terminal and a mobile terminal in an effort to solve or at least alleviate at least one of the problems identified above.
According to an aspect of the present invention, there is provided a method of adjusting an interface display of a mobile terminal, the mobile terminal including a touch screen adapted to display an interface thereon, wherein the touch screen includes a plurality of sub-blocks, the method comprising the steps of: monitoring whether the mobile terminal generates a collision event or not, and reading the capacitance value of each sub-block in the touch screen if the collision event occurs; judging whether the capacitance value of each sub-block is in an effective interval or not; when the capacitance value of a subblock is judged not to be in the effective interval, acquiring a coordinate position corresponding to the subblock; and adjusting the interface display according to the coordinate position corresponding to the sub-block.
Optionally, in the method for adjusting the interface display of the mobile terminal according to the present invention, the number of the sub-blocks in the touch screen is obtained according to the number of the capacitive modules in the touch screen.
Optionally, in the method for adjusting an interface display of a mobile terminal according to the present invention, the step of monitoring whether the mobile terminal has a collision event includes: monitoring whether the change state of the acceleration data in the mobile terminal meets a preset condition, and if so, generating a collision event.
Optionally, in the method for adjusting the interface display of the mobile terminal according to the present invention, the predetermined condition includes: the acceleration values on the x, y and z axes are suddenly changed.
Alternatively, in the method of adjusting the interface display of the mobile terminal according to the present invention, the acceleration value is decreased to 0 and then increased within a predetermined period of time.
Optionally, in the method for adjusting the interface display of the mobile terminal according to the present invention, when it is determined that the capacitance value of the sub-block is not within the valid interval, the step of obtaining the coordinate position corresponding to the sub-block includes: when the capacitance values of the sub-blocks are judged not to be in the effective interval, determining that the touch screen area corresponding to the sub-block or sub-blocks is abnormal; and acquiring coordinate positions corresponding to one or more sub-blocks, and listing areas corresponding to the coordinate positions as first areas.
Optionally, in the method for adjusting an interface display of a mobile terminal according to the present invention, after the step of obtaining the coordinate position corresponding to the sub-block when it is determined that the capacitance value of the sub-block is not within the valid interval, the method further includes: and displaying the early warning information in a second area of the touch screen, wherein the second area does not contain the first area.
Optionally, in the method for adjusting interface display of a mobile terminal according to the present invention, the step of adjusting interface display according to the coordinate position corresponding to the sub-block includes: and generating one or more commands for adjusting the interface display according to the coordinate positions corresponding to the sub-blocks so as to adjust the interface display.
Optionally, in the method for adjusting an interface display of a mobile terminal according to the present invention, the step of generating one or more commands for adjusting the interface display includes: judging whether the first area is positioned at the edge of the touch screen or not; and if so, generating a command for displaying the interface to the third area in a reduced mode according to the first direction, wherein the first direction is the reverse direction of the edge where the first area is located.
Optionally, in the method for adjusting an interface display of a mobile terminal according to the present invention, the step of generating one or more commands for adjusting the interface display further includes: if the first area is judged not to be at the edge of the touch screen, generating a message that the first area is abnormal; and broadcasting the message to the application in the mobile terminal so that the corresponding application redraws the interface display when starting, wherein the message instructs the application to translate the interface object originally to be displayed in the first area to a position outside the first area for display.
Optionally, in the method for adjusting an interface display of a mobile terminal according to the present invention, the step of generating one or more commands for adjusting the interface display further includes: judging whether the area of the first area is larger than a threshold value; and if the area of the first area is larger than the threshold value, generating a command for displaying an interface in a sliding window mode.
Optionally, in the method for adjusting an interface display of a mobile terminal according to the present invention, the step of generating one or more commands for adjusting the interface display further includes: and when the area of the first area is judged to be larger than the threshold value, generating a command for converting the interface by 90 degrees for displaying.
According to another embodiment of the present invention, there is provided a mobile terminal including: a touch screen display adapted to display information input by a user and information provided to the user; one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods described above.
Optionally, in the mobile terminal according to the present invention, further comprising: and the acceleration sensor is suitable for acquiring the acceleration data of the mobile terminal.
According to another embodiment of the invention, there is provided a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a mobile terminal, cause the mobile terminal to perform any of the methods described above.
According to the scheme for adjusting the interface display of the mobile terminal, whether the touch screen is normal or not can be automatically detected when a collision event of the mobile terminal is detected, when the touch screen is judged to be abnormal, a user is prompted to overhaul in time, and the interface display is adjusted according to an abnormal area, so that the user is at a high urgency.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 shows a schematic diagram of a mobile terminal 100 according to one embodiment of the invention;
FIG. 2 illustrates a flow diagram of a method 200 of adjusting a display of a mobile terminal interface in accordance with one embodiment of the present invention;
FIG. 3 illustrates a schematic diagram of an early warning interface of the mobile terminal 100, according to one embodiment of the present invention; and
4A-4D illustrate interface diagrams after adjusting the display of an interface, according to embodiments of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a block diagram of a mobile terminal 100. The mobile terminal 100 may include a memory interface 102, one or more data processors, image processors and/or central processing units 104, and a peripheral interface 106.
The memory interface 102, the one or more processors 104, and/or the peripherals interface 106 can be discrete components or can be integrated in one or more integrated circuits. In the mobile terminal 100, the various elements may be coupled by one or more communication buses or signal lines. Sensors, devices, and subsystems can be coupled to peripheral interface 106 to facilitate a variety of functions.
For example, a motion sensor 110, a light sensor 112, and a distance sensor 114 may be coupled to the peripheral interface 106 to facilitate directional, lighting, and ranging functions. Other sensors 116 may also be coupled to the peripheral interface 106, such as a positioning system (e.g., a GPS receiver), an acceleration sensor, a temperature sensor, a biometric sensor, or other sensing device, to facilitate related functions.
The camera subsystem 120 and optical sensor 122, which may be, for example, a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) optical sensor, may be used to facilitate implementation of camera functions such as recording photographs and video clips. Can be used for dredgingCommunication functions are facilitated by one or more wireless communication subsystems 124, which may include radio frequency receivers and transmitters and/or optical (e.g., infrared) receivers and transmitters. The particular design and implementation of the wireless communication subsystem 124 may depend on the one or more communication networks supported by the mobile terminal 100. For example, the mobile terminal 100 may include a network designed to support LTE, 3G, GSM networks, GPRS networks, EDGE networks, Wi-Fi or WiMax networks, and BluetoothTMA communication subsystem 124 of the network.
The audio subsystem 126 may be coupled to a speaker 128 and a microphone 130 to facilitate voice-enabled functions, such as voice recognition, voice replication, digital recording, and telephony functions. The I/O subsystem 140 may include a touch screen controller 142 and/or one or more other input controllers 144. The touch screen controller 142 may be coupled to a touch screen 146. For example, the touch screen 146 and touch screen controller 142 may detect contact and movement or pauses made therewith using any of a variety of touch sensing technologies, including but not limited to capacitive, resistive, infrared, and surface acoustic wave technologies. According to the embodiment of the present invention, the touch screen 146 in the mobile terminal 100 is a capacitive screen which is common at present.
One or more other input controllers 144 may be coupled to other input/control devices 148 such as one or more buttons, rocker switches, thumbwheels, infrared ports, USB ports, and/or pointing devices such as styluses. The one or more buttons (not shown) may include up/down buttons for controlling the volume of the speaker 128 and/or microphone 130.
The memory interface 102 may be coupled with a memory 150. The memory 150 may include high speed random access memory and/or non-volatile memory, such as one or more magnetic disk storage devices, one or more optical storage devices, and/or flash memory (e.g., NAND, NOR). The memory 150 may store an operating system 152, such as an operating system like Android, iOS or Windows Phone. The operating system 152 may include instructions for handling basic system services and performing hardware dependent tasks. In some embodiments, instructions for performing a method for adjusting the display of an interface are included in operating system 152. The memory 150 may also store applications 154. While the mobile terminal is running, the operating system 152 is loaded from the memory 150 and executed by the processor 104. The application 154 is also loaded from the memory 150 and executed by the processor 104 at runtime. The application 154 runs on top of the operating system, and implements various functions desired by the user, such as instant messaging, web browsing, picture management, video playing, etc., using interfaces provided by the operating system and underlying hardware. The application 154 may be provided independently of the operating system, or may be provided with the operating system itself, and include various social application software, such as QQ, wechat, microblog, and the like, various video playing application software, and system self-contained application programs, such as a photo album, a calculator, and a recording pen. In addition, a driver module may also be added to the operating system when the application 154 is installed in the mobile terminal 100.
The present invention provides a solution for intelligently adjusting the screen display by storing corresponding one or more programs (including the related instructions as described above) in the memory 150 of the mobile terminal 100. It should be noted that the mobile terminal 100 according to the present invention may be a mobile phone, a tablet, or the like having the above-described configuration.
The mobile terminal 100 provides a plurality of user interface states, such as a user interface lock state, a user interface unlock state, and states for a plurality of applications, through the touch screen 146. While the mobile terminal 100 is operating properly, it detects and responds to contacts performed through the touch screen 146 that correspond to navigation between user interfaces, data entry, and activation or deactivation functions, and ultimately presents the corresponding user interface.
Taking a common mutual capacitance screen as an example, the touch screen is internally composed of a driving electrode and a receiving electrode, the driving electrode sends out a low-voltage high-frequency signal to project to the receiving electrode to form a stable current, when a human body contacts the touch screen 146, an equivalent capacitor is formed by the fingers and the touch screen due to the grounding of the human body, and the high-frequency signal can flow into the ground wire through the equivalent capacitor, so that the electric charge received by the receiving end is reduced. The charge reduction is more obvious when the finger is closer to the transmitting end, and finally the touched point is determined according to the intensity of the current received by the receiving end.
Furthermore, the capacitive screen needs to realize multi-point touch, in short, the screen is partitioned, a group of mutual capacitance modules are arranged in each partitioned area, and the mutual capacitance modules work independently, so that the capacitive screen can independently detect the touch condition of each partitioned area. Accordingly, the touch screen 146 can be viewed as being divided into a plurality of sub-blocks, each sub-block including a set of mutual capacitance modules. According to one implementation, a hardware manufacturer may give TX/RX values (i.e., receive data/transmit data) of the touch screen, and the number of capacitive modules in the touch screen may be determined by TX and RX. For example, TX and RX of one touch screen are 26 and 17, and the number of the capacitive modules is 26 × 17 — 442.
FIG. 2 illustrates a flow chart of a method 200 of adjusting a display of a mobile terminal interface in accordance with an embodiment of the present invention. As shown in fig. 2, the method 200 starts at step S210, and monitors whether a collision event occurs in the mobile terminal 100, and if the collision event occurs, the capacitance value of each sub-block in the touch screen is read. As described above, the capacitance value of each sub-block is readable by the mutual capacitance module in each sub-block. In some application scenarios, the mobile terminal is collided, dropped and the like, some areas in the touch screen are damaged, but the user cannot find that the touch screen is damaged in time or cannot send the touch screen to after-sale for maintenance in time. According to the implementation mode of the invention, simple preliminary judgment is carried out through the built-in acceleration sensor in the mobile terminal, and when the mobile terminal is dropped, collided and other events, whether the touch screen is normal or not is firstly started and detected.
Specifically, the method for monitoring whether the mobile terminal 100 has a collision event is as follows: monitoring whether the change state of the acceleration data meets a predetermined condition through the acceleration sensor, and if so, determining that the mobile terminal 100 has a collision event. Assuming that the acceleration sensor is a three-axis sensor (three axes x, y, z), for example, when the mobile terminal is dropped vertically, the acceleration values on the x and y axes are close to 0, and the acceleration value on the z axis is close to the gravitational acceleration g, at the moment the mobile phone contacts the ground, the speed becomes 0, and due to the reaction force of the ground, the acceleration value will be large, and the direction of the acceleration is opposite to the direction of the gravitational acceleration, i.e., the direction is upward.
Therefore, the predetermined conditions may be set to: and the acceleration values on the three axes of x, y and z are suddenly changed, and when the preset condition is met, the mobile terminal is considered to have a collision event.
According to still further embodiments, the predetermined condition may also be set to decrease the acceleration value to 0 before increasing it within a predetermined period of time.
Subsequently, in step S220, it is determined whether the capacitance value of each sub-block is within the valid interval. According to an embodiment of the present invention, the effective interval of the capacitance value is set according to a reference value, for example, a range of plus or minus 25% of the reference value is set as the effective interval. Alternatively, the reference value of the capacitance value may be obtained by reading the capacitance values of a plurality of touch screens and averaging the capacitance values.
Subsequently, in step S230, when it is determined that the capacitance value of the sub-block is not within the valid interval, the coordinate position corresponding to the sub-block is obtained.
According to the embodiment of the invention, when the capacitance values of the sub-blocks are judged not to be in the effective interval, the touch screen area corresponding to the one or more sub-blocks is considered to have an abnormality. At this time, the coordinate position corresponding to the one or more sub-blocks is obtained, and the touch screen area corresponding to the coordinate position is listed as a first area.
Because the user cannot know the damage condition of the touch screen in time, in the embodiment of the invention, the early warning information is displayed in the second area of the touch screen to remind the user that the screen of the mobile terminal has problems. For example, the early warning information is "the touch screen is abnormal, please overhaul in time". Optionally, the warning information is displayed in an area where the touch screen is determined to be normal, that is, the first area where the touch screen is abnormal is not included in the second area. As shown in fig. 3, which is a schematic diagram of an early warning interface, when it is detected that an abnormality occurs in a first area 301 of a mobile terminal, early warning information is displayed in a second area 302.
Subsequently, in step S240, the interface display is adjusted according to the coordinate position corresponding to the sub-block, that is, the first area corresponding to the touch screen. According to the implementation mode of the invention, one or more commands for adjusting the interface display are generated according to the coordinate position corresponding to the sub-block so as to adjust the interface display.
According to one implementation of the invention, one or more commands for adjusting the display of the interface are generated based on the location of the first region. Specifically, whether the first area is at the edge of the touch screen is judged.
And if the first area is positioned at the edge of the touch screen, generating a command for displaying the interface to a third area in a reduced mode according to a first direction, wherein the first direction is the reverse direction of the edge where the first area is positioned. For example, it is detected that an upper edge area of the touch screen is abnormal, and at this time, it is determined that the first area is located at the upper edge of the touch screen, and then a command is generated: and adjusting the display area downwards, and displaying the display interface in a reduced size in a third area, wherein the size of the third area may be set according to the aspect ratio of the original display interface, for example, the third area is set to be a portion of the whole touch screen, where the upper edge of the first area is removed. Fig. 4A shows a schematic interface diagram after the interface display is adjusted when the upper edge area is abnormal, where 401 represents the first area, and 402 represents the third area. Similarly, if the first area is detected as the lower edge area, a command for zooming up the display interface is generated.
Fig. 4B shows a schematic interface diagram after the interface display is adjusted when an abnormality occurs in the left edge region. When the first area 403 is detected at the left edge of the touch screen, a command to zoom out the display interface to the right is generated, and the display interface is displayed in the third area 404 in a zoomed out manner. Furthermore, in order to prevent the adjusted display interface from deforming, a third area may be cut, as shown in fig. 4C, the first area 405 is located at the left edge area of the touch screen, and the third area 406 is maintained to have the same aspect ratio as the original display interface of the touch screen. According to another implementation manner, the original display interface may also be down-converted, so that the adjusted display interface can be completely displayed in the third area. The invention is not limited in this regard.
And if the first area is not positioned at the edge of the touch screen, generating a message that the first area is abnormal. Then, the message is broadcasted to the application in the mobile terminal 100, such as a call, a short message, a WeChat, etc., so that the corresponding application redraws the interface display when starting. Optionally, the message includes a coordinate position of the first area, and instructs the application to translate the interface object that is to be displayed in the first area to a position outside the first area for display.
For example, when there is an incoming call on the mobile terminal, the call application needs to display an incoming call message on the touch screen, as shown in fig. 4D, at this time, the application determines according to the broadcast message received before, if the range of the first region indicated in the message is centered on the pixel point (300,500), the interval length is dx equal to 20px, dy equal to 30px, and the button (i.e., the interface object) that just answers the call is in the first region (as shown by the dotted line in fig. 4D), then when the interface is drawn for display, that is, when the load layout is performed, the button that answers the call is moved by the corresponding coordinate number to the left/right/up/down, and if the button is moved by at least 30px for display, the user can use the button temporarily to relieve the urgency of the eyebrow.
According to another implementation of the invention, one or more commands to adjust the display of the interface are generated based on the size of the first region. Specifically, it is determined whether the area of the first region is larger than a threshold value. Alternatively, the threshold may be set to 1/3 or 1/2 of the original display interface, which is not limited by the invention.
If the area of the first area is larger than the threshold value, the area of the touch screen with the abnormality is considered to be too large, the problem cannot be solved by simply reducing the interface display, at the moment, a command for performing interface display in a sliding window mode is generated, interface display is performed in a sliding window mode in a part of the area, which is not the first area, of the touch screen, and a user can browse the complete content of the interface by rolling a sliding bar. Alternatively, when the aspect ratio of the portion of the touch screen other than the first area is different from the original display interface by a large amount, a command to rotate the interface by 90 ° for display (i.e., landscape screen) is generated.
In summary, according to the scheme for adjusting the interface display of the mobile terminal of the present invention, when a collision event of the mobile terminal 100 is detected, whether the touch screen 146 is normal or not can be automatically detected, and when it is determined that the touch screen is abnormal, on one hand, the user is prompted to perform timely maintenance, and on the other hand, a scheme for temporarily adjusting the interface display is provided according to the position and size of the abnormal area, so as to solve the user's urgency.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
The invention also discloses:
a8, the method according to a6 or 7, wherein the step of adjusting the interface display according to the coordinate position corresponding to the sub-block comprises: and generating one or more commands for adjusting the interface display according to the coordinate positions corresponding to the sub-blocks so as to adjust the interface display.
A9, the method as in A8, wherein the step of generating one or more commands to adjust the display of the interface includes: judging whether the first area is positioned at the edge of the touch screen or not; and if so, generating a command for displaying the interface to a third area in a reduced mode according to a first direction, wherein the first direction is the reverse direction of the edge where the first area is located.
A10, the method as in A9, wherein the step of generating one or more commands to adjust the display of the interface further comprises: if the first area is judged not to be at the edge of the touch screen, generating a message that the first area is abnormal; and broadcasting the message to an application in the mobile terminal so that the corresponding application redraws the interface display when starting, wherein the message instructs the application to translate the interface object originally to be displayed in the first area to a position outside the first area for display.
A11, the method of any one of A8-10, wherein the step of generating one or more commands to adjust the display of the interface further comprises: judging whether the area of the first area is larger than a threshold value; and if the area of the first area is larger than the threshold value, generating a command for displaying an interface in a sliding window mode.
A12, the method as in A11, wherein the step of generating one or more commands to adjust the display of the interface further comprises: and when the area of the first area is judged to be larger than the threshold value, generating a command for converting the interface by 90 degrees for displaying.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the mobile terminal generally includes a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the one-handed mode implementation of the present invention in accordance with instructions in the program code stored in the memory.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention has been disclosed in an illustrative rather than a restrictive sense, and the scope of the present invention is defined by the appended claims.

Claims (15)

1. A method of adjusting an interface display of a mobile terminal, the mobile terminal comprising a touch screen adapted to display an interface thereon, the touch screen comprising a plurality of sub-blocks, the method comprising the steps of:
monitoring whether the mobile terminal generates a collision event or not, and reading the capacitance value of each sub-block in the touch screen if the collision event occurs;
judging whether the capacitance value of each sub-block is in an effective interval or not;
when the capacitance value of a subblock is judged not to be in the effective interval, acquiring a coordinate position corresponding to the subblock; and
and adjusting the interface display according to the coordinate position corresponding to the sub-block.
2. The method of claim 1, wherein the number of sub-blocks in the touch screen is obtained according to the number of capacitive modules in the touch screen.
3. The method of claim 2, wherein the step of monitoring whether the mobile terminal has a collision event comprises:
monitoring whether the change state of the acceleration data in the mobile terminal meets a preset condition, and if so, generating a collision event.
4. The method of claim 3, wherein the predetermined condition comprises: the acceleration values on the x, y and z axes are suddenly changed.
5. The method of claim 4, wherein the predetermined condition comprises: the acceleration value is first decreased to 0 and then increased within a predetermined period of time.
6. The method according to any one of claims 1 to 5, wherein when it is determined that the capacitance value of a sub-block is not within the valid interval, the step of obtaining the coordinate position corresponding to the sub-block comprises:
when the capacitance values of the sub-blocks are judged not to be in the effective interval, determining that the touch screen area corresponding to the sub-block or sub-blocks is abnormal; and
and acquiring the coordinate positions corresponding to the one or more sub-blocks, and listing the area corresponding to the coordinate positions as a first area.
7. The method of claim 6, wherein after the step of obtaining the coordinate position corresponding to the sub-block when it is determined that the capacitance value of the sub-block is not within the valid interval, the method further comprises:
and displaying early warning information in a second area of the touch screen, wherein the second area does not contain the first area.
8. The method of claim 7, wherein the adjusting the interface display according to the coordinate position corresponding to the sub-block comprises:
and generating one or more commands for adjusting the interface display according to the coordinate positions corresponding to the sub-blocks so as to adjust the interface display.
9. The method of claim 8, wherein generating one or more commands to adjust the display of the interface comprises:
judging whether the first area is positioned at the edge of the touch screen or not;
and if so, generating a command for displaying the interface to a third area in a reduced mode according to a first direction, wherein the first direction is the reverse direction of the edge where the first area is located.
10. The method of claim 9, wherein generating one or more commands to adjust the display of the interface further comprises:
if the first area is judged not to be at the edge of the touch screen, generating a message that the first area is abnormal; and
broadcasting the message to an application in the mobile terminal so that the corresponding application redraws the interface display when starting, wherein the message instructs the application to translate the interface object originally displayed in the first area to a position outside the first area for displaying.
11. The method of any of claims 8-10, wherein generating one or more commands to adjust the display of the interface further comprises:
judging whether the area of the first area is larger than a threshold value;
and if the area of the first area is larger than the threshold value, generating a command for displaying an interface in a sliding window mode.
12. The method of claim 11, wherein generating one or more commands to adjust the display of the interface further comprises:
and when the area of the first area is judged to be larger than the threshold value, generating a command for converting the interface by 90 degrees for displaying.
13. A mobile terminal, comprising:
a touch screen display adapted to display information input by a user and information provided to the user;
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing any of the methods of claims 1-12.
14. The mobile terminal of claim 13, further comprising:
and the acceleration sensor is suitable for acquiring the acceleration data of the mobile terminal.
15. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a mobile terminal, cause the mobile terminal to perform any of the methods of claims 1-12.
CN201710398210.4A 2017-05-31 2017-05-31 Method for adjusting interface display of mobile terminal and mobile terminal Active CN107239166B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710398210.4A CN107239166B (en) 2017-05-31 2017-05-31 Method for adjusting interface display of mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710398210.4A CN107239166B (en) 2017-05-31 2017-05-31 Method for adjusting interface display of mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN107239166A CN107239166A (en) 2017-10-10
CN107239166B true CN107239166B (en) 2020-01-17

Family

ID=59985312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710398210.4A Active CN107239166B (en) 2017-05-31 2017-05-31 Method for adjusting interface display of mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN107239166B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108777735B (en) * 2018-04-26 2021-03-09 Oppo广东移动通信有限公司 Display area adjusting method and related equipment
CN108762996B (en) * 2018-04-27 2022-02-15 Oppo广东移动通信有限公司 Touch detection method and device
CN108769381A (en) * 2018-04-27 2018-11-06 Oppo广东移动通信有限公司 Display control method and device
CN108769379B (en) * 2018-04-27 2020-09-22 Oppo广东移动通信有限公司 Drop data reporting method, related device, mobile terminal and storage medium
CN108415646B (en) * 2018-04-27 2021-10-22 Oppo广东移动通信有限公司 Touch function setting method and device
CN108415618B (en) * 2018-05-09 2022-01-07 上海歌尔泰克机器人有限公司 Method and device for controlling display of display screen and touch screen
CN109918247B (en) * 2019-03-05 2022-08-09 广州视源电子科技股份有限公司 Method and device for detecting abnormal jumping points of touch screen and electronic equipment
CN110045889A (en) * 2019-03-08 2019-07-23 维沃移动通信有限公司 A kind of display methods and mobile terminal
CN110703969B (en) * 2019-09-19 2021-06-11 上海闻泰信息技术有限公司 Display area adjusting method and related device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106527919A (en) * 2016-09-27 2017-03-22 北京小米移动软件有限公司 Method and device for adjusting screen display
CN106569664A (en) * 2016-10-31 2017-04-19 努比亚技术有限公司 Terminal desktop icon adjusting display device and method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150128095A1 (en) * 2013-11-07 2015-05-07 Tencent Technology (Shenzhen) Company Limited Method, device and computer system for performing operations on objects in an object list

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106527919A (en) * 2016-09-27 2017-03-22 北京小米移动软件有限公司 Method and device for adjusting screen display
CN106569664A (en) * 2016-10-31 2017-04-19 努比亚技术有限公司 Terminal desktop icon adjusting display device and method and terminal

Also Published As

Publication number Publication date
CN107239166A (en) 2017-10-10

Similar Documents

Publication Publication Date Title
CN107239166B (en) Method for adjusting interface display of mobile terminal and mobile terminal
EP3125531B1 (en) Control method and device for adjusting shooting function
EP2879095B1 (en) Method, apparatus and terminal device for image processing
JP6317521B2 (en) Element wakeup method, apparatus, program, and recording medium
CN109120841B (en) Camera control method and device, mobile terminal and storage medium
US9965086B2 (en) Method for enabling function module of terminal, and terminal device
CN106657667A (en) Apparatus and method for lighting display screen
EP3264266B1 (en) Method for positioning sounding location, and terminal device
EP3163404A1 (en) Method and device for preventing accidental touch of terminal with touch screen
CN108965691B (en) Camera control method and device, mobile terminal and storage medium
US10951754B2 (en) Method for responding to incoming call by means of fingerprint recognition, storage medium, and mobile terminal
US9405327B2 (en) Control method and control apparatus of electronic device, and electronic device
CN108762630B (en) Terminal control method, flexible terminal and computer readable storage medium
CN107153546B (en) Video playing method and mobile device
CN105430715B (en) Control the method and device of WIFI scanning
CN108073380B (en) Electronic device, display control method and related product
CN107888768B (en) Unlocking control method, terminal and computer readable storage medium
CN109104521B (en) Method and device for correcting approaching state, mobile terminal and storage medium
US10205868B2 (en) Live view control device, live view control method, live view system, and program
CN104679403A (en) Mobile terminal and controlling method thereof
US10063781B2 (en) Imaging control device, imaging control method, imaging system, and program
US12022190B2 (en) Photographing method and electronic device
CN105653165A (en) Method and device for regulating character display
CN105930077A (en) Method and device for adjusting size of objects displayed by screens
CN109683742A (en) Prevent touch control device by error touch control method and device, touch control device and storage medium

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