Nothing Special   »   [go: up one dir, main page]

CN105117156B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN105117156B
CN105117156B CN201510487029.1A CN201510487029A CN105117156B CN 105117156 B CN105117156 B CN 105117156B CN 201510487029 A CN201510487029 A CN 201510487029A CN 105117156 B CN105117156 B CN 105117156B
Authority
CN
China
Prior art keywords
area
display
determining
display screen
grid frame
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
CN201510487029.1A
Other languages
Chinese (zh)
Other versions
CN105117156A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510487029.1A priority Critical patent/CN105117156B/en
Publication of CN105117156A publication Critical patent/CN105117156A/en
Application granted granted Critical
Publication of CN105117156B publication Critical patent/CN105117156B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of information processing method and electronic equipments, which comprises the display unit of detection acquisition electronic equipment not can be carried out at least one region normally shown;Based at least one described region, determine to be able to carry out the first area normally shown on the display unit;First content is shown on the first area.Display screen for solving electronic equipment in the prior art there is technical issues that not being normally carried out in some cases, realize the technical effect that electronic equipment can normally be shown under any circumstance.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to an information processing method and an electronic device.
Background
With the continuous development of scientific technology, electronic technology has also been developed rapidly, and many electronic devices, such as smart phones, tablet computers, etc., become necessities of people's daily life. In order to facilitate the use of users, the screen of the electronic device gradually tends to be large, and meanwhile, the large screen of the screen also enables the probability of screen damage to be higher and higher when the electronic device falls.
In the prior art, when a screen of an electronic device is damaged, the electronic device cannot normally display the content of the screen.
Therefore, the display screen of the electronic equipment in the prior art has the technical problem that the display cannot be normally performed under certain conditions.
Further, when the display screen is a touch display screen, the touch function of the damaged area is lost, and thus the device function in the damaged area in the electronic device cannot be used by touch, so that the electronic device in the prior art has a technical problem that some functions of the electronic device cannot be used when the display screen is damaged.
Disclosure of Invention
The embodiment of the application provides an information processing method and electronic equipment, which are used for solving the technical problem that a display screen of the electronic equipment in the prior art cannot be normally displayed under certain conditions, and achieving the technical effect that the electronic equipment can normally display under any conditions.
An embodiment of the present application provides an information processing method, including the following steps:
detecting and obtaining at least one area of a display unit of the electronic equipment, wherein the area cannot be normally displayed;
determining a first area capable of normal display on the display unit based on the at least one area;
displaying first content on the first area.
Optionally, when the display unit is specifically a touch display unit, the detecting to obtain at least one area of the display unit of the electronic device, where normal display cannot be performed, specifically includes:
detecting and obtaining at least one touch operation performed by a user of the electronic equipment on the touch display unit;
acquiring at least one touch track of the at least one touch operation;
determining the at least one area based on the at least one touch trajectory.
Optionally, the detecting to obtain at least one region of the display unit of the electronic device, where normal display cannot be performed, specifically includes:
acquiring a first grid frame;
dividing the display unit into N display areas based on the first grid frame, wherein N is an integer greater than or equal to 1;
detecting and obtaining at least one region selection operation performed by a user of the electronic equipment in the N display regions;
determining the at least one region based on the at least one region selection operation.
Optionally, the determining, based on the at least one region, a first region capable of performing normal display on the display unit specifically includes:
acquiring a set length-width ratio of the display unit;
and determining a first rectangular area which has the length-width ratio of the set length-width ratio and can carry out normal display from the rest display areas of the display unit except the at least one area.
Optionally, the determining, based on the at least one region, a first region capable of performing normal display on the display unit specifically includes:
and determining a second rectangular area capable of normal display from the rest of the display area except the at least one area of the display unit.
Another aspect of the embodiments of the present application provides an electronic device, including:
a first detection unit for detecting at least one region of a display unit of the electronic device in which normal display cannot be performed;
a first determination unit configured to determine, on the basis of the at least one region, a first region in which normal display is possible on the display unit;
a first output unit for displaying first content on the first area.
An embodiment of the present application further provides an electronic device, including:
a housing;
the display screen is arranged in the shell, and a display area of the display screen is exposed through a first window of the shell;
the processor is specifically configured to detect and obtain at least one area of the display screen where normal display cannot be performed, determine a first area where normal display can be performed on the display screen based on the at least one area, and display first content on the first area.
Optionally, when the display screen is a touch display screen, the processor is specifically configured to:
detecting and obtaining at least one touch operation performed by a user of the electronic equipment on the touch display screen;
acquiring at least one touch track of the at least one touch operation;
determining the at least one area based on the at least one touch trajectory.
Optionally, the processor is specifically configured to:
acquiring a first grid frame;
dividing the display screen into N display areas based on the first grid frame, wherein N is an integer greater than or equal to 1;
detecting and obtaining at least one region selection operation performed by a user of the electronic equipment in the N display regions;
determining the at least one region based on the at least one region selection operation.
Optionally, the processor is specifically configured to:
acquiring a set length-width ratio of the display screen;
and determining a first rectangular area which has the length-width ratio of the set length-width ratio and can carry out normal display from the rest display areas of the display screen except the at least one area.
Optionally, the processor is specifically configured to:
and determining a second rectangular area capable of carrying out normal display from the rest display area except the at least one area of the display screen.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
firstly, according to the technical scheme in the embodiment of the application, at least one area which cannot be normally displayed of a display unit of the electronic equipment is obtained by detection; determining a first area capable of normal display on the display unit based on the at least one area; the technical means for displaying the first content on the first area is that when a certain area in the display screen of the electronic device is damaged, and the display screen cannot normally display a complete display interface, the electronic device detects the damaged area in the current display screen, then determines the first area for displaying the screen content from other areas except the damaged area, and completely displays the current display interface on the first area, and further, the electronic device can normally display the complete display interface no matter whether the display screen of the electronic device is damaged or not, so that the technical problem that the display screen of the electronic device in the prior art cannot normally display under certain conditions is effectively solved, and the technical effect that the electronic device can normally display under any conditions is achieved.
Secondly, according to the technical scheme in the embodiment of the application, at least one area of the display unit of the electronic equipment, which cannot be normally displayed, is obtained by detection; determining a first area capable of normal display on the display unit based on the at least one area; the technical means for displaying the first content on the first area is that when a certain area in a display screen of the electronic equipment is damaged and the function of the equipment located in the damaged area cannot be touched for use, the electronic equipment displays the display interface on other areas outside the damaged area completely, and then any position in the display interface can be touched for operation.
Thirdly, according to the technical scheme in the embodiment of the application, at least one area of the display unit of the electronic equipment, which cannot be normally displayed, is obtained by detection; determining a first area capable of normal display on the display unit based on the at least one area; the technical means for displaying the first content on the first area is that when a certain area in a display screen of the electronic equipment is damaged, the electronic equipment completely displays the display interface on other areas outside the damaged area, so that the electronic equipment can still normally display the screen content and use all functions of the electronic equipment under the condition of not replacing the display screen, and therefore the technical effects of increasing the usability of products and improving the user experience are achieved.
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 will be briefly introduced, and it is obvious that the drawings in the following description are only some embodiments of the present invention.
Fig. 1 is a flowchart of an information processing method according to an embodiment of the present application;
FIG. 2 is a diagram illustrating a display screen damaged according to an embodiment of the present application;
fig. 3 is a flowchart of a first specific implementation manner of a step S101 in the embodiment of the present application;
fig. 4 is a schematic diagram of a first specific implementation manner of a step S101 in the embodiment of the present application;
fig. 5 is a flowchart of a second specific implementation manner of a step S101 in the embodiment of the present application;
fig. 6 is a schematic diagram illustrating a second specific implementation manner of a step S101 in the embodiment of the present application;
fig. 7 is a flowchart of a first specific implementation manner of a step S102 in the embodiment of the present application;
fig. 8 is a schematic diagram illustrating a first specific implementation manner of a step S102 according to an embodiment of the present application;
fig. 9 is a schematic diagram illustrating a second specific implementation manner of a step S102 according to the embodiment of the present application;
FIG. 10 is a diagram illustrating a first implementation manner of a step S103 according to an embodiment of the present application;
FIG. 11 is a diagram illustrating a second implementation manner of step S103 according to an embodiment of the present application;
fig. 12 is a block diagram of an electronic device according to a second embodiment of the present application;
fig. 13 is a schematic view of an electronic device according to a third embodiment of the present application.
Detailed Description
The embodiment of the application provides an information processing method and electronic equipment, which are used for solving the technical problem that a display screen of the electronic equipment in the prior art cannot be normally displayed under certain conditions, and achieving the technical effect that the electronic equipment can normally display under any conditions.
In order to solve the technical problems, the general idea of the embodiment of the present application is as follows:
an information processing method comprising:
detecting and obtaining at least one area of a display unit of the electronic equipment, wherein the area cannot be normally displayed;
determining a first area capable of normal display on the display unit based on the at least one area;
displaying first content on the first area.
In the technical scheme, at least one area which cannot be normally displayed of a display unit of the electronic equipment is obtained by detection; determining a first area capable of normal display on the display unit based on the at least one area; the technical means for displaying the first content on the first area is that when a certain area in the display screen of the electronic device is damaged, and the display screen cannot normally display a complete display interface, the electronic device detects the damaged area in the current display screen, then determines the first area for displaying the screen content from other areas except the damaged area, and completely displays the current display interface on the first area, and further, the electronic device can normally display the complete display interface no matter whether the display screen of the electronic device is damaged or not, so that the technical problem that the display screen of the electronic device in the prior art cannot normally display under certain conditions is effectively solved, and the technical effect that the electronic device can normally display under any conditions is achieved.
In order to better understand the technical solutions, the technical solutions of the present invention are described in detail below with reference to the drawings and specific embodiments, and it should be understood that the specific features in the embodiments and examples of the present invention are detailed descriptions of the technical solutions of the present invention, and are not limitations of the technical solutions of the present invention, and the technical features in the embodiments and examples of the present invention may be combined with each other without conflict.
Example one
Referring to fig. 1, an information processing method provided in an embodiment of the present application includes:
s101: detecting and obtaining at least one area of a display unit of the electronic equipment, wherein the area cannot be normally displayed;
s102: determining a first area capable of normal display on the display unit based on the at least one area;
s103: displaying first content on the first area.
In this embodiment, the information processing method may be specifically applied to an electronic device, and the electronic device may be a smart phone, a tablet computer, a notebook computer, or other electronic devices with a display unit, where the display unit may be a display screen with a touch function, or a display screen that is only used for displaying content but not having a touch function, for example. In the embodiment of the present application, an implementation process of the method in the embodiment of the present application will be described in detail by taking the electronic device as an example, specifically, a smart phone.
In a specific implementation process, taking the electronic device as an example of a smart phone, when the smart phone falls or collides with a hard object, a display screen of the smart phone is locally damaged, such as the upper left corner of the screen, at this time, the content of the display screen in the display screen of the smart phone cannot be complete, as shown in fig. 2, meanwhile, since the screen of the smart phone is damaged, a corresponding damaged area cannot be operated, and further some functions of the electronic device cannot be used, for example, the damaged area shown in fig. 2 usually corresponds to a virtual key connected to a wireless network, and since the damaged area cannot be touch-controlled, a user of the smart phone cannot connect the mobile phone to the wireless network.
When the electronic device faces the above problems, the solution in the embodiment of the present application can be adopted. In executing the scheme in the embodiment of the present application, step S101 is first executed, that is: at least one region of a display unit of the electronic device in which normal display cannot be performed is detected.
In this embodiment of the application, since the display unit may be a display screen with a touch function or a display screen without a touch function, the step S101 has two specific implementation manners as follows:
the first way, please refer to fig. 3:
when the display unit is specifically a touch display unit, the specific implementation manner of step S101 is as follows:
s301: detecting and obtaining at least one touch operation performed by a user of the electronic equipment on the touch display unit;
s302: acquiring at least one touch track of the at least one touch operation;
s303: determining the at least one area based on the at least one touch trajectory.
In a specific implementation process, following the above example, when the upper left corner of the smart phone is damaged, a user may frame a damaged area on a touch display screen of the smart phone, specifically, the damaged area may be drawn along a boundary portion of the damaged area, or an area including the damaged area may be drawn in a circle, which is not limited in this application. After the user draws a damaged area along the boundary portion of the damaged area, the display screen of the smart phone detects a touch operation generated by the user, and obtains a track corresponding to the touch operation, such as the track shown in fig. 4, at this time, the touch track divides the display screen into two areas, and the area with a smaller area is determined as the damaged area, as shown in fig. 4. When the damaged area is multiple, the user performs multiple touch operations, correspondingly, the smart phone acquires tracks corresponding to the multiple touch operations, and the damaged area is determined as an area with a small area formed by each track in the same manner.
In a second manner, please refer to fig. 5:
the specific implementation manner of step S101 is:
s501: acquiring a first grid frame;
s502: dividing the display unit into N display areas based on the first grid frame, wherein N is an integer greater than or equal to 1;
s503: detecting and obtaining at least one region selection operation performed by a user of the electronic equipment in the N display regions;
s504: determining the at least one region based on the at least one region selection operation.
In a specific implementation process, following the above example, when the display screen of the smart phone is damaged, no matter the display screen is a touch display screen or a non-touch display screen, the user can select the damaged area by adopting a selection operation mode. Specifically, when the display screen is a touch display screen, the display screen of the smart phone firstly acquires a preset grid frame, the size of the grid frame can be set by a manufacturer when the smart phone leaves a factory, or the size of the grid frame can be set by a user, then, the display screen of the smart phone is divided into a plurality of areas through the preset grid frame, as shown in fig. 6, at this time, the user can select a plurality of grid frames including damaged areas on the display screen, as shown in fig. 6, the 4 grid frames covered by the damaged areas, and after the electronic device detects selection operation performed by the user on the display screen, the area corresponding to the selected grid frame is determined to be the damaged area. When the display screen is a non-touch display screen, the display screen is divided into a plurality of areas by the smart phone in the same way as the above, then the user can select the area through the direction key and the determination key, and after the smart phone detects that the user presses the direction key and the determination key, the area of the grid frame corresponding to the pressed determination key is determined to be a damaged area.
After the step S101 is completed, the method in the embodiment of the present application performs step S102, that is: and determining a first area capable of being normally displayed on the display unit based on the at least one area.
In the embodiment of the present application, since step S101 has the two specific implementation manners described above, step S102 also has the following two specific implementation manners:
in a first manner, referring to fig. 7, after the electronic device determines the damaged area through the touch track of the user, the specific implementation manner of step S102 is:
s701: acquiring a set length-width ratio of the display unit;
s702: and determining a first rectangular area which has the length-width ratio of the set length-width ratio and can carry out normal display from the rest display areas of the display unit except the at least one area.
In a specific implementation process, following the above example, after the smart phone determines a damaged area of the display screen, the processor of the smart phone obtains a length value and a width value of the display screen, and determines that the length-to-width ratio of the display screen is 12/7 if the length value is 12cm and the width value is 7 cm; then, calculating a maximum rectangular area with a length-width ratio of 12/7 in the remaining display area of the display screen except the damaged area, specifically, calculating an area of a rectangle with a length-width ratio of 12/7 formed by each point on the boundary of the damaged area and the boundary of the whole display screen, and then determining a boundary point corresponding to the maximum area, wherein the rectangle formed by the boundary point and the boundary of the display screen is the first rectangular area, as shown in fig. 8; or determining a rectangular area equation with a length-width ratio of 12/7 in the remaining region by using the vertex of the boundary line of the damaged region and the tangent line corresponding to the vertex, and solving an extreme point of the current equation, where the rectangle formed by the extreme point and the boundary of the display screen is the first rectangular region, and of course, those skilled in the art may also determine the largest rectangular region with a length-width ratio of 12/7 in the remaining region of the current screen in other ways, which is not limited in the embodiment of the present application.
In a second manner, after the electronic device determines the damaged area through the selection operation, the specific implementation manner of step S102 is:
and determining a second rectangular area capable of normal display from the rest of the display area except the at least one area of the display unit.
In a specific implementation process, following the above example, after the smart phone determines the damaged area of the display screen, the processor of the smart phone calculates a rectangle with the largest area in the remaining display area except the damaged area in the display screen. Specifically, after the smart phone determines that the area where the 4 grid frames covered by the damaged area in fig. 6 are located is the damaged area, the processor of the smart phone determines a rectangular area with the largest area, that is, a rectangle with the largest number of grids forming the rectangular area, from the remaining grid frames, as shown in fig. 9.
After the step S102 is completed, the method in the embodiment of the present application performs step S103, that is: displaying first content on the first area.
In a specific implementation process, following the above example, after the processor of the smartphone determines that the remaining area of the current screen has the largest rectangular area with the length-to-width ratio of 12/7, the display content of the current display screen is reduced and displayed on the largest rectangular area, as shown in fig. 10; after the processor of the smart phone determines the largest rectangular area in the remaining area of the current screen, the display content of the current display screen is reduced according to the length-width ratio of the current largest rectangular area, and the display content is appropriately adjusted to adapt to the current display area, as shown in fig. 11.
In the embodiment of the present application, in order to enable the electronic device to implement the scheme in the embodiment of the present application when the display unit is damaged, a shortcut for activating the scheme may be added in a setting menu of the electronic device, and a physical key combination corresponding to the scheme may also be set, so as to ensure that a user can start the scheme in necessary cases, which is not limited in the embodiment of the present application.
Example two
Based on the same inventive concept as the first embodiment of the present application, the second embodiment of the present application provides an electronic device, please refer to fig. 12, which includes:
a first detection unit 101 for detecting at least one region where normal display cannot be performed of a display unit of the electronic apparatus is obtained;
a first determining unit 102 configured to determine, on the basis of the at least one region, a first region in which normal display is possible on the display unit;
a first output unit 103 for displaying a first content on the first area.
In the second embodiment of the present application, when the display unit is specifically a touch display unit, the first detection unit 101 specifically includes:
the first detection module is used for detecting and acquiring at least one touch operation performed on the touch display unit by a user of the electronic equipment;
a first obtaining module, configured to obtain at least one touch trajectory of the at least one touch operation;
a first determining module to determine the at least one area based on the at least one touch trajectory.
In the second embodiment of the present application, the first detecting unit 101 specifically includes:
the second acquisition module is used for acquiring the first grid frame;
a first dividing module, configured to divide the display unit into N display areas based on the first grid frame, where N is an integer greater than or equal to 1;
the second detection module is used for detecting and obtaining at least one region selection operation of the user of the electronic equipment in the N display regions;
a second determination module to determine the at least one region based on the at least one region selection operation.
In the second embodiment of the present application, the first determining unit 102 specifically includes:
the third acquisition module is used for acquiring the set length-width ratio of the display unit;
and the third determining module is used for determining a first rectangular area which has the length-width ratio which is the set length-width ratio and can carry out normal display from the rest display areas except the at least one area of the display unit.
In the second embodiment of the present application, the first determining unit 102 specifically includes:
and the fourth determining module is used for determining a second rectangular area capable of carrying out normal display from the rest display area of the display unit except the at least one area.
EXAMPLE III
Based on the same inventive concept as the first embodiment of the present application, the second embodiment of the present invention provides an electronic device, please refer to fig. 13, which includes:
a housing 10;
a display screen 20 disposed in the housing 10, a display area of the display screen 20 being exposed through a first window of the housing 10;
and the processor 30 is arranged in the housing 10, wherein the processor 30 is specifically configured to detect at least one area of the display screen 20 where normal display cannot be performed, determine a first area where normal display can be performed on the display screen 20 based on the at least one area, and display first content on the first area.
In the third embodiment of the present application, when the display screen 20 is specifically a touch display screen, the processor 30 is specifically configured to:
detecting and obtaining at least one touch operation performed by a user of the electronic equipment on the touch display screen;
acquiring at least one touch track of the at least one touch operation;
determining the at least one area based on the at least one touch trajectory.
In the third embodiment of the present application, the processor 30 is specifically configured to:
acquiring a first grid frame;
dividing the display screen into N display areas based on the first grid frame, wherein N is an integer greater than or equal to 1;
detecting and obtaining at least one region selection operation performed by a user of the electronic equipment in the N display regions;
determining the at least one region based on the at least one region selection operation.
In the third embodiment of the present application, the processor 30 is specifically configured to:
acquiring a set length-width ratio of the display screen;
and determining a first rectangular area which has the length-width ratio of the set length-width ratio and can carry out normal display from the rest display areas of the display screen except the at least one area.
In the third embodiment of the present application, the processor 30 is specifically configured to:
and determining a second rectangular area capable of carrying out normal display from the rest display area except the at least one area of the display screen.
Through one or more technical solutions in the embodiments of the present application, one or more of the following technical effects can be achieved:
firstly, according to the technical scheme in the embodiment of the application, at least one area which cannot be normally displayed of a display unit of the electronic equipment is obtained by detection; determining a first area capable of normal display on the display unit based on the at least one area; the technical means for displaying the first content on the first area is that when a certain area in the display screen of the electronic device is damaged, and the display screen cannot normally display a complete display interface, the electronic device detects the damaged area in the current display screen, then determines the first area for displaying the screen content from other areas except the damaged area, and completely displays the current display interface on the first area, and further, the electronic device can normally display the complete display interface no matter whether the display screen of the electronic device is damaged or not, so that the technical problem that the display screen of the electronic device in the prior art cannot normally display under certain conditions is effectively solved, and the technical effect that the electronic device can normally display under any conditions is achieved.
Secondly, according to the technical scheme in the embodiment of the application, at least one area of the display unit of the electronic equipment, which cannot be normally displayed, is obtained by detection; determining a first area capable of normal display on the display unit based on the at least one area; the technical means for displaying the first content on the first area is that when a certain area in a display screen of the electronic equipment is damaged and the function of the equipment located in the damaged area cannot be touched for use, the electronic equipment displays the display interface on other areas outside the damaged area completely, and then any position in the display interface can be touched for operation.
Thirdly, according to the technical scheme in the embodiment of the application, at least one area of the display unit of the electronic equipment, which cannot be normally displayed, is obtained by detection; determining a first area capable of normal display on the display unit based on the at least one area; the technical means for displaying the first content on the first area is that when a certain area in a display screen of the electronic equipment is damaged, the electronic equipment completely displays the display interface on other areas outside the damaged area, so that the electronic equipment can still normally display the screen content and use all functions of the electronic equipment under the condition of not replacing the display screen, and therefore the technical effects of increasing the usability of products and improving the user experience are achieved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Specifically, the computer program instructions corresponding to the information processing method in the embodiment of the present application may be stored on a storage medium such as an optical disc, a hard disc, a usb disk, or the like, and when the computer program instructions corresponding to the information processing method in the storage medium are read or executed by an electronic device, the method includes the following steps:
detecting and obtaining at least one area of a display unit of the electronic equipment, wherein the area cannot be normally displayed;
determining a first area capable of normal display on the display unit based on the at least one area;
displaying first content on the first area.
Optionally, when the display unit is specifically a touch display unit, the storage medium stores the following steps: detecting and obtaining at least one area of a display unit of the electronic device, where normal display cannot be performed, and when executed, the corresponding computer program instructions specifically include:
detecting and obtaining at least one touch operation performed by a user of the electronic equipment on the touch display unit;
acquiring at least one touch track of the at least one touch operation;
determining the at least one area based on the at least one touch trajectory.
Optionally, the step of storing in the storage medium: detecting and obtaining at least one area of a display unit of the electronic device, where normal display cannot be performed, and when executed, the corresponding computer program instructions specifically include:
acquiring a first grid frame;
dividing the display unit into N display areas based on the first grid frame, wherein N is an integer greater than or equal to 1;
detecting and obtaining at least one region selection operation performed by a user of the electronic equipment in the N display regions;
determining the at least one region based on the at least one region selection operation.
Optionally, the step of storing in the storage medium: based on the at least one region, determining a first region capable of performing normal display on the display unit, where the corresponding computer program instructions, when executed, specifically include:
acquiring a set length-width ratio of the display unit;
and determining a first rectangular area which has the length-width ratio of the set length-width ratio and can carry out normal display from the rest display areas of the display unit except the at least one area.
Optionally, the step of storing in the storage medium: based on the at least one region, determining a first region capable of performing normal display on the display unit, where the corresponding computer program instructions, when executed, specifically include:
and determining a second rectangular area capable of normal display from the rest of the display area except the at least one area of the display unit.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (7)

