CN111782102A - Window display method and related device - Google Patents

Window display method and related device Download PDF

Info

Publication number
CN111782102A
CN111782102A CN202010682037.2A CN202010682037A CN111782102A CN 111782102 A CN111782102 A CN 111782102A CN 202010682037 A CN202010682037 A CN 202010682037A CN 111782102 A CN111782102 A CN 111782102A
Authority
CN
China
Prior art keywords
application
display interface
display
window
application windows
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
CN202010682037.2A
Other languages
Chinese (zh)
Other versions
CN111782102B (en
Inventor
莫博宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010682037.2A priority Critical patent/CN111782102B/en
Publication of CN111782102A publication Critical patent/CN111782102A/en
Application granted granted Critical
Publication of CN111782102B publication Critical patent/CN111782102B/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/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
    • G06F3/04817Interaction 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 using icons
    • 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
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a window display method and a related device, wherein the method comprises the following steps: displaying a first display interface, wherein the first display interface comprises a first number of application windows, and the first number is a positive integer; detecting opening instructions for a second number of application windows, wherein the second number is a positive integer; generating a second display interface according to the parameters of the application windows, wherein any two application windows in the second display interface are not overlapped, and the parameters of the application windows comprise at least one of the following: the number of the application windows, the types of the application programs corresponding to the application windows, the use frequency and the user-defined priority; and displaying the second display interface. Therefore, the display interface can be adjusted rapidly by implementing the embodiment of the application, and mutual shielding between application windows in the display interface is avoided.

Description

Window display method and related device
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a window display method and a related device.
Background
With the progress of electronic technology, hardware of electronic devices is more and more powerful, and simultaneously, application programs available on the electronic devices are more and more abundant. The hardware performance of the current electronic equipment can support the simultaneous opening of a plurality of application programs; when the electronic device starts multiple application programs, the electronic device may run the multiple application programs in the background, or may display application windows corresponding to the multiple application programs on the display interface, but at present, in the process of displaying multiple application windows, the electronic device often displays multiple application windows in a stacked manner, which causes the shielding of the display content between the windows.
Disclosure of Invention
The embodiment of the application provides a window display method and a related device, which are beneficial to quickly adjusting a display interface, and further avoid mutual shielding between application windows in the display interface.
In a first aspect, an embodiment of the present application provides a method for displaying a window, where the method includes:
displaying a first display interface, wherein the first display interface comprises a first number of application windows, and the first number is a positive integer;
detecting opening instructions for a second number of application windows, wherein the second number is a positive integer;
generating a second display interface according to the parameters of the application windows, wherein any two application windows in the second display interface are not overlapped, and the parameters of the application windows comprise at least one of the following: the number of the application windows, the types of the application programs corresponding to the application windows, the use frequency and the user-defined priority;
and displaying the second display interface. .
In a second aspect, an embodiment of the present application provides a display device of a window, the display device of the window includes a processing unit and a communication unit, wherein,
the processing unit is used for displaying a first display interface, wherein the first display interface comprises a first number of application windows, and the first number is a positive integer; and means for detecting an open instruction for a second number of application windows, the second number being a positive integer; and generating a second display interface according to the parameters of the application windows, wherein any two application windows in the second display interface are not overlapped, and the parameters of the application windows comprise at least one of the following: the number of the application windows, the types of the application programs corresponding to the application windows, the use frequency and the user-defined priority; and displaying the second display interface.
In a third aspect, an embodiment of the present application provides an electronic device, including a controller, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the controller, and the program includes instructions for executing steps of any one of the methods in the first aspect or the second aspect of the embodiment of the present application.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in any one of the methods of the first aspect or the second aspect of the embodiments of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any of the methods of the first aspect or the second aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, first, the electronic device displays a first display interface, where the first display interface includes a first number of application windows, and the first number is a positive integer; secondly, detecting opening instructions aiming at a second number of application windows, wherein the second number is a positive integer; secondly, generating a second display interface according to the parameters of the application windows, wherein any two application windows in the second display interface are not overlapped, and the parameters of the application windows comprise at least one of the following: the number of the application windows, the types of the application programs corresponding to the application windows, the use frequency and the user-defined priority; and finally, displaying a second display interface. Therefore, in the embodiment of the application, when the electronic device detects the opening instruction for the second number of application windows, that is, when it is determined that the plurality of application windows need to be displayed in the display interface, the display interface can be quickly adjusted, so that any two application windows in the adjusted second display interface are not overlapped, and the shielding of the display content is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a block diagram of an electronic device 100 according to an embodiment of the present application;
fig. 1B is a schematic architecture diagram of a software and hardware system provided with an Android system according to an embodiment of the present application;
FIG. 1C illustrates a conventional electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a window displaying method according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating an embodiment of the application adjusting a second display interface to a third display interface;
FIG. 4 is a diagram illustrating an update of a second display interface provided by an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an adjustment from a first display interface to a second display interface according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a second display interface generated according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a display interface provided by an embodiment of the present application;
FIG. 8 is a schematic view of an exhalation sidebar provided in accordance with an embodiment of the present application;
FIG. 9 is a schematic diagram of a possible structure of a display device of a window according to an embodiment of the present application;
fig. 10 is a schematic view of another possible structure of a display device of a window according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The following describes embodiments of the present application in detail.
Referring to fig. 1A, fig. 1A is a block diagram of an electronic device 100 according to an embodiment of the present disclosure. The electronic device 100 may be a communication-capable electronic device, which may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and so on. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and an input-output device 130.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall electronic device 100 using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Processor 110 may include one or more processing units, such as: the processor 110 may include a Central Processing Unit (CPU), an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy. Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like. The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
A memory may be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses, reducing the latency of the processor 110, and increasing system efficiency.
The processor 110 may include one or more interfaces, such as an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). The processor 110 may include multiple sets of I2C interfaces, and may be coupled to a touch sensor, charger, flash, camera, etc., respectively, through different I2C interfaces. For example: the processor 110 may be coupled to the touch sensor via an I2C interface, such that the processor 110 and the touch sensor communicate via an I2C interface to implement touch functionality of the electronic device 100.
The MIPI interface may be used to connect the processor 110 with peripheral devices such as a display screen, a camera, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and the camera communicate via a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen communicate through the DSI interface to implement the display function of the electronic device 100.
It is to be understood that the processor 110 may be mapped to a System On Chip (SOC) in an actual product, and the processing unit and/or the interface may not be integrated into the processor 110, and the corresponding functions may be implemented by a communication Chip or an electronic component alone. The above-described interface connection relationship between the modules is merely illustrative, and does not constitute a unique limitation on the structure of the electronic apparatus 100.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 120 includes a non-transitory computer-readable medium. The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like, and the operating system may be an Android (Android) system (including a system based on Android system depth development), an IOS system developed by apple inc (including a system based on IOS system depth development), or other systems. The storage data area may also store data created by the electronic device 100 in use (such as audio-video data, chat log data), and the like.
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software architecture of the electronic device 100.
As shown in fig. 1B, the memory 120 may store a Linux kernel layer 220, a system runtime library layer 240, an application framework layer 260, and an application layer 280, wherein the layers communicate with each other through a software interface, and the Linux kernel layer 220, the system runtime library layer 240, and the application framework layer 260 belong to an operating system space.
The application layer 280 belongs to a user space, and at least one application program runs in the application layer 280, and the application programs may be native application programs carried by an operating system, or third-party application programs developed by third-party developers, and specifically may include application programs such as passwords, eye tracking, cameras, gallery, calendar, call, map, navigation, WLAN, bluetooth, music, video, short messages, and the like.
The application framework layer 260 provides various APIs that may be used by applications that build the application layer, and developers may also build their own applications by using these APIs, such as a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, a message manager, an activity manager, a package manager, and a location manager.
The window manager is used for managing window programs. The window manager can acquire the display area of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. In the embodiment of the application, the window manager can adjust the display area position of the application window of the displayed application program to adapt to different use scenes, and the utilization rate of the display interface is improved.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and answered, browsing history and bookmarks, phone books, etc.; specifically, the electronic device may generate an application window corresponding to the application program according to the content in the content provider.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures; specifically, in this embodiment of the present application, the control may be used to display different application windows.
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The Linux kernel layer 220 provides underlying drivers for various hardware of the electronic device 100, such as a display driver, an audio driver, a camera driver, a Bluetooth driver, a Wi-Fi driver, power management, and the like.
In the following, a conventional electronic device will be described in detail with reference to fig. 1C, and it should be understood that the configuration illustrated in the embodiment of the present application is not intended to specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
As shown in fig. 1C, the electronic device 100 includes a system on chip 410, an external memory interface 420, an internal memory 421, a Universal Serial Bus (USB) interface 430, a charging management module 440, a power management module 441, a battery 442, an antenna 1, an antenna 2, a mobile communication module 450, a wireless communication module 460, an audio module 470, a speaker 470A, a receiver 470B, a microphone 470C, a sensor module 480, a button 490, a motor 491, an indicator 492, a camera 493, a display 494, an infrared transmitter 495, a Subscriber Identity Module (SIM) card interface 496, and the like. The sensor module 480 may include a pressure sensor 480A, a gyroscope sensor 480B, an air pressure sensor 480C, a magnetic sensor 480D, an acceleration sensor 480E, a distance sensor 480F, a proximity light sensor 480G, a fingerprint sensor 480H, a temperature sensor 480J, a touch sensor 480K, an ambient light sensor 480L, a bone conduction sensor 480M, and the like.
The electronic device 100 implements display functions via the GPU, the display screen 494, and the application processor, among other things. The GPU is an image processing microprocessor connected to a display screen 494 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 440 may include one or more GPUs that execute program instructions to generate or alter display information. In this embodiment, when the electronic device 100 detects an instruction to open an application window, the GPU may perform graphics rendering processing according to data of an application program to generate the application window, and then display the application window on a display screen of the electronic device.
The display screen 494 is used to display images, videos, and the like. The display screen 494 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 494, N being a positive integer greater than 1. In this embodiment, the display screen 494 can be used to display application windows of a plurality of mutually non-occluded application programs.
The ISP is used to process the data fed back by the camera 493. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 493. In the embodiment of the application, the ISP can be used for processing the air separating gesture and eyeball information acquired by the camera, and further generating an instruction for opening the application window.
The camera 493 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 493, N being a positive integer greater than 1. In the embodiment of the present application, the camera 493 may capture an eyeball image of the user and a hand image of the user, and then determine a gaze point of the user on the display interface and an air gesture of the user according to an eyeball tracking technique and a hand recognition technique, so as to generate an instruction to open the application window.
The external memory interface 420 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 440 through the external memory interface 420 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card. In this embodiment, the electronic device 100 may use an application program to read data acquired through the external storage interface 420, and display the data acquired through the external storage interface 420 in an application window corresponding to the application program.
The internal memory 421 may be used to store computer-executable program code, including instructions. The processor 440 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 421. The internal memory 421 may include a program storage area and a data storage area. Wherein the storage program area may store an operating system, an application program required for at least one function, and the like. The storage data area may store data created during use of the electronic device 100, and the like. In addition, the internal memory 421 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one disk storage device, a flash memory device, a universal flash memory (UFS), and the like. In this embodiment of the application, the internal memory 421 may be configured to store data of each APP message, so that the electronic device 100 may read the data of the APP in the internal memory 421 to generate an application window corresponding to an application program.
The pressure sensor 480A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 480A may be disposed on the display screen 494. The pressure sensor 480A may be of a variety of types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 480A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 494, the electronic apparatus 100 detects the intensity of the touch operation based on the pressure sensor 480A. The electronic apparatus 100 may also calculate the touched position based on the detection signal of the pressure sensor 480A. In the embodiment of the application, the user can apply different-strength pressure in the application window on the display screen so as to realize different interactive operations aiming at the application window.
The touch sensor 480K is also referred to as a "touch panel". The touch sensor 480K may be disposed on the display screen 494, and the touch sensor 480K and the display screen 494 form a touch screen, which is also referred to as a "touch screen". The touch sensor 480K is used to detect a touch operation applied thereto or thereabout. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 494. In other embodiments, the touch sensor 480K may be disposed on a surface of the electronic device 100 at a different position than the display screen 494. In this embodiment, the touch sensor 480K may detect a position in the application window touched by the user, and further generate an interactive instruction associated with the application window.
The infrared transmitter 495 may be an infrared lamp and may emit infrared light to illuminate a human face to form a light spot on the human eye. In this embodiment of the present application, the infrared emitter 495 may assist in eye tracking, determine a moving trajectory of a gaze point of a user in an application window, and generate an instruction associated with the application window.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a window display method according to an embodiment of the present application, applied to an electronic device, where as shown in the figure, the window display method includes:
step 201, the electronic device displays a first display interface.
The first display interface comprises a first number of application windows, and the first number is a positive integer.
Wherein the first number of application windows do not overlap with each other.
The application window in the electronic equipment is used for displaying an application interface of an application program in the electronic equipment.
At step 202, the electronic device detects an open instruction for a second number of application windows.
Wherein the second number is a positive integer.
Wherein detecting an open instruction for a second number of application windows may be:
detecting that a user clicks icons of a second number of application programs on a display interface to obtain opening instructions for the second number of application windows; or, determining opening instructions for a second number of application windows according to an eye tracking technology and an air-space gesture detection technology, specifically, the electronic device may detect gestures made by a user in a detection range, when detecting that a first opening gesture exists in the detection range, the electronic device determines a gaze point of the user on the display interface through the eye tracking technology, determines opening instructions for the second number of application windows according to a movement track of the gaze point in the display interface and a dwell time of each position point in the movement track, specifically, the first opening gesture may be a fist, a second number of values is equal to 1, that is, the second number of application windows are the first application windows, when detecting that the fist gesture exists in the detection range, the electronic device detects the gaze point of the user, determines the dwell time of each position point in the movement track and the movement track of the display interface, if the electronic device detects that the movement track of the point of regard on the icon of the first application program is a first movement track, the first movement track includes N position points, N is a positive integer, and the total time length of stay of the point of regard at the N position points is greater than or equal to a preset time length (for example, the preset time length may be 2 seconds), a start instruction for starting the first application window corresponding to the first application program is generated.
After the electronic device detects the opening instructions for the second number of application windows, the method may further include: the electronic device determines whether the third number is less than or equal to a preset number, and if the third number is less than or equal to the preset number, the electronic device executes step 203; if the third number is larger than the preset number, the electronic device pops up a prompt box on the first display interface for prompting that the application window opened by the user currently is too many, so that the user cannot view the application window conveniently.
Step 203, the electronic device generates a second display interface according to the parameters of the application windows, and any two application windows in the second display interface are not overlapped.
Wherein the parameters of the application window comprise at least one of the following: the number of the application windows, the types of the application programs corresponding to the application windows, the use frequency and the user-defined priority.
The generating of the second display interface specifically refers to: the electronic device generates data for displaying the second display interface, and then the electronic device can display the second display interface on the display screen according to the data of the second display interface.
And step 204, the electronic equipment displays a second display interface.
The second display interface comprises a first number of application windows and a second number of application windows.
It can be seen that, in the embodiment of the present application, first, the electronic device displays a first display interface, where the first display interface includes a first number of application windows, and the first number is a positive integer; secondly, detecting opening instructions aiming at a second number of application windows, wherein the second number is a positive integer; secondly, generating a second display interface according to the parameters of the application windows, wherein any two application windows in the second display interface are not overlapped, and the parameters of the application windows comprise at least one of the following: the number of the application windows, the types of the application programs corresponding to the application windows, the use frequency and the user-defined priority; and finally, displaying a second display interface. Therefore, in the embodiment of the application, when the electronic device detects the opening instruction for the second number of application windows, that is, when it is determined that the plurality of application windows need to be displayed in the display interface, the display interface can be quickly adjusted, so that any two application windows in the adjusted second display interface are not overlapped, and the shielding of the display content is avoided.
In one possible example, the parameters of the application windows include a number of the application windows, the number of the application windows is a third number, and a second display interface is generated according to the parameters of the application windows, including; inquiring a preset database according to the third quantity to obtain a target window layout strategy, wherein the preset database comprises a corresponding relation between the quantity and the window layout strategy; determining the positions and the display areas of a third number of application windows according to the target window layout strategy, wherein the third number of application windows consist of a first number of application windows and a second number of application windows; and generating a second display interface according to the positions and the display areas of the third number of application windows.
The electronic device can pre-store window layout strategies aiming at different numbers of application windows, and the application windows in the display interface set according to the window layout strategies are not overlapped with each other. The window layout strategy stored in the electronic equipment is a layout strategy adapted to the display interface of the electronic equipment, namely the window layout strategy can divide the display interface according to the display area and proportion of the display interface of the electronic equipment and the number of application windows, so that the display interface space is fully utilized and the shielding of the display contents between the windows is avoided.
Therefore, in this example, the electronic device may determine the adapted window layout policy according to the number of the current application windows, and further determine the display area and the position of the application windows in the second display interface, so that the application windows in the second display interface may fully utilize the space of the display interface, and the display content is prevented from being blocked due to the overlapping of the application windows.
In one possible example, the target window layout strategy divides the display interface into a third number of display regions, the target window layout strategy including locations of the third number of display regions, display areas, and a first arrangement order; determining the positions and the display areas of a third number of application windows according to the target window layout strategy, wherein the determining comprises the following steps: generating a second arrangement sequence of a third number of application windows according to the parameters of the application windows; determining a one-to-one correspondence between a third number of display areas and a third number of application windows according to the first arrangement order and the second arrangement order; and determining the positions and the display areas of the third number of application windows according to the positions and the display areas of the third number of display areas and the one-to-one corresponding relation.
The one-to-one correspondence is specifically determined according to the display areas and the application windows with the same sequence numbers in the first arrangement sequence and the second arrangement sequence; for example, the display area with the serial number of "one" and the application window with the serial number of "one" establish a one-to-one correspondence.
For example, if the third number is equal to 3, the current target window layout strategy divides the display interface into 3 display areas, and then the electronic device determines the application window corresponding to each display area in the 3 display areas, so that the corresponding application window is displayed in each display area in the second interface.
Therefore, in this example, the target window layout strategy may divide the display interface into display areas equal in number to the application windows in advance, and then display the application windows in the display areas corresponding to the application windows, so that efficiency of determining the display areas and positions of the application windows is improved, and the speed of adjusting the first display interface to be the second display interface by the electronic device is improved.
Optionally, the opening time of a third number of application windows is obtained; sequencing the third number of application windows according to the opening time of the third number of application windows to obtain a second arrangement sequence of the third number of application windows; in the first arrangement sequence, the third number of display regions are arranged from large to small according to the display area, namely the larger the area of the display regions is, the more ahead the serial numbers corresponding to the display regions are; in the second arrangement order, the closer the opening time of the application window is to the current time point, the earlier the serial number of the application window is in the second arrangement order.
In one possible example, the parameters of the application windows include application types of a third number of application windows; generating a second arrangement order of a third number of application windows according to the parameters of the application windows, comprising: dividing the third number of application windows into an interactive type and a non-interactive type; sequencing application windows of the interaction class to obtain a first subsequence; sequencing the non-interactive application windows to obtain a second subsequence; and arranging the second subsequence to the first subsequence to obtain a second arrangement sequence.
And the third number of display areas in the first arrangement sequence are arranged from large to small according to the areas of the display areas.
The ranking order of the first subsequence may be sorted according to the closest interaction time point of the application window, and the closer the closest interaction time point of the application window in the first subsequence is to the current time point, the earlier the order of the application window in the first subsequence is. Wherein, the interaction time point refers to the time point when the electronic device receives the instruction associated with the application window. For example, the display interface displays the application window, and the user may perform operations such as clicking, sliding, and the like on the content of the application window, where the operations all generate an instruction associated with the application window, that is, the electronic device receives the instruction associated with the application window.
For example, the current time point is 2:00, and the total number of the application windows in the interaction class is 3, wherein the latest interaction time point of the first application window is 1: 50; the last interaction time point of the second application window is 1: 59; the last interaction time point of the third application window is 1: 55; if the time length corresponding to the first application window is 10 minutes, the time length corresponding to the second application window is 1 minute, and the time length corresponding to the third application window is 5 minutes, then the sequence of the first subsequence is: a second application window, a third application window, and a first application window.
The second subsequence may be arranged according to the opening time of the application window, and the closer the opening time of the application window in the second subsequence is to the current time point, the earlier the application window is in the second subsequence.
The generation of the second permutation order is exemplified: the third number is 4, wherein 2 application windows of the interactive class and 2 application windows of the non-interactive class are provided; in the first subsequence, the sequence number 1 is a first application window, and the sequence number 2 is a second application window; the sequence number of the second subsequence is the third application window with the sequence number of 1, and the sequence number of the second subsequence is the fourth application window with the sequence number of 2; then, in a second permutation order generated according to the first subsequence and the second subsequence: the serial number of the first application window is number 1, the serial number of the second application window is number 2, the serial number of the third application window is number 3, and the serial number of the fourth application window is number 4.
The one-to-one correspondence between the third number of application windows and the third number of display areas generated by the first arrangement order and the second arrangement order is specifically: establishing a corresponding relation between the display area and the application window which are in the same serial number in the first arrangement sequence and the second arrangement sequence; for example, the display area with the serial number of No. 3 in the first arrangement order and the application window with the serial number of No. 3 in the second arrangement order establish a corresponding relationship.
As can be seen, in this example, the electronic device may perform sorting according to different types of application windows, so that the application window that has been most recently interacted by the user is located at the front position of the second arrangement order; meanwhile, the display areas in the first arrangement sequence are arranged from large to small; therefore, the display area corresponding to the application window which is interacted by the user recently is larger, the user can further interact with the application window conveniently, and the intelligence of the electronic equipment is improved.
In one possible example, the first number and the second number are both equal to 1, the second display interface includes a first application window and a second application window, and after displaying the second display interface, the method further includes: detecting a first operation aiming at a first application window; responding to the first operation, and adjusting the second display interface to be a third display interface, wherein the third display interface comprises: the second application window and the first floating window are displayed in a third display interface: the display area of the second application window is equal to the area of the third display interface, the display area of the second application window in the second display interface is smaller than the area of the second application window in the third display interface, the first floating window corresponds to the first application window, and the first floating window is displayed in the third display interface according to the preset transparency.
The first application window and the second application window both include preset identifiers, where the detection of the first operation for the first application window may be: and the time for the user to touch the preset mark on the display interface reaches the preset duration.
And the first floating window is displayed on the third display interface according to the preset transparency, so that a user can view the second application through the first floating window.
Specifically, please refer to fig. 3, fig. 3 is a schematic diagram illustrating an embodiment of the present application, in which the second display interface is adjusted to a third display interface.
In one possible example, after displaying the second display interface, the method further comprises: detecting a first instruction associated with a third application window; responding to the first instruction, and judging whether the third application window is the application window with the largest display area in the second display interface; and if not, adjusting the third application window to be the application window with the largest display area in the second display interface.
Wherein the first instruction to detect the association of the third application window may be to detect that the user clicked on the first application window.
Specifically, referring to fig. 4, fig. 4 is a schematic diagram of updating a second display interface according to an embodiment of the present application, where a third number of application windows in fig. 4 include a first application window, a second application window, a third application window, and a fourth application window; in fig. 4, before the user clicks the first application window, the display areas corresponding to the first application window, the third application window, and the fourth application window are all smaller than the display area corresponding to the second application window, and after the user clicks the first application window, the electronic device adjusts the first application window to the application window with the largest display area.
As can be seen, in this example, when a user needs to interact with a certain application window, the user can click the application window, and the electronic device performs too much adjustment on the position of the application window, so as to enlarge the application window, thereby facilitating the user to interact with the application window.
In one possible example, detecting a first instruction associated with a third application window includes: detecting a selection instruction of a user for a third application window; or detecting that the third application program receives the new message, wherein the third application program is an application program corresponding to the third application window.
Specifically, the detection of the selection instruction of the user for the third application window may be: and clicking a third application window in the second display interface by the user.
In one possible example, after the second display interface is generated according to the parameters of the application window and before the second display interface is displayed, the method further includes: detecting that the display area of the fourth application window is smaller than or equal to a preset display area; and switching the display mode of the fourth application window from the first display mode to a second display mode, wherein the function selection item corresponding to the second display mode is smaller than the function selection item corresponding to the first display mode.
For example, the fourth application window is an application window corresponding to a computer application program; the computer application window comprises the following steps in a first display mode: adding, subtracting, multiplying and dividing calculation, root number opening, trigonometric function calculation and other functional options; the computer application window only comprises the functional options of addition, subtraction, multiplication and division calculation in the second display mode.
Therefore, in this example, the electronic device can adapt the display mode according to the display area of the current application window, and the intelligence of the electronic device is improved.
In one possible example, after detecting the opening instruction for the second number of application windows and before generating the second display interface according to the parameters of the application windows, the method further includes: displaying a second number of application windows in a stacked manner on the first display interface; displaying a first function icon on a first display interface, wherein the first function icon is used for generating a second display interface under the condition of being triggered; and receiving a triggering instruction aiming at the first function icon.
Specifically, please refer to fig. 5, fig. 5 is a schematic diagram illustrating an adjustment from a first display interface to a second display interface according to an embodiment of the present application; as shown in the figure, firstly, the electronic device displays a first application window, a second application window, a third application window and a fourth application window in a first display interface in a stacking manner (the four application windows are a set of a first number of application windows and a second number of application windows); simultaneously, the electronic equipment displays a first function icon on a first display interface; secondly, when the user clicks the sorting key (namely the electronic equipment receives an instruction of the sorting key), the icon state of the sorting key is changed so as to feed back the click of the user; and then, the electronic equipment generates a second display interface according to the first application window, the second application window, the third application window and the fourth application window, wherein the four application windows in the second display interface are not overlapped with each other.
As can be seen, in this example, the electronic device may display the sort key when the plurality of application windows are opened in the first display interface and the plurality of application windows are displayed in a stacked manner, so as to conveniently and quickly sort the plurality of application windows and generate the second display interface.
In one possible example, after displaying the second display interface, the method further comprises: detecting that a second display interface comprises an empty display area; and displaying icons of at least one recommended application program in the empty display area.
The empty display area refers to an area of the second display interface where no application window is displayed.
Therefore, in this example, the electronic device can display the icon of the recommended application program in the empty display area, so that the user can conveniently open the corresponding application program, and the intelligence of the electronic device is improved.
In one possible example, after the second display interface is generated according to the parameters of the application window and before the second display interface is displayed, the method further includes: displaying a pre-display position corresponding to each application window in the second number of application windows on the first display interface, wherein the pre-display position is displayed in the first display interface according to a preset form; a confirmation instruction for the pre-display position is received.
The preset form may be a dashed box, that is, the electronic device displays the pre-display position of each application window on the first display interface by using the dashed box.
Wherein, receiving the confirmation instruction for the preset display position may be: the electronic device detects that a user touches a pre-display position in the display interface.
In one possible example, detecting an open instruction for a second number of application windows includes: detecting clicking operation aiming at a second number of application icons in at least one application icon, wherein the second number of application icons and a second number of application windows are in a corresponding relation, and the application icons and the application windows are in a one-to-one corresponding relation; open instructions for a second number of application windows are generated. For example, referring to fig. 6, fig. 6 is a schematic diagram of generating a second display interface according to an embodiment of the present application, where the first number and the second number are both equal to 1, in the first display interface of fig. 6, the electronic device displays a first application window and a sidebar, when a user clicks a C application icon in the sidebar, that is, the electronic device detects an open instruction for the C application window corresponding to the C application icon, and the electronic device generates the second display interface according to the first application window and the C application window. As can be seen, in this example, when the electronic device detects a selection instruction for an application icon, the electronic device may generate an open instruction for an application window corresponding to the application icon.
In one possible example, before detecting an open instruction for a second number of application windows, the method further comprises: detecting a first gesture in a first area of a first display interface, wherein the first gesture is used for calling out a sidebar in a preset area of the first display interface; the method comprises the steps that a sidebar is displayed in a preset area, the sidebar comprises at least one application icon, and when a selection instruction for a first application icon in the at least one application icon is received, an application window corresponding to the first application icon can be opened.
Referring to fig. 7, fig. 7 is a schematic view of a display interface provided in an embodiment of the present application, as shown in the figure, an electronic device may display a sidebar above the display interface, and when a user clicks an application icon in the sidebar of the electronic device, that is, the electronic device detects a selection instruction for the application icon, the electronic device opens an application window corresponding to the application icon.
Specifically, please refer to fig. 8, and fig. 8 is a schematic diagram of a call-out sidebar provided in an embodiment of the present application, as shown in the figure, a user may slide inwards from a side frame of an electronic device to call out the sidebar, where the sidebar includes an application icon of an application program.
Therefore, the electronic equipment can call the sidebar, so that the selection instruction for the application icon can be received quickly, and the opening instruction of the application window corresponding to the application icon can be generated.
In one possible example, after adjusting the first display interface to the second display interface according to the first number of application windows and the second number of application windows, the method further includes: detecting a selection instruction for a first application window; judging whether the first application window is the application window with the largest window area in the second display interface; if not, determining a second application window in the second display interface, wherein the second application window is the application window with the largest window area in the second display interface; and interchanging the positions and display areas of the first application window and the second application window in the second display interface.
In one possible example, the method is applied to an electronic device, the electronic device is in communication connection with a smart watch, the smart watch has a gesture recognition function, and after the first display interface is adjusted to be the second display interface according to the first number of application windows and the second number of application windows, the method further includes: receiving first information sent by the smart watch, wherein the first information comprises first gesture information, and the first gesture information is used for indicating the electronic equipment to select a fourth number of application windows; selecting a fourth number of application windows according to the detected user behavior; receiving second information sent by the smart watch, wherein the second information comprises second gesture information, and the second gesture information is used for indicating the electronic equipment to select to execute a preset operation corresponding to the second gesture information; and executing preset operation aiming at the fourth quantity of application windows.
In one possible example, the electronic device has functionality to determine a point of regard of a user on the display interface, select a fourth number of application windows based on detected user behavior, including: recording a first moving track of a fixation point of a user in a second display interface; determining a fourth number of application windows with the first time point of the application windows passing through the first moving track closest to the current time point, wherein the first time point refers to the time point when the moving track reaches the application windows; a fourth number of application windows is selected.
In one possible example, selecting a fourth number of application windows in accordance with the detected user behavior includes: recording touch position points and touch time points of a user on a display screen; determining a fourth number of application windows according to the touch position points and the touch time points; a fourth number of application windows is selected.
In one possible example, the preset operation is performed for a fourth number of application windows, including: adjusting the areas of the fourth number of application windows to preset display areas, and displaying the fourth number of application windows in a preset area of the second display interface; or deleting the fourth number of application windows in the second display interface.
The embodiment of the application provides a display device of a window, and the display device of the window can be an electronic device 101 or an electronic device 102. Specifically, the display device of the window is used for executing the steps of the display method of the window. The display device of the window provided by the embodiment of the application can comprise modules corresponding to the corresponding steps.
In the embodiment of the present application, the display device of the window may be divided into the functional modules according to the above method, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The division of the modules in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 9 is a schematic diagram showing a possible configuration of a display device of a window according to the above embodiment, in a case where each functional module is divided in correspondence with each function. As shown in fig. 9, the display device 500 of the window includes a processing unit 501.
In the case where the display device of the window is the electronic apparatus 101:
the processing unit 501 is configured to display a first display interface, where the first display interface includes a first number of application windows, and the first number is a positive integer; and means for detecting an open instruction for a second number of application windows, the second number being a positive integer; and generating a second display interface according to the parameters of the application windows, wherein any two application windows in the second display interface are not overlapped, and the parameters of the application windows comprise at least one of the following: the number of the application windows, the types of the application programs corresponding to the application windows, the use frequency and the user-defined priority; and displaying the second display interface.
All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again. Of course, the display device of the window provided in the embodiments of the present application includes, but is not limited to, the above modules, for example: the display device of the window may further include a communication unit 502 and a storage unit 503. The storage unit 503 may be used to store program codes and data of the display device of the window.
In the case of using an integrated unit, a schematic structural diagram of a display device of a window provided in an embodiment of the present application is shown in fig. 10. In fig. 10, a display device 600 of a window includes: a processing module 601 and a communication module 602. The processing module 601 is used to control and manage the actions of the display device of the window, e.g., to perform the steps performed by the processing unit 501, and/or to perform other processes of the techniques described herein. The communication module 602 is used to support interaction between the display apparatus of the window and other devices. As shown in fig. 10, the window display device may further include a storage module 603, and the storage module 603 is used for storing program codes and data of the window display device, for example, contents stored in the storage unit 503.
The processing module 601 may be a Processor or a controller, and may be, for example, a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication module 602 may be a transceiver, an RF circuit or communication interface, or the like. The storage module 603 may be a memory.
All relevant contents of each scene related to the method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising a mobile terminal.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated into one control unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (14)

