CN108121493B - Display control method and related product - Google Patents
Display control method and related product Download PDFInfo
- Publication number
- CN108121493B CN108121493B CN201711346292.4A CN201711346292A CN108121493B CN 108121493 B CN108121493 B CN 108121493B CN 201711346292 A CN201711346292 A CN 201711346292A CN 108121493 B CN108121493 B CN 108121493B
- Authority
- CN
- China
- Prior art keywords
- display
- display area
- screen
- target
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000004590 computer program Methods 0.000 claims description 13
- 238000004891 communication Methods 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 14
- 230000001133 acceleration Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 230000001788 irregular Effects 0.000 description 10
- 230000005484 gravity Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000007306 turnover Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application discloses a display control method, which is applied to an electronic device with a touch display screen being a special-shaped screen, wherein the touch display screen comprises a special-shaped area and a regular area, the special-shaped area comprises a first display area and a second display area, and the first display area and the second display area are respectively arranged in the first display area and the second display area, wherein: determining the use state of the electronic equipment; when a notification message is displayed on a display page of a current application, detecting target screen splitting operation; if the target split screen operation meets a first preset condition, dividing the rule area into a third display area and a fourth display area according to the use state, the current application and the notification message, displaying first display content corresponding to the notification message in the third display area, displaying second display content corresponding to the current application in the fourth display area, displaying a first target component set corresponding to the notification message in the first display area, and displaying a second target component set corresponding to the current application in the second display area. By the method and the device, the display flexibility of the special-shaped area and the regular area can be improved.
Description
Technical Field
The application relates to the technical field of electronic equipment, and mainly relates to a display control method and a related product.
Background
With the popularization and application of smart phones in a large number, smart phones can support more and more applications and have more and more powerful functions, and smart phones develop towards diversification and individuation and become indispensable electronic products in user life.
In the prior art, a hole is formed right above the touch display screen by adopting a special-shaped pointed comprehensive screen technology, and components such as a front camera and an optical fiber sensor are embedded into the center of the top end of the touch display screen, so that better function experience and visual effect are achieved. However, the above structure causes the touch display screen to include a special-shaped area, and how to display on the touch display screen is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the application provides a display control method and a related product, so that the display space of a touch display screen of electronic equipment is fully utilized, and the display flexibility of a special-shaped area and a regular area is improved.
In a first aspect, an embodiment of the present application provides a display control method, which is applied to an electronic device in which a touch display screen is an irregular screen, where the touch display screen includes an irregular area and a regular area, and the irregular area includes a first display area and a second display area, and the method includes:
determining a usage state of the electronic device, the usage state including one of: the screen display device comprises a front transverse screen using state, a rear transverse screen using state, a front vertical screen using state and a rear vertical screen using state;
when a notification message is displayed on a display page of a current application, detecting target screen splitting operation;
if the target screen splitting operation meets a first preset condition, dividing the rule area into a third display area and a fourth display area according to the use state, the current application and the notification message, displaying first display content corresponding to the notification message in the third display area, displaying second display content corresponding to the current application in the fourth display area, displaying a first target component set corresponding to the notification message in the first display area, and displaying a second target component set corresponding to the current application in the second display area.
In a second aspect, an embodiment of the present application provides an electronic device, including a processor, a memory connected to the processor, and a touch display screen, where the touch display screen includes a special-shaped area and a regular area, the special-shaped area includes a first display area and a second display area, where:
the memory is used for storing a first preset condition;
the processor is configured to determine a usage status of the electronic device, where the usage status includes one of: the screen display device comprises a front transverse screen using state, a rear transverse screen using state, a front vertical screen using state and a rear vertical screen using state; when a notification message is displayed on a display page of a current application, detecting target screen splitting operation; if the target screen splitting operation meets the first preset condition, dividing the rule area into a third display area and a fourth display area according to the use state, the current application and the notification message;
the touch display screen is configured to display first display content corresponding to the notification message in the third display area, display second display content corresponding to the current application in the fourth display area, display a first target component set corresponding to the notification message in the first display area, and display a second target component set corresponding to the current application in the second display area.
In a third aspect, an embodiment of the present application provides a display control apparatus, which is applied to an electronic device in which a touch display screen is an irregular screen, where the touch display screen includes an irregular area and a regular area, the irregular area includes a first display area and a second display area, and the apparatus includes:
a determination unit, configured to determine a usage state of the electronic device, where the usage state includes one of: the screen display device comprises a front transverse screen using state, a rear transverse screen using state, a front vertical screen using state and a rear vertical screen using state;
the detection unit is used for detecting the target screen splitting operation when the notification message is displayed on the display page of the current application;
the dividing unit is used for dividing the regular area into a third display area and a fourth display area according to the use state, the current application and the notification message if the target screen splitting operation meets a first preset condition;
a display unit, configured to display first display content corresponding to the notification message in the third display area, display second display content corresponding to the current application in the fourth display area, display a first target component set corresponding to the notification message in the first display area, and display a second target component set corresponding to the current application in the second display area.
In a fourth aspect, an embodiment of the present application provides another display control method, which is applied to an electronic device whose touch display screen is an irregular screen, where the electronic device includes a processor, a memory connected to the processor, and the touch display screen includes an irregular area and a regular area, the irregular area includes a first display area and a second display area, and the method includes:
the memory stores a first preset condition;
the processor determines a usage state of the electronic device, the usage state including one of: the screen display device comprises a front transverse screen using state, a rear transverse screen using state, a front vertical screen using state and a rear vertical screen using state;
the processor detects a target split screen operation when displaying a notification message on a display page of a current application;
if the target screen splitting operation meets the first preset condition, the processor divides the rule area into a third display area and a fourth display area according to the use state, the current application and the notification message;
the touch display screen displays first display content corresponding to the notification message in the third display area, displays second display content corresponding to the current application in the fourth display area, displays a first target component set corresponding to the notification message in the first display area, and displays a second target component set corresponding to the current application in the second display area.
In a fifth aspect, an embodiment of the present application provides another 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 some or all of the steps described in the first aspect.
In a sixth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, where the computer program makes a computer perform some or all of the steps as described in the first aspect of the present application.
In a seventh aspect, this application embodiment provides a computer program product, where the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps as described in the first aspect of this application embodiment. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
the display control method and the related product are applied to electronic equipment with a touch display screen being a special-shaped screen, wherein the touch display screen comprises a special-shaped area and a regular area, and the special-shaped area comprises a first display area and a second display area. Displaying a notification message on a display page of a current application, and when the detected target split screen operation meets a first preset condition, dividing a rule area into a third display area and a fourth display area according to the determined use state of the electronic equipment, the current application and the notification message, displaying first display content corresponding to the notification message in the third display area, displaying second display content corresponding to the current application in the fourth display area, displaying a first target component set corresponding to the notification message in the first display area, and displaying a second target component set corresponding to the current application in the second display area. That is, the rule area is split based on the use state of the electronic device, the current application and the notification message, and the first display content corresponding to the notification message and the second display content corresponding to the current application can be processed simultaneously, so that the convenience of operation is improved. And the display contents of the target assembly corresponding to the current application and the notification message are respectively displayed by utilizing the first display area and the second display area in the special-shaped area, so that the display space of a touch display screen of the electronic equipment is fully utilized, and the display flexibility of each area in the special-shaped area and the regular area is improved.
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.
Wherein:
fig. 1 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application;
fig. 1A is a schematic diagram of an acceleration sensor disclosed in an embodiment of the present application;
fig. 1B is a scene schematic diagram of an electronic device in an inverted vertical screen usage state disclosed in an embodiment of the present application;
fig. 1C is a scene schematic diagram of a selection page for each use state of an electronic device disclosed in the embodiment of the present application;
fig. 1D is a scene schematic diagram of an electronic device in a normal-vertical screen use state disclosed in the embodiment of the present application;
fig. 1E is a schematic flowchart of a display control method according to an embodiment of the present disclosure;
fig. 1F is a schematic view of a scene of a split screen operation for a notification message and a current application disclosed in an embodiment of the present application;
fig. 1G is a schematic view of a scene of a selection page of relative display positions for use states of an electronic device according to an embodiment of the present application;
fig. 1H is a scene schematic diagram based on a display control method disclosed in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a display control apparatus according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of another display control method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, 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 a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described 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 devices involved in the embodiments of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem with wireless communication functions, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal equipment (terminal device), and so on. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
The embodiment of the application provides a display control method and a related product, so that the display space of a touch display screen of electronic equipment is fully utilized, and the display flexibility of a special-shaped area and a regular area is improved. Embodiments of the present application will be described below with reference to the accompanying drawings.
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 touch screen comprises a shell 110, a circuit board 120, a battery 130 and a cover plate 140, wherein the circuit board 120, the battery 130 and the cover plate 140 are arranged on the shell 110, the cover plate 140 comprises a first area 141 and a second area 142 except the first area 141, a touch display screen 150 is arranged on the inner surface of the first area 141, the touch display screen 150 comprises a special-shaped area 151 and a regular area 152, the special-shaped area 151 comprises a first display area 153 and a second display area 154, the circuit board 120 is further provided with a circuit 160 connected with the touch display screen 150, and the circuit 160 comprises a memory 1601 and a processor 1602.
The memory 1601 may be used for storing software programs and modules, and the processor 1602 executes various functional applications and data processing of the electronic device 100 by operating the software programs and modules stored in the memory 1601. The memory 1601 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for 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 1601 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 processor 1602 is a control center of the electronic apparatus 100, connects various parts of the whole electronic apparatus 100 by various interfaces and lines, and performs various functions of the electronic apparatus 100 and processes data by running or executing software programs and/or modules stored in the memory 1601 and calling data stored in the memory 1601, thereby performing overall monitoring of the electronic apparatus. Optionally, the processor 1602 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor.
The positions of the first display region 153 and the second display region 154 may be switched, that is, the display content corresponding to the first display region 153 may be switched with the display content corresponding to the second display region 154.
In the embodiment of the present application, the usage state of the electronic device 100 includes one of: the screen display device comprises a front transverse screen using state, a rear transverse screen using state, a front vertical screen using state and a rear vertical screen using state.
The normal landscape screen using state refers to a state that the special-shaped area 151 is on the left side of the regular area 152; the inverted landscape screen use state refers to a state in which the special-shaped area 151 is on the right side of the regular area 152; the normal-vertical screen use state refers to a state in which the special-shaped area 151 is on the upper side of the regular area 152; the inverted portrait screen usage state refers to a state in which the irregular area 151 is on the lower side of the regular area 152.
Alternatively, the electronic device 100 determines the use states through a built-in acceleration sensor, and determines the display direction of the touch display screen 150 based on the selection operation of the user for each use state of the electronic device 100.
Specifically, please refer to fig. 1A for a principle of detecting gravitational acceleration values of the electronic device 100 in three directions, i.e., a predefined X-axis, a predefined Y-axis, and a predefined Z-axis, where the X-axis and the Y-axis are parallel to a plane of the electronic device 100, the X-axis is a width direction of the electronic device 100, the Y-axis is a length direction of the electronic device 100, and the Z-axis is perpendicular to the plane of the electronic device 100.
For example, when the electronic device is in a normal vertical screen use state, the gravity acceleration values in the three directions of the X axis, the Y axis and the Z axis are respectively 0, -9.8 and 0; when the electronic equipment is in a use state of an inverted vertical screen, the gravity acceleration values in the X-axis direction, the Y-axis direction and the Z-axis direction are respectively 0, +9.8 and 0; when the electronic equipment is in a normal and horizontal screen using state, the gravity acceleration values in the X axis direction, the Y axis direction and the Z axis direction are-9.8, 0 and 0 respectively; when the electronic equipment is in the inverted transverse screen using state, the gravity acceleration values in the X axis direction, the Y axis direction and the Z axis direction are respectively +9.8, 0 and 0.
The present embodiment is not limited to the selection operation of each use state of the electronic device 100.
Optionally, a screen flipping function corresponding to the existing flipping component is expanded, when the flipping function is turned on, the use state is determined by the acceleration sensor, and the display direction of the touch display screen 150 is determined according to the use state. That is to say, the current upset subassembly has opened positive horizontal screen user state and falls horizontal screen user state on the basis of just erecting screen user state, and the upset subassembly that this application improved still can open and fall perpendicular screen user state, as shown in FIG. 1B promptly, when the electronic equipment that the user used falls perpendicular screen user state, can directly operate touch-control display screen falling perpendicular screen user state to the convenience of operation has been improved.
Referring to fig. 1C, fig. 1C is a schematic view of a selection page for each use state of an electronic device provided in the present application. As shown in fig. 1C, the start function is respectively opened for the four use states, and only when the use states are opened, the user can operate the touch display screen in the corresponding use state, and open or close each use state under a specific scene or by personal habits, so that the practicability is improved, and screen turnover caused by misoperation is avoided.
For example: the special-shaped area is arranged right above the electronic device, and the user is used to display contents in a regular area right above the electronic device, and then the user closes the use state of the front vertical screen through the selection page, namely when the electronic device is in the use state of the front vertical screen, as shown in fig. 1D, the display direction of the touch display screen is consistent with the display direction of the use state of the reverse vertical screen, namely the display contents are in an inverted state.
In the process of switching the use state of the electronic device 100, the display content before switching is displayed on the touch display screen 150.
Referring to fig. 1E, fig. 1E is a schematic flowchart illustrating a display control method according to an embodiment of the present disclosure. Applied to the electronic device shown in fig. 1, as shown in fig. 1E, includes:
101: determining a use state of the electronic device.
The determination of the usage status of the electronic device by the acceleration sensor is not described herein.
102: and when the notification message is displayed on the display page of the current application, detecting the target screen splitting operation.
In the embodiment of the present application, the current application is an application program that is running in the foreground of the electronic device, including but not limited to a video application, a game application, a reading application, a chat application, and the like; the notification message is a message component displayed on a display page of the current application, and may be instant information corresponding to the chat application, a push message of another application, or a message associated with the current application, for example: when watching videos in a video application, inserted discussion hotspots, homogeneous clothing, cached advertisements, and the like.
The target split screen operation is not limited in the embodiment of the application, and may be any touch operation, key operation, swing operation, or the like. For example: clicking the touch display screen, pressing the touch display screen hard, sliding the screen, pressing physical keys or virtual keys such as a main key or a return key, turning over, lifting or lowering the electronic equipment, and the like. Touch operation or virtual key operation can be detected by acquiring touch parameters such as touch points, touch pressure, touch duration and the like through a sensor included in a touch display screen, physical key operation is detected through a control circuit corresponding to a physical key, and swing operation can be detected through an acceleration sensor or other sensors arranged in the electronic equipment, for example: a gyroscope sensor, a linear acceleration sensor, a rotary vector sensor, and the like.
103: if the target screen splitting operation meets a first preset condition, a rule area is divided into a third display area and a fourth display area according to the use state, the current application and the notification message, first display content corresponding to the notification message is displayed in the third display area, second display content corresponding to the current application is displayed in the fourth display area, a first target component set corresponding to the notification message is displayed in the first display area, and a second target component set corresponding to the current application is displayed in the second display area.
In the embodiment of the application, the first preset condition is used for starting the screen splitting operation of the touch display screen. When the target split screen operation meets a first preset condition, the rule area is divided into a third display area and a fourth display area, so that the convenience of operation is improved; otherwise, waiting for a preset time length, and deleting the notification message on the current display page, namely, the use of the current application is not influenced, and the disturbance-free performance is improved.
The first preset condition is not limited in the embodiment of the application, and may be a preset touch operation (for example, clicking, double clicking, forcefully clicking or drawing a special pattern, etc.) for the notification message, or a split screen operation for the notification message and the current application may be executed as shown in fig. 1F; and preset key operation or preset swing operation (for example, shaking left and right or lifting the electronic equipment) for the split screen function, and the like.
In the embodiment of the present application, the target component is a functional component related to an application, for example: the target components of the video application are a setting component, a playing component, a searching component, a sound control component, a light control component, a refreshing component, a playlist component and the like, and the target components of the reading application are a setting component, a book importing component, a font management component, a searching component, a cache management component and the like.
In the embodiment of the application, the first display area is used for displaying the display content of each target component in the first target component set corresponding to the notification message, and the second display area is used for displaying the display content of each target component in the second target component set corresponding to the current application.
Optionally, a target component corresponding to the notification message is obtained, and a plurality of target components are obtained; acquiring the relevance between each target component in the target components and the first display content to obtain a plurality of relevance values; and acquiring the first target component set according to the first display area and the plurality of associated values.
The obtaining method of the correlation value is not limited, and the correlation value can be calculated by the correlation between a plurality of dimensions related to the target component, such as functional attributes and correlations, and the first display content and by combining a preset weight corresponding to each dimension.
The method for acquiring the first target component set is not limited, and the target components can be selected according to the height of the correlation value, the area occupied by each target component and the area of the first display area, namely, the target components with higher correlation values are selected in the limited area to be displayed, so that the display efficiency is improved.
Consistent with the above embodiment, before the second display area displays the second set of target components corresponding to the current application, the method further comprises: obtaining a target component corresponding to the current application to obtain a plurality of second target components; obtaining the relevance between each target assembly in the second target assemblies and the second display content to obtain a plurality of second relevance values; and acquiring the second target component set according to the second display area and the plurality of second associated values.
Since the display position of the first display area is limited, each application corresponds to a plurality of target components, the first target component set is a target component with a higher association value in the plurality of target components, and other target components with a lower association value may also be called by the user, the plurality of target components corresponding to the notification message may be divided into a plurality of groups, and switched and displayed according to different operations, or the target component set corresponding to the operations is displayed, thereby improving the display efficiency in the limited area.
Optionally, a candidate target component set is obtained according to the plurality of correlation values; detecting a target switching operation for the first display area; and if the target switching operation meets a second preset condition, switching the first target component set displayed in the first display area into the alternative target component set.
The target switching operation is not limited, and the target split screen operation can be referred to, which is not described herein again; the second preset condition is used for switching the display content in the first display area, and the specific second preset condition is not limited, for example: a leftward sliding operation or a rightward sliding operation with respect to the first display region. When the target switching operation meeting the second preset condition is detected, the display content in the first display area is switched, so that the display efficiency and the display flexibility are improved.
Consistent with the above embodiment, after obtaining the association between each target component of the plurality of target components and the second display content to obtain a plurality of association values, the method further includes: acquiring a second candidate target component set according to the plurality of correlation values; detecting a target switching operation for the second display area; and if the target switching operation meets a second preset condition, switching the second target component set displayed in the second display area into the second alternative target component set.
Optionally, acquiring a preset split screen parameter corresponding to the use state; determining a relative display position between the third display area and the fourth display area according to the preset split screen parameters; determining a target allocation ratio between the third display area and the fourth display area according to the current application and the notification message; dividing the regular area into the third display area and the fourth display area according to the target allocation ratio and the relative display position.
The preset split screen parameters may include split screen setting parameters corresponding to the use state, that is, the relative display position between the third display area and the fourth display area may be determined by preset allocation parameters, for example: the distribution setting parameters specify the usage state of the horizontal screen (the usage state of the front horizontal screen and the usage state of the inverted horizontal screen), and the third display area is positioned on the right side of the fourth display area; the designated display area of the special-shaped area can also be included, that is, when the allocation ratio between the third display area and the fourth display area is determined, the display positions of the third display area and the fourth display area can be determined by the positions of the special-shaped area, for example: the display area is designated as a third display area, and if the using state is the normal landscape screen using state, the special-shaped area is positioned on the right side of the regular area when the normal landscape screen using state is achieved, so that the third display area is determined to be positioned on the right side of the fourth display area; a corresponding allocation ratio between the third display area and the fourth display area may also be included, i.e. the regular area is divided by the allocation ratio, for example: the allocation ratio is 1:2, the third display area is 1/3 for the regular area and the fourth display area is 2/3 for the regular area.
The method for determining the relative display position between the third display area and the fourth display area is not limited in the embodiment of the application, and the relative display position and the use state corresponding to the preset split screen parameters can be determined.
For example, as shown in fig. 1G, each usage state corresponds to a relative display position, and it is assumed that white represents the third display area and gray represents the fourth display area. If the setting in fig. 1G is adopted, when the electronic device is in the normal landscape screen use state, the third display area is located on the right side of the fourth display area, when the electronic device is in the inverted landscape screen use state, the third display area is located on the left side of the fourth display area, when the electronic device is in the normal portrait screen use state, the third display area is located on the lower side of the fourth display area, and when the electronic device is in the inverted portrait screen use state, the third display area is located on the upper side of the fourth display area.
In addition, referring to the scene diagram shown in fig. 1C, it is assumed that white represents the on state and gray represents the off state. If the default condition is adopted for the opening state, the setting opposite to the default condition is adopted for the closing state, namely, the third display area and the fourth display area are converted. The right hand and the lower side are usually used as directions for facilitating operation, that is, the default is that when the electronic device is in the normal landscape screen use state or the inverted landscape screen use state, the third display area is displayed on the right side of the fourth display area, and when the electronic device is in the normal portrait screen use state or the inverted landscape screen use state, the third display area is displayed on the lower side of the fourth display area.
Optionally, the notification message and the display content corresponding to the current application are obtained, so as to obtain the first display content and the second display content; determining a first allocation ratio between the third display area and the fourth display area according to the first display content and the second display content; when the first distribution proportion is larger than a preset maximum distribution proportion, determining that the target distribution proportion is the preset maximum distribution proportion; when the first distribution proportion is smaller than or equal to the preset maximum distribution proportion, determining the target distribution proportion as the first distribution proportion.
The first display content is display content corresponding to the notification message, and the second display content is display content corresponding to the current application.
Since the display area of the display area becomes smaller after the screen division, and each application may contain a plurality of display contents, the display contents with higher priority can be selected for display, thereby improving the display efficiency in a limited area.
The method for acquiring the priority is not limited in the embodiment of the application, and the priority can be calculated through a plurality of dimensions such as the function attribute related to each part in the display content and the relevance with other applications and by combining the preset weight corresponding to each dimension.
It should be noted that the type of the first display content is not necessarily a text, for example: if the notification message is hot news, the first display content may be the hot news and a text input box for comment, or may be an associated news recommendation, etc.
The preset maximum allocation ratio is used to limit the maximum allocation ratio between the third display area and the fourth display area, that is, the maximum value of the ratio between the third display area and the fourth display area is the preset maximum allocation ratio, that is, when the target allocation ratio is the preset maximum allocation ratio, the third display area is the maximum allocable value, and the fourth display area is the minimum allocable value, so as to ensure that the fourth display area has enough area to display.
And determining a first distribution proportion according to the first display content corresponding to the notification message and the second display content corresponding to the current application, and determining a target distribution proportion according to the first distribution proportion and the preset maximum distribution proportion, namely when the first distribution proportion is smaller than or equal to the preset maximum distribution proportion, the target distribution proportion is the first distribution proportion, otherwise, the target distribution proportion is the preset maximum distribution proportion, so that the fourth display area is ensured to have enough area for display.
In the embodiment of the present application, the third display area is configured to display first display content corresponding to the notification message, and the fourth display area is configured to display second display content corresponding to the current application, that is, after the third display area and the fourth display area are divided, the first display content is displayed in the third display area, the second display content is displayed in the fourth display area, and the display content corresponding to the first target component set is displayed in the first display area, and the display content corresponding to the second target component set is displayed in the second display area.
The display content of each region can be directly zoomed into one page according to the display area of the display region or zoomed according to the display region, and the display content can be viewed by sliding the display screen, which is not repeated herein.
For example, if the application corresponding to the notification message is a video application and the current application is a photo application, the first target component set includes a setting component and a screenshot component, the second target component set includes a deletion component and a sending component, and if the first display content is a video and the second display content is a photo, as shown in fig. 1H, the third display area displays a video pause page, the fourth display area displays a photo, the first display area displays the setting component and the screenshot component, and the second display area displays the deletion component and the sending component.
As shown in fig. 1E, the touch display screen is split, so that the first display content corresponding to the notification message and the second display content corresponding to the current application can be processed simultaneously, and the convenience of operation is improved. And the display content of the target assembly corresponding to the special-shaped area is displayed by utilizing the special-shaped area, so that the display space of a touch display screen of the electronic equipment is fully utilized, and the display flexibility of each area in the special-shaped area and the regular area is improved.
Optionally, a target screen closing operation is detected, target display content corresponding to the target screen closing operation is determined, and the target display content is displayed on the touch display screen.
The target screen closing operation is used for closing the third display area and the fourth display area, that is, the touch display screen only displays display content corresponding to one application.
The target screen closing operation is also not limited in the embodiment of the present application, and may be a repeated target screen splitting operation or an operation opposite to the target screen splitting operation, for example: the operation opposite to that of FIG. 1F, namely, the closing operation by two fingers; or may be an operation dedicated to screen closing or via other associated operations, such as: if the double-click is frequently used for amplifying the image, when the third display area is double-clicked, the third display area and the fourth display area are combined, and display content corresponding to the notification message is displayed; other application selection operations are also possible, such as: and calling an application selection page, displaying display content corresponding to the selection page and the like.
The target display content can be display content corresponding to the notification message, display content corresponding to the current application, and display content corresponding to other applications, so that the full-screen display state is quickly recovered, and the display flexibility is improved.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a display control device according to an embodiment of the present disclosure, which is similar to the embodiment shown in fig. 1E. The touch display screen applied to the electronic device shown in fig. 1 includes a special-shaped area and a regular area, where the special-shaped area includes a first display area and a second display area. As shown in fig. 2, the display control apparatus 200 includes:
a determining unit 201, configured to determine a usage status of the electronic device, where the usage status includes one of: the screen display device comprises a front transverse screen using state, a rear transverse screen using state, a front vertical screen using state and a rear vertical screen using state.
The detecting unit 202 is configured to detect a target screen splitting operation when the notification message is displayed on the display page of the current application.
A dividing unit 203, configured to divide the rule area into a third display area and a fourth display area according to the use state, the current application, and the notification message if the target screen splitting operation meets a first preset condition;
a display unit 204, configured to display a first display content corresponding to the notification message in the third display area, display a second display content corresponding to the current application in the fourth display area, display a first target component set corresponding to the notification message in the first display area, and display a second target component set corresponding to the current application in the second display area.
In one possible example, the apparatus 200 further comprises:
an obtaining unit 205, configured to obtain a preset split screen parameter corresponding to the use state; determining, by the determining unit 201, a relative display position between the third display area and the fourth display area according to the preset split screen parameter; determining a target allocation ratio between the third display area and the fourth display area according to the current application and the notification message; the regular area is divided into the third display area and the fourth display area by the dividing unit 203 according to the target allocation ratio and the relative display position.
In a possible example, the obtaining unit 205 is further configured to obtain the notification message and the display content corresponding to the current application, so as to obtain the first display content and the second display content; the determining unit 201 is further configured to determine a first allocation ratio between the third display area and the fourth display area according to the first display content and the second display content; when the first distribution proportion is larger than a preset maximum distribution proportion, determining that the target distribution proportion is the preset maximum distribution proportion; when the first distribution proportion is smaller than or equal to the preset maximum distribution proportion, determining the target distribution proportion as the first distribution proportion.
In a possible example, the obtaining unit 205 is further configured to obtain a target component corresponding to the notification message, so as to obtain a plurality of target components; acquiring the relevance between each target component in the target components and the first display content to obtain a plurality of relevance values; and acquiring the first target component set according to the first display area and the plurality of associated values.
In a possible example, the obtaining unit 205 is further configured to obtain a set of candidate target components according to the plurality of association values; the detecting unit 202 is further configured to detect a target switching operation for the first display area; the display unit 204 is further configured to switch the first target component set displayed in the first display area to the candidate target component set if the target switching operation meets a second preset condition.
In the apparatus shown in fig. 2, the apparatus is applied to an electronic device whose touch display screen is a special-shaped screen, where the touch display screen includes a special-shaped area and a regular area, and the special-shaped area includes a first display area and a second display area. Displaying a notification message on a display page of a current application, and when the detected target split screen operation meets a first preset condition, dividing a rule area into a third display area and a fourth display area according to the determined use state of the electronic equipment, the current application and the notification message, displaying first display content corresponding to the notification message in the third display area, displaying second display content corresponding to the current application in the fourth display area, displaying a first target component set corresponding to the notification message in the first display area, and displaying a second target component set corresponding to the current application in the second display area. That is, the rule area is split based on the use state of the electronic device, the current application and the notification message, and the first display content corresponding to the notification message and the second display content corresponding to the current application can be processed simultaneously, so that the convenience of operation is improved. And the display contents of the target assembly corresponding to the current application and the notification message are respectively displayed by utilizing the first display area and the second display area in the special-shaped area, so that the display space of a touch display screen of the electronic equipment is fully utilized, and the display flexibility of each area in the special-shaped area and the regular area is improved.
Please refer to fig. 3, which is a schematic structural diagram of another electronic device consistent with the embodiment shown in fig. 1E. As shown in fig. 3, the electronic device 300 includes a processor 310, a memory 320 connected to the processor 310, and a touch display 330, the touch display 330 includes a shaped area 331 and a regular area 332, the shaped area 331 includes a first display area 334 and a second display area 335, wherein:
the memory 320 is used for storing a first preset condition;
the processor 310 is configured to determine a usage status of the electronic device 300, where the usage status includes one of: the screen display device comprises a front transverse screen using state, a rear transverse screen using state, a front vertical screen using state and a rear vertical screen using state; when a notification message is displayed on a display page of a current application, detecting target screen splitting operation; if the target screen splitting operation meets the first preset condition, dividing the rule area 332 into a third display area 336 and a fourth display area 337 according to the use state, the current application and the notification message;
the touch display 330 is configured to display first display content corresponding to the notification message in the third display area 336, display second display content corresponding to the current application in the fourth display area 337, display a first target component set corresponding to the notification message in the first display area 334, and display a second target component set corresponding to the current application in the second display area 335.
In a possible example, the memory 320 is further configured to store a preset split screen parameter corresponding to the use state; in the aspect of dividing the rule area 332 into a third display area 336 and a fourth display area 337 according to the usage status, the current application, and the notification message, the processor 310 is specifically configured to determine a relative display position between the third display area 336 and the fourth display area 337 according to the preset split screen parameter; determining a target allocation ratio between the third display area 336 and the fourth display area 337 according to the current application and the notification message; the regular area 332 is divided into the third display area 336 and the fourth display area 337 according to the target allocation ratio and the relative display position.
In one possible example, the memory 320 is further configured to preset a maximum allocation ratio; in the aspect of determining the target allocation ratio between the third display area 336 and the fourth display area 337 according to the current application and the notification message, the processor 310 is specifically configured to obtain the first display content and the second display content by using the notification message and the display content corresponding to the current application; determining a first allocation ratio between the third display region 336 and the fourth display region 337 based on the first display content and the second display content; when the first distribution proportion is larger than the preset maximum distribution proportion, determining that the target distribution proportion is the preset maximum distribution proportion; when the first distribution proportion is smaller than or equal to the preset maximum distribution proportion, determining the target distribution proportion as the first distribution proportion.
In one possible example, before the first display area 334 displays the first target component set corresponding to the notification message, the processor 310 is further configured to obtain a target component corresponding to the notification message, resulting in a plurality of target components; acquiring the relevance between each target component in the target components and the first display content to obtain a plurality of relevance values; the first set of target components is obtained according to the first display area 334 and the plurality of associated values.
In one possible example, the memory 320 is further configured to store a second preset condition; after obtaining a plurality of association values by obtaining the association between each target component of the plurality of target components and the first display content, the processor 310 is further configured to obtain a set of candidate target components according to the plurality of association values; detecting a target switching operation; if the target switching operation meets the second preset condition, the first target component set displayed in the first display area 334 is switched to the alternative target component set.
In the electronic device 300 shown in fig. 3, when the notification message is displayed on the display page of the current application and the detected target split screen operation satisfies the first preset condition stored in the memory, the processor 310 divides the rule area 332 into a third display area 336 and a fourth display area 337 according to the determined usage state of the electronic device 300, the current application and the notification message, the touch display 330 displays the first display content corresponding to the notification message in the third display area 336, displays the second display content corresponding to the current application in the fourth display area 337, displays the first target component set corresponding to the notification message in the first display area 334, and displays the second target component set corresponding to the current application in the second display area 335. That is, the rule area 332 is split based on the use state of the electronic device, the current application, and the notification message, and the first display content corresponding to the notification message and the second display content corresponding to the current application can be processed simultaneously, thereby improving the convenience of operation. And the display content of the target component corresponding to the current application and the notification message is respectively displayed by utilizing the first display area 334 and the second display area 335 in the special-shaped area 331, so that the display space of the touch display screen of the electronic device is fully utilized, and the display flexibility of each area in the special-shaped area 331 and the regular area 332 is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating another display control method provided by the present application, and the method is applied to the electronic device described in fig. 1 or fig. 3, where the electronic device includes a processor, a memory, and a touch display screen, the touch display screen includes a special-shaped area and a regular area, and the special-shaped area includes a first display area and a second display area. Wherein:
401: the memory stores a first preset condition.
402: the processor determines a usage state of the electronic device.
403: and when the processor displays the notification message on the display page of the current application, detecting target screen splitting operation.
404: and if the target screen splitting operation meets the first preset condition, the processor divides a rule area into a third display area and a fourth display area according to the use state, the current application and the notification message.
405: the touch display screen displays first display content corresponding to the notification message in the third display area, displays second display content corresponding to the current application in the fourth display area, displays a first target component set corresponding to the notification message in the first display area, and displays a second target component set corresponding to the current application in the second display area.
In one possible example, the memory stores preset split screen parameters corresponding to the usage status, and the dividing the rule area into a third display area and a fourth display area according to the usage status, the current application, and the notification message includes:
the processor determines a relative display position between the third display area and the fourth display area according to the preset split screen parameters; determining a target allocation ratio between the third display area and the fourth display area according to the current application and the notification message; dividing the regular area into the third display area and the fourth display area according to the target allocation ratio and the relative display position.
In one possible example, the memory stores a preset maximum allocation ratio; the determining a target allocation ratio between the third display area and the fourth display area according to the current application and the notification message includes:
the processor acquires the notification message and the display content corresponding to the current application to obtain the first display content and the second display content; determining a first allocation ratio between the third display area and the fourth display area according to the first display content and the second display content; when the first distribution proportion is larger than the preset maximum distribution proportion, determining that the target distribution proportion is the preset maximum distribution proportion; when the first distribution proportion is smaller than or equal to the preset maximum distribution proportion, determining the target distribution proportion as the first distribution proportion.
In one possible example, before the first display area displays the first set of target components corresponding to the notification message, the method further comprises:
the processor acquires a target component corresponding to the notification message to obtain a plurality of target components; acquiring the relevance between each target component in the target components and the first display content to obtain a plurality of relevance values; and acquiring the first target component set according to the first display area and the plurality of associated values.
In one possible example, the memory stores a second preset condition, and after the obtaining of the association between each target component in the plurality of target components and the first display content to obtain a plurality of association values, the method further includes:
the processor acquires a candidate target component set according to the plurality of correlation values; detecting a target switching operation; and if the target switching operation meets the second preset condition, switching the first target component set displayed in the first display area into the alternative target component set.
In the method as shown in fig. 4, when a notification message is displayed on a display page of a current application, and a detected target split screen operation meets a first preset condition stored in a memory, a processor divides a rule area into a third display area and a fourth display area according to a determined use state of the electronic device, the current application and the notification message, a touch display screen displays first display content corresponding to the notification message in the third display area, displays second display content corresponding to the current application in the fourth display area, displays a first target component set corresponding to the notification message in the first display area, and displays a second target component set corresponding to the current application in the second display area. That is, the rule area is split based on the use state of the electronic device, the current application and the notification message, and the first display content corresponding to the notification message and the second display content corresponding to the current application can be processed simultaneously, so that the convenience of operation is improved. And the display contents of the target assembly corresponding to the current application and the notification message are respectively displayed by utilizing the first display area and the second display area in the special-shaped area, so that the display space of a touch display screen of the electronic equipment is fully utilized, and the display flexibility of each area in the special-shaped area and the regular area is improved.
Referring to fig. 5 and fig. 1, fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present disclosure, consistent with the embodiment shown in fig. 1E. As shown in fig. 5, the electronic device 500 includes a processor 510, a memory 520, a communication interface 530, and one or more programs 540, wherein the one or more programs 540 are stored in the memory 520 and configured to be executed by the processor 510, the program 540 including instructions for performing the steps of:
determining a usage state of the electronic device, the usage state including one of: the screen display device comprises a front transverse screen using state, a rear transverse screen using state, a front vertical screen using state and a rear vertical screen using state;
when a notification message is displayed on a display page of a current application, detecting target screen splitting operation;
if the target screen splitting operation meets a first preset condition, a rule area is divided into a third display area and a fourth display area according to the use state, the current application and the notification message, first display content corresponding to the notification message is displayed in the third display area, second display content corresponding to the current application is displayed in the fourth display area, a first target component set corresponding to the notification message is displayed in the first display area, and a second target component set corresponding to the current application is displayed in the second display area.
In one possible example, in the aspect of dividing the rule area into the third display area and the fourth display area according to the usage status, the current application, and the notification message, the program 540 is specifically configured to execute the following steps:
acquiring preset split screen parameters corresponding to the use state;
determining a relative display position between the third display area and the fourth display area according to the preset split screen parameters;
determining a target allocation ratio between the third display area and the fourth display area according to the current application and the notification message;
dividing the regular area into the third display area and the fourth display area according to the target allocation ratio and the relative display position.
In one possible example, in the aspect of determining the target allocation ratio between the third display area and the fourth display area according to the current application and the notification message, the program 540 is specifically configured to execute the following steps:
acquiring the notification message and display content corresponding to the current application to obtain the first display content and the second display content;
determining a first allocation ratio between the third display area and the fourth display area according to the first display content and the second display content;
when the first distribution proportion is larger than a preset maximum distribution proportion, determining that the target distribution proportion is the preset maximum distribution proportion;
when the first distribution proportion is smaller than or equal to the preset maximum distribution proportion, determining the target distribution proportion as the first distribution proportion.
In one possible example, before the first display area displays the first set of target components corresponding to the notification message, the program 540 is further operable to execute instructions for:
acquiring a target component corresponding to the notification message to obtain a plurality of target components;
acquiring the relevance between each target component in the target components and the first display content to obtain a plurality of relevance values;
and acquiring the first target component set according to the first display area and the plurality of associated values.
In one possible example, after obtaining the association between each target component of the plurality of target components and the first display content to obtain a plurality of association values, the program 540 is further configured to execute the following steps:
acquiring a candidate target component set according to the plurality of correlation values;
detecting a target switching operation for the first display area;
and if the target switching operation meets a second preset condition, switching the first target component set displayed in the first display area into the alternative target component set.
In the electronic device shown in fig. 5, when the notification message is displayed on the display page of the current application and the detected target split screen operation meets the first preset condition stored in the memory, the rule area is divided into a third display area and a fourth display area according to the determined use state of the electronic device, the current application and the notification message, first display content corresponding to the notification message is displayed in the third display area, second display content corresponding to the current application is displayed in the fourth display area, a first target component set corresponding to the notification message is displayed in the first display area, and a second target component set corresponding to the current application is displayed in the second display area. That is, the rule area is split based on the use state of the electronic device, the current application and the notification message, and the first display content corresponding to the notification message and the second display content corresponding to the current application can be processed simultaneously, so that the convenience of operation is improved. And the display contents of the target assembly corresponding to the current application and the notification message are respectively displayed by utilizing the first display area and the second display area in the special-shaped area, so that the display space of a touch display screen of the electronic equipment is fully utilized, and the display flexibility of each area in the special-shaped area and the regular area is improved.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for causing a computer to execute a part or all of the steps of any one of the methods as described in the method embodiments, and the computer includes an electronic device.
Embodiments of the 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 recited in the method embodiments. The computer program product may be a software installation package and the computer comprises the electronic device.
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 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, a division of a unit is merely a logical division, and an actual implementation may have another division, 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.
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 or a form of software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. 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 method of the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, 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 embodiments and application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (14)
1. A display control method is applied to an electronic device with a touch display screen being a special-shaped screen, wherein the touch display screen comprises a special-shaped area and a regular area, the special-shaped area comprises a first display area and a second display area, and the method comprises the following steps:
determining a usage state of the electronic device, the usage state including one of: the screen display device comprises a front transverse screen using state, a rear transverse screen using state, a front vertical screen using state and a rear vertical screen using state;
when a notification message is displayed on a display page of a current application, detecting target screen splitting operation;
if the target screen splitting operation meets a first preset condition, dividing the rule area into a third display area and a fourth display area according to the use state, the current application and the notification message, displaying first display content corresponding to the notification message in the third display area, displaying second display content corresponding to the current application in the fourth display area, displaying a first target component set corresponding to the notification message in the first display area, and displaying a second target component set corresponding to the current application in the second display area;
and if the target screen splitting operation does not meet the first preset condition, waiting for a preset time length, and deleting the notification message on the currently applied display page.
2. The method of claim 1, wherein the dividing the rule area into a third display area and a fourth display area according to the usage status, the current application, and the notification message comprises:
acquiring preset split screen parameters corresponding to the use state;
determining a relative display position between the third display area and the fourth display area according to the preset split screen parameters;
determining a target allocation ratio between the third display area and the fourth display area according to the current application and the notification message;
dividing the regular area into the third display area and the fourth display area according to the target allocation ratio and the relative display position.
3. The method of claim 2, wherein the determining a target allocation ratio between the third display area and the fourth display area according to the current application and the notification message comprises:
acquiring the notification message and display content corresponding to the current application to obtain the first display content and the second display content;
determining a first allocation ratio between the third display area and the fourth display area according to the first display content and the second display content;
when the first distribution proportion is larger than a preset maximum distribution proportion, determining that the target distribution proportion is the preset maximum distribution proportion;
when the first distribution proportion is smaller than or equal to the preset maximum distribution proportion, determining the target distribution proportion as the first distribution proportion.
4. The method of any of claims 1-3, wherein prior to the first display area displaying the first set of target components corresponding to the notification message, the method further comprises:
acquiring a target component corresponding to the notification message to obtain a plurality of target components;
acquiring the relevance between each target component in the target components and the first display content to obtain a plurality of relevance values;
and acquiring the first target component set according to the first display area and the plurality of associated values.
5. The method of claim 4, wherein after obtaining the association between each target component of the plurality of target components and the first display content to obtain a plurality of association values, the method further comprises:
acquiring a candidate target component set according to the plurality of correlation values;
detecting a target switching operation for the first display area;
and if the target switching operation meets a second preset condition, switching the first target component set displayed in the first display area into the alternative target component set.
6. An electronic device, comprising a processor, a memory connected to the processor, and a touch display screen, wherein the touch display screen comprises a special-shaped area and a regular area, the special-shaped area comprises a first display area and a second display area, and wherein:
the memory is used for storing a first preset condition;
the processor is configured to determine a usage status of the electronic device, where the usage status includes one of: the screen display device comprises a front transverse screen using state, a rear transverse screen using state, a front vertical screen using state and a rear vertical screen using state; when a notification message is displayed on a display page of a current application, detecting target screen splitting operation; if the target screen splitting operation meets the first preset condition, dividing the rule area into a third display area and a fourth display area according to the use state, the current application and the notification message; if the target screen splitting operation does not meet a first preset condition, waiting for a preset time length, and deleting the notification message on a display page of the current application;
the touch display screen is configured to display first display content corresponding to the notification message in the third display area, display second display content corresponding to the current application in the fourth display area, display a first target component set corresponding to the notification message in the first display area, and display a second target component set corresponding to the current application in the second display area.
7. The electronic device of claim 6,
the memory is also used for storing preset split screen parameters corresponding to the use state;
in the aspect that the rule area is divided into a third display area and a fourth display area according to the use state, the current application and the notification message, the processor is specifically configured to determine a relative display position between the third display area and the fourth display area according to the preset split-screen parameter; determining a target allocation ratio between the third display area and the fourth display area according to the current application and the notification message; dividing the regular area into the third display area and the fourth display area according to the target allocation ratio and the relative display position.
8. The electronic device of claim 7,
the memory is also used for storing a preset maximum distribution proportion;
in the aspect of determining the target allocation ratio between the third display area and the fourth display area according to the current application and the notification message, the processor is specifically configured to obtain the notification message and display content corresponding to the current application, and obtain the first display content and the second display content; determining a first allocation ratio between the third display area and the fourth display area according to the first display content and the second display content; when the first distribution proportion is larger than the preset maximum distribution proportion, determining that the target distribution proportion is the preset maximum distribution proportion; when the first distribution proportion is smaller than or equal to the preset maximum distribution proportion, determining the target distribution proportion as the first distribution proportion.
9. The electronic device of any of claims 6-8, wherein before the first display area displays the first set of target components corresponding to the notification message, the processor is further configured to retrieve a target component corresponding to the notification message, resulting in a plurality of target components; acquiring the relevance between each target component in the target components and the first display content to obtain a plurality of relevance values; and acquiring the first target component set according to the first display area and the plurality of associated values.
10. The electronic device of claim 9,
the memory is also used for storing a second preset condition;
after obtaining a plurality of association values by obtaining the association between each target component of the plurality of target components and the first display content, the processor is further configured to obtain a set of candidate target components according to the plurality of association values; detecting a target switching operation; and if the target switching operation meets a second preset condition, switching the first target component set displayed in the first display area into the alternative target component set.
11. The display control device is applied to electronic equipment with a touch display screen being a special-shaped screen, wherein the touch display screen comprises a special-shaped area and a regular area, the special-shaped area comprises a first display area and a second display area, and the device comprises:
a determination unit, configured to determine a usage state of the electronic device, where the usage state includes one of: the screen display device comprises a front transverse screen using state, a rear transverse screen using state, a front vertical screen using state and a rear vertical screen using state;
the detection unit is used for detecting the target screen splitting operation when the notification message is displayed on the display page of the current application;
the dividing unit is used for dividing the regular area into a third display area and a fourth display area according to the use state, the current application and the notification message if the target screen splitting operation meets a first preset condition; if the target screen splitting operation does not meet a first preset condition, waiting for a preset time length, and deleting the notification message on a display page of the current application;
a display unit, configured to display first display content corresponding to the notification message in the third display area, display second display content corresponding to the current application in the fourth display area, display a first target component set corresponding to the notification message in the first display area, and display a second target component set corresponding to the current application in the second display area.
12. The display control method is applied to electronic equipment with a touch display screen being a special-shaped screen, the electronic equipment comprises a processor, a memory and the touch display screen, the memory is connected with the processor, the touch display screen comprises a special-shaped area and a regular area, the special-shaped area comprises a first display area and a second display area, and the method comprises the following steps:
the memory stores a first preset condition;
the processor determines a usage state of the electronic device, the usage state including one of: the screen display device comprises a front transverse screen using state, a rear transverse screen using state, a front vertical screen using state and a rear vertical screen using state;
the processor detects a target split screen operation when displaying a notification message on a display page of a current application;
if the target screen splitting operation meets the first preset condition, the processor divides the rule area into a third display area and a fourth display area according to the use state, the current application and the notification message; if the target screen splitting operation does not meet a first preset condition, waiting for a preset time length, and deleting the notification message on a display page of the current application;
the touch display screen displays first display content corresponding to the notification message in the third display area, displays second display content corresponding to the current application in the fourth display area, displays a first target component set corresponding to the notification message in the first display area, and displays a second target component set corresponding to the current application in the second display area.
13. An electronic device comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method of any of claims 1-5.
14. A computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to perform the method according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711346292.4A CN108121493B (en) | 2017-12-13 | 2017-12-13 | Display control method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711346292.4A CN108121493B (en) | 2017-12-13 | 2017-12-13 | Display control method and related product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108121493A CN108121493A (en) | 2018-06-05 |
CN108121493B true CN108121493B (en) | 2021-03-12 |
Family
ID=62229194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711346292.4A Active CN108121493B (en) | 2017-12-13 | 2017-12-13 | Display control method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108121493B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032732B (en) * | 2018-07-11 | 2020-07-07 | Oppo广东移动通信有限公司 | Notification display method and device, storage medium and electronic equipment |
CN109327604B (en) * | 2018-08-29 | 2020-11-10 | 努比亚技术有限公司 | Status bar information display method and equipment and computer readable storage medium |
CN109525705B (en) * | 2018-09-27 | 2021-01-08 | 维沃移动通信有限公司 | Display method and terminal equipment |
CN111736786B (en) * | 2020-06-22 | 2022-09-09 | Oppo广东移动通信有限公司 | Split screen display method and device and computer readable storage medium |
CN114201100A (en) * | 2021-12-09 | 2022-03-18 | 北京字节跳动网络技术有限公司 | Interface interaction method and device, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101859425A (en) * | 2010-06-02 | 2010-10-13 | 中兴通讯股份有限公司 | Method and device for providing application list |
CN106227534A (en) * | 2016-07-22 | 2016-12-14 | 深圳市金立通信设备有限公司 | A kind of display screen division methods and terminal |
CN106775314A (en) * | 2016-12-09 | 2017-05-31 | 珠海市魅族科技有限公司 | Multi-screen display method and split screen display available device |
EP3232307A1 (en) * | 2013-01-11 | 2017-10-18 | Samsung Electronics Co., Ltd. | Method and mobile device for providing recommended items based on context awareness |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101709510B1 (en) * | 2011-06-03 | 2017-02-24 | 엘지전자 주식회사 | Mobile terminal and method for controlling the same |
KR20130108952A (en) * | 2012-03-26 | 2013-10-07 | 주식회사 엠투코어테크 | Implementation method of pip by using separate application package on android platform |
CN104461724A (en) * | 2014-12-23 | 2015-03-25 | 深圳市中兴移动通信有限公司 | Method and device for controlling split screens of terminal |
CN105117105A (en) * | 2015-08-25 | 2015-12-02 | 广州三星通信技术研究有限公司 | Device and method used for performing screen division display in terminal |
CN105912285A (en) * | 2015-12-15 | 2016-08-31 | 乐视网信息技术(北京)股份有限公司 | Method and mobile terminal for sub-screen display |
CN106095226B (en) * | 2016-06-01 | 2019-09-27 | 广州三星通信技术研究有限公司 | The method and apparatus of application program is run in electric terminal |
CN107247552A (en) * | 2017-06-30 | 2017-10-13 | 联想(北京)有限公司 | A kind of display drive method and electronic equipment |
CN107395901A (en) * | 2017-09-06 | 2017-11-24 | 广东欧珀移动通信有限公司 | Camera activation method, device and terminal |
-
2017
- 2017-12-13 CN CN201711346292.4A patent/CN108121493B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101859425A (en) * | 2010-06-02 | 2010-10-13 | 中兴通讯股份有限公司 | Method and device for providing application list |
EP3232307A1 (en) * | 2013-01-11 | 2017-10-18 | Samsung Electronics Co., Ltd. | Method and mobile device for providing recommended items based on context awareness |
CN106227534A (en) * | 2016-07-22 | 2016-12-14 | 深圳市金立通信设备有限公司 | A kind of display screen division methods and terminal |
CN106775314A (en) * | 2016-12-09 | 2017-05-31 | 珠海市魅族科技有限公司 | Multi-screen display method and split screen display available device |
Also Published As
Publication number | Publication date |
---|---|
CN108121493A (en) | 2018-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108121493B (en) | Display control method and related product | |
CN108496150B (en) | Screen capture and reading method and terminal | |
CN107219976B (en) | Application display method and related product | |
CN109062479B (en) | Split screen application switching method and device, storage medium and electronic equipment | |
CN108111687B (en) | Display control method and related product | |
CN107783714B (en) | Page display method and device, electronic equipment and storage medium | |
US10228835B2 (en) | Method for displaying information, and terminal equipment | |
CN107967129B (en) | Display control method and related product | |
CN110221885B (en) | Interface display method and terminal equipment | |
EP3136214A1 (en) | Touch operation method and apparatus for terminal | |
CN112000269B (en) | Screen opening method and device and electronic equipment | |
CN107896279A (en) | Screenshotss processing method, device and the mobile terminal of a kind of mobile terminal | |
US9582172B2 (en) | Display control apparatus and method, image display apparatus, and non-transitory computer readable medium | |
CN108008896B (en) | Display control method and related product | |
KR102373021B1 (en) | Global special effect conversion method, conversion device, terminal equipment and storage medium | |
CN108614655B (en) | Split screen display method and device, storage medium and electronic equipment | |
CN106648427A (en) | Setting device and method for single hand mode of terminal | |
CN108932093A (en) | Split screen application switching method and device, storage medium and electronic equipment | |
CN105867733A (en) | Notice display method and device and mobile device | |
CN112083854A (en) | Application program running method and device | |
CN113253883A (en) | Application interface display method and device and electronic equipment | |
WO2021109973A1 (en) | Application icon processing method and electronic device | |
US9959010B1 (en) | Method for displaying information, and terminal equipment | |
CN106657653A (en) | Information processing method and device | |
CN108038359A (en) | Unlocking method and related product |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: No.18, Wusha Haibin Road, Chang'an Town, Dongguan City, Guangdong Province Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |