CN113138818A - Interface display method and device and electronic equipment - Google Patents

Interface display method and device and electronic equipment Download PDF

Info

Publication number
CN113138818A
CN113138818A CN202110269561.1A CN202110269561A CN113138818A CN 113138818 A CN113138818 A CN 113138818A CN 202110269561 A CN202110269561 A CN 202110269561A CN 113138818 A CN113138818 A CN 113138818A
Authority
CN
China
Prior art keywords
target content
display
interface
display screen
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110269561.1A
Other languages
Chinese (zh)
Inventor
李丹丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110269561.1A priority Critical patent/CN113138818A/en
Publication of CN113138818A publication Critical patent/CN113138818A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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

Abstract

The application discloses an interface display method and device and electronic equipment, belongs to the technical field of communication, and can solve the problem that the convenience of content display of the electronic equipment is poor. The interface display method comprises the following steps: receiving a first input of a user under the condition that a target interface is displayed; responding to the first input, and acquiring target content corresponding to a first area in a target interface, wherein the first area corresponds to at least one gap area; target content is displayed in the display screen. Under the condition that the target content meets the preset condition, displaying the target content in a first display mode in a display screen; and under the condition that the target content does not meet the preset condition, displaying the target content in a second display mode on the display screen. The interface display method provided by the embodiment of the application can be applied to the process that a user views content by using the electronic equipment.

Description

