CN115061758B - Application display method, terminal, electronic device and storage medium - Google Patents

Application display method, terminal, electronic device and storage medium Download PDF

Info

Publication number
CN115061758B
CN115061758B CN202210001386.2A CN202210001386A CN115061758B CN 115061758 B CN115061758 B CN 115061758B CN 202210001386 A CN202210001386 A CN 202210001386A CN 115061758 B CN115061758 B CN 115061758B
Authority
CN
China
Prior art keywords
window
application
content
area
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210001386.2A
Other languages
Chinese (zh)
Other versions
CN115061758A (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.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202311094507.3A priority Critical patent/CN117369916A/en
Publication of CN115061758A publication Critical patent/CN115061758A/en
Application granted granted Critical
Publication of CN115061758B publication Critical patent/CN115061758B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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/0482Interaction with lists of selectable items, e.g. menus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Landscapes

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

Abstract

The application discloses an application display method, which is applied to electronic equipment and comprises the following steps: displaying a first window of a first application, the first window comprising a preset area for displaying first content; detecting a first operation of a user on the preset area, and responding to the first operation to establish a second window of the first application, wherein the second window is a floating window or the second window and the first window are combined into a screen window; and displaying the first content in the second window.

Description

Application display method, terminal, electronic device and storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to an application display method, an electronic device, and a storage medium.
Background
When a user replies to a received mail through a terminal such as a mobile phone, the user generally needs to reply according to the specific details of the original text of the mail, so that the user may need to repeatedly switch to the original text of the mail to check the details of the original text to edit a new mail. However, when the content of the original text of the mail is relatively large, the user may need to repeatedly switch to the original text to view details, so that the user experience is poor.
Disclosure of Invention
In a first aspect, the present application provides a display method of an application, applied to an electronic device, including:
the electronic device displays a first window of a first application, wherein the first window comprises a preset area used for displaying first content;
the method comprises the steps that the electronic equipment detects first operation of a user on a preset area, and a second window of a first application is established in response to the first operation, wherein the second window is a floating window or the second window and the first window are combined into a screen window; illustratively, the first operation may be a drag operation or the like. The first operation may be, for example, a drag, a slide, or the like operation, or may be a voice input of the user.
The electronic device displays the first content in the second window.
In one embodiment of the present application, the electronic device detects a first operation of a preset area by a user, and establishes a second window of a first application in response to the first operation, including:
the electronic equipment detects a first operation of a user on a preset area, responds to the first operation, displays a first hot zone, and establishes a second window of a first application in the first hot zone.
In one embodiment of the application, the preset area is a preset control. Illustratively, the preset control may be a WebView control.
In one embodiment of the present application, the first content includes a first sub-content, a first operation of a preset area by a user is detected, and a second window of the first application is established in response to the first operation, including:
the electronic equipment detects a first operation of a user on first sub-content in a preset area, and establishes a second window of a first application in response to the first operation.
In one embodiment of the application, the electronic device displays the first content in the second window, comprising:
the first sub-content is displayed in the second window.
In a second aspect, the present application provides a terminal comprising a processor and a storage device storing an application program, which when executed by the processor, causes the terminal to perform the steps of:
the terminal displays a first window of a first application, wherein the first window comprises a preset area, and the preset area is used for displaying first content;
the terminal detects a first operation of a user on a preset area, and responds to the first operation to establish a second window of a first application, wherein the second window is a floating window or the second window and the first window are combined into a screen window;
the first content is displayed in the second window.
In one embodiment of the present application, when the application program is executed by the processor, the step of causing the terminal to execute a first operation of detecting a preset area by a user, and in response to the first operation, establishing a second window of the first application includes the steps of:
the terminal detects a first operation of a user on a preset area, responds to the first operation, displays a first hot zone, and establishes a second window of a first application in the first hot zone.
In one embodiment of the application, the preset area is a preset control.
In one embodiment of the present application, the first content includes a first sub-content, and the step of causing the terminal to perform a first operation of detecting a user on the preset area when the application program is executed by the processor, and establishing a second window of the first application in response to the first operation includes the steps of:
and detecting a first operation of a user on the first sub-content in the preset area, and responding to the first operation, and establishing a second window of the first application.
In one embodiment of the application, the application program, when executed by the processor, causes the terminal to perform the step of displaying the first content in the second window, comprising the steps of:
the terminal displays the first sub-content in the second window.
In a third aspect, the present application provides an electronic device comprising a processor and a storage device storing program instructions which, when executed by the processor, cause the electronic device to perform the display method of any one of the first aspects.
In a fourth aspect, the present application provides a computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the display method of any one of the first aspects.
Drawings
FIGS. 1A-1C are graphical interfaces of a mail application of an electronic device 100 of the prior art;
FIGS. 2A-2D are graphical interfaces of an application of the electronic device 100 provided in one embodiment of the application;
fig. 3A-3C are diagrams illustrating a graphical interface of an application of the electronic device 100 according to another embodiment of the present application;
FIGS. 4A-4D are graphical interfaces of applications of the electronic device 100 provided in accordance with another embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device 100 according to another embodiment of the present application;
fig. 6 is a software architecture block diagram of an electronic device 100 according to an embodiment of the present application;
FIG. 7 is a block diagram of the software architecture of an electronic device 100 according to one embodiment of the present application;
FIG. 8 is a schematic diagram of interactions between the software framework modules of FIG. 7.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone.
The terms "first" and "second" are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the embodiments of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
Mail applications are applications that people must have few daily activities and lives, and how to make users use mail applications more conveniently is an important topic of research by various large vendors. Referring to fig. 1A-1C, a graphical interface of a mail application of an electronic device 100 in the prior art is specifically shown, where the electronic device 100 may include a terminal device such as a mobile phone.
Fig. 1A specifically shows the text interface of a mail sent by "hor 1.Com" received by the user "hor 2. Com". The user may click on the reply control 102 in the mail application, and the mail application may jump to the editing interface for replying to the mail in response to the clicking operation by the user. Alternatively, the user may also click on the forward control 104 in the mail application so that the mail application may jump to an editing interface for forwarding mail in response to the user's click.
Further, in the prior art, when the user "hor 2.Com" replies or forwards the mail shown in fig. 1A, the editing interface of the reply or forward mail may carry the content of the original mail (i.e. the mail shown in fig. 1A). Illustratively, referring to FIG. 1B, an editing interface for a user to reply to the mail shown in FIG. 1A is shown in the interface shown in FIG. 1B. Specifically, the user may click on control 102 in FIG. 1A, and the mail application jumps to the interface illustrated in FIG. 1B in response to the user's click.
With continued reference to fig. 1B, the graphical interface of the mail application also includes a first area 106 and a second area 108, the first area 106 being used for editing the mail specific content by the user "hor 2.Com" and the second area 108 being used for displaying the content of the original mail.
The applicant has found that the user generally refers to the content of the original mail when replying to the mail in the first area 106. In the prior art, only a portion of the content of the original mail can be displayed due to the limited size of the second region 108. As in FIG. 1B, the user may drag the entire interface upward to view more of the original mail in the second area 108. Illustratively, referring to FIG. 1C, a graphical interface is shown after a user drags the interface. It can be seen that the first area 106 is hidden by the electronic device 100 while the original mail is displayed. After the user finishes viewing the original mail content, the user needs to drag downwards to return to the interface shown in fig. 1B again for mail editing. In the case of more content of the original mail, the user may need to drag the interface of the mail application repeatedly to switch between the content of the original mail and the editing area, which increases the burden of the user and is not friendly enough to the user experience.
In order to solve the above technical problem, the present application proposes an applied display method, which can be applied to the electronic device 100. The display method applied in the present application is explained and explained with reference to fig. 2A to 2D.
Fig. 2A-2D are graphical interfaces of applications of the electronic device 100, which may include mail applications, provided in one embodiment of the application.
Specifically, a first window 200 of a mail application in the electronic device 100 is shown in FIG. 2A. The first window 200 includes a first area 202 and a second area 204, where the first area 202 is used to display the mail content currently being edited by the user, and the second area 204 is used to display the text content of the original mail.
With continued reference to FIG. 2A, in one embodiment of the application, the user may select the second region 204 and drag on the second region 204. It should be noted that the entire second area 20 may be regarded as one View control (e.g., webView control), and the user may select the View control in a long press or double click manner. After the user selects the View control, operations such as dragging can be performed on the whole View control.
In one example, when the electronic device 100 detects an operation of the user dragging the second region 204, a window may be newly created in response to the dragging operation, and the window may be used to display the content of the original mail. The newly created window may be combined with the first window 200 into a screen window, or the newly created window may be a floating window. It will be appreciated that when the newly created window displays the content of the original mail, the content of the original mail in the first window 200 may not be displayed any more.
Specifically, referring to fig. 2B, after the user selects the second area 204, the user may drag the second area 204 from the start position of the arrow to the end position pointed by the arrow, the electronic device 100 may respond to the drag operation, newly create a window, and display the content of the original mail in the newly created window, where the specific display position and/or size of the newly created window of the electronic device 100 may be determined according to the touch position when the user drag is completed. It will be appreciated that the newly created window is the same window of the same application (mail application) as the first window 200.
In one example of the present application, as shown in fig. 2C, the electronic device 100 may establish the second window 206 in response to the above-mentioned user pushing operation, where the second window 206 and the first window 200 are split-screen windows. In the second window 206, the user can slide up and down to view the content of the original mail without sliding the interface content of the entire mail application.
In one example of the present application, as shown in fig. 2D, the electronic device 100 may establish a third window 208 in response to a user operation, the third window 208 being a floating window. In the third window 208, the user can slide up and down to view the content of the original mail without sliding the entire interface content. Further, the user may drag the entire third window 208 to drop it into place.
In another embodiment of the present application, the user may further establish a new window by selecting and dragging the specific content in the second area, and display a part of the content of the original mail selected by the user or the whole text content of the original mail in the new window, so as to further improve the user experience.
Referring to fig. 3A-3C, a graphical interface of an application of the electronic device 100 is provided for another embodiment of the present application. Specifically, a first window 300 of a mail application in the electronic device 100 is shown in FIG. 3A. The first window 300 includes a first area 302 and a second area 304, where the first area 302 is used to display the content currently being edited by the user, and the second area 304 is used to display the text content of the original mail.
As shown in fig. 3A, the user may select a portion of the original mail in the second area 304 and drag the selected portion of the content, for example, in fig. 3A, drag the selected portion of the content from the start position of the arrow to the end position pointed by the arrow, the electronic device 100 may respond to the drag operation, newly create a window, and display the portion of the original mail (such as the content selected by the user) or the whole content in the newly created window, where the specific display position and/or the size of the newly created window of the electronic device 100 may be determined according to the touch position (i.e., the end position pointed by the arrow) when the drag of the user is completed. It will be appreciated that the newly created window is the same window of the same application (mail application) as the first window 300. It should be noted that, in the embodiment of the present application, the new window is not limited to a manner of dragging the selected content. The selected content may also be manipulated in a number of ways to create a new window. For example, after the user selects a part of the content of the second area 304, an indication bar is displayed, and the user performs an operation on the indication for newly creating a window in the indication bar, so as to create a window.
In one example of the application, as shown in fig. 3B, the electronic device 100 may establish a second window 306 in response to an operation for dragging a portion of the content selected by the user, where the second window 306 and the first window 300 are split-screen windows. In the second window 306, the user can slide up and down to view the content of the original mail without sliding the entire interface content.
In another example of the application, as shown in fig. 3C, the electronic device 100 may also establish a third window 308 in response to an operation for dragging the portion of the content selected by the user, where the third window 308 is a floating window. In the third window 208, the user can slide up and down to view the content of the original mail without sliding the entire interface content. Further, the user may drag the entire third window 308 to drop it into place.
In another embodiment of the present application, before creating the window, the electronic device 100 may form a hot zone corresponding to the window to be formed, so as to better help the user separate the content of the original mail.
Referring to fig. 4A-4D, a graphical interface of an application of the electronic device 100 according to an embodiment of the present application is specifically provided. In particular, a first window 400 of a mail application in the electronic device 100 is shown in fig. 4A. The first window 400 includes a first area 402 and a second area 404, where the first area 402 is used to display the content currently being edited by the user, and the second area 404 is used to display the text content of the original mail.
It should be noted that, a hot zone refers to a certain area predefined on the user interface, and triggering the area may obtain a corresponding response. The hot zone in the embodiment of the application can be used for indicating the type or specific position of the new window, for example, the shape of the hot zone can be used for indicating whether the new window is a floating window or a split screen window, and the position of the hot zone is the position of the new window. Illustratively, the hot zone 406 in fig. 4B and 4C is specifically used to indicate the hot zone corresponding to the floating window. When the user drags the second area 404 or a part or all of the content selected in the second area 404 to the area corresponding to the hot area 406, that is, when the touch position of the user is located in the preset area corresponding to the hot area 406, the electronic device 100 will display the hot area 406 in response to the drag operation. In another example of the present application, when the user selects the second region 404 (i.e., the View control), or when the user selects some or all of the second region 404, the electronic device 100 may display the hotspot 406 in response to the selection.
Further, when the user drags the second area 404 or part or all of the content selected in the second area 404 to the displayed hot area, a second window 408 is newly created, where the second window corresponds to the hot area 406, that is, a floating window. Simultaneously with the creation of the second window 408, the second window 408 may display the entire content of the original mail or a portion of the content selected by the user in the second area 404.
By the application display method provided by the application, mails can be separated according to the needs of users, so that the users are prevented from switching back and forth between the original mails and the mail editing area, and the user experience is improved.
Referring now to fig. 5, a schematic structural diagram of an electronic device 100 according to an embodiment of the present application is shown, where the electronic device 100 may perform the display method according to the present application. In an embodiment of the present application, the electronic device 100 may include, but is not limited to, an electronic device such as a mobile phone, a tablet computer, and the like.
Referring to fig. 5, the electronic device 100 may include a processor 110, an antenna wireless communication module 160, a display 194, an audio module 170, a memory 121, and an antenna, and it should be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation of the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also 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 the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The wireless communication function of the electronic device 100 may be implemented by an antenna, a wireless communication module 160, a modem processor, a baseband processor, and the like.
The antenna is used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wiFi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied on the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (flex), a mini, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The internal memory 121 may be used to store computer executable program code including instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
Fig. 6 is a software configuration block diagram of the electronic device 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run time) and Hardware Abstraction Layer (HAL), and a kernel layer, which may also be denoted as a driver layer.
The application layer may include a series of application packages.
As shown in fig. 6, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 6, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, an activity manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
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, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
The activity manager is used for managing activity-related transactions such as start, state, life cycle of an application. Wherein activity is an application component that can provide a screen through which a user interacts with a mobile terminal to accomplish a task, and activity management is also referred to as interface management.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
Referring to fig. 7, a software architecture block diagram of the electronic device 100 according to an embodiment of the present application is specifically provided, where the software framework is based on the software framework shown in fig. 6.
The software framework shown in FIG. 7 specifically includes an application layer 702 and a framework layer 704
The application layer 702 may include a mail application (i.e., an email APP), and the application layer 702 may further include a service module for implementing functions related to the mail application. The service module may specifically include a service side 74020, a control side 7022, a storage side 7024, and a protocol side 7026, where the service side 7020, the control side 7022, the storage side 7024, and the protocol side 7026 cooperate with each other to implement various functions of the mail application. Specifically, the control side is used for realizing login control, receiving control, display control, editing and sending control, notification reminding control and the like. The service side 7020 is used for realizing functions such as account login, mail display, mail editing, mail notification and the like. The protocol side 7026 specifically includes related protocols supported by mail applications, such as POP3, SMTP protocols, and the like. The storage side 7024 is used to store related data of mail applications, such as account data of users, mail contents, and the like.
Further, the framework layer 704 includes, in addition to the window manager and the activity manager shown above, a drag-and-drop manager, also referred to as a drag-and-drop framework, which may be implemented as a User Interface (UI) process, which may be considered an application or process running on the electronic device 100 with system-level permissions, configured to manage drag sessions corresponding to individual window or region drag events of the mail application.
Referring to fig. 8, an interaction diagram between the software framework modules in fig. 7 is specifically an interaction diagram between the mail editing interface, the drag-and-drop framework, the window manager, the storage side, and the activity manager.
The mail editing interface is an interface for editing the mail by the user, and the interface also comprises the content of the original mail. For example, the mail editing interface may refer to the graphical interface shown in fig. 2A, 3A, or 4A.
Further, the user can select and drag a preset control or a text selected by the user in the mail editing interface. Illustratively, the preset control may be a View control corresponding to the second area 204 or 304 or 404 shown above, and the text selected by the user may be the text selected by the user in the second area 204 or 304 or 404, such as the text selected in the second area 304 of fig. 3A.
When the electronic device 100 detects that the user drags the preset control or the text selected by the user, the dragging frame starts dragging, and can identify the hot zone corresponding to the split screen window or the floating window, and the window manager can display the hot zone corresponding to the split screen window or the floating window and return to the hot zone for receiving to the mail dragging editing interface.
Further, after the drag frame starts drag, or the window manager returns to the hot zone for receiving to the drag mail editing interface, the mail editing area can query and obtain the text corresponding to the original mail from the storage side based on the identification (such as mail ID) of the original mail, then create a split screen window or a floating window through interface management (i.e. the activity manager), and display part or all of the content of the original mail in the split screen window or the floating window.
The display method of the application shown in the application can be executed through the software framework provided by the application.
In one embodiment of the present application, a computer readable storage medium is provided, comprising computer instructions which, when run on the electronic device 100, cause the electronic device 100 to perform the display method provided by the present application.
The functional units in the embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard disk, read-only memory, random access memory, magnetic or optical disk, and the like.
The foregoing is merely illustrative of specific embodiments of the present application, and the scope of the present application is not limited thereto, but any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. An application display method, which is applied to an electronic device, includes:
displaying a first window of a first application, the first window comprising a first region and a second region, the second region being for displaying first content;
detecting a first operation of a user on the second area, and responding to the first operation to establish a second window of the first application, wherein the second window is a floating window or the second window and the first window are combined into a screen window;
and displaying the first content in the second window, and stopping displaying the first content in the second area.
2. The display method according to claim 1, wherein the detecting the first operation of the second area by the user, and the establishing the second window of the first application in response to the first operation, comprises:
and detecting a first operation of a user on the second area, responding to the first operation, displaying a first hot area, and establishing a second window of the first application in the first hot area.
3. The display method according to claim 1 or2, wherein the second area is a preset control.
4. The display method according to claim 1 or2, wherein the first content includes a first sub-content, the detecting of the first operation of the second area by the user, and the establishing of the second window of the first application in response to the first operation, includes:
detecting a first operation of a user on first sub-content in the second area, and responding to the first operation, and establishing a second window of the first application.
5. The display method according to claim 4, wherein the displaying the first content in the second window includes:
and displaying the first sub-content in the second window.
6. A terminal comprising a processor and a storage device, the storage device storing an application program which, when executed by the processor, causes the terminal to perform the steps of:
displaying a first window of a first application, the first window comprising a first region and a second region, the second region being for displaying first content;
detecting a first operation of a user on the second area, and responding to the first operation to establish a second window of the first application, wherein the second window is a floating window or the second window and the first window are combined into a screen window;
and displaying the first content in the second window, and stopping displaying the first content in the second area.
7. The terminal of claim 6, wherein the application program, when executed by the processor, causes the terminal to perform the step of detecting a first operation of the second area by the user, and in response to the first operation, establishing a second window of the first application, comprising the steps of:
and detecting a first operation of a user on the second area, responding to the first operation, displaying a first hot area, and establishing a second window of the first application in the first hot area.
8. The terminal according to claim 6 or 7, wherein the second area is a preset control.
9. The terminal according to claim 6 or 7, wherein the first content comprises a first sub-content, the application program, when executed by the processor, causing the terminal to perform the detecting of the first operation of the second area by the user, the step of establishing a second window of the first application in response to the first operation comprising the steps of:
detecting a first operation of a user on first sub-content in the second area, and responding to the first operation, and establishing a second window of the first application.
10. The terminal of claim 9, wherein the application program, when executed by the processor, causes the terminal to perform the step of displaying the first content in the second window, comprising the steps of:
and displaying the first sub-content in the second window.
11. An electronic device comprising a processor and a storage device, the storage device storing program instructions that, when executed by the processor, cause the electronic device to perform the display method of any one of claims 1-5.
12. A computer readable storage medium comprising computer instructions which, when run on the electronic device, cause the electronic device to perform the display method of any of claims 1-5.
CN202210001386.2A 2021-09-08 2022-01-04 Application display method, terminal, electronic device and storage medium Active CN115061758B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311094507.3A CN117369916A (en) 2021-09-08 2022-01-04 Application display method, electronic device and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111052002 2021-09-08
CN2021110520021 2021-09-08

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202311094507.3A Division CN117369916A (en) 2021-09-08 2022-01-04 Application display method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN115061758A CN115061758A (en) 2022-09-16
CN115061758B true CN115061758B (en) 2023-09-15