1. An information processing method comprising:
detecting and obtaining at least one area of a display unit of the electronic equipment, wherein the area cannot be normally displayed;
determining a first area capable of normal display on the display unit based on the at least one area;
displaying first content on the first area; wherein,
the detecting and obtaining at least one region of the display unit of the electronic device, where normal display cannot be performed, specifically includes: acquiring a first grid frame; dividing the display unit into N display areas based on the first grid frame, wherein N is an integer greater than or equal to 1, and the size of the first grid frame is set by a factory manufacturer when the first grid frame leaves a factory or by a user; detecting and obtaining at least one region selection operation performed by a user of the electronic equipment in the N display regions; and determining the area corresponding to the selected first grid frame as the at least one area based on the at least one area selection operation.
2. The method according to claim 1, wherein the determining, based on the at least one region, a first region on the display unit that enables normal display includes:
acquiring a set length-width ratio of the display unit;
and determining a first rectangular area which has the length-width ratio of the set length-width ratio and can carry out normal display from the rest display areas of the display unit except the at least one area.
3. The method according to claim 1, wherein the determining, based on the at least one region, a first region on the display unit that enables normal display includes:
and determining a second rectangular area capable of normal display from the rest of the display area except the at least one area of the display unit.
4. An electronic device, comprising:
a first detection unit for detecting at least one region of a display unit of the electronic device in which normal display cannot be performed;
a first determination unit configured to determine, on the basis of the at least one region, a first region in which normal display is possible on the display unit;
a first output unit for displaying first content on the first area; wherein,
the first detection unit is specifically configured to: acquiring a first grid frame; dividing the display screen into N display areas based on the first grid frame, wherein N is an integer greater than or equal to 1, and the size of the first grid frame is set by a factory manufacturer when the first grid frame leaves a factory or by a user; detecting and obtaining at least one region selection operation performed by a user of the electronic equipment in the N display regions; and determining the area corresponding to the selected first grid frame as the at least one area based on the at least one area selection operation.
5. An electronic device, comprising:
a housing;
the display screen is arranged in the shell, and a display area of the display screen is exposed through a first window of the shell;
the processor is specifically configured to detect and obtain at least one area of the display screen where normal display cannot be performed, determine a first area where normal display can be performed on the display screen based on the at least one area, and display first content on the first area; wherein,
the processor is specifically configured to: acquiring a first grid frame; dividing the display screen into N display areas based on the first grid frame, wherein N is an integer greater than or equal to 1, and the size of the first grid frame is set by a factory manufacturer when the first grid frame leaves a factory or by a user; detecting and obtaining at least one region selection operation performed by a user of the electronic equipment in the N display regions; and determining the area corresponding to the selected first grid frame as the at least one area based on the at least one area selection operation.
6. The electronic device of claim 5, wherein the processor is specifically configured to:
acquiring a set length-width ratio of the display screen;
and determining a first rectangular area which has the length-width ratio of the set length-width ratio and can carry out normal display from the rest display areas of the display screen except the at least one area.
7. The electronic device of claim 5, wherein the processor is specifically configured to:
and determining a second rectangular area capable of carrying out normal display from the rest display area except the at least one area of the display screen.
CN201510487029.1A 2015-08-10 2015-08-10 A kind of information processing method and electronic equipment Active CN105117156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510487029.1A CN105117156B (en) 2015-08-10 2015-08-10 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510487029.1A CN105117156B (en) 2015-08-10 2015-08-10 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105117156A CN105117156A (en) 2015-12-02
CN105117156B true CN105117156B (en) 2019-02-05

