CN112596644A - Display method and device and electronic equipment - Google Patents

Display method and device and electronic equipment Download PDF

Info

Publication number
CN112596644A
CN112596644A CN202011506892.4A CN202011506892A CN112596644A CN 112596644 A CN112596644 A CN 112596644A CN 202011506892 A CN202011506892 A CN 202011506892A CN 112596644 A CN112596644 A CN 112596644A
Authority
CN
China
Prior art keywords
screen
target window
window
interface
display
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.)
Granted
Application number
CN202011506892.4A
Other languages
Chinese (zh)
Other versions
CN112596644B (en
Inventor
李文刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202011506892.4A priority Critical patent/CN112596644B/en
Publication of CN112596644A publication Critical patent/CN112596644A/en
Application granted granted Critical
Publication of CN112596644B publication Critical patent/CN112596644B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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
    • G06F3/0486Drag-and-drop
    • 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

Abstract

The application discloses a display method, a display device and electronic equipment, belongs to the technical field of communication, and is used for solving the problem that a small window shields display contents on a display interface. The application is applied to an electronic device comprising at least two screens, and the method comprises the following steps: the method comprises the steps that electronic equipment displays a first interface and a target window on a first screen, wherein the target window is at least partially overlapped with the first interface; and the electronic equipment controls a second screen to start, and the target window is displayed on the second screen.

Description

Display method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a display method, a display device and electronic equipment.
Background
With the development of electronic devices, the functions of the electronic devices are more and more. In order to facilitate the user to use the electronic device, a small window with an area smaller than that of the current display interface can be displayed on the same display interface in an overlapping mode, so that the user can conveniently acquire more application information in the same time. For example, when the user uses the video function of the chat application, the opposite side video interface can be displayed in the display interface of the display screen, and meanwhile, a small video window is displayed on the opposite side video interface in a floating mode and used for displaying the user side video interface.
However, since the window interface is displayed on the display interface in a floating manner, part of the display content of the display interface is always blocked. In the related art, the user can view the occluded display content by dragging the small window.
However, this method of dragging the window interface requires manual operation by the user, is cumbersome in steps, and still can obscure other display contents of the display interface.
Disclosure of Invention
The embodiment of the application aims to provide a display method, a display device and electronic equipment, and the problem that a small window shields display contents of a display interface can be solved.
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 a display method, which is applied to an electronic device including at least two screens, and the method includes: the method comprises the steps that electronic equipment displays a first interface and a target window on a first screen, wherein the target window is at least partially overlapped with the first interface; and the electronic equipment controls a second screen to start, and the target window is displayed on the second screen.
In a second aspect, an embodiment of the present application provides a display device, where the display device includes a display module: the display module is used for displaying a first interface and a target window on a first screen, wherein the target window is at least partially overlapped with the first interface; the display module is further configured to control a second screen to be started, and display the target window on the second 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, in the case that the electronic device includes at least two screens, the electronic device displays a first interface and a target window partially or completely overlapping with the first interface on the first screen, and at this time, the electronic device may control to start the second screen and display the target window on the second screen. Because the first screen of the electronic equipment comprises the small window overlapped with the first interface, the electronic equipment can display the small window in the second screen by moving the small window, and therefore, a user can check the complete display content in the first screen without manually moving the small window, operation steps of checking the display content by the user are saved, and checking efficiency is improved.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a display method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an interface applied by a display method according to an embodiment of the present disclosure;
fig. 4 is a second schematic diagram of an interface applied by a display method according to an embodiment of the present disclosure;
fig. 5 is a third schematic diagram of an interface applied by a display method according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a display device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 8 is a second schematic structural diagram of an electronic device according to 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 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 embodiment of the application is applied to the electronic equipment comprising at least two screens. Taking an example that the electronic device includes two screens, the two screens may be two screens formed by a foldable electronic device, and specifically, the foldable electronic device may be a foldable electronic device formed by two electronic devices in a hinged manner, or a foldable electronic device including a foldable display screen; the two screens may also be two screens included in the electronic device with dual screens, specifically, the dual screens may be two screens located on the same side of the electronic device, may also be two screens located on the front side and the back side of the electronic device respectively, and may also be one screen located on the front side of the electronic device and one screen embedded in the electronic device and capable of displaying in a telescopic manner relative to the electronic device.
Illustratively, as shown in fig. 1, the electronic device may include a first screen 11 and a lifting screen 12 disposed at the back of the first screen, and the lifting screen 12 may have a function of lifting out and lowering from the electronic device. In an example, a lifting motor and a lifting slide rail may be disposed in the electronic device, and when the electronic device needs to control the lifting screen 12 to lift or fall, the lifting screen 12 may be controlled to follow the track of the lifting slide rail to complete the lifting action and the falling action.
For example, the electronic device may send a lifting command to the lifting screen to control the lifting screen 12 to lift, may also send a falling command to the lifting screen 12 to control the lifting screen to fall back to the electronic device, may also send an opening command to the lifting screen 12 to control the lifting screen 12 to open a display function, and may also send a display command to the lifting screen 12 to control the lifting screen 12 to display specific display contents.
The display method provided by the embodiment of the application can be applied to a scene that a small window overlapped with a first interface is displayed in a first screen when the electronic equipment comprises two screens.
When the electronic device comprises two screens, a scene of a small window overlapped with a first interface is displayed in the first screen, and when the electronic device also has a small window in a floating display manner overlapped with the electronic device on the display interface of the first screen, the small window can shield part of display contents on the display interface, so that when a user needs to view the shielded display contents, the user needs to manually drag the small window to other positions of the display interface to be able to view the originally shielded display contents in the display interface. Since the user is required to manually move the small window to other positions of the first screen, the step of the user viewing the display content is cumbersome. When a user needs to capture or record all display contents of the main interface, due to the existence of the small window, a video formed after the screen is recorded by the electronic equipment or a picture formed after the screen is captured all contain the small window, so that the electronic equipment can not record or capture all display contents of the first screen display interface all the time, and further the requirements of the user can not be met.
In the embodiment of the application, when the electronic device detects that the small window is displayed on the display interface of the first screen in a floating manner, the electronic device automatically controls the second screen to start, and automatically moves the small window from the display interface of the first screen to the second screen for display. Therefore, the user does not need to manually move the small window, the operation steps of the user are saved, and the efficiency of the user for checking the information is improved; meanwhile, when the user needs to record or capture a screen, the video or the picture of the display content of the first screen without the small window can be recorded or captured.
The following describes a display method according to an embodiment of the present application with reference to a flowchart of the display method shown in fig. 2, where the display method provided in the embodiment of the present application is applied to an electronic device including at least two screens, and fig. 2 is a schematic flowchart of the display method provided in the embodiment of the present application, and includes steps 201 and 202:
step 201: the display device displays a first interface and a target window on a first screen.
In an embodiment of the present application, the target window at least partially overlaps the first interface.
In this embodiment, the target window may be a display interface with a size smaller than that of the first interface.
In this embodiment of the application, the first interface may be any interface displayed in the first screen, and the first interface may be any display interface in any application, which is not limited in this embodiment of the application.
In this embodiment of the application, the first interface and the target window may be display interfaces of different applications (for example, the first interface may be a shopping interface of a shopping application, and the target window may be a video chat interface of a chat application), or may be two display interfaces in the same application (for example, the first interface is a text chat interface in the chat application, and the target window may be a video chat interface in the chat application).
Step 202: and the display device controls a second screen to start, and displays the target window on the second screen.
In the embodiment of the present application, reference may be made to the foregoing description for the relationship between the second screen and the first screen, and details are not described herein again.
In this embodiment of the application, the second screen activation may be activating a display function of the second screen.
In one example, when the electronic device includes two display screens on the same side or different sides, and the second screen is one of the display screens, the second screen is in an off state when the target window is not included on the first interface of the electronic device, and the second screen is activated to display the target window when the target window partially overlapping with the first interface is displayed on the first interface.
In another example, when the electronic device includes a first screen on the front side and a second screen embedded in the electronic device, in a case where the first interface of the electronic device does not include the target window, the second screen is in a state of being turned off and embedded in the electronic device, and when the first interface displays the target window partially overlapping with the first interface, the second screen is activated, protrudes from the electronic device, and displays the target window.
It should be noted that, when the second screen is started and displays the target window, the target window may be removed from the first interface and no longer displayed on the first interface; or may continue to remain in the first interface, where after the target window is displayed on the second screen, whether to display the target window in the first interface may be preset for the electronic device or may be set by a user in a self-defined manner, and this is not limited in this embodiment of the application.
Example 1: taking the electronic device including two screens, namely, a display screen on the front of the electronic device and a lifting screen embedded inside the electronic device as an example, in the process of using the video chat application and the shopping application simultaneously by the user, as shown in fig. 3 (a), a window chat interface 33 (i.e., the target window) is displayed on the shopping interface 32 (i.e., the first interface) displayed in the display screen 31 (i.e., the first screen) in a floating manner, and the window chat interface 33 is partially overlapped with the shopping interface 32. As shown in fig. 3 (b), the electronic device sends a control command to the up-down screen 34 to control the up-down screen 34 to rise from the electronic device, and after the up-down screen 34 finishes rising, the electronic device displays the window chat interface 33 on the up-down screen 34 in a moving manner.
According to the display device provided by the embodiment of the application, under the condition that the display device comprises at least two screens, the display device displays the first interface and the target window partially or completely overlapped with the first interface on the first screen, and at the moment, the display device can control to start the second screen and display the target window on the second screen. Because the first screen of the electronic equipment comprises the small window overlapped with the first interface, and the display device can display the small window in the second screen by moving the small window, a user can check the complete display content in the first screen without manually moving the small window, so that the operation steps of checking the display content by the user are saved, and the checking efficiency is improved.
Optionally, in this embodiment of the application, when a target window is displayed in an overlapping manner on the first interface, the display device may move the target window to the second screen for display after detecting a screen capture operation or a movement operation of the user on the target window.
For example, in the embodiment of the present application, in the step 202 where the display device controls the second screen to be started, the display method provided in the embodiment of the present application may further include the following step a:
step A: and the display device controls the second screen to start when detecting that the first interface displayed by the first screen is at least partially overlapped with the target window and receiving a preset operation.
Illustratively, the predetermined operation includes any one of: and the user performs screen capture operation on the first interface or performs dragging operation on the target window.
For example, the screen capturing operation may include an operation of the electronic device to capture a picture on the first interface, and may also include an operation of the electronic device to capture a video stream on the first interface.
For example, the dragging operation may be an operation of moving the target window on the first interface by the user.
In an example, when the user drags the target window, the position coordinate of the target window displayed on the first screen changes, and when the electronic device detects that the position coordinate of the target window changes, the electronic device is triggered to control the second screen to start.
Example 2: in connection with the above example 1, as shown in fig. 4, the window chat interface 33 (i.e. the above target window) is displayed on the shopping interface 32 in a floating manner. At this time, the user needs to check the content on the shopping interface 32 that is blocked by the window chat interface 33, manually move the window chat interface 33 (i.e. the predetermined operation), and the electronic device detects that the position coordinate of the window chat interface 33 changes, then as shown in fig. 3 (b), the electronic device controls the elevator screen 34 to be lifted from the electronic device, and after the elevator screen 34 finishes the lifting action, the electronic device moves and displays the window chat interface 33 on the elevator screen 34, and cancels the display of the window chat interface 33 on the shopping interface 33.
Therefore, the electronic equipment can control the second screen to be started only after receiving the preset operation of the user on the target window, so that the accuracy of the electronic equipment for judging the display opportunity of the target window in the second screen can be enhanced, and the actual requirement of the user for displaying the target window in the second screen is met, so that the resource power consumption of the electronic equipment can be saved.
Optionally, in this embodiment of the application, in the case that the second screen is a lift screen, the controlling the second screen to start in the step 202 may include the following steps B1 and B2:
step B1: the display device controls the second screen to rise when detecting that the first interface displayed by the first screen is at least partially overlapped with the target window.
Step B2: the display device displays the target window in the second screen and cancels the display of the target window in the first screen.
For example, the at least partial overlap of the first interface and the target window may be: and displaying the target window on the first interface displayed by the first screen in a floating manner.
In one example, the target window may be: and floating the display interface displayed on the first interface.
In this embodiment of the application, when the electronic device detects that the first interface is at least partially overlapped with the target window, it indicates that the interface content of the first interface displayed in the first screen has an occlusion phenomenon, so as to ensure that a user can view all the interface content of the first interface. At this time, the electronic device may avoid the shielding of the first interface by the target window floating on the first interface by using a form of the standby screen, that is, for the electronic device having the lifting screen (i.e., the second screen), when the electronic device detects that the target window is floating on the first interface displayed on the first screen, the electronic device may control the lifting screen to rise, and move the window content of the target window to the lifting screen for display, so that the user may view the complete interface content of the first interface.
In this embodiment of the application, the electronic device may detect whether the target window is suspended on the first interface through multiple detection modes.
The first detection mode is as follows:
the electronic equipment can acquire a screen capture image of the first screen by periodically or aperiodically performing screen capture operation on the first screen, and then determine whether a window interface is included in the interfaces displayed on the first screen by detecting whether the window interface is included in the screen capture image. Specifically, when it is detected that the screenshot image includes a window interface, it is determined that a target window is displayed in a suspended manner on the first interface displayed in the first screen, and otherwise, when it is detected that the screenshot image does not include a window interface, that is, only one interface is displayed in the first screen, it is determined that a target window is not displayed in a suspended manner on the first interface displayed in the first screen.
The second detection mode is as follows:
the electronic equipment can generate the window interface display instruction when the electronic equipment displays one window interface in a suspension mode on one interface, so that the electronic equipment can judge whether the window interface is displayed in the interface displayed on the first screen by detecting whether the window interface display instruction is generated in the electronic equipment aiming at the first screen or not in real time. Specifically, when a window interface display instruction for the first screen is detected, it is determined that a target window is displayed in a suspended manner on the first interface displayed in the first screen, and otherwise, when the window interface display instruction for the first screen is not detected, that is, when only one interface is displayed in the first screen, it is determined that the target window is not displayed in the suspended manner on the first interface displayed in the first screen.
Optionally, in this embodiment of the application, when detecting that a target window is displayed in a first interface in a floating manner, the electronic device may generate a lifting screen lifting control command, so as to control the lifting screen to lift. For example, referring to fig. 1, after generating a lifting screen lifting control command, the electronic device controls the lifting screen to slide along the lifting slide rail based on the lifting screen lifting control command.
In this embodiment, after the electronic device raises the up-down screen, the electronic device will automatically "move" the target window into the up-down screen, and at this time, the target window will no longer be displayed in a floating manner on the first interface of the first screen.
Optionally, in this embodiment of the application, when the display device displays the target window in the lifting screen, the target window may be displayed during a lifting process of the lifting screen, or may be displayed after the lifting of the lifting screen is finished, which is not limited in this embodiment of the application.
In one example, the display device may start a display function of the up-down screen when generating the up-down screen up control command, and then send a display command to the up-down screen, so that the up-down screen may directly display the target window after the display function is started, at this time, the up-down screen may be just lifted or in the process of being lifted, that is, the up-down screen up control command and the display command may be executed synchronously.
In another example, after the lifting screen completes the lifting action, the electronic device may start the display function of the lifting screen, and then send a display command to the lifting screen, so that the lifting screen may directly display the target window after the display function is started, that is, the display device executes the lifting screen lifting control command and then executes the display command.
Optionally, in this embodiment of the application, a window size of the target window is smaller than or equal to a screen size of the second screen.
For example, if it is detected that a target window is displayed on a first interface displayed on the first screen in a floating manner and the window size of the target window is smaller than or equal to the screen size of the second screen, the display device controls the second screen to start. It can be understood that, when the display device detects that the target window displayed on the first screen is at least partially overlapped with the first interface, it indicates that the interface content of the first interface displayed in the first screen has a blocking phenomenon, and a standby screen (for example, a lifting screen) is required to be used for displaying the target window, and at this time, if the display device simultaneously detects that the window size of the target window is smaller than or equal to the screen size of the second screen, it indicates that the second screen can completely move the content of the target window into the second screen without losing the display effect of the target window, thereby ensuring the display effect of the target window.
For example, the screen size of the second screen may be pre-stored in the electronic device, so that the electronic device may subsequently compare the size information of the target window and the second screen.
For example, the target window may be displayed in a landscape mode or a portrait mode in the second screen, which is not limited in this embodiment of the application.
For example, when the target window at least partially overlaps the first interface, the electronic device may obtain coordinate information of the target window, and calculate the window size of the target window by using the coordinate information.
Further, when the display device compares the window size of the target window with the screen size of the second screen, the size relationship between the window size of the target window and the screen size of the second screen is determined.
Example 3: with reference to the foregoing example 1, after the electronic device detects that the window chat interface 33 is displayed in a suspended manner on the shopping interface 32, the window size of the window chat interface 33 is compared with the screen size of the up-down screen 34, if the comparison result shows that the window size of the chat interface 33 is smaller than the screen size of the up-down screen 34, a control command is sent to the up-down screen 34 to control the up-down screen 34 to be raised from the electronic device, after the up-down screen 34 finishes the raising action, the electronic device displays the window chat interface 33 on the up-down screen 34 in a moving manner, and cancels the display of the window chat interface 33 on the shopping interface 32.
Therefore, by comparing the size of the target window with the size of the second screen, the display device can accurately evaluate whether the target window can be directly displayed in the second screen, so that the completeness of the target window directly displayed in the second screen by the electronic equipment is ensured.
Optionally, in this embodiment of the application, when the second screen is a lifting screen, the electronic device may determine a lifting height of the lifting screen by comparing the screen size of the lifting screen with the window size of the target window, and control the lifting screen to lift by using the lifting height as the target height.
For example, in the case that the second screen is a lifting screen, and in the step 202 of controlling the second screen to start, the display method provided in the embodiment of the present application includes the following step C:
and C: the display device controls the second screen to rise to a target height.
For example, in a case where the window size of the target window is smaller than or equal to the screen size of the second screen, the display device may set the target height to be equal to the window height of the target window.
For example, in the case where the window size of the target window is larger than the screen size of the up-down screen (i.e., the second screen), the target height is equal to the screen height of the up-down screen.
For example, the display device may calculate the height of the target window by acquiring coordinates of the target window, and finally obtain the target height.
Illustratively, the window height may be: the height dimension of the target window in the first screen.
Therefore, the electronic equipment can reduce the time consumed for moving the target window into the lifting screen by reasonably setting the height of the lifting screen according to the window size of the target window.
Optionally, in this embodiment of the application, when the target window is no longer displayed on the first interface of the first screen of the electronic device in an overlapping manner, the electronic device may retract the above-mentioned lift screen.
Illustratively, after the step B2, the display method provided by the embodiment of the present application further includes the following steps D1 and D2:
step D1: the display device receives a first input.
Step D2: and responding to the first input, closing the target window by the display device, and controlling the second screen to be closed.
For example, the first input may be a touch input of the electronic device by the user, such as a slide input, a click input, or a drag input.
Illustratively, the first input is used to close the target window.
In one example, the first input may be a sliding input of the first interface by a user. For example, the user slides down the first interface so that the display content of the target window is displayed in the first interface and the target window is not displayed separately.
In another example, the first input may be a click input of the target window by a user. For example, the user clicks a close control on the target window.
In an example, when the second screen is a lifting screen, the closing the second screen may be: the screen descending can be the descending of the screen and the screen is retracted into the electronic equipment.
Therefore, after the electronic equipment closes the target window, the electronic equipment can automatically close the second screen without manual operation of a user, so that the operation steps of the user are saved, and the use efficiency of the second screen is improved.
Optionally, in this embodiment of the present application, in the case that the window size of the target window is larger than the screen size of the second screen, in step 202, the display method provided in this embodiment of the present application includes the following step E:
step E: the display device displays the target window according to a target scale in the second screen.
Illustratively, the target ratio is a minimum ratio coefficient obtained by comparing the side length of each side of the target window with the side length of the corresponding side of the second screen.
For example, the display device may determine the target ratio according to a ratio coefficient of the size of the second screen to the size of the target window.
In an example, when the window size of the target window is larger than the screen size of the second screen, the electronic device may compare the side lengths of the edges corresponding to the target window and the second screen to obtain a ratio coefficient between each side length and each side length of the edge of the second screen, and after obtaining the ratio coefficient, the electronic device multiplies each side length of the target window by the minimum ratio coefficient, thereby scaling each side length of the target window.
Example 4: with reference to the foregoing example 1, as shown in fig. 5, the electronic device compares the size of the above-mentioned window chat interface 33 with the size of the up-down screen 34 preset in the electronic device. Where boundary 41 corresponds to boundary 44 of lift screen 34 and boundary 42 corresponds to boundary 43 of the lift screen. The size of the compared border 41 is 8cm larger than the size of border 44 by 6cm, and the size of border 42 is 4cm also larger than the size of border 43 by 2 cm. At this point, the electronic device compares the size of boundary 44 to boundary 41, 6/8, to give a ratio of 0.75, and compares the size of boundary 43 to boundary 42, 2/4, to give a ratio of 0.5. At this time, the electronic device determines that the scaling ratio is 0.5, multiplies the size of the target window by the ratio by 0.5, and finally displays the result in the up-down screen 34 as shown in (b) of fig. 3.
Therefore, no matter the size of the target window, the electronic equipment can display the target window in the second screen, and a user can watch the unoccluded and complete first interface in the first screen.
In the display method provided in the embodiment of the present application, the execution main body may be a display device, or a control module for executing the display method in the display device. In the embodiment of the present application, a display device executing a display method is taken as an example, and the display device provided in the embodiment of the present application is described.
Fig. 6 is a schematic diagram of a possible structure of a display device according to an embodiment of the present disclosure, as shown in fig. 6, a display device 600 includes a display module 601, where the display module 601 is configured to display a first interface and a target window on a first screen, where the target window at least partially overlaps with the first interface; the display module 601 is further configured to control a second screen to be started, and display the target window on the second screen.
In the display device provided in the embodiment of the application, when the display device includes at least two screens, the display device displays a first interface and a target window partially or completely overlapped with the first interface on the first screen, and at this time, the display device can control to start the second screen and display the target window on the second screen. Because the first screen of the electronic equipment comprises the small window overlapped with the first interface, and the display device can display the small window in the second screen by moving the small window, a user can check the complete display content in the first screen without manually moving the small window, so that the operation steps of checking the display content by the user are saved, and the checking efficiency is improved.
Optionally, in this embodiment of the application, the apparatus 600 further includes a control module 602; the control module 602 is configured to control the second screen to start when it is detected that the first interface displayed by the first screen displayed by the display module is at least partially overlapped with the target window and a predetermined operation is received; wherein the predetermined operation includes any one of: and the user performs screen capture operation on the first interface or performs dragging operation on the target window.
Optionally, in this embodiment of the application, the apparatus 600 further includes a control module 602; the control module is used for controlling the second screen to rise under the condition that the first interface displayed by the first screen is detected to be at least partially overlapped with the target window; the display module 601 is specifically configured to display the target window in the second screen controlled by the control module 602, and cancel displaying the target window in the first screen.
Optionally, in this embodiment of the application, a window size of the target window is smaller than or equal to a screen size of the lifting screen.
Optionally, in this embodiment of the application, the apparatus 600 further includes a control module 602; the control module 602 is configured to control the second screen to be lifted to a target height; wherein, in the case that the window size of the target window is smaller than or equal to the screen size of the second screen, the target height is equal to the window height of the target window; in a case where the window size of the target window is larger than the screen size of the second screen, the target height is equal to the screen height of the second screen.
Optionally, in this embodiment of the application, the apparatus 600 further includes a receiving module 603 and an executing module 604; the receiving module 603 is configured to receive a first input; the executing module 604 is configured to close the target window displayed on the second screen in response to the first input received by the receiving module 603, and control the second screen to close.
The 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 display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 5, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and executable on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the display method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
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. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
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. Wherein the user input unit 107 includes: touch panel 1071 and other input devices 1072, display unit 106 including display panel 1061, input unit 104 including image processor 1041 and microphone 1042, memory 109 may be used to store software programs (e.g., an operating system, application programs needed for at least one function), and various data.
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. 8 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 display unit 106 is configured to display a first interface and a target window on a first screen, where the target window at least partially overlaps with the first interface; the display unit 106 is further configured to control a second screen to be started, and display the target window on the second screen.
According to the electronic device provided by the embodiment of the application, under the condition that the electronic device comprises at least two screens, the electronic device displays the first interface and the target window partially or completely overlapped with the first interface on the first screen, and at this time, the electronic device can control to start the second screen and display the target window on the second screen. Because the first screen of the electronic equipment comprises the small window overlapped with the first interface, the electronic equipment can display the small window in the second screen by moving the small window, and therefore, a user can check the complete display content in the first screen without manually moving the small window, operation steps of checking the display content by the user are saved, and checking efficiency is improved.
Optionally, the processor 110 is configured to control the second screen to start when it is detected that the first interface displayed by the first screen at least partially overlaps with the target window and a predetermined operation is received; wherein the predetermined operation includes any one of: and the user performs screen capture operation on the first interface or performs dragging operation on the target window.
Optionally, in a case that the second screen is a lifting screen, the processor 110 is configured to control the second screen to lift up when it is detected that the first interface displayed by the first screen at least partially overlaps with the target window; the display module 106 is specifically configured to display the target window in the second screen, and cancel displaying the target window in the first screen.
Optionally, the processor 110 is configured to control the second screen to be lifted to a target height; wherein, in the case that the window size of the target window is smaller than or equal to the screen size of the second screen, the target height is equal to the height of the target window; in a case where the window size of the target window is larger than the screen size of the second screen, the target height is equal to the screen height of the second screen.
Optionally, the user input unit 107 is configured to receive a first input; the processor 110 is configured to close the target window displayed on the second screen in response to the first input received by the user input unit 107, and control the second screen to close.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as 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 the processes of the 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 so on.
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 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 (14)

1. A display method is applied to an electronic device comprising at least two screens, and comprises the following steps:
displaying a first interface and a target window on a first screen, wherein the target window is at least partially overlapped with the first interface;
and controlling a second screen to start, and displaying the target window on the second screen.
2. The method of claim 1, wherein said controlling a second screen launch comprises:
under the condition that the first interface displayed by the first screen is detected to be at least partially overlapped with the target window and a preset operation is received, controlling the second screen to be started;
wherein the predetermined operation includes any one of: and the user performs screen capture operation on the first interface, or performs dragging operation on the target window.
3. The method according to claim 1, wherein in the case that the second screen is a lifting screen, the controlling the second screen to start comprises:
in the case of detecting that the first interface displayed by the first screen at least partially overlaps the target window, controlling the second screen to be lifted;
and displaying the target window in the second screen, and canceling the display of the target window in the first screen.
4. The method of claim 1, wherein a window size of the target window is less than or equal to a screen size of the second screen.
5. The method according to claim 1, wherein in the case that the second screen is a lifting screen, the controlling the second screen to start comprises:
controlling the second screen to rise to a target height;
wherein the target height is equal to a height of the target window in a case where a window size of the target window is less than or equal to a screen size of the second screen;
in a case where the window size of the target window is larger than the screen size of the second screen, the target height is equal to the screen height of the second screen.
6. The method of claim 3, wherein after displaying the target window in the second screen and canceling display of the target window in the first screen, the method further comprises:
receiving a first input;
and responding to the first input, closing the target window displayed on the second screen, and controlling the second screen to be closed.
7. A display device, comprising:
the display module is used for displaying a first interface and a target window on a first screen, and the target window is at least partially overlapped with the first interface;
the display module is further used for controlling a second screen to be started, and displaying the target window on the second screen.
8. The apparatus of claim 7, further comprising a control module;
the control module is used for controlling the second screen to be started when detecting that the first interface displayed by the first screen displayed by the display module is at least partially overlapped with the target window and a preset operation is received;
wherein the predetermined operation includes any one of: and the user performs screen capture operation on the first interface, or performs dragging operation on the target window.
9. The apparatus of claim 7, further comprising a control module;
the control module is used for controlling the second screen to rise under the condition that the first interface displayed by the first screen is detected to be at least partially overlapped with the target window;
the display module is specifically configured to display the target window in the second screen controlled by the control module, and cancel displaying the target window in the first screen.
10. The apparatus of claim 7, wherein the window size of the target window is less than or equal to the screen size of the elevating screen.
11. The apparatus of claim 7, further comprising a control module;
the control module is used for controlling the second screen to rise to a target height;
wherein the target height is equal to the window height of the target window in a case where the window size of the target window is less than or equal to the screen size of the second screen;
in a case where the window size of the target window is larger than the screen size of the second screen, the target height is equal to the screen height of the second screen.
12. The apparatus of claim 9, further comprising a receiving module and an executing module;
the receiving module is used for receiving a first input;
the execution module is configured to close the target window displayed on the second screen in response to the first input received by the receiving module, and control the second screen to close.
13. 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 display method according to any one of claims 1 to 6.
14. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the display method according to any one of claims 1 to 6.
CN202011506892.4A 2020-12-18 2020-12-18 Display method and device and electronic equipment Active CN112596644B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011506892.4A CN112596644B (en) 2020-12-18 2020-12-18 Display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011506892.4A CN112596644B (en) 2020-12-18 2020-12-18 Display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112596644A true CN112596644A (en) 2021-04-02
CN112596644B CN112596644B (en) 2022-07-15

Family

ID=75199343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011506892.4A Active CN112596644B (en) 2020-12-18 2020-12-18 Display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112596644B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113867603A (en) * 2021-09-27 2021-12-31 联想(北京)有限公司 Control method and device
CN114064170A (en) * 2021-10-18 2022-02-18 维沃移动通信有限公司 Floating window display method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090720A (en) * 2014-04-10 2014-10-08 中兴通讯股份有限公司 Method for adjusting terminal window display based on gesture operation and device for adjusting terminal window display
US20150268916A1 (en) * 2014-03-24 2015-09-24 David Eisenberg Multiple Screen Arrangement for Mobile Device
CN107102806A (en) * 2017-01-25 2017-08-29 维沃移动通信有限公司 A kind of split screen input method and mobile terminal
CN109407948A (en) * 2018-10-16 2019-03-01 维沃移动通信有限公司 A kind of interface display method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150268916A1 (en) * 2014-03-24 2015-09-24 David Eisenberg Multiple Screen Arrangement for Mobile Device
CN104090720A (en) * 2014-04-10 2014-10-08 中兴通讯股份有限公司 Method for adjusting terminal window display based on gesture operation and device for adjusting terminal window display
CN107102806A (en) * 2017-01-25 2017-08-29 维沃移动通信有限公司 A kind of split screen input method and mobile terminal
CN109407948A (en) * 2018-10-16 2019-03-01 维沃移动通信有限公司 A kind of interface display method and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113867603A (en) * 2021-09-27 2021-12-31 联想(北京)有限公司 Control method and device
CN114064170A (en) * 2021-10-18 2022-02-18 维沃移动通信有限公司 Floating window display method and device, electronic equipment and readable storage medium
WO2023066196A1 (en) * 2021-10-18 2023-04-27 维沃移动通信有限公司 Floating window display method and apparatus, and electronic device and readable storage medium

Also Published As

Publication number Publication date
CN112596644B (en) 2022-07-15

Similar Documents

Publication Publication Date Title
KR102230708B1 (en) User termincal device for supporting user interaxion and methods thereof
KR102571369B1 (en) Display control method, storage medium and electronic device for controlling the display
KR102649254B1 (en) Display control method, storage medium and electronic device
US9524040B2 (en) Image editing apparatus and method for selecting area of interest
EP3521991B1 (en) Method and device for displaying interface
CN107124508B (en) Position adjusting method and device of suspension control, terminal and readable storage medium
US20140310647A1 (en) Method for controlling interface and terminal therefor
US9594501B2 (en) Method for changing display range and electronic device thereof
CN112596644B (en) Display method and device and electronic equipment
CN104461312A (en) Display control method and electronic equipment
CN104793884A (en) Touch screenshot method and device
CN112417421A (en) Scanning method, scanning device, electronic equipment and readable storage medium
CN103513871B (en) The method and apparatus of control mobile terminal
KR20140124499A (en) Method and apparatus for processing a document of touch device
CN113138818A (en) Interface display method and device and electronic equipment
CN112433693A (en) Split screen display method and device and electronic equipment
CN107562356B (en) Fingerprint identification positioning method and device, storage medium and electronic equipment
CN112312019A (en) Light supplementing method and device and electronic equipment
CN114518926A (en) Notification message display method and device, electronic equipment and medium
CN105094514A (en) Method and apparatus for conveniently and rapidly operating terminal
CN114020389A (en) Application program display method and device and electronic equipment
CN114222355A (en) Terminal power saving display method and device and electronic equipment
CN113485590A (en) Touch operation method and device
CN113885981A (en) Desktop editing method and device and electronic equipment
CN115543064A (en) Interface display control method, interface display control device and storage medium

Legal Events

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