CN108777735B - Display area adjusting method and related equipment - Google Patents

Display area adjusting method and related equipment Download PDF

Info

Publication number
CN108777735B
CN108777735B CN201810387043.8A CN201810387043A CN108777735B CN 108777735 B CN108777735 B CN 108777735B CN 201810387043 A CN201810387043 A CN 201810387043A CN 108777735 B CN108777735 B CN 108777735B
Authority
CN
China
Prior art keywords
display screen
electronic device
area
touch display
display area
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
CN201810387043.8A
Other languages
Chinese (zh)
Other versions
CN108777735A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810387043.8A priority Critical patent/CN108777735B/en
Publication of CN108777735A publication Critical patent/CN108777735A/en
Application granted granted Critical
Publication of CN108777735B publication Critical patent/CN108777735B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a display area adjusting method and related equipment, wherein the method comprises the following steps: determining that the electronic device has a falling event; performing fault detection on a touch display screen of the electronic device to determine a fault area of the touch display screen; and adjusting the display area of the touch display screen according to the fault area, wherein the content displayed in the adjusted display area comprises the display content in the interface before adjustment. By adopting the embodiment of the application, the display effect can be improved.

Description

Display area adjusting method and related equipment
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a method for adjusting a display area and a related device.
Background
With the rapid development and the increasing popularity of the technology of the intelligent terminal (such as a smart phone), the technology of the intelligent terminal is now an indispensable electronic product in the daily life of users. In actual use, the intelligent terminal usually falls from the user hand, falls from the desktop and the like, and the intelligent terminal collides with a collision object after falling, so that the performance of the intelligent terminal is influenced.
Disclosure of Invention
The embodiment of the application provides a display area adjusting method and related equipment, which are used for improving a display effect.
In a first aspect, an embodiment of the present application provides a method for adjusting a display area, where the method includes:
determining that the electronic device has a falling event;
performing fault detection on a touch display screen of the electronic device to determine a fault area of the touch display screen;
and adjusting the display area of the touch display screen according to the fault area, wherein the content displayed in the adjusted display area comprises all display content in the interface before adjustment.
In a second aspect, an embodiment of the present application provides a display area adjustment apparatus, which is applied to an electronic apparatus including a determination unit, a detection unit, and an adjustment unit, wherein:
the determining unit is used for determining that the electronic device has a falling event;
the detection unit is used for carrying out fault detection on the touch display screen of the electronic device so as to determine a fault area of the touch display screen;
the adjusting unit is used for adjusting the display area of the touch display screen according to the fault area, and the content displayed in the adjusted display area comprises all display content in the interface before adjustment.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in any of the methods in the second aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the application, under the condition that a part of the display area of the touch display screen of the electronic device has a fault due to falling, the electronic device adjusts the display area of the touch display screen according to the fault area, so that the adjusted display area can completely display all display contents in the interface, the problem that the display contents cannot be completely displayed due to the fault of the touch display screen can be avoided, and the display effect is improved.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2A is a schematic flowchart of a display area adjustment method according to an embodiment of the present disclosure;
FIG. 2B is a schematic diagram of an example provided by an embodiment of the present application;
FIG. 2C is a schematic diagram of another example provided by an embodiment of the present application;
fig. 3 is a schematic flowchart of another display area adjustment method according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another display area adjustment method according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another electronic device provided in the embodiments of the present application;
fig. 6 is a schematic structural diagram of a display area adjustment apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The following are detailed below.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic apparatus may include various handheld devices, vehicle-mounted devices, electronic apparatuses, computing devices or other processing devices connected to a wireless modem having a wireless communication function, and various forms of User Equipment (UE), Mobile Stations (MS), terminal Equipment (terminal device), and the like.
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application, where the electronic device 100 includes: the device comprises a processor, a memory, a touch display screen, an excitation signal emitter, an acceleration sensor, a communication interface, a microphone and a loudspeaker, wherein the memory, the touch display screen, the excitation signal emitter, the acceleration sensor, the communication interface, the microphone and the loudspeaker are linked with the processor.
The touch display screen comprises a plurality of sub display areas, each sub display area corresponds to one mutual capacitance module, each mutual capacitance module works independently, each mutual capacitance module comprises two groups of electrodes, the two groups of electrodes comprise one group of transverse electrodes and one group of longitudinal electrodes, each group of electrodes comprises a plurality of electrodes, and the crossed positions of the two different electrodes form a capacitor. When a finger touches the touch display screen, the coupling of the touch position to the two horizontal and vertical electrodes is influenced, so that the capacitance formed by the two electrodes is influenced, and the touch function is realized.
The excitation signal transmitter is used for transmitting an excitation signal to the electrode included in the mutual capacitance module.
The acceleration sensor is used for detecting the acceleration of the electronic device, and the electronic device can determine whether a drop event occurs in the electronic device by detecting the acceleration of the electronic device in the application.
The processor is a control center of the electronic device, connects various parts of the whole electronic device by various interfaces and lines, and executes various functions and processes data of the electronic device by operating or executing software programs and/or modules stored in the memory and calling the data stored in the memory, thereby integrally monitoring the electronic device.
Alternatively, the processor may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor.
The memory is used for storing software programs and/or modules, and the processor executes various functional applications and data processing of the electronic device by operating the software programs and/or modules stored in the memory. The memory mainly comprises a program storage area and a data storage area, wherein the program storage area can store an operating system, a software program required by at least one function and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The communication interface is used for the electronic device to communicate with other equipment. The microphone is used for collecting audio information, such as language information and the like. The speakers are used to play audio information, such as music, audio for video, and so forth.
Referring to fig. 2A, fig. 2A is a schematic flowchart of a display area adjustment method according to an embodiment of the present application, applied to the electronic device, where the method includes:
step 201: the electronic device determines that a drop event has occurred for the electronic device.
Further, the specific implementation manner of determining, by the electronic device, that the electronic device has a drop event includes:
when an acceleration sensor of the electronic device monitors that the acceleration of the electronic device changes into gravity acceleration, the electronic device records the current moment as a first moment; when an acceleration sensor of the electronic device monitors that the acceleration of the electronic device changes from the gravity acceleration to zero, the electronic device records the current moment as a second moment; and under the condition that the difference value between the second moment and the first moment is greater than or equal to a set value, the electronic device determines that the electronic device has a falling event.
Step 202: the electronic device carries out fault detection on a touch display screen of the electronic device so as to determine a fault area of the touch display screen.
The failure area refers to an area where a problem occurs on the touch display screen, for example, there are 10 areas on the touch display screen, and one of the 10 areas has a problem (for example, a screen is dark, content cannot be displayed, and the like), and then the area where the problem occurs is the failure area.
The number of the fault areas may be one or more, and is not limited herein.
In an embodiment of the present application, before step 202, the method further includes:
the electronic device determines that the electronic device is in a screen-off state.
Specifically, since the screen of the electronic device consumes relatively much power, the power consumption of the electronic device can be saved by performing the fault detection in the screen-off state.
In an embodiment of the application, the touch display screen includes a plurality of sub-display areas, each sub-display area corresponds to one mutual capacitance module, each mutual capacitance module works independently, each mutual capacitance module includes two groups of electrodes, the two groups of electrodes include one group of transverse electrodes and one group of longitudinal electrodes, and each group of electrodes includes a plurality of electrodes;
the electronic device performs fault detection on a touch display screen of the electronic device to determine a specific implementation manner of a fault area of the touch display screen, and the specific implementation manner includes:
the electronic device sends an excitation signal to one group of electrodes of each mutual capacitance module through an excitation signal transmitter of the electronic device;
if at least one electrode in the other group of electrodes of the mutual capacitance module i does not receive the excitation signal, the electronic device determines that the sub-display area corresponding to the mutual capacitance module i is the fault area of the touch display screen, and the mutual capacitance module i is one of the mutual capacitance modules.
Specifically, the touch principle of the touch display screen is that a finger touches the touch screen, and then the touch position is coupled with two different electrodes, so that the two different electrodes form a capacitor. The electronic device can detect whether the touch display screen has problems by using the principle. If the touch display screen is not problematic, after the excitation signal transmitter transmits the excitation signal to one set of electrodes of each mutual capacitance module, all electrodes of the other set of electrodes of all mutual capacitance modules receive the excitation signal. If one or more electrodes in the other group of electrodes of a certain mutual capacitance module cannot receive the excitation signal, the certain mutual capacitance module is abnormal, and then the fact that the sub-display area corresponding to the certain mutual capacitance module is abnormal is known.
Step 203: the electronic device adjusts the display area of the touch display screen according to the fault area, and the content displayed in the adjusted display area comprises all display content in the interface before adjustment.
Wherein the adjusted display area does not include the fault area, and the adjusted display area is smaller than the display area before adjustment.
Because the adjusted display area is smaller than the display area before adjustment, in order to enable the content displayed in the adjusted display area to include all the display content in the interface before adjustment, the electronic device needs to adjust the size of the interface after the adjustment of the display area is completed to match the adjusted display area.
Specifically, referring to fig. 2B, assuming that the electronic device is a smart phone, a display area of the smart phone is usually the entire touch display screen, and the display area is fixed, if a failure occurs in an upper right corner area of the touch display screen, the smart phone displays an interface a (the display content of the interface a is a picture) through the touch display screen, and the picture cannot be completely displayed. Therefore, in this case, the electronic device adjusts the display area of the touch display screen, and then adjusts the size of the interface a, so that the adjusted display area can completely display the picture.
In an embodiment of the application, a specific implementation manner of the electronic device adjusting the display area of the touch display screen for the fault area includes:
the electronic device determining a location of the fault region; the electronic device determines a target adjustment strategy corresponding to the position of the fault area according to the mapping relation between the position and the adjustment strategy; and the electronic device adjusts the display area of the touch display screen according to the target adjustment strategy.
Furthermore, the touch display screen comprises a plurality of sub-display areas, and each sub-display area corresponds to one mutual capacitance module; the specific implementation manner of the electronic device for determining the position of the fault area is as follows: and the electronic device determines a mutual capacitance module corresponding to the fault area and then takes the position of the sub-display area corresponding to the mutual capacitance module as the position of the fault area.
For example, as shown in fig. 2C, the touch display screen includes 9 sub-display areas, and the 9 sub-display areas are distributed as sub-display area 1, sub-display area 2, sub-display area 3, sub-display area 4, sub-display area 5, sub-display area 6, sub-display area 7, sub-display area 8, and sub-display area 9; a mutual capacitance module 1 corresponding to a sub-display area 1, a mutual capacitance module 2 corresponding to a sub-display area 2, a mutual capacitance module 3 corresponding to a sub-display area 3, a mutual capacitance module 4 corresponding to a sub-display area 4, a mutual capacitance module 5 corresponding to a sub-display area 5, a mutual capacitance module 6 corresponding to a sub-display area 6, a mutual capacitance module 7 corresponding to a sub-display area 7, a mutual capacitance module 8 corresponding to a sub-display area 8, and a mutual capacitance module 9 corresponding to a sub-display area 9; if the mutual capacitance module corresponding to the fault area is the mutual capacitance module 3, the position corresponding to the fault area is the position of the sub-display area 3, namely the upper right corner area of the touch display screen.
The mapping relationship between the position and the adjustment strategy is shown in table 1. Table 1 shows only a portion of the positions and corresponding adjustment strategies, and the positions may also include center left of the display screen, center right of the display screen, left bottom of the display screen, center down of the display screen, right bottom of the display screen, and so forth. The adjustment strategies also include an adjustment strategy 5 corresponding to the middle of the display screen on the left side, an adjustment strategy 6 corresponding to the middle of the display screen on the right side, an adjustment strategy 7 corresponding to the lower left side, an adjustment strategy 8 corresponding to the middle of the display screen on the lower right side, an adjustment strategy 9 corresponding to the lower right side, and the like. The adjustment strategies corresponding to different positions in the mapping relationship between the positions and the adjustment strategies may be partially the same, may also be all the same, and may also be all the different, and are not limited herein.
TABLE 1
Figure BDA0001642509450000071
The adjustment strategies corresponding to certain positions are explained in detail below.
Adjustment strategy 1
The position corresponding to the adjustment strategy 1 is the upper right corner of the display screen, and based on fig. 2C, the adjustment strategy 1 can be to remove the upper right corner of the display screen and the horizontal area of the upper right corner of the display screen, that is, to remove the upper right corner of the display screen, the upper left corner of the display screen and the upper middle 3 areas of the display screen; or, the adjustment policy 1 may be to remove the longitudinal regions of the upper right corner of the display screen and the upper right corner of the display screen, that is, to remove the upper right corner of the display screen, the lower right corner of the display screen, and 3 regions to the right of the middle of the display screen; the adjustment policy 1 may be to remove the upper right corner area of the display screen.
Adjustment strategy 2
The position corresponding to the adjustment strategy 2 is the upper left corner of the display screen, and based on fig. 2C, the adjustment strategy 2 can be to remove the upper left corner of the display screen and the horizontal area of the upper left corner of the display screen, that is, to remove the upper left corner of the display screen, the upper right corner of the display screen and the upper middle 3 areas of the display screen; or, the adjustment strategy 2 may be to remove the upper left corner of the display screen and the longitudinal region of the upper left corner of the display screen, that is, to remove the upper left corner of the display screen, the lower left corner of the display screen and the 3 regions to the left in the middle of the display screen; the adjustment policy 1 may be to remove the upper left corner area of the display screen.
Adjustment strategy 3
The position corresponding to the adjustment strategy 3 is the middle upper part of the display screen, and based on fig. 2C, the adjustment strategy 3 can be to remove the middle upper part of the display screen and the middle upper part of the display screen from the horizontal area, that is, to remove the middle upper part of the display screen, the upper right corner of the display screen and the upper left corner of the display screen from 3 areas; alternatively, the adjustment strategy 3 may be to remove the middle upper part of the display screen and the middle upper part of the display screen from the vertical regions, i.e. to remove the middle upper part of the display screen, the middle of the display screen and the middle lower 3 regions of the display screen from the middle upper part of the display screen.
Adjustment strategy 4
The position corresponding to the adjustment strategy 4 is the middle of the display screen, and based on fig. 2C, the adjustment strategy 4 may be to remove the middle of the display screen and the middle lateral region of the display screen, that is, to remove the middle of the display screen, the middle of the display screen to the right, and the middle of the display screen to the left by 3 regions; alternatively, the adjustment strategy 4 may be to remove the middle of the display screen and the middle of the display screen in the longitudinal direction, i.e. to remove the middle of the display screen, the middle of the display screen up and the middle of the display screen down to 3 regions.
In an embodiment of the present application, the method further includes:
the electronic device determines a target application operated by a foreground of the electronic device;
the electronic device adjusts the display area of the touch display screen aiming at the fault area, and the method comprises the following steps:
the electronic device adjusts the display area of the touch display screen according to the fault area and the target application.
The target application may be, but is not limited to, an instant messaging application, a game application, an audio application, a video application, a shopping application, a payment application, a photo application, a mapping application, and the like.
Further, the specific implementation manner of the electronic device for adjusting the display area of the touch display screen according to the fault area and the target application is as follows:
the electronic device determining a location of the fault region; the electronic device determines the position of the fault area and a first adjustment strategy corresponding to the target application according to the mapping relation between the position and the application and the adjustment strategy; the electronic device adjusts the display area of the touch display screen according to the first adjustment strategy.
Specific embodiments of determining the location of the fault area are described above, and will not be described here.
The mapping relationship between the location and application and the adjustment policy is shown in table 2. Table 2 shows only a portion of the adjustment strategies corresponding to the applications and locations, which may also include center left of the display screen, center right of the display screen, lower left of the display screen, center lower of the display screen, lower right of the display screen, and so forth. The applications may also include gaming applications, payment applications, shopping applications, and the like. The adjustment policies also include adjustment policy y, adjustment policy z, and so on. Under the same application, the adjustment strategies corresponding to different positions may be partially the same, may also be all the same, and may also be all different, which is not limited herein. In the same position, the adjustment strategies corresponding to different applications may be partially the same, may also be all the same, and may also be all different, which is not limited herein.
TABLE 2
Figure BDA0001642509450000091
The adjustment strategies corresponding to certain positions are explained in detail below.
Adjustment strategy k
The position corresponding to the adjustment policy k is the middle of the display screen, the application corresponding to the adjustment policy k is instant messaging, and because the user usually performs a chat operation by using the instant messaging application, in order to give the user a better user experience, based on fig. 2C, the adjustment policy k may be to remove the middle of the display screen and the middle of the display screen in the horizontal region, that is, to remove the middle of the display screen, the middle of the display screen to the right, and the middle of the display screen to the left by 3 regions. In this way, the electronic device can display chat information by using the upper part of the touch display screen and display input method information by using the lower part of the touch display screen.
Adjustment strategy x
The position corresponding to the adjustment policy x is the upper right corner of the display screen, the application corresponding to the adjustment policy x is a game application, and the game application pays more attention to the picture, so that the adjustment policy x is only the upper right corner of the display screen in order to give relatively good visual experience to the user based on fig. 2C. In this way, the electronic device can display the chat information of the game by using the middle upper part of the touch display screen and the left upper area of the display screen, and display the game picture by using the rest area.
It should be noted that the above embodiments are only for clearly explaining the technical solutions of the present application, and do not limit the present application.
It can be seen that, in the embodiment of the application, under the condition that a part of the display area of the touch display screen of the electronic device has a fault due to falling, the electronic device adjusts the display area of the touch display screen according to the fault area, so that the adjusted display area can completely display the display content in the interface, the problem that the display content cannot be completely displayed due to the fault of the touch display screen can be avoided, and the display effect is improved.
An embodiment of the present application provides another more detailed method flow, as shown in fig. 3, applied to the electronic device, where the electronic device includes a touch display screen and an excitation signal transmitter, the touch display screen includes a plurality of sub-display areas, each sub-display area corresponds to a mutual capacitance module, each mutual capacitance module includes two sets of electrodes, and the method includes:
step 301: the electronic device determines that a drop event has occurred for the electronic device.
Step 302: the electronic device determines that the electronic device is in a screen-off state.
Step 303: and the electronic device sends an excitation signal to one group of electrodes of each mutual capacitance module through the excitation signal transmitter.
Step 304: if at least one electrode in the other group of electrodes of the mutual capacitance module i does not receive the excitation signal, the electronic device determines that the sub-display area corresponding to the mutual capacitance module i is the fault area of the touch display screen, and the mutual capacitance module i is one of the mutual capacitance modules.
Step 305: the electronics determine a location of the failure zone.
Step 306: and the electronic device determines a target adjustment strategy corresponding to the position of the fault area according to the mapping relation between the position and the adjustment strategy.
Step 307: and the electronic device adjusts the display area of the touch display screen according to the target adjustment strategy.
It should be noted that, for the specific implementation of the steps of the method shown in fig. 3, reference may be made to the specific implementation of the method, and no description is provided here.
An embodiment of the present application provides another more detailed method flow, as shown in fig. 4, applied to the electronic device described above, where the electronic device includes a touch display screen and an excitation signal transmitter, the touch display screen includes a plurality of sub-display areas, each sub-display area corresponds to a mutual capacitance module, each mutual capacitance module includes two sets of electrodes, and the method includes:
step 401: the electronic device determines that a drop event has occurred for the electronic device.
Step 402: the electronic device determines that the electronic device is in a screen-off state.
Step 403: and the electronic device sends an excitation signal to one group of electrodes of each mutual capacitance module through the excitation signal transmitter.
Step 404: if at least one electrode in the other group of electrodes of the mutual capacitance module i does not receive the excitation signal, the electronic device determines that the sub-display area corresponding to the mutual capacitance module i is the fault area of the touch display screen, and the mutual capacitance module i is one of the mutual capacitance modules.
Step 405: the electronic device determines a target application run by the foreground of the electronic device.
Step 406: the electronic device adjusts the display area of the touch display screen according to the fault area and the target application.
It should be noted that, for the specific implementation of the steps of the method shown in fig. 3, reference may be made to the specific implementation of the method, and no description is provided here.
In accordance with the embodiments shown in fig. 2A, fig. 3 and fig. 4, please refer to fig. 5, and fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for performing the following steps:
determining that the electronic device has a falling event;
performing fault detection on a touch display screen of the electronic device to determine a fault area of the touch display screen;
and adjusting the display area of the touch display screen according to the fault area, wherein the content displayed in the adjusted display area comprises the display content in the interface before adjustment.
In an embodiment of the application, before performing the fault detection on the touch display screen of the electronic device, the program includes instructions further for performing the following steps:
determining that the electronic device is in a screen-off state.
In an embodiment of the application, the touch display screen includes a plurality of sub-display areas, each sub-display area corresponds to one mutual capacitance module, and each mutual capacitance module includes two sets of electrodes; in terms of performing fault detection on the touch display screen of the electronic device to determine a fault area of the touch display screen, the program includes instructions specifically configured to perform the following steps:
sending, by an excitation signal transmitter of the electronic device, an excitation signal to one of the sets of electrodes of each of the mutual capacitance modules;
if at least one electrode in the other group of electrodes of the mutual capacitance module i does not receive the excitation signal, determining that the sub-display area corresponding to the mutual capacitance module i is the fault area of the touch display screen, wherein the mutual capacitance module i is one of the mutual capacitance modules.
In an embodiment of the application, in terms of adjusting the display area of the touch display screen for the fault area, the program includes instructions specifically configured to perform the following steps:
determining a location of the fault region;
determining a target adjustment strategy corresponding to the position of the fault area according to the mapping relation between the position and the adjustment strategy;
and adjusting the display area of the touch display screen according to the target adjustment strategy.
In an embodiment of the application, the program includes instructions for further performing the steps of:
determining a target application operated by the foreground of the electronic device;
in terms of adjusting the display area of the touch display screen for the fault area, the program includes instructions specifically for performing the following steps:
and adjusting the display area of the touch display screen according to the fault area and the target application.
It should be noted that, for the specific implementation process of the present embodiment, reference may be made to the specific implementation process described in the above method embodiment, and a description thereof is omitted here.
Referring to fig. 6, fig. 6 is a display area adjustment apparatus provided in an embodiment of the present application, and is applied to the electronic apparatus described above, the display area adjustment apparatus includes a determining unit 601, a detecting unit 602, and an adjusting unit 603, where:
a determining unit 601, configured to determine that a drop event occurs in the electronic apparatus;
a detecting unit 602, configured to perform fault detection on a touch display screen of the electronic apparatus to determine a fault area of the touch display screen;
an adjusting unit 603, configured to adjust a display area of the touch display screen for the fault area, where content displayed in the adjusted display area includes display content in an interface before adjustment.
In an embodiment of the present application, the determining unit 601 is further configured to determine that the electronic apparatus is in a screen-off state.
In an embodiment of the application, the touch display screen includes a plurality of sub-display areas, each sub-display area corresponds to one mutual capacitance module, and each mutual capacitance module includes two sets of electrodes; the detecting unit 602 is specifically configured to:
sending, by an excitation signal transmitter of the electronic device, an excitation signal to one of the sets of electrodes of each of the mutual capacitance modules;
if at least one electrode in the other group of electrodes of the mutual capacitance module i does not receive the excitation signal, determining that the sub-display area corresponding to the mutual capacitance module i is the fault area of the touch display screen, wherein the mutual capacitance module i is one of the mutual capacitance modules.
In an embodiment of the application, in terms of adjusting the display area of the touch display screen for the fault area, the adjusting unit 603 is specifically configured to:
determining a location of the fault region;
determining a target adjustment strategy corresponding to the position of the fault area according to the mapping relation between the position and the adjustment strategy;
and adjusting the display area of the touch display screen according to the target adjustment strategy.
In an embodiment of the present application, the determining unit 601 is further configured to determine a target application running in a foreground of the electronic apparatus;
in terms of adjusting the display area of the touch display screen for the fault area, the adjusting unit 603 is specifically configured to:
and adjusting the display area of the touch display screen according to the fault area and the target application.
It should be noted that the electronic device described in the embodiments of the present application is presented in the form of a functional unit. The term "unit" as used herein is to be understood in its broadest possible sense, and objects used to implement the functions described by the respective "unit" may be, for example, an integrated circuit ASIC, a single circuit, a processor (shared, dedicated, or chipset) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality.
Wherein the determining unit 601, the detecting unit 602 and the adjusting unit 603 may be a processor or a controller.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising electronic equipment.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific implementation and application scope, and in view of the above, the content of the present specification should not be construed as a limitation to the present application.