1. A method for displaying a window, the method comprising:
displaying a first display interface, wherein the first display interface comprises a first number of application windows, and the first number is a positive integer;
detecting opening instructions for a second number of application windows, wherein the second number is a positive integer;
generating a second display interface according to the parameters of the application windows, wherein any two application windows in the second display interface are not overlapped, and the parameters of the application windows comprise at least one of the following: the number of the application windows, the types of the application programs corresponding to the application windows, the use frequency and the user-defined priority;
and displaying the second display interface.
2. The method of claim 1, wherein the parameters of the application windows include a number of application windows, the number of application windows being a third number, and wherein generating the second display interface according to the parameters of the application windows includes;
inquiring a preset database according to the third quantity to obtain a target window layout strategy, wherein the preset database comprises a corresponding relation between the quantity and the window layout strategy;
determining the positions and the display areas of a third number of application windows according to the target window layout strategy, wherein the third number of application windows are composed of the first number of application windows and the second number of application windows;
and generating the second display interface according to the positions and the display areas of the third number of application windows.
3. The method of claim 2, wherein the target window layout strategy divides a display interface into a third number of display regions, the target window layout strategy including locations, display areas, and a first arrangement order of the third number of display regions; determining the positions and the display areas of a third number of application windows according to the target window layout strategy comprises:
generating a second arrangement sequence of the third number of application windows according to the parameters of the application windows;
determining a one-to-one correspondence between the third number of display areas and the third number of application windows according to the first arrangement order and the second arrangement order;
and determining the positions and the display areas of the third number of application windows according to the positions and the display areas of the third number of display areas and the one-to-one correspondence.
4. The method of claim 3, wherein the parameters of the application windows include an application type of the third number of application windows; generating a second ranking order of the third number of application windows according to the parameters of the application windows includes:
dividing the third number of application windows into an interactive type and a non-interactive type;
sequencing the application windows of the interaction classes to obtain a first subsequence;
sequencing the non-interactive application windows to obtain a second subsequence;
and after the second subsequence is arranged to the first subsequence, obtaining the second arrangement order.
5. The method of any of claims 1-4, wherein the first number and the second number are both equal to 1, wherein the second display interface comprises a first application window and a second application window, and wherein after displaying the second display interface, the method further comprises:
detecting a first operation on the first application window;
responding to the first operation, and adjusting the second display interface to be a third display interface, wherein the third display interface comprises: a second application window and a first floating window, in the third display interface: the display area of the second application window is equal to the area of the third display interface, the display area of the second application window in the second display interface is smaller than the area of the second application window in the third display interface, the first floating window corresponds to the first application window, and the first floating window is displayed in the third display interface according to a preset transparency.
6. The method of any of claims 1-4, wherein after displaying the second display interface, the method further comprises:
detecting a first instruction associated with a third application window;
responding to the first instruction, and judging whether the third application window is the application window with the largest display area in the second display interface;
and if not, adjusting the third application window to be the application window with the largest display area in the second display interface.
7. The method of claim 6, wherein detecting the first instruction associated with the third application window comprises:
detecting a selection instruction of a user for the third application window;
or detecting that a third application program receives a new message, where the third application program is an application program corresponding to the third application window.
8. The method according to any one of claims 2-4, wherein after the generating the second display interface according to the parameters of the application window and before the displaying the second display interface, the method further comprises:
detecting that the display area of the fourth application window is smaller than or equal to a preset display area;
and switching the display mode of the fourth application window from the first display mode to a second display mode, wherein the function selection item corresponding to the second display mode is smaller than the function selection item corresponding to the first display mode.
9. The method according to any one of claims 1-8, wherein after detecting the opening instruction for the second number of application windows and before generating the second display interface according to the parameters of the application windows, the method further comprises:
displaying the second number of application windows in a stacked manner on the first display interface;
displaying a first function icon on the first display interface, wherein the first function icon is used for generating the second display interface under the condition of being triggered;
receiving a triggering instruction aiming at the first function icon.
10. The method of claim 1, wherein after displaying the second display interface, the method further comprises:
detecting that an empty display area is included in the second display interface;
and displaying an icon of at least one recommended application program in the empty display area.
11. The method of claim 1, wherein after the generating the second display interface according to the parameters of the application window and before the displaying the second display interface, the method further comprises:
displaying a pre-display position corresponding to each application window in the second number of application windows on the first display interface, wherein the pre-display position is displayed in the first display interface according to a preset form;
receiving a confirmation instruction for the pre-display position.
12. A display device of a window, characterized in that the display device of the window comprises a processing unit, wherein,
the processing unit is used for displaying a first display interface, wherein the first display interface comprises a first number of application windows, and the first number is a positive integer; and means for detecting an open instruction for a second number of application windows, the second number being a positive integer; and generating a second display interface according to the parameters of the application windows, wherein any two application windows in the second display interface are not overlapped, and the parameters of the application windows comprise at least one of the following: the number of the application windows, the types of the application programs corresponding to the application windows, the use frequency and the user-defined priority; and displaying the second display interface.
13. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-11.
14. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-11.
CN202010682037.2A 2020-07-15 2020-07-15 Window display method and related device Active CN111782102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010682037.2A CN111782102B (en) 2020-07-15 2020-07-15 Window display method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010682037.2A CN111782102B (en) 2020-07-15 2020-07-15 Window display method and related device