Interface display method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an interface display method and device and electronic equipment.
Background
At present, the screen occupation ratio of the electronic equipment can be improved by arranging a special-shaped screen (namely, a display screen provided with a gap area for placing devices such as a photosensitive sensor, a receiver and a camera) on the electronic equipment.
In the related art, when a user uses an electronic device with a special-shaped screen, if a part of content (for example, a text) in the special-shaped screen is blocked by a gap region, the user may first trigger the electronic device to display a setting interface, and then adjust a display size of the text in the setting interface to trigger the electronic device to display a complete text in the special-shaped screen, so that the user may view the complete text in the special-shaped screen.
However, the user needs to perform multiple operations to trigger the electronic device to display the complete text in the special-shaped screen, so that the user's operation is cumbersome and time-consuming in the process of triggering the electronic device to display the complete text, which results in poor convenience of the electronic device to display the content.
Disclosure of Invention
The embodiment of the application aims to provide an interface display method, which can solve the problem of poor convenience of content display of electronic equipment.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an interface display method applied to an electronic device, where the electronic device includes a display screen, and the display screen has at least one notch area, and the method includes: receiving a first input of a user under the condition that a target interface is displayed; responding to the first input, and acquiring target content corresponding to a first area in a target interface, wherein the first area corresponds to at least one gap area; target content is displayed in the display screen. Under the condition that the target content meets the preset condition, displaying the target content in a first display mode in a display screen; and under the condition that the target content does not meet the preset condition, displaying the target content in a second display mode on the display screen.
In a second aspect, an embodiment of the present application provides an interface display device, where the interface display device includes a display screen, the display screen has at least one notch area, and the interface display device further includes: the device comprises a receiving module, an obtaining module and a display module. The receiving module is used for receiving a first input of a user under the condition that a target interface is displayed. The acquisition module is used for responding to the first input received by the receiving module and acquiring the target content corresponding to the first area in the target interface, wherein the first area corresponds to at least one notch area. And the display module is used for displaying the target content acquired by the acquisition module in a display screen. Under the condition that the target content meets the preset condition, displaying the target content in a first display mode in a display screen; and under the condition that the target content does not meet the preset condition, displaying the target content in a second display mode on the display screen.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this embodiment of the application, when a target interface is displayed on a display screen of an electronic device (the display screen has at least one gap area), the electronic device may obtain target content in a first area of the target interface corresponding to the at least one gap area according to a first input of a user, and display the target content in a first display manner on the display screen when the target content meets a preset condition, or display the target content in a second display manner on the display screen when the target content does not meet the preset condition. The electronic equipment can acquire the target content corresponding to the first area in the target interface according to one input of the user and determine whether the target content meets the preset condition. Under the condition that the target content meets the preset condition, the electronic equipment can display the target content in the display screen in one display mode, and under the condition that the target content does not meet the preset condition, the electronic equipment can display the target content in the display screen in another display mode to display complete content without the need of multiple operations of a user, so that the operation of the user in the process of triggering the electronic equipment to display the complete content can be simplified, the time consumption is reduced, the diversity of the display content of the electronic equipment can be improved, and the convenience of the display content of the electronic equipment can be improved.
Drawings
FIG. 1 is a schematic diagram of an interface display method provided in an embodiment of the present application;
fig. 2 is one of schematic diagrams of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
FIG. 3 is an enlarged schematic view of a target display area of a display screen of an interface display apparatus according to an embodiment of the present disclosure;
FIG. 4 is a second schematic diagram of an interface display method according to an embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of an interface display device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 7 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
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 some, but not all, embodiments of the present application. 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 in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The interface display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The interface display method provided by the embodiment of the application can be applied to a scene that a user uses electronic equipment to view content.
Assuming that the user wants to view the text 1 using the electronic device 1 having the shaped screen, in the related art, the user may first trigger the electronic device 1 to display the interface 1 (the interface 1 includes the text 1), and view the text 1 in the interface 1. If the situation that part of the text 1 is shielded by the gap area of the special-shaped screen occurs, the user can enter the setting interface, and therefore the electronic device 1 can completely display the text 1 by adjusting the display size of the interface. However, since the user needs to perform multiple operations to trigger the electronic device 1 to display the complete text 1 on the special-shaped screen, the user's operation is cumbersome and time-consuming in the process of triggering the electronic device 1 to display the complete text 1.
However, in the embodiment of the present application, if a part of the text 1 is blocked by the notch area of the special-shaped screen, the user may obtain the text 2 corresponding to the notch area of the special-shaped screen in the interface 1 through one input to the notch area of the electronic device 1, and display the text 2 in another area (an area except the notch area) of the special-shaped screen, and as can be understood, the text 2 is a part of the text 1. Further, in the case that the text 2 includes a control, the text 2 is displayed in one display mode in other areas of the special-shaped screen, and in the case that the text 2 does not include a control, the text 2 is displayed in another display mode in other areas of the special-shaped screen, so as to trigger the electronic device 1 to display the complete text 1 without requiring a user to perform multiple operations, thereby simplifying the user's operation and reducing the time consumption.
Fig. 1 shows a flowchart of an interface display method provided in an embodiment of the present application. As shown in fig. 1, the interface display method provided in the embodiment of the present application may include steps 101 to 103 described below.
Step 101, the interface display device receives a first input of a user under the condition that the interface display device displays a target interface.
In an embodiment of the present application, an interface display device includes a display screen having at least one notched area.
It is understood that the interface display device may display content (e.g., text, controls, image content, etc.) in the display screen without displaying content in the at least one notched area.
Optionally, in this embodiment of the application, the display screen may be any one of the following: a punching screen, a water drop screen, a bang screen and the like.
Optionally, in this embodiment of the application, under the condition that the interface display device is in a bright screen and unlocked state, the interface display device may open the target application according to the input of the user, so as to display a target interface of the target application, and thus the user may perform the first input.
Optionally, in this embodiment of the application, the target application may be any one of the following: chat-type applications, web-page-type applications, electronic-book-type applications, video-type applications, map-type applications, game-type applications, and the like.
Optionally, in this embodiment of the application, the first input may specifically be: a user's press input on the display screen (e.g., a click input, a preset number of click inputs, etc.); or, a sliding input by the user on the display screen; alternatively, the user inputs a press of a physical key of the interface display device.
For example, the interface display device is taken as a mobile phone for description. As shown in fig. 2, the display screen 10 of the mobile phone includes at least one notch area (e.g., notch area 11), and the target interface (e.g., interface 12) is displayed in the display screen 10, so that the user can perform a first input on the display screen 10, for example, a sliding input in an area (e.g., area 13) of the display screen 10.
Step 102, the interface display device responds to the first input, and obtains target content corresponding to a first area in the target interface.
In an embodiment of the present application, the first region corresponds to at least one notch region.
It can be understood that the area range of the at least one notch area of the display screen of the interface display device is relatively fixed, and therefore, the area coordinate range of the at least one notch area relative to the display screen can be predetermined and stored in the interface display device, so that the interface display device can obtain the target content in the target interface corresponding to the at least one notch area, that is, obtain the target content corresponding to the first area in the target interface according to the area coordinate range.
Optionally, in this embodiment of the application, the first area may specifically be: an interface region where the at least one relief region is located; or an interface region where the at least one notch region is located, and a region within a target range of the interface region. Wherein the target range is determined based on the target content.
It will be appreciated that the area within the target area of the interface region may be considered to be a range of screen areas around the gap area, i.e. the first area comprises the gap area and the area near the gap.
Optionally, in this embodiment of the application, the first input may specifically be a sliding input of the user in the first area.
Note that, the "slide input in the first area" may be understood as: and a sliding input in which an input start position (i.e., a position where the user's finger touches the display screen) and an input end position (i.e., a position where the user's finger leaves the display screen) are both located within the first region.
Further optionally, in this application embodiment, the first region may include at least two sub-regions, and the at least two sub-regions are located in different directions of the at least one gap region.
Optionally, in this embodiment of the application, the interface display device may, in response to the first input, acquire target content corresponding to the first area in the target interface when the input parameter of the first input satisfies a first preset condition.
Further optionally, in this embodiment of the application, the input parameter may include at least one of: input starting position, input track, input duration, input direction and the like.
It is to be understood that the first preset condition may be that the input start position is located in at least one sub-region, the input duration in the sub-region exceeds a certain duration, the input track passes through at least two sub-regions, or the input direction is a specific direction, which is not limited specifically.
Specifically, in the embodiment of the present application, in a case that the input parameter includes an input start position, an input track, and an input direction, for example, the first preset condition may specifically be: the input starting position of the first input is located in any one of the at least two sub-regions, and the input track of the first input passes through any two sub-regions, and the input direction is the same as the first direction.
By way of example, FIG. 3 shows an enlarged schematic view of a target display area of a display screen of an interface display device. Referring to fig. 2, as shown in fig. 3, the region 13 includes a gap region 11 and a region (i.e., at least two sub-regions) within a target range of the gap region 11, where the at least two sub-regions include a sub-region 14, a sub-region 15, a sub-region 16, and a sub-region 17, and the mobile phone may obtain target content corresponding to the first region in the interface 12 when it is determined that an input start position of the first input is located in any one of the sub-regions (e.g., the sub-region 14), and an input track of the first input passes through any two sub-regions (e.g., the sub-region 15 and the sub-region 17), and an input direction is the same as the first direction (e.g., the direction 18).
Specifically, in this embodiment of the application, under the condition that the input parameter includes an input start position and an input duration, the first preset condition may specifically be: the input starting position of the first input is located in any one of the at least two sub-areas, or the input time length is greater than or equal to a first preset time length.
It can be understood that, if the first input parameter meets the first preset condition, it may be considered that the user wants to trigger the interface display device to display the interface area of the target interface, and therefore, the interface display device only obtains the target content corresponding to the first area, so that the occurrence of the user misoperation can be reduced.
Optionally, in this embodiment of the application, the interface display device may detect the first area to obtain the target content corresponding to the first area.
It is to be understood that the target content may be: the content included in the first area.
Optionally, in this embodiment of the present application, the target content may include at least one of the following: controls, text, images, etc.
And 103, displaying the target content in the display screen by the interface display device.
It can be understood that the interface display device displays the target content in the display screen only in the case where the target interface does display the content in the first area (i.e., the at least one notched area), i.e., in the case where it is acquired that the target content is not blank content. When the target interface does not display the content in the first area, that is, when the target content is acquired to be blank content, the interface display device does not display the target content in the display screen.
Optionally, in this embodiment of the application, the interface display device may directly display the target content in another area (i.e., an area excluding the at least one notch area) of the display screen, or may display the target content in the form of a floating frame in the display screen.
In the embodiment of the application, the interface display device can display the target content in the display screen in a first display mode under the condition that the target content meets the preset condition; the interface display device may display the target content in a second display manner in the display screen in a case where the target content does not satisfy the preset condition.
Optionally, in this embodiment of the present application, the preset condition includes: the target content includes a control. The control is a touch control.
In the embodiment of the application, if the target content comprises the control, the user may be considered to need to input the control, that is, the user may need to display the target content for a long time by the interface display device; if the target content does not include the control, it may be considered that the user may only need to view the target content, that is, it may be considered that the user may not need the interface display device to display the target content for a long time. Therefore, the interface display device may determine a display manner of displaying the target content according to the target content and a preset condition (i.e., whether the target content includes a control).
Therefore, the interface display device can determine the display mode for displaying the target content according to the target content and the preset condition (that is, whether the target content includes the touch control), so that the diversity of the display content of the interface display device can be improved, and thus, the use experience of a user can be improved.
Further optionally, in this embodiment of the application, the first display mode may specifically be: and fixing the display mode.
The "fixed display mode" may be understood as: and continuously displaying the display mode of the target content in the display screen before receiving the input of the target content by the user.
Further optionally, in this embodiment of the application, the second display mode may specifically be: and presetting a time length display mode.
It should be noted that the "preset duration display manner" may be understood as: and displaying the display mode of the target content in the display screen within a preset time length.
According to the interface display method provided by the embodiment of the application, under the condition that a target interface is displayed in a display screen (the display screen has at least one gap area) of an interface display device, the interface display device can acquire target content corresponding to a first area in the target interface according to first input of a user, and display the target content in a first display mode in the display screen under the condition that the target content meets a preset condition, or display the target content in a second display mode in the display screen under the condition that the target content does not meet the preset condition. The interface display device can acquire the target content corresponding to the first area in the target interface according to one input of a user and determine whether the target content meets a preset condition. Under the condition that the target content meets the preset condition, the interface display device can display the target content in the display screen in one display mode, and under the condition that the target content does not meet the preset condition, the interface display device can display the target content in the display screen in another display mode to display complete content without the need of multiple operations of a user, so that the operation of the user in the process of triggering the interface display device to display the complete content can be simplified, the time consumption is reduced, the diversity of the display content of the interface display device can be improved, and the convenience of the display content of the interface display device can be improved.
How the interface display device displays the target content will be exemplified below by taking as an example that the interface display device displays the target content in other areas of the display screen and displays the target content in the form of a floating frame in the display screen.
Alternatively, in this embodiment of the application, as shown in fig. 4 in combination with fig. 1, the step 103 may be specifically implemented by the following step 103a or step 103 b.
Step 103a, the interface display device displays the target content in the blank area in the display screen.
Further alternatively, in this embodiment, in a case where the interface display apparatus directly displays the target content in another area of the display screen, the interface display apparatus may first acquire the content displayed in the other area, determine a blank area in the other area according to the content, and then display the target content in the blank area.
Therefore, the interface display device can display the target content in the blank area of the display screen, so that the situation that the target content shields the content in the target interface can be avoided, and the use experience of a user can be improved.
And 103b, the interface display device displays the target content in a suspension manner in the display screen.
Further alternatively, in this embodiment of the application, in a case where the interface display device displays the target content in the form of a floating frame in the display screen, the interface display device may display the target window in the display screen in a floating manner, and then display the target content in the floating frame.
Specifically, in the embodiment of the present application, the interface display device may display the target window in an area within a preset range of the first area.
Further optionally, in this embodiment of the application, after the interface display apparatus displays the target window in a floating manner on the display screen and displays the target content in the floating frame, the user may perform a third input on the target window, so that the interface display apparatus may adjust the position of the target window according to an input parameter of the third input.
Specifically, in this embodiment of the application, the third input may specifically be: and dragging input of the target window by the user.
Specifically, in this embodiment of the application, the interface display device may adjust the area position of the target window according to the input track of the third input.
Therefore, the interface display device can display the target content in a suspension mode in the display screen, and a user does not need to search the target content in the display screen, so that the content viewing efficiency can be improved.
The following will exemplify how the interface display device displays the target content in two different display modes in the case where the target content satisfies the preset condition and the target content does not satisfy the preset condition.
Optionally, in a possible implementation manner of the embodiment of the present application, the target content satisfies a preset condition. Specifically, the step 103 can be realized by the step 103c described below.
And 103c, under the condition that the target content comprises the control, the interface display device displays the target content in other areas of the display screen, and cancels the display of the target content after receiving the touch input of the control.
It will be appreciated that the other regions described above may be: a display area preset by the user, or a default display area, or a blank area.
Further optionally, in this embodiment of the application, after the interface display device displays the target content in another area of the display screen, the interface display device may execute an operation corresponding to the control according to the touch input of the user to the control, and cancel displaying the target content.
Therefore, the interface display device can display the target content in other areas of the display screen under the condition that the target content comprises the control, and cancel the display of the target content after receiving the touch input to the control, so that the flexibility of the interface display device for displaying the content can be improved, and the use experience of a user can be improved.
Further optionally, in this embodiment of the application, the interface display device may further cancel displaying the target content after receiving the second input of the user.
Specifically, in this embodiment of the application, the second input may specifically be: a user sliding input on a display screen; alternatively, the user inputs a press of a physical key of the interface display device.
In detail, in this embodiment of the application, the second input may specifically be a sliding input of the user in the first area of the display screen.
Specifically, in this embodiment of the application, the interface display apparatus may cancel displaying the target content in response to the second input when the input parameter of the second input satisfies the second preset condition.
In detail, in this embodiment of the application, when the input parameter of the second input includes an input start position, an input track, and an input direction, the second preset condition may specifically be: the input start position of the second input is located in any one of the at least two sub-regions, and the input trajectory of the second input passes through any two of the at least two sub-regions, and the input direction is the same as the second direction. Wherein the second direction may be opposite to the first direction.
Specifically, in this embodiment of the application, when the second input parameter includes an input start position and an input duration, the second preset condition may specifically be: the input starting position of the second input is located in any one of the at least two sub-areas, and the input time length is greater than or equal to a second preset time length.
Optionally, in another possible implementation manner of the embodiment of the present application, the target content does not satisfy a preset condition. Specifically, the step 103 can be realized by the step 103d described below.
And 103d, under the condition that the target content does not comprise the control, the interface display device displays the target content in other areas of the display screen, and cancels the display of the target content after the preset time.
Further optionally, in this embodiment of the application, the preset time may be any one of the following: the time set by the user, the time determined by the interface display device according to the target content, and the time determined by the interface display device according to the first input parameter.
Specifically, in the embodiment of the present application, the preset time may specifically be: the interface display means displays the time determined according to the content amount of the target content. For example, the interface display device may determine the target value according to a product of a quantity value of the content quantity of the target content and a preset value, and determine a time corresponding to the target value as the preset time.
Illustratively, assuming that the amount value of the content number of the target content (e.g., text content) is 3 (i.e., 3 text contents), the interface display device may determine the target value, i.e., 6, according to the product of 3 and a preset value (e.g., 2), and determine the time (i.e., 6 seconds) corresponding to 6 as the preset time.
Specifically, in the embodiment of the present application, the preset time may specifically be: the interface display device displays a time determined according to an input time of the first input. For example, the interface display device may determine an input time of the first input as the preset time.
For example, assuming that the input time of the first input is 2 seconds, the interface display device may determine 2 seconds as the preset time, that is, during the input of the first input, the interface display device may display the target content in other regions of the display screen, and cancel the display of the target content when the first input is ended (i.e., when the finger of the user performing the first input leaves the display screen).
It will be appreciated that if the target content does not include a control, the user may make a first input to the interface display device and hold the finger in contact with the interface display device (e.g., finger contact with the display screen) so that the interface display device may be displaying the target content. If the user has finished viewing the target content, the user may end the first input (e.g., finger off the display screen) so that the interface display device may cancel the display of the target content.
Therefore, the interface display device can display the target content in other areas of the display screen under the condition that the target content does not comprise the control, and cancel displaying the target content after the preset time, so that the flexibility of displaying the content by the interface display device can be improved, and the use experience of a user can be improved.
How the interface display device determines the target range will be exemplified below.
Further optionally, in this embodiment of the application, the interface display device may determine the target range according to the target content, and then determine the interface area where the at least one gap area is located and the area in the target range of the interface area as the first area.
Specifically, in this embodiment of the application, the interface display apparatus may perform edge detection on the target content by using an edge detection algorithm to obtain a plurality of edge lines of the target content, and determine the target range according to the plurality of edge lines and the edge line of the interface area where the at least one gap area is located, so that the interface display apparatus may determine the interface area where the at least one gap area is located and the area within the target range of the interface area as the first area.
It is understood that the target ranges are: a plurality of edge lines and an area between the edge lines of the interface area where the at least one notch area is located.
In this embodiment, since a situation may occur that target content (e.g., text content) blocked by at least one gap region is a partial region of characters in the text content (e.g., the blocked text content is a half region of one character in the text content), if an interface region where the at least one gap region is located is directly displayed on the display screen, a situation may occur that a user cannot view complete text content (i.e., incomplete characters are displayed in the interface region), therefore, the interface display apparatus may determine, according to the target content, the interface region where the at least one gap region is located and a region within a target range of the interface region as the first region to display complete characters, so as to display complete target content in the display screen.
Therefore, the interface display device can determine the interface area where the at least one notch area is located and the area in the range determined by the target content of the interface area as the first area, so that the interface display device can display complete partial content, the flexibility of the interface display content can be improved, and the use experience of a user can be improved.
It should be noted that, in the interface display method provided in the embodiment of the present application, the execution main body may be the interface display device in the foregoing embodiment, or a control module in the interface display device for executing the interface display method. In the embodiment of the present application, an interface display device executes an interface display method as an example, and the device of the interface display method provided in the embodiment of the present application is described.
Fig. 5 shows a schematic view of a possible structure of an interface display device according to an embodiment of the present application, where the interface display device includes a display screen having at least one notch area. As shown in fig. 5, the interface display device 60 may include: a receiving module 61, an obtaining module 62 and a display module 63.
The receiving module 61 is configured to receive a first input of a user when the target interface is displayed. An obtaining module 62, configured to obtain, in response to the first input received by the receiving module 61, target content corresponding to a first area in the target interface, where the first area corresponds to the at least one gap area. And a display module 63, configured to display the target content acquired by the acquisition module 62 in a display screen. The method comprises the steps that under the condition that target content meets preset conditions, the target content is displayed in a first display mode in a display screen; and under the condition that the target content does not meet the preset condition, displaying the target content in a second display mode on the display screen.
In a possible implementation manner, the preset condition includes: the target content includes a control. The control is a touch control.
In a possible implementation manner, the display module 63 is specifically configured to, in a case that the target content includes a control, display the target content in another area of the display screen, and cancel displaying the target content after receiving a touch input to the control.
In a possible implementation manner, the display module 63 is specifically configured to, in a case that the target content does not include a control, display the target content in another area of the display screen, and cancel displaying the target content after a preset time.
In a possible implementation manner, the display module 63 is specifically configured to display the target content in a blank area of the display screen, or to display the target content in a floating manner in the display screen.
According to the interface display device provided by the embodiment of the application, the interface display device can acquire the target content corresponding to the first area in the target interface according to one input of a user, and determine whether the target content meets the preset condition. Under the condition that the target content meets the preset condition, the interface display device can display the target content in the display screen in one display mode, and under the condition that the target content does not meet the preset condition, the interface display device can display the target content in the display screen in another display mode to display complete content without the need of multiple operations of a user, so that the operation of the user in the process of triggering the interface display device to display the complete content can be simplified, the time consumption is reduced, the diversity of the display content of the interface display device can be improved, and the convenience of the display content of the interface display device can be improved.
The interface display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The interface display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The interface display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 4, and is not described here again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 70 is further provided in this embodiment of the present application, and includes a processor 72, a memory 71, and a program or an instruction stored in the memory 71 and executable on the processor 72, where the program or the instruction is executed by the processor 72 to implement each process of the above-mentioned embodiment of the interface display method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application, where the electronic device includes a display screen, and the display screen has at least one notch area.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 107 is configured to receive a first input of a user when the target interface is displayed.
The processor 110 is configured to, in response to the first input, obtain target content corresponding to a first area in the target interface, where the first area corresponds to at least one gap area.
And a display unit 106 for displaying the target content in the display screen.
Under the condition that the target content meets the preset condition, displaying the target content in a first display mode in a display screen; and under the condition that the target content does not meet the preset condition, displaying the target content in a second display mode on the display screen.
According to the electronic device provided by the embodiment of the application, the electronic device can acquire the target content corresponding to the first area in the target interface according to one input of the user, and determine whether the target content meets the preset condition. Under the condition that the target content meets the preset condition, the electronic equipment can display the target content in the display screen in one display mode, and under the condition that the target content does not meet the preset condition, the electronic equipment can display the target content in the display screen in another display mode to display complete content without the need of multiple operations of a user, so that the operation of the user in the process of triggering the electronic equipment to display the complete content can be simplified, the time consumption is reduced, the diversity of the display content of the electronic equipment can be improved, and the convenience of the display content of the electronic equipment can be improved.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to, when the target content includes a control, display the target content in another area of the display screen, and cancel displaying the target content after receiving a touch input to the control.
Therefore, the electronic equipment can display the target content in other areas of the display screen under the condition that the target content comprises the control, and cancel the display of the target content after receiving the touch input to the control, so that the flexibility of the electronic equipment for displaying the content can be improved, and the use experience of a user can be improved.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to, in a case that the target content does not include a control, display the target content in another area of the display screen, and cancel displaying the target content after a preset time.
Therefore, the electronic equipment can display the target content in other areas of the display screen under the condition that the target content does not comprise the control, and cancel displaying the target content after the preset time, so that the flexibility of displaying the content by the electronic equipment can be improved, and the use experience of a user can be improved.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to display the target content in a blank area in the display screen, or to display the target content in a floating manner in the display screen.
Therefore, the target content can be displayed in the blank area of the display screen by the electronic equipment, so that the situation that the target content shields the content in the target interface can be avoided, and the use experience of a user can be improved.
Therefore, the target content can be displayed in a suspended mode in the display screen through the electronic equipment, and a user does not need to search the target content in the display screen, so that the content viewing efficiency can be improved.
It should be understood that, in the embodiment of the present application, the input unit 104 may include a Graphics Processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of a still picture or a video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the interface display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the interface display method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. An interface display method applied to an electronic device, wherein the electronic device comprises a display screen, and the display screen is provided with at least one notch area, and the method comprises the following steps:
receiving a first input of a user under the condition that a target interface is displayed;
responding to the first input, and acquiring target content corresponding to a first area in the target interface, wherein the first area corresponds to the at least one notch area;
displaying the target content in the display screen;
under the condition that the target content meets a preset condition, displaying the target content in a first display mode in the display screen; and under the condition that the target content does not meet the preset condition, displaying the target content in a second display mode on the display screen.
2. The method according to claim 1, wherein the preset condition comprises: the target content comprises a control;
the control is a touch control.
3. The method according to claim 1, wherein the displaying the target content in the display screen in a first display manner in the case that the target content meets a preset condition comprises:
and under the condition that the target content comprises a control, displaying the target content in other areas of the display screen, and canceling the display of the target content after receiving touch input to the control.
4. The method according to claim 1, wherein in the case that the target content does not satisfy the preset condition, displaying the target content in the display screen in a second display mode comprises:
and under the condition that the target content does not comprise a control, displaying the target content in other areas of the display screen, and canceling the display of the target content after preset time.
5. The method of claim 1, wherein the displaying the target content in the display screen comprises:
displaying the target content in a blank area in the display screen, or displaying the target content in a floating manner in the display screen.
6. An interface display device, the interface display device comprising a display screen having at least one notched area, the interface display device further comprising: the device comprises a receiving module, an obtaining module and a display module;
the receiving module is used for receiving a first input of a user under the condition that a target interface is displayed;
the obtaining module is configured to obtain, in response to the first input received by the receiving module, target content corresponding to a first area in the target interface, where the first area corresponds to the at least one gap area;
the display module is used for displaying the target content acquired by the acquisition module in the display screen;
under the condition that the target content meets a preset condition, displaying the target content in a first display mode in the display screen; and under the condition that the target content does not meet the preset condition, displaying the target content in a second display mode on the display screen.
7. The interface display device according to claim 6, wherein the preset condition includes: the target content comprises a control;
the control is a touch control.
8. The interface display device according to claim 6, wherein the display module is specifically configured to, in a case where a control is included in the target content, display the target content in another area of the display screen, and cancel displaying the target content after receiving a touch input to the control.
9. The interface display device according to claim 6, wherein the display module is specifically configured to, when the target content does not include a control, display the target content in another area of the display screen, and cancel displaying the target content after a preset time.
10. The interface display device according to claim 6, wherein the display module is specifically configured to display the target content in a blank area of the display screen or to display the target content in a floating manner in the display screen.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the interface display method according to any one of claims 1 to 5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the interface display method according to any one of claims 1 to 5.
CN202110269561.1A 2021-03-12 2021-03-12 Interface display method and device and electronic equipment Pending CN113138818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110269561.1A CN113138818A (en) 2021-03-12 2021-03-12 Interface display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110269561.1A CN113138818A (en) 2021-03-12 2021-03-12 Interface display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113138818A true CN113138818A (en) 2021-07-20