Claims (7)

1. A method for adjusting a display area, the method comprising:
determining that the electronic device has a falling event;
performing fault detection on a touch display screen of the electronic device to determine a fault area of the touch display screen;
adjusting a display area of the touch display screen according to the fault area, wherein the content displayed in the adjusted display area comprises all display content in an interface before adjustment;
the touch display screen comprises a plurality of sub display areas, each sub display area corresponds to one mutual capacitance module, and each mutual capacitance module comprises two groups of electrodes; the detecting a fault of the touch display screen of the electronic device to determine a fault area of the touch display screen includes:
sending, by an excitation signal transmitter of the electronic device, an excitation signal to one of the sets of electrodes of each of the mutual capacitance modules;
if at least one electrode in the other group of electrodes of the mutual capacitance module i does not receive the excitation signal, determining that a sub-display area corresponding to the mutual capacitance module i is a fault area of the touch display screen, wherein the mutual capacitance module i is one of a plurality of mutual capacitance modules;
the method further comprises the following steps:
determining a target application operated by the foreground of the electronic device;
wherein the adjusting the display area of the touch display screen for the fault area comprises:
and adjusting the display area of the touch display screen according to the fault area and the target application, wherein under the condition that the fault area is at the same position, the adjustment strategies for adjusting the display area corresponding to different applications are at least partially different.
2. The method of claim 1, wherein before the detecting the failure of the touch display screen of the electronic device, the method further comprises:
determining that the electronic device is in a screen-off state.
3. The method according to any one of claims 1-2, wherein the adjusting the display area of the touch display screen for the failure area comprises:
determining a location of the fault region;
determining a target adjustment strategy corresponding to the position of the fault area according to the mapping relation between the position and the adjustment strategy;
and adjusting the display area of the touch display screen according to the target adjustment strategy.
4. A display area adjustment device is applied to an electronic device, the electronic device comprises a determination unit, a detection unit and an adjustment unit, wherein:
the determining unit is used for determining that the electronic device has a falling event;
the detection unit is used for carrying out fault detection on the touch display screen of the electronic device so as to determine a fault area of the touch display screen;
the adjusting unit is used for adjusting the display area of the touch display screen aiming at the fault area, and the content displayed in the adjusted display area comprises all display content in the interface before adjustment;
the touch display screen comprises a plurality of sub display areas, each sub display area corresponds to one mutual capacitance module, and each mutual capacitance module comprises two groups of electrodes; the detection unit is specifically configured to:
sending, by an excitation signal transmitter of the electronic device, an excitation signal to one of the sets of electrodes of each of the mutual capacitance modules;
if at least one electrode in the other group of electrodes of the mutual capacitance module i does not receive the excitation signal, determining that a sub-display area corresponding to the mutual capacitance module i is a fault area of the touch display screen, wherein the mutual capacitance module i is one of a plurality of mutual capacitance modules;
the determining unit is further used for determining a target application running in the foreground of the electronic device;
in terms of adjusting the display area of the touch display screen for the fault area, the adjusting unit is specifically configured to:
and adjusting the display area of the touch display screen according to the fault area and the target application, wherein under the condition that the fault area is at the same position, the adjustment strategies for adjusting the display area corresponding to different applications are at least partially different.
5. The apparatus of claim 4,
the determining unit is further configured to determine that the electronic device is in a screen-off state.
6. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-3.
7. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-3.
CN201810387043.8A 2018-04-26 2018-04-26 Display area adjusting method and related equipment Active CN108777735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810387043.8A CN108777735B (en) 2018-04-26 2018-04-26 Display area adjusting method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810387043.8A CN108777735B (en) 2018-04-26 2018-04-26 Display area adjusting method and related equipment