Family

ID=54665161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510487029.1A Active CN105117156B (en) 2015-08-10 2015-08-10 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105117156B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389103A (en) * 2015-12-21 2016-03-09 联想(北京)有限公司 Electronic device and control method thereof
CN107102805A (en) * 2016-02-23 2017-08-29 西安中兴新软件有限责任公司 A kind of display methods and display device
CN105607782B (en) * 2016-03-23 2019-02-22 京东方科技集团股份有限公司 A kind of display methods and display equipment
US10559283B2 (en) 2017-03-20 2020-02-11 Paypal, Inc. Automated user device damage remediation
CN107632874B (en) * 2017-09-05 2023-11-03 Oppo广东移动通信有限公司 Interface display method and device and terminal
CN107577495B (en) * 2017-09-05 2019-05-31 Oppo广东移动通信有限公司 Interface display method, device and terminal
CN108052368B (en) * 2017-12-28 2019-10-15 维沃移动通信有限公司 A kind of application display interface control method and mobile terminal
CN108170214A (en) * 2017-12-29 2018-06-15 广东欧珀移动通信有限公司 Electronic device, display control method and related product
CN108073343B (en) * 2018-01-26 2019-12-17 维沃移动通信有限公司 display interface adjusting method and mobile terminal
CN108777735B (en) * 2018-04-26 2021-03-09 Oppo广东移动通信有限公司 Display area adjusting method and related equipment
CN108769381A (en) * 2018-04-27 2018-11-06 Oppo广东移动通信有限公司 Display control method and device
CN108833671B (en) * 2018-04-28 2021-05-18 Oppo广东移动通信有限公司 Falling detection method of electronic device and related product
CN109343816A (en) * 2018-09-30 2019-02-15 联想(北京)有限公司 A kind of display methods, display device and electronic equipment
CN109283996B (en) * 2018-10-24 2021-06-01 Oppo(重庆)智能科技有限公司 Display control method and related product
CN109346018A (en) * 2018-10-25 2019-02-15 京东方科技集团股份有限公司 Display control method and device, display device and storage medium
CN110045889A (en) * 2019-03-08 2019-07-23 维沃移动通信有限公司 A kind of display methods and mobile terminal
CN110033724A (en) * 2019-04-19 2019-07-19 陈波 A kind of advertisement liquid crystal display defect automatic checkout system
CN112543495B (en) * 2019-09-23 2022-09-02 华为技术有限公司 Display control method and electronic equipment
CN113127111A (en) * 2019-12-30 2021-07-16 中移雄安信息通信科技有限公司 Method and terminal for automatically adapting to local defect of screen

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609144A (en) * 2012-02-15 2012-07-25 中国联合网络通信集团有限公司 Touch screen damage protection adaption method and electronic equipment
CN102622277A (en) * 2012-02-15 2012-08-01 中国联合网络通信集团有限公司 Screen damage protection adapting method and electronic equipment
CN103186334A (en) * 2011-12-28 2013-07-03 宇龙计算机通信科技(深圳)有限公司 Control method and device for terminal
CN104461312A (en) * 2013-09-17 2015-03-25 联想(北京)有限公司 Display control method and electronic equipment
CN104461763A (en) * 2014-12-17 2015-03-25 广东欧珀移动通信有限公司 Displaying method and device for terminal screen
CN104765489A (en) * 2015-03-19 2015-07-08 业成光电(深圳)有限公司 Touch display device and control system thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8593418B2 (en) * 2010-08-08 2013-11-26 Qualcomm Incorporated Method and system for adjusting display content
KR102207861B1 (en) * 2013-04-26 2021-01-26 삼성전자주식회사 Method for displaying and an electronic device thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186334A (en) * 2011-12-28 2013-07-03 宇龙计算机通信科技(深圳)有限公司 Control method and device for terminal
CN102609144A (en) * 2012-02-15 2012-07-25 中国联合网络通信集团有限公司 Touch screen damage protection adaption method and electronic equipment
CN102622277A (en) * 2012-02-15 2012-08-01 中国联合网络通信集团有限公司 Screen damage protection adapting method and electronic equipment
CN104461312A (en) * 2013-09-17 2015-03-25 联想(北京)有限公司 Display control method and electronic equipment
CN104461763A (en) * 2014-12-17 2015-03-25 广东欧珀移动通信有限公司 Displaying method and device for terminal screen
CN104765489A (en) * 2015-03-19 2015-07-08 业成光电(深圳)有限公司 Touch display device and control system thereof