Family

ID=83196890

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210001386.2A Active CN115061758B (en) 2021-09-08 2022-01-04 Application display method, terminal, electronic device and storage medium
CN202311094507.3A Pending CN117369916A (en) 2021-09-08 2022-01-04 Application display method, electronic device and storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202311094507.3A Pending CN117369916A (en) 2021-09-08 2022-01-04 Application display method, electronic device and storage medium

Country Status (1)

Country Link
CN (2) CN115061758B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561159A (en) * 2013-10-09 2014-02-05 广东明创软件科技有限公司 Sub-screen display method of mobile phone e-mails
CN107402709A (en) * 2017-06-23 2017-11-28 努比亚技术有限公司 A kind of multi-screen display method, terminal and computer-readable recording medium
US20170357437A1 (en) * 2016-06-10 2017-12-14 Apple Inc. Device, Method, and Graphical User Interface for Manipulating Windows in Split Screen Mode
CN108509110A (en) * 2018-03-30 2018-09-07 广州视源电子科技股份有限公司 The split screen display available and method, apparatus of operation, terminal device and storage medium
CN113032068A (en) * 2021-03-23 2021-06-25 维沃移动通信有限公司 Display method and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561159A (en) * 2013-10-09 2014-02-05 广东明创软件科技有限公司 Sub-screen display method of mobile phone e-mails
US20170357437A1 (en) * 2016-06-10 2017-12-14 Apple Inc. Device, Method, and Graphical User Interface for Manipulating Windows in Split Screen Mode
CN107402709A (en) * 2017-06-23 2017-11-28 努比亚技术有限公司 A kind of multi-screen display method, terminal and computer-readable recording medium
CN108509110A (en) * 2018-03-30 2018-09-07 广州视源电子科技股份有限公司 The split screen display available and method, apparatus of operation, terminal device and storage medium
CN113032068A (en) * 2021-03-23 2021-06-25 维沃移动通信有限公司 Display method and electronic device