Publications (2)

Publication Number Publication Date
CN108777735A CN108777735A (en) 2018-11-09
CN108777735B true CN108777735B (en) 2021-03-09

Family

ID=64026782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810387043.8A Active CN108777735B (en) 2018-04-26 2018-04-26 Display area adjusting method and related equipment

Country Status (1)

Country Link
CN (1) CN108777735B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116126580B (en) * 2023-04-04 2023-06-09 深圳市康凌源科技有限公司 Touch display control method, device, equipment and storage medium
CN116486757B (en) * 2023-05-01 2024-02-23 惠州市中渤光电有限公司 Display control method, system and storage medium for liquid crystal display
CN117055789B (en) * 2023-10-11 2023-12-19 南通富通仪器有限公司 Instrument display content adjusting system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117156B (en) * 2015-08-10 2019-02-05 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105630643B (en) * 2015-08-26 2019-12-10 宇龙计算机通信科技(深圳)有限公司 Screen display method, screen display device and terminal
CN107239166B (en) * 2017-05-31 2020-01-17 厦门美图移动科技有限公司 Method for adjusting interface display of mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN108777735A (en) 2018-11-09

Similar Documents

Publication Publication Date Title
CN107219976B (en) Application display method and related product
CN110928387B (en) Temperature control method, temperature control device, storage medium and electronic equipment
CN108777735B (en) Display area adjusting method and related equipment
CN108829476A (en) A kind of message display method, terminal and storage medium
US20160132178A1 (en) Method for Enabling Function Module of Terminal, and Terminal Device
CN105549895B (en) Application control method and mobile terminal
CN109547647B (en) Electrostatic interference control method and related product
CN109376062B (en) Network state prompting method and related device
CN110796157A (en) Image difference identification method and device and storage medium
CN107743108B (en) Method and device for identifying medium access control address
US20140354573A1 (en) Touchscreen response method and terminal
CN105224556A (en) Waterfall stream interface display packing and device
CN108646970A (en) Display control method and related product
CN107402712A (en) A kind of response method of touch operation, device, storage medium and terminal
CN108040145A (en) Electronic device, method of controlling operation thereof and Related product
CN105094501A (en) Display method, device and system for messages in mobile terminal
CN103399711A (en) Display control method of pop-up window and terminal
CN108600519A (en) Incoming-call control method and Related product
WO2015070718A1 (en) Communication number notification method and communication device
CN112199005A (en) Content display method, content display device, storage medium and mobile terminal
WO2021092806A1 (en) Screen parameter adjustment method and apparatus, and terminal device
CN115118636B (en) Method and device for determining network jitter state, electronic equipment and storage medium
CN108762996B (en) Touch detection method and device
CN108134871A (en) Electronic device, display control method and related product
CN110851014A (en) Touch identification method and device, storage medium and terminal equipment

Legal Events

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