Family

ID=76811014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110269561.1A Pending CN113138818A (en) 2021-03-12 2021-03-12 Interface display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113138818A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113655921A (en) * 2021-08-02 2021-11-16 珠海金山办公软件有限公司 Screen display method and device, electronic equipment and storage medium
CN114356476A (en) * 2021-12-17 2022-04-15 北京达佳互联信息技术有限公司 Content display method and device, electronic equipment and storage medium
CN114756193A (en) * 2022-04-25 2022-07-15 Oppo广东移动通信有限公司 Display method, electronic device, and computer-readable storage medium
CN114840114A (en) * 2022-07-05 2022-08-02 荣耀终端有限公司 Display control method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943551A (en) * 2017-11-14 2018-04-20 维沃移动通信有限公司 A kind of screen display method and mobile terminal
CN108984082A (en) * 2018-07-09 2018-12-11 维沃移动通信有限公司 A kind of image display method and mobile terminal
CN109032445A (en) * 2018-07-16 2018-12-18 维沃移动通信有限公司 A kind of control method for screen display and terminal device
CN109032481A (en) * 2018-06-29 2018-12-18 维沃移动通信有限公司 A kind of display control method and mobile terminal
CN109117240A (en) * 2018-09-25 2019-01-01 维沃移动通信有限公司 A kind of method of controlling operation thereof and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943551A (en) * 2017-11-14 2018-04-20 维沃移动通信有限公司 A kind of screen display method and mobile terminal
CN109032481A (en) * 2018-06-29 2018-12-18 维沃移动通信有限公司 A kind of display control method and mobile terminal
CN108984082A (en) * 2018-07-09 2018-12-11 维沃移动通信有限公司 A kind of image display method and mobile terminal
CN109032445A (en) * 2018-07-16 2018-12-18 维沃移动通信有限公司 A kind of control method for screen display and terminal device
CN109117240A (en) * 2018-09-25 2019-01-01 维沃移动通信有限公司 A kind of method of controlling operation thereof and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113655921A (en) * 2021-08-02 2021-11-16 珠海金山办公软件有限公司 Screen display method and device, electronic equipment and storage medium
CN114356476A (en) * 2021-12-17 2022-04-15 北京达佳互联信息技术有限公司 Content display method and device, electronic equipment and storage medium
CN114756193A (en) * 2022-04-25 2022-07-15 Oppo广东移动通信有限公司 Display method, electronic device, and computer-readable storage medium
CN114840114A (en) * 2022-07-05 2022-08-02 荣耀终端有限公司 Display control method, device and storage medium