Publications (2)

Publication Number Publication Date
CN111782102A true CN111782102A (en) 2020-10-16
CN111782102B CN111782102B (en) 2022-05-17

Family

ID=72767916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010682037.2A Active CN111782102B (en) 2020-07-15 2020-07-15 Window display method and related device

Country Status (1)

Country Link
CN (1) CN111782102B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241230A (en) * 2020-10-20 2021-01-19 北京字节跳动网络技术有限公司 Window display method and device of electronic equipment, terminal and storage medium
CN112269508A (en) * 2020-10-27 2021-01-26 维沃移动通信有限公司 Display method and device and electronic equipment
CN112269515A (en) * 2020-11-12 2021-01-26 Oppo广东移动通信有限公司 Multi-window processing method and device on mobile terminal, mobile terminal and medium
CN113703639A (en) * 2021-03-19 2021-11-26 腾讯科技(深圳)有限公司 Application display method and device, computer and readable storage medium
CN113805765A (en) * 2021-08-12 2021-12-17 荣耀终端有限公司 Card display method and electronic equipment
CN114416243A (en) * 2021-12-31 2022-04-29 上海洛轲智能科技有限公司 Interface display method and device of vehicle-mounted terminal and electronic equipment
WO2022126449A1 (en) * 2020-12-16 2022-06-23 深圳迈瑞生物医疗电子股份有限公司 Ventilation mode configuration method, and ventilation control device for livestock
CN114942802A (en) * 2021-02-07 2022-08-26 Oppo广东移动通信有限公司 Application switching method, device, terminal and storage medium
CN115268727A (en) * 2021-04-30 2022-11-01 华为技术有限公司 Display method and device thereof
WO2022241695A1 (en) * 2021-05-19 2022-11-24 深圳传音控股股份有限公司 Processing method, mobile terminal, and storage medium
CN116048708A (en) * 2023-03-31 2023-05-02 成都大前研软件开发有限公司 Software window adjusting method, system, equipment and medium based on artificial intelligence
CN116737022A (en) * 2022-09-14 2023-09-12 荣耀终端有限公司 Display method and electronic equipment
CN118394443A (en) * 2024-06-28 2024-07-26 比亚迪股份有限公司 Data display method, device, controller, medium, product and vehicle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995722A (en) * 2014-05-26 2014-08-20 天津三星通信技术研究有限公司 Method and device for opening multiple windows simultaneously on screen
CN104793839A (en) * 2014-01-20 2015-07-22 中兴通讯股份有限公司 Display control method and system for touch screen interface
CN105378644A (en) * 2013-05-23 2016-03-02 微软技术许可有限责任公司 User interface element for multiple displays
CN108389283A (en) * 2018-03-27 2018-08-10 苏州科艾迪信息技术有限公司 A kind of 4K automobile data recorders
CN109569214A (en) * 2018-12-24 2019-04-05 青岛海信电器股份有限公司 Application display method and device, display equipment under span mode

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105378644A (en) * 2013-05-23 2016-03-02 微软技术许可有限责任公司 User interface element for multiple displays
CN104793839A (en) * 2014-01-20 2015-07-22 中兴通讯股份有限公司 Display control method and system for touch screen interface
CN103995722A (en) * 2014-05-26 2014-08-20 天津三星通信技术研究有限公司 Method and device for opening multiple windows simultaneously on screen
CN108389283A (en) * 2018-03-27 2018-08-10 苏州科艾迪信息技术有限公司 A kind of 4K automobile data recorders
CN109569214A (en) * 2018-12-24 2019-04-05 青岛海信电器股份有限公司 Application display method and device, display equipment under span mode

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241230B (en) * 2020-10-20 2022-04-12 北京字节跳动网络技术有限公司 Window display method and device of electronic equipment, terminal and storage medium
CN112241230A (en) * 2020-10-20 2021-01-19 北京字节跳动网络技术有限公司 Window display method and device of electronic equipment, terminal and storage medium
CN112269508A (en) * 2020-10-27 2021-01-26 维沃移动通信有限公司 Display method and device and electronic equipment
CN112269515A (en) * 2020-11-12 2021-01-26 Oppo广东移动通信有限公司 Multi-window processing method and device on mobile terminal, mobile terminal and medium
WO2022100275A1 (en) * 2020-11-12 2022-05-19 Oppo广东移动通信有限公司 Multi-window processing method and device on mobile terminal, mobile terminal and medium
WO2022126449A1 (en) * 2020-12-16 2022-06-23 深圳迈瑞生物医疗电子股份有限公司 Ventilation mode configuration method, and ventilation control device for livestock
CN114942802A (en) * 2021-02-07 2022-08-26 Oppo广东移动通信有限公司 Application switching method, device, terminal and storage medium
CN113703639A (en) * 2021-03-19 2021-11-26 腾讯科技(深圳)有限公司 Application display method and device, computer and readable storage medium
CN115268727A (en) * 2021-04-30 2022-11-01 华为技术有限公司 Display method and device thereof
EP4321978A4 (en) * 2021-04-30 2024-10-09 Huawei Tech Co Ltd Display method, electronic device, storage medium and program product
CN117769696A (en) * 2021-04-30 2024-03-26 华为技术有限公司 Display method, electronic device, storage medium, and program product
WO2022241695A1 (en) * 2021-05-19 2022-11-24 深圳传音控股股份有限公司 Processing method, mobile terminal, and storage medium
CN113805765B (en) * 2021-08-12 2022-08-02 荣耀终端有限公司 Card display method and electronic equipment
CN113805765A (en) * 2021-08-12 2021-12-17 荣耀终端有限公司 Card display method and electronic equipment
CN114416243A (en) * 2021-12-31 2022-04-29 上海洛轲智能科技有限公司 Interface display method and device of vehicle-mounted terminal and electronic equipment
CN116737022A (en) * 2022-09-14 2023-09-12 荣耀终端有限公司 Display method and electronic equipment
CN116048708A (en) * 2023-03-31 2023-05-02 成都大前研软件开发有限公司 Software window adjusting method, system, equipment and medium based on artificial intelligence
CN116048708B (en) * 2023-03-31 2024-02-23 成都齐之之知识产权运营有限公司 Software window adjusting method, system, equipment and medium based on artificial intelligence
CN118394443A (en) * 2024-06-28 2024-07-26 比亚迪股份有限公司 Data display method, device, controller, medium, product and vehicle