Also Published As

Publication number Publication date
CN105117156A (en) 2015-12-02

Similar Documents

Publication Publication Date Title
CN105117156B (en) A kind of information processing method and electronic equipment
CN108885852B (en) System and method for controlling variable frame duration in an electronic display
CN104035678B (en) Scrolling method and the electronic equipment using the scrolling method
EP3736675A1 (en) Method for performing operation on touchscreen and terminal
KR20140128146A (en) Method for displaying and an electronic device thereof
RU2660615C2 (en) Method and device for moving page content
CN104615375A (en) Method and device for image scaling and broadcast content switching of handheld electronic equipment
EP2706449A2 (en) Method for changing object position and electronic device thereof
EP2770410A2 (en) Method for determining touch input object and electronic device thereof
EP2615536A2 (en) Apparatus and method for zooming touch screen in electronic device
CN105843531A (en) Switching method and device for screen modes
US10019148B2 (en) Method and apparatus for controlling virtual screen
US20160070467A1 (en) Electronic device and method for displaying virtual keyboard
TWI502477B (en) Method, electronic device and computer program product for screen shield
CN103399711A (en) Display control method of pop-up window and terminal
US20170102782A1 (en) Electronic Device and Method for Rendering Secondary Characters
CN104571814B (en) Projection method and electronic equipment
CN111679767B (en) Window expansion method and associated electronic device
CA2874282A1 (en) Adjusting layout size of hyperlink
WO2015181830A1 (en) User account switching interface
US10318131B2 (en) Method for scaling down effective display area of screen, and mobile terminal
CN105511759B (en) image processing method and electronic equipment
CN104407698A (en) Projecting method and electronic equipment
CN104699393B (en) A kind of information processing method and electronic equipment
KR101699909B1 (en) Method for displaying implantable advertisement and apparatus thereof

Legal Events

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