Similar Documents

Publication Publication Date Title
CN113138818A (en) Interface display method and device and electronic equipment
CN112135181B (en) Video preview method and device and electronic equipment
CN111857509A (en) Split screen display method and device and electronic equipment
CN112764624B (en) Information screen display method and device
CN111897476B (en) False touch prevention setting method and device
CN113794795B (en) Information sharing method and device, electronic equipment and readable storage medium
CN112540740A (en) Split screen display method and device, electronic equipment and readable storage medium
CN112433693A (en) Split screen display method and device and electronic equipment
CN113655929A (en) Interface display adaptation processing method and device and electronic equipment
CN112698894A (en) Screen capturing method and device and electronic equipment
CN112286612A (en) Information display method and device and electronic equipment
CN112783406B (en) Operation execution method and device and electronic equipment
CN112399010B (en) Page display method and device and electronic equipment
CN112099714B (en) Screenshot method and device, electronic equipment and readable storage medium
CN112181559A (en) Interface display method and device and electronic equipment
CN112948843A (en) Encryption method, encryption device, electronic equipment and medium
CN112153281A (en) Image processing method and device
CN112333389B (en) Image display control method and device and electronic equipment
CN114020099A (en) Display method and device
CN111857465B (en) Application icon sorting method and device and electronic equipment
CN113253884A (en) Touch method, touch device and electronic equipment
CN114222355A (en) Terminal power saving display method and device and electronic equipment
CN114245017A (en) Shooting method and device and electronic equipment
CN112764618A (en) Interface operation method, device, equipment and storage medium
CN111930296A (en) Electronic equipment control method and device and electronic equipment

Legal Events

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