Also Published As

Publication number Publication date
CN111782102B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
CN111782102B (en) Window display method and related device
WO2020238774A1 (en) Notification message preview method and electronic device
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
WO2021110133A1 (en) Control operation method and electronic device
WO2023051411A1 (en) Method for recognizing touch operation, and electronic device
CN114816167B (en) Application icon display method, electronic device and readable storage medium
CN110806831A (en) Touch screen response method and electronic equipment
EP4274217A1 (en) Display control method and apparatus, electronic device, and medium
CN112749362A (en) Control creating method, device, equipment and storage medium
CN114077465A (en) UI (user interface) rendering method and device, electronic equipment and storage medium
CN113741708A (en) Input method and electronic equipment
CN113391775A (en) Man-machine interaction method and equipment
WO2024032124A1 (en) Method for folding and unfolding scroll screen and related product
CN115268735A (en) Display method and apparatus thereof
CN104980582A (en) Screen switching method and mobile terminal
CN114564101A (en) Three-dimensional interface control method and terminal
CN111880714B (en) Page control method and related device
CN111695071B (en) Page display method and related device
CN114255505A (en) Eyeball tracking processing method and related device
CN117707320B (en) Method for controlling screen-off display, electronic equipment and storage medium
CN116679864B (en) Touch interaction processing method and electronic equipment
WO2024037542A1 (en) Touch input method, system, electronic device, and storage medium
CN114764300B (en) Window page interaction method and device, electronic equipment and readable storage medium
CN117398677B (en) Game adaptation method, game adaptation device, electronic equipment and computer readable storage medium
CN117707319B (en) Method for controlling screen-off display, electronic equipment 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