Also Published As

Publication number Publication date
CN117369916A (en) 2024-01-09
CN115061758A (en) 2022-09-16

Similar Documents

Publication Publication Date Title
WO2021057868A1 (en) Interface switching method and electronic device
CN111597000B (en) Small window management method and terminal
US20240111473A1 (en) Distributed display method and terminal for application interface
CN111225108A (en) Communication terminal and card display method of negative screen interface
CN111367456A (en) Communication terminal and display method in multi-window mode
CN112114733B (en) Screen capturing and recording method, mobile terminal and computer storage medium
CN111656347B (en) Project display method and terminal
CN113835569A (en) Terminal device, quick start method for internal function of application and storage medium
WO2022166713A1 (en) Electronic device and display method for application thereof, and medium
CN113709026B (en) Method, device, storage medium and program product for processing instant communication message
US20240012534A1 (en) Navigation Bar Display Method, Display Method, and First Electronic Device
CN111176766A (en) Communication terminal and component display method
WO2021042881A1 (en) Message notification method and electronic device
CN114510186A (en) Cross-device control method and device
WO2023005751A1 (en) Rendering method and electronic device
CN115061758B (en) Application display method, terminal, electronic device and storage medium
CN113760164A (en) Display device and response method of control operation thereof
CN111324255A (en) Application processing method based on double-screen terminal and communication terminal
CN115525198B (en) Method for processing notification message, electronic device and computer storage medium
CN115567666B (en) Screen recording method, electronic device and readable storage medium
CN115328347B (en) Interface display method, device, terminal equipment and storage medium
CN116132790B (en) Video recording method and related device
WO2023045774A1 (en) Display method and electronic device
WO2022105755A1 (en) Font library synchronization method and apparatus, and storage medium
WO2024037346A1 (en) Page management method and electronic device

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