CN111399715A - Interface display method and electronic equipment - Google Patents

Interface display method and electronic equipment Download PDF

Info

Publication number
CN111399715A
CN111399715A CN202010176484.0A CN202010176484A CN111399715A CN 111399715 A CN111399715 A CN 111399715A CN 202010176484 A CN202010176484 A CN 202010176484A CN 111399715 A CN111399715 A CN 111399715A
Authority
CN
China
Prior art keywords
content
interface
input
application program
electronic device
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
CN202010176484.0A
Other languages
Chinese (zh)
Other versions
CN111399715B (en
Inventor
周斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010176484.0A priority Critical patent/CN111399715B/en
Publication of CN111399715A publication Critical patent/CN111399715A/en
Application granted granted Critical
Publication of CN111399715B publication Critical patent/CN111399715B/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
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04804Transparency, e.g. transparent or translucent windows

Landscapes

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

Abstract

The embodiment of the invention discloses an interface display method and electronic equipment, relates to the technical field of communication, and can solve the problem that the efficiency of switching and displaying interfaces of a plurality of application programs by the electronic equipment is low. The method comprises the following steps: under the condition that a target interface is displayed, acquiring first content and second content, wherein the target interface is a first interface or a second interface, the first interface is an interface of a first application program, the second interface comprises a first identifier and a second identifier, the first identifier is used for indicating the first interface, and the second identifier is used for indicating a third interface of the second application program; and updating the target interface into a fourth interface according to the first content and the second content, wherein the fourth interface comprises the first content and the second content.

Description

Interface display method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an interface display method and electronic equipment.
Background
Generally, when a user uses one application program (e.g., a chat application program) in an electronic device to chat, if the user needs to use another application program (e.g., a live application program), the user may input to the electronic device, so that the electronic device exits from a chat interface of the chat application program and displays a desktop, and then the user searches for an icon of the live application program in the desktop and inputs the icon of the live application program, so that the electronic device enters the live application program, thereby displaying an interface of the live application program; however, when the user again desires to chat using the chat-type application, the user may trigger the electronic device to switch from the interface of the live-type application to the chat interface via a plurality of inputs.
However, in the above method, since the user needs to perform multiple inputs to switch the display of the electronic device between the interfaces of the two applications, the operation of the user is complicated and time-consuming in the process of switching the interfaces of the multiple applications, which results in a low efficiency of switching the interfaces of the multiple applications.
Disclosure of Invention
The embodiment of the invention provides an interface display method and electronic equipment, which can solve the problem of low efficiency of switching and displaying interfaces of a plurality of application programs by the electronic equipment.
In order to solve the technical problem, the embodiment of the invention adopts the following technical scheme:
in a first aspect of the embodiments of the present invention, an interface display method is provided, which is applied to an electronic device, and includes: under the condition that a target interface is displayed, acquiring first content and second content, wherein the target interface is a first interface or a second interface, the first interface is an interface of a first application program, the second interface comprises a first identifier and a second identifier, the first identifier is used for indicating the first interface, and the second identifier is used for indicating a third interface of the second application program; and updating the target interface into a fourth interface according to the first content and the second content, wherein the fourth interface comprises the first content and the second content. Under the condition that the target interface is the first interface, the first content is display content in the first interface, and the second content is content to be played in a second application program running in a background; and under the condition that the target interface is the second interface, the first content is the content displayed in the first interface or the content to be displayed, and the second content is the content played in the third interface or the content to be played.
In a second aspect of the embodiments of the present invention, there is provided an electronic device, including: the device comprises an acquisition module and an updating module. The obtaining module is configured to obtain first content and second content when a target interface is displayed, where the target interface is a first interface or a second interface, the first interface is an interface of a first application, the second interface includes a first identifier and a second identifier, the first identifier is used for indicating the first interface, and the second identifier is used for indicating a third interface of a second application. And the updating module is used for updating the target interface into a fourth interface according to the first content and the second content acquired by the acquiring module, and the fourth interface comprises the first content and the second content. Under the condition that the target interface is the first interface, the first content is display content in the first interface, and the second content is content to be played in a second application program running in a background; and under the condition that the target interface is the second interface, the first content is the content displayed in the first interface or the content to be displayed, and the second content is the content played in the third interface or the content to be played.
In a third aspect of the embodiments of the present invention, an electronic device is provided, where the electronic device includes a processor, a memory, and a computer program stored in the memory and being executable on the processor, and the computer program, when executed by the processor, implements the steps of the method of the interface display method according to the first aspect.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method of the interface display method according to the first aspect.
In the embodiment of the present invention, in a case that a target interface is displayed, an electronic device may obtain first content and second content (the first content is content in a first application, and the second content is content in a second application), and update the target interface to a fourth interface (the fourth interface includes the first content and the second content) according to the first content and the second content. Under the condition that the target interface is displayed on the electronic equipment, the electronic equipment can acquire the first content and the second content and update the target interface to a fourth interface comprising the first content and the second content, so that a user can directly watch the content in the first application program and the content in the second application program through the fourth interface without inputting for multiple times, the electronic equipment can switch and display the interfaces of the two application programs back and forth, the operation of the user can be simplified, time consumption can be saved, and the efficiency of switching and displaying the interfaces of the multiple application programs by the electronic equipment can be improved.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a method of displaying an interface according to an embodiment of the present invention;
fig. 3 is a second schematic diagram illustrating a method for displaying an interface according to an embodiment of the present invention;
fig. 4 is a third schematic diagram illustrating a method of displaying an interface according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 6 is a second schematic diagram of an example of an interface of a mobile phone according to the embodiment of the present invention;
fig. 7 is a third schematic diagram of an example of an interface of a mobile phone according to the embodiment of the present invention;
fig. 8 is a fourth schematic view of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 9 is a fifth schematic view of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 10 is a sixth schematic view of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 11 is a seventh schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 12 is an eighth schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 13 is a ninth schematic diagram illustrating an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 15 is a second schematic structural diagram of an electronic apparatus according to a second embodiment of the invention;
fig. 16 is a third schematic structural diagram of an electronic apparatus according to an embodiment of the invention;
fig. 17 is a fourth schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 18 is a fifth schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 19 is a sixth schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 20 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
The terms "first" and "second," and the like, in the description and in the claims of embodiments of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first content, the second content, and the like are for distinguishing different contents, and are not for describing a specific order of contents.
In the description of the embodiments of the present invention, the meaning of "a plurality" means two or more unless otherwise specified. For example, a plurality of elements refers to two elements or more.
The term "and/or" herein is an association relationship describing an associated object, and means that there may be three relationships, for example, a display panel and/or a backlight, which may mean: there are three cases of a display panel alone, a display panel and a backlight at the same time, and a backlight alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, input/output denotes input or output.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The embodiment of the invention provides an interface display method and electronic equipment, and under the condition that the electronic equipment displays a target interface, the electronic equipment can acquire first content and second content and update the target interface to a fourth interface comprising the first content and the second content, so that a user can directly watch the content in a first application program and the content in a second application program through the fourth interface without inputting for many times by the user, the electronic equipment can switch and display between interfaces of two application programs, the operation of the user can be simplified, time consumption is saved, and the efficiency of switching and displaying the interfaces of multiple application programs by the electronic equipment can be improved.
The interface display method and the electronic device provided by the embodiment of the invention can be applied to the process of updating the interface of the electronic device. In particular, the method can be applied to the process that the electronic equipment updates the interface according to the contents in the plurality of interfaces.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment to which the interface display method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention, in fig. 1, the architecture of the android operating system includes 4 layers, which are an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, L inux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of the android operating system and belongs to the lowest layer of a software layer of the android operating system, and the kernel layer provides core system services and hardware-related drivers for the android operating system based on L inux kernels.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the interface display method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the interface display method may operate based on the android operating system shown in fig. 1. Namely, the processor or the electronic device can implement the interface display method provided by the embodiment of the invention by running the software program in the android operating system.
The electronic device in the embodiment of the invention can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
An interface display method and an electronic device provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
In the embodiment of the invention, when a user watches a live broadcast picture by using a live broadcast application program in electronic equipment, if the user needs to use a chat application program, the user can firstly input the electronic equipment so that the electronic equipment operates the live broadcast application program in a background, quits from the interface of the live broadcast application program and displays a desktop, and then inputs an icon of the chat application program in the desktop so that the electronic equipment enters the chat application program and displays the interface of the chat application program. When the user needs to use the live application program again to watch live broadcasting, the electronic device can acquire the content in the interface of the chat application program and the live content in the interface of the live application program, so that the electronic device can simultaneously display the content in the interface of the chat application program and the live content in the interface of the live application program in one interface, and the user can watch the content in the interfaces of the two application programs (namely the chat application program and the live application program) through the one interface.
In one scenario, a user may start an "interface embedding" function in a setting application of an electronic device, so that the electronic device may detect whether all applications running in a background of the electronic device include an application having an application name that is the same as a preset application name (i.e., a live application) and whether there is live content (e.g., live game) in the live application under the condition that an interface of a chat application is displayed, and may acquire display content in the interface of the chat application and live content in the interface of the live application under the condition that it is determined that the live application runs in the background of the electronic device and there is live content in the live application under the condition that there is live content in the live application.
In another scenario, when the electronic device displays an interface of a chat application program and the electronic device runs a live application program in a background, a user can perform press input on the interface of the chat application program, so that the electronic device switches the interface of the chat application program to a split-screen display interface, and the user can drag the interface of the live application program in the split-screen display interface to the interface of the chat application program, so that the electronic device can obtain display content in the interface of the chat application program and live content in the interface of the live application program.
In another scenario, when the electronic device displays an interface of a chat application and runs a live application in a background of the electronic device, a user may perform double-click input on a home key of the electronic device, so that the electronic device may switch a desktop to a background multi-program interface, and thus the user may drag an icon of the live application in the multi-program interface to the icon of the chat application, so that the electronic device may obtain content in the interface of the chat application and live content in the interface of the live application.
In the embodiment of the invention, a user can directly and simultaneously watch the content in the interface of the chat application program and the live content in the interface of the live application program through one interface without inputting for many times by the user so as to switch between the interfaces of the two application programs, thus the operation of the user can be simplified, and the efficiency of switching and displaying the interfaces of the multiple application programs by the electronic equipment can be improved.
Fig. 2 shows a flowchart of an interface display method provided in an embodiment of the present invention, and the method can be applied to an electronic device having an android operating system shown in fig. 1. As shown in fig. 2, the interface display method provided by the embodiment of the present invention may include steps 201 and 202 described below.
Step 201, in the case of displaying the target interface, the electronic device acquires the first content and the second content.
In an embodiment of the present invention, the target interface is a first interface or a second interface, the first interface is an interface of a first application, the second interface includes a first identifier and a second identifier, the first identifier is used for indicating the first interface, and the second identifier is used for indicating a third interface of a second application.
In the embodiment of the invention, under the condition that the target interface is the first interface, the first content is the display content in the first interface, and the second content is the content to be played in the second application program running in the background; and under the condition that the target interface is the second interface, the first content is the content displayed in the first interface or the content to be displayed, and the second content is the content played in the third interface or the content to be played.
Optionally, in this embodiment of the present invention, the second interface may specifically be a split-screen display interface or a background multi-program interface.
It should be noted that, the above "split screen display interface" may be understood as: and displaying the interface of the first application program (namely the first interface) and the interface of the second application program (namely the third interface) in a split screen mode. The background multi-program interface can be understood as follows: the interface with the interface identifiers of all the application programs running in the background of the electronic equipment (namely the identifiers indicating the interfaces of the application programs) is displayed.
Optionally, in the embodiment of the present invention, a user may start an "interface embedding" function in a setting application program of the electronic device, so that when the electronic device displays the first interface, if it is detected that the second application program runs in the background and the content to be played exists in the second application program, the first content and the second content are acquired.
Optionally, in the embodiment of the present invention, when the first application program runs in the foreground of the electronic device and the second application program runs in the background of the electronic device, the user may perform one input (for example, a long press input) on the electronic device, so that the electronic device may update the first interface to the split-screen display interface (the split-screen display interface includes the first identifier and the second identifier), and thus the user may input the first identifier and the second identifier in the split-screen display interface, so that the electronic device may obtain the first content and the second content.
Optionally, in the embodiment of the present invention, when the electronic device displays a desktop and runs the first application and the second application in a background, the user may perform one input (for example, double-click input) on a physical key (for example, a home key) of the electronic device, so that the electronic device may update the desktop to a background multi-program interface (the background multi-program interface includes the first identifier and the second identifier), and thus the user may input the first identifier and the second identifier in the target interface, so that the electronic device may obtain the first content and the second content.
Optionally, in this embodiment of the present invention, the first identifier may specifically be any one of the following: thumbnail and name of the first interface, etc.; the second identifier may specifically be any one of: thumbnail and name of the third interface, etc.
Optionally, in this embodiment of the present invention, the first application program may be any one of the following: chat application programs, web page application programs, live broadcast application programs and the like; the second application program may be any one of: chat type application programs, web page type application programs, live broadcast type application programs and the like.
Optionally, in this embodiment of the present invention, the type of the first application may be different from the type of the second application.
In the embodiment of the invention, under the condition that the target interface is the first interface, the first application program is an application program running in a foreground, and the second application program is an application program running in a background.
In the embodiment of the present invention, under the condition that the target interface is the second interface, if the second interface is the split-screen display interface, the first application program and the second application program are both application programs running in the foreground, the first content is the content displayed in the first interface, and the second content is the content played in the third interface; and if the second interface is a background multi-program interface, the first application program and the second application program are both background running application programs, the first content is content to be displayed in the first interface, and the second content is content to be played in the third interface.
Optionally, in the embodiment of the present invention, the first interface may specifically be an interface currently displayed when the first application program is run in the foreground of the electronic device; or, the interface displayed by the second application program may be specifically an interface that is displayed by the electronic device when the first application program is switched from foreground operation to background operation for the last time.
Optionally, in the embodiment of the present invention, the third interface may specifically be an interface displayed by the second application program when the electronic device switches the second application program from foreground operation to background operation for the last time.
Optionally, in this embodiment of the present invention, the electronic device may detect the first interface and the third interface to obtain the first content and the second content.
It should be noted that the above "content to be displayed" can be understood as: under the condition that the electronic device runs a certain application program in the background, the user can trigger the electronic device to run the certain application program in the foreground, so that the electronic device can display the content (namely, the content in the interface of the certain application program). The "content to be played" may be understood as: when an application program runs in the background of the electronic device, and a user may trigger the electronic device to run the application program in the foreground, so that the electronic device may play the playing content (i.e., the playing content in the interface of the application program).
Optionally, in an embodiment of the present invention, the first content may include at least one of the following: the method comprises the steps of (1) character content, picture content, link information and account identification; the second content may specifically be live content.
Optionally, in this embodiment of the present invention, the first content includes a first account identifier and a second account identifier, where the first account identifier is used to indicate a sender that sends information through the first application program, and the second account identifier is used to indicate a receiver that receives information through the first application program.
Optionally, in this embodiment of the present invention, the first account identifier may specifically be an avatar of the sender; the second account identifier may specifically be an avatar of the recipient.
Optionally, in an embodiment of the present invention, the second content is a live content in a first form, where the first form is at least one of: text form, picture form, link form, and video form.
It should be noted that the above "text form" can be understood as: the form of the current live picture is described by text. The above "picture form" can be understood as: the form of the current live view is indicated by one or more frames of pictures. The "link-form live content" can be understood as: a form of link associated with the live view is displayed. The above "live content in video form" can be understood as: a form of video associated with the live view is displayed.
Optionally, in an embodiment of the present invention, the target interface is a first interface. Specifically, referring to fig. 2, as shown in fig. 3, before "acquiring the first content and the second content" in step 201, the interface display method provided in the embodiment of the present invention further includes step 301 described below, and step 201 may be specifically implemented by step 201a described below.
Step 301, under the condition that the target interface is displayed, the electronic device detects whether the electronic device runs the second application program in the background and whether the content to be played exists in the second application program.
Optionally, in the embodiment of the present invention, a user may search for an "interface embedding" option in a setting application program, and perform selection input on the "interface embedding" option, so that the electronic device starts an "interface embedding" function, and thus the electronic device may detect application information of all application programs running in the background of the electronic device under the condition that a target interface is displayed, so as to determine whether the electronic device runs a second application program in the background.
Optionally, in this embodiment of the present invention, the application information may include at least one of the following: the application type of the application and the name of the application.
Optionally, in this embodiment of the present invention, the electronic device may detect content in the second application, that is, in the third interface, to determine whether there is content to be played.
Optionally, in a possible implementation manner of the embodiment of the present invention, the electronic device may detect whether a preset key character exists in the content in the third interface, to determine whether live content exists in the third interface, and to determine whether content to be played exists in the second application program.
Optionally, in another possible implementation manner of the embodiment of the present invention, the electronic device may detect an identifier of the third interface (for example, a name of the third interface), to determine whether the third interface is a live interface, so as to determine whether content to be played exists in the second application program.
Step 201a, when the second application program runs in the background of the electronic device and the content to be played exists in the second application program, the electronic device obtains the first content and the second content.
It can be understood that, if the second application program is run in the background of the electronic device and there is content to be played in the second application program, it may be considered that the user may need to use the second application program in the process of using the first application program, so that the electronic device may obtain the first content and the second content.
In the embodiment of the invention, under the condition that the first interface is displayed, the electronic device can detect whether the electronic device runs the second application program in a background and whether the second application program has the content to be played, so as to determine whether the user possibly needs to use the second application program in the process of using the first application program, and quickly acquire the first content and the second content under the condition that the user possibly needs to use the second application program, so that the use experience of the user can be improved.
Optionally, in an embodiment of the present invention, the target interface is a second interface. Specifically, referring to fig. 2, as shown in fig. 4, before "acquiring the first content and the second content" in step 201, the interface display method provided in the embodiment of the present invention further includes step 401 described below, and step 201 may be specifically implemented by step 201b described below.
Step 401, in the case of displaying the target interface, the electronic device receives a first input of a user.
In an embodiment of the present invention, the first input is input by a user to the first identifier and the second identifier.
In an embodiment of the present invention, the first input is used to trigger the electronic device to acquire content.
Optionally, in an embodiment of the present invention, the first input is specifically an input that a user drags the second identifier to the first identifier.
It should be noted that the above "dragging the second identifier to the first identifier" can be understood as: the user performs a sliding input on the display screen of the electronic device (the starting input position of the sliding input is the display position of the second identifier in the display screen, and the ending position of the sliding input is the display position of the first identifier in the display screen), so that the electronic device controls the second identifier to move to the first identifier.
The electronic device is taken as a mobile phone for illustration. As shown in fig. 5, the mobile phone displays a target interface (e.g., a split-screen display interface 10), the split-screen display interface 10 includes a first identifier (e.g., an interface 11) and a second identifier (e.g., an interface 12), the interface 11 includes first content (e.g., text content 13, a sender avatar 14, and a recipient avatar 15), and the interface 12 includes second content (e.g., text-form live content 16 and picture-form live content 17), so that a user can perform a first input.
Further illustratively, as shown in fig. 6, the mobile phone displays a target interface (e.g., the background multi-program interface 18), and the background multi-program interface 18 includes a first identifier (e.g., the interface icon 19) and a second identifier (e.g., the interface icon 20), so that the user can perform a first input.
Step 201b, the electronic device responds to the first input, and acquires the first content and the second content.
In the embodiment of the invention, under the condition of displaying the second interface, the electronic device can quickly acquire the first content and the second content according to the first input of the user, so that the use experience of the user can be improved.
Step 202, the electronic device updates the target interface to a fourth interface according to the first content and the second content.
In an embodiment of the present invention, the fourth interface includes first content and second content.
Optionally, in the embodiment of the present invention, the electronic device may display the fourth interface in a floating manner on the target interface, so as to update the target interface to the fourth interface.
Optionally, in this embodiment of the present invention, in a case that the second content does not include live content in a video format, the electronic device may display the first content in a first initial area in the fourth interface, and display the second content in a second initial area to display the fourth interface.
It should be noted that the above-mentioned "first initial region" can be understood as: the area of the fourth interface corresponds to the display area of the first content in the first interface; the above-mentioned "second initial region" can be understood as: and the area of the fourth interface corresponds to the display area of the second content in the third interface.
Illustratively, in conjunction with fig. 5, as shown in fig. 7, after the user makes a first input to the interface 11 and the interface 12, the mobile phone updates the split-screen display interface 10 to a fourth interface (e.g., an interface 21), where the interface 21 includes first content (i.e., text content 13, a sender's avatar 14, and a recipient's avatar 15) and second content (i.e., text-form live content 16 and picture-form live content 17).
Optionally, in this embodiment of the present invention, after the electronic device updates the target interface to the fourth interface, the electronic device may detect, in real time, the first content in the first interface (and/or the second content in the second interface), so that when the first content (and/or the second content) is changed, the fourth interface is updated to the fifth interface, where the fifth interface includes the changed first content (and/or the changed second content).
In the embodiment of the invention, the electronic equipment can update the target interface to the fourth interface to display the first content and the second content in the fourth interface, so that a user can watch the first content and the second content in the fourth interface without switching back and forth between the first application program and the second application program.
An embodiment of the present invention provides an interface display method, where in a case of displaying a target interface, an electronic device may obtain first content and second content (the first content is content in a first application, and the second content is content in a second application), and update the target interface to a fourth interface (the fourth interface includes the first content and the second content) according to the first content and the second content. Under the condition that the target interface is displayed on the electronic equipment, the electronic equipment can acquire the first content and the second content and update the target interface to a fourth interface comprising the first content and the second content, so that a user can directly watch the content in the first application program and the content in the second application program through the fourth interface without inputting for multiple times, the electronic equipment can switch and display the interfaces of the two application programs back and forth, the operation of the user can be simplified, time consumption can be saved, and the efficiency of switching and displaying the interfaces of the multiple application programs by the electronic equipment can be improved.
Optionally, in this embodiment of the present invention, the step 202 may be specifically implemented by the following step 202 a.
Step 202a, the electronic device displays the first content with the first transparency and displays the second content with the second transparency in the fourth interface.
In an embodiment of the invention, the first transparency is smaller than the second transparency.
Optionally, in this embodiment of the present invention, when the first transparency is 0, the first content may be displayed to cover the second content.
It is understood that, in the case where the display area of the first content overlaps the display area of the second content, the first content in the overlapped display area overlaps the second content, i.e., the user can see the first content in the overlapped display area.
Illustratively, in conjunction with fig. 5, as shown in fig. 8, after a first input is made by the user to the interface 11 and the interface 12, the mobile phone may display the text content 13, the sender's avatar 14, and the recipient's avatar 15 in the interface 21 in a first transparency, and display the text-form live content 16 and the picture-form live content 17 in a second transparency.
In the embodiment of the invention, the electronic equipment can display the first content and the second content with different transparencies so as to show that the first content and the second content belong to different application programs to a user, so that the user can accurately input the content in one application program.
Optionally, in the embodiment of the present invention, after the step 202a, the interface display method provided in the embodiment of the present invention further includes the following steps 501 to 504.
Step 501, the electronic device receives a second input of the user in the fourth interface.
In the embodiment of the present invention, the user may perform the second input in the fourth interface, so that the electronic device may display the corresponding adjustment control (i.e., the first control in the following embodiments), and thus the user may input the adjustment control, so that the electronic device may adjust the transparency of the first content and the transparency of the second content.
Optionally, in this embodiment of the present invention, the second input may specifically be a sliding input of a preset area in the fourth interface by a user.
Optionally, in this embodiment of the present invention, the preset area may be an area on an edge of a display screen of the electronic device.
It should be noted that the above "region of one edge" can be understood as: an area within a preset range of an edge line of a display screen of the electronic device.
Step 502, the electronic device responds to the second input and displays the first control on the fourth interface.
In an embodiment of the present invention, the first control is used to adjust transparency of the first content and transparency of the second content.
Optionally, in the embodiment of the present invention, the electronic device may display the first control in a preset area of the fourth interface in an overlaying manner.
Illustratively, in conjunction with fig. 8, as shown in fig. 9, the user may make a second input in the interface 21, so that the mobile phone may display a first control 23 in a preset region (e.g., the region 22), where the first control 23 is used to adjust the transparency of the first content and the transparency of the second content.
Optionally, in this embodiment of the present invention, the first control includes at least one adjustment node, and each adjustment node corresponds to a transparency of the first content and a transparency of the second content respectively.
Step 503, the electronic device receives a third input of the first control from the user.
In an embodiment of the present invention, the third input is used to trigger the electronic device to adjust transparency of the first content and transparency of the second content.
Optionally, in this embodiment of the present invention, the third input may specifically be an input of a user to a target adjustment node in the first control.
Step 504, the electronic device adjusts the first transparency to a third transparency and adjusts the second transparency to a fourth transparency in response to a third input.
Optionally, in the embodiment of the present invention, when the third transparency is greater than or equal to the first transparency, the fourth transparency is less than or equal to the second transparency; alternatively, in the case where the third transparency is less than the first transparency, the fourth transparency is greater than the second transparency.
It is understood that the electronic device may adjust the transparency of the first content up and adjust the transparency of the second content down in response to the third input; alternatively, the transparency of the first content may be adjusted down and the transparency of the second content may be adjusted up.
In the embodiment of the invention, the electronic device can display the first control according to the second input of the user, so that the user can perform third input on the first control, and the electronic device can adjust the transparency of the first content and the transparency of the second content to display the first content and the second content with the transparency meeting the requirements of the user.
Optionally, in this embodiment of the present invention, the second content includes live content in a video format, the fourth interface includes a video playing window, and the video playing window includes live content. Specifically, the step 202 can be realized by the step 202b described below.
Step 202b, displaying the first content in the first area in the fourth interface, and displaying the video playing window in the second area in the fourth interface.
In an embodiment of the invention, the second region may be a region of the fourth interface except the first region.
Optionally, in an embodiment of the present invention, the first area may specifically be an area proximate to an edge line of a display screen of the electronic device in the fourth interface; the second area may be specifically an area proximate to another edge line of the display screen in the fourth interface, where the edge line and the another edge line are two non-adjacent edge lines.
Optionally, in this embodiment of the present invention, when the first content includes the first account identifier and the second account identifier, if the second content includes live content in a video format, the electronic device may delete the first account identifier and the second account identifier in the first content, and update the target interface to the fourth interface.
Illustratively, as shown in fig. 10 (a), the mobile phone displays a target interface (e.g., a split-screen display interface 24), the split-screen display interface 24 includes a first identifier (e.g., an interface 25) and a second identifier (e.g., an interface 26), the interface 25 includes first content (e.g., text content 27, a sender avatar 28, and a receiver avatar 29), and the interface 26 includes second content (e.g., text-form live content 30, picture-form live content 31, and video-form live content (e.g., a video playing window 32)), so that a user can make a first input (i.e., an input for dragging the interface 25 to the interface 26) to the interface 25 and the interface 26; as shown in fig. 10 (B), after the user makes a first input to the interface 25 and the interface 26, the mobile phone may delete the avatar 28 of the sender and the avatar 29 of the recipient, and update the split-screen display interface 24 to a fourth interface (e.g., an interface 33), where the interface 31 includes text content 27, text-form live content 30, picture-form live content 31, and a video playing window 32.
In the embodiment of the invention, under the condition that the fourth interface comprises the video playing window, the electronic device can display the first content and the second content in different areas in the fourth interface so as to avoid the situation that the first content blocks the second content, and thus the use experience of a user can be improved.
It is to be understood that if the second content includes live content in the form of video, the electronic device may display the first content in a "condensed mode" so that the user can browse the live content in the video playing window.
Optionally, in this embodiment of the present invention, the fourth interface includes a content input box corresponding to the first application program. Specifically, after the step 202b, the interface display method provided in the embodiment of the present invention further includes the following steps 601 to 606.
Step 601, the electronic device receives a fourth input of the user to the video playing window.
According to the embodiment of the invention, the user can perform the fourth input in the video playing window, so that the electronic equipment can execute the target action, and the user can switch the input function of the content input box.
Optionally, in this embodiment of the present invention, the fourth input may specifically be a click input or a long-press input of the user on the video playing window.
Step 602, the electronic device executes the target action in response to the fourth input.
In an embodiment of the present invention, the target action is any one of: displaying prompt information and adjusting display parameters of a video playing window; the prompt information is used for prompting a user whether to switch an input function of the content input box, and the input function is to input content aiming at the first application program or the second application program.
Optionally, in the embodiment of the present invention, when the fourth input is a long press input, the electronic device may display a prompt message; in a case that the fourth input is a click input, the electronic device may adjust a display parameter of the video playing window.
The "input function of switching the content input box" may be understood as follows: the electronic equipment switches the content input of the electronic equipment aiming at one application program into the content input aiming at another application program. The above "inputting content with respect to the first application" may be understood as: the user can input content in the content input box, so that the electronic equipment can transmit the content corresponding to the content input through the first application program.
Illustratively, referring to fig. 10 (B), as shown in fig. 11, after the mobile phone updates the split-screen display interface 24 to an interface 33, the interface 33 includes a content input box 34, and the user can make a fourth input (e.g., a long press input) on the video playing window 32, so that the electronic device displays a prompt message (e.g., prompt message 35) in response to the fourth input, so that the user can make a fifth input.
Optionally, in this embodiment of the present invention, the display parameter of the video playing window may include at least one of the following: the display size and the display position of the video playing window.
Optionally, in this embodiment of the present invention, the electronic device may adjust the display size of the video playing window from a first size value to a second size value, where the first size value is smaller than the second size value.
Optionally, in this embodiment of the present invention, the electronic device may display a video playing window in a central area of the fourth interface, so as to adjust a display position of the video playing window.
Optionally, in the embodiment of the present invention, after the display parameter of the video playing window is adjusted, the electronic device may suspend and display the video playing window with the adjusted display parameter.
Illustratively, referring to fig. 10 (B), as shown in fig. 12, after the mobile phone updates the split-screen display interface 24 to an interface 33, the interface 33 includes a content input box 34, and the user can make a fourth input (e.g., click input) on the video playing window 32, so that the electronic device adjusts the display parameters of the video playing window 32 in response to the fourth input, and thus the user can make a fifth input.
Step 603, the electronic device receives a fifth input from the user.
Optionally, in the embodiment of the present invention, when the target action is to display the prompt information, the fifth input may specifically be a click input of the prompt information by the user, so that the electronic device may switch an input function of the content input box.
Optionally, in the embodiment of the present invention, when the target action is to adjust a display parameter of the video playing window, the fifth input may specifically be a click input of the video playing window after the display parameter is adjusted by a user, so that the electronic device may switch an input function of the content input box.
And step 604, the electronic equipment responds to the fifth input, switches the input function of the content input box to perform content input aiming at the second application program, and displays the virtual keyboard.
The above "inputting content to the second application" may be understood as: the user may enter content in the content entry box so that the electronic device may transmit content corresponding to the content entry through the second application.
Optionally, in this embodiment of the present invention, the electronic device may display a virtual keyboard in a floating manner on the fourth interface, where the virtual keyboard includes at least one virtual key, and each virtual key is used to indicate an input character set, and each input character set includes at least one character.
It is understood that a user may input a certain virtual key in the virtual keyboard, so that the electronic device may display at least one character corresponding to the certain virtual keyboard in a character selection area in the virtual keyboard, and thus the user may select and input a certain character in the at least one character, so that the electronic device may display the certain character in the content input box.
Step 605, the electronic device receives a sixth input from the user.
In an embodiment of the present invention, the sixth input is an input of the direct-broadcast content on the virtual keyboard by the user.
Optionally, in an embodiment of the present invention, the sixth input is specifically input of text content, image content (for example, an emoticon) or symbol content by a user.
And step 606, the electronic device responds to the sixth input, and displays input content corresponding to the sixth input in the video playing window.
Optionally, in this embodiment of the present invention, after the user performs the sixth input, the electronic device may send input content corresponding to the sixth input through the second application program, so that the electronic device may display the input content in the video playing window.
Optionally, in the embodiment of the present invention, the electronic device may display the input content corresponding to the sixth input in a text form or a bullet screen form.
Optionally, in this embodiment of the present invention, the electronic device may determine, according to history data (for example, frequency of an input form) input by the user for the live content, a display form (that is, a text form or a bullet screen form) of the input content corresponding to the sixth input in the video playing window.
Optionally, in the embodiment of the present invention, a user may set, in a setting application program, a display form of the input content in the video playing window, so that the electronic device may display the input content corresponding to the sixth input in the set display form (i.e., in a text form or in a bullet screen form).
In the embodiment of the invention, the electronic device quickly switches the input function of the content input box to the content input aiming at the second application program according to the input (namely, the fourth input and the fifth input) of the user, and displays the virtual keyboard, so that the user can directly perform the sixth input on the virtual keyboard to display the input content corresponding to the sixth input in the video playing window, and the user does not need to perform multiple inputs to switch between the first application program and the second application program back and forth, thereby improving the efficiency of switching the interfaces for displaying multiple application programs by the electronic device.
Optionally, in this embodiment of the present invention, the video playing window includes at least one second control, where each second control is respectively used to adjust a playing parameter of the live content, and the playing parameter includes at least one of the following: the parameters of playing progress, playing volume, playing brightness and playing speed. Specifically, after the step 202b, the interface display method provided by the embodiment of the present invention further includes the following steps 701 and 702.
Step 701, the electronic device receives a seventh input of the user to a target control of the at least one second control.
In the embodiment of the invention, the target control is used for adjusting the target playing parameter of the live content.
Optionally, in the embodiment of the present invention, the electronic device may display at least one second control in the video playing window when the target action is to adjust the display parameter of the video playing window.
Optionally, in an embodiment of the present invention, the at least one second control may include at least one of: the device comprises a progress bar control, a volume adjustment control, a brightness adjustment control and a play speed adjustment control.
Optionally, in the embodiment of the present invention, the progress bar control may be configured to adjust a playing progress corresponding to live content in a video playing window; the volume adjusting control can be used for adjusting the playing volume of the live content; the brightness adjusting control can be used for adjusting the playing brightness of the live broadcast content; the playing speed adjusting control can be used for adjusting the playing speed of the live content.
In an embodiment of the present invention, the seventh input is used to trigger the electronic device to adjust a playing parameter of the live content.
Optionally, in this embodiment of the present invention, the seventh input may specifically be an input of a target control by a user.
Illustratively, referring to fig. 12, as shown in fig. 13, after the mobile phone updates the split-screen display interface 24 to the interface 33, the interface 33 includes at least one second control (e.g., a progress bar control 36, a volume adjustment control 37, a brightness adjustment control 38, and a play speed adjustment control 39) and at least one third control (e.g., "next" control 40, "previous" control 41, and "download video" control 42), where the progress bar control 36 is used to adjust a play progress corresponding to the live content in the video play window 32, the volume adjustment control 37 is used to adjust a play volume of the live content, the brightness adjustment control 38 is used to adjust a play brightness of the live content, the play speed adjustment control 39 is used to adjust a play speed of the live content, the "next" control 40, and the "previous" control 41 are both used to switch the live content played in the video play window 32, the "download video" control 42 is used to save the live content in the video playback window 32 locally to the electronic device so that the user makes a seventh input.
Step 702, the electronic device adjusts the target playing parameter in response to the seventh input.
In the embodiment of the present invention, the electronic device may display a video playing window including at least one second control, so that the user may perform a seventh input on the target control, and thus the electronic device may adjust the playing parameters of the live content in the video playing window, so that the electronic device may play the live content with the playing parameters meeting the user requirements.
Fig. 14 shows a schematic diagram of a possible structure of an electronic device involved in the embodiment of the present invention. As shown in fig. 14, the electronic device 60 may include: an acquisition module 61 and an update module 62.
The obtaining module 61 is configured to obtain first content and second content when a target interface is displayed, where the target interface is a first interface or a second interface, the first interface is an interface of a first application, the second interface includes a first identifier and a second identifier, the first identifier is used for indicating the first interface, and the second identifier is used for indicating a third interface of a second application. And an updating module 62, configured to update the target interface to a fourth interface according to the first content and the second content acquired by the acquiring module 61, where the fourth interface includes the first content and the second content. Under the condition that the target interface is the first interface, the first content is display content in the first interface, and the second content is content to be played in a second application program running in a background; and under the condition that the target interface is the second interface, the first content is the content displayed in the first interface or the content to be displayed, and the second content is the content played in the third interface or the content to be played.
In one possible implementation, the target interface is a first interface. Referring to fig. 14, as shown in fig. 15, an electronic device 60 according to an embodiment of the present invention further includes: a detection module 63. The detecting module 63 is configured to detect whether the electronic device runs the second application in the background and whether the content to be played exists in the second application before the obtaining module 61 obtains the first content and the second content. The obtaining module 61 is specifically configured to obtain the first content and the second content when the detecting module 63 detects that the second application program runs in the background of the electronic device and the content to be played exists in the second application program.
In one possible implementation, the target interface is a second interface. Referring to fig. 14, as shown in fig. 16, an electronic device 60 according to an embodiment of the present invention further includes: a receiving module 64. The receiving module 64 is configured to receive a first input of the user before the obtaining module 61 obtains the first content and the second content, where the first input is an input of the first identifier and the second identifier by the user. The obtaining module 61 is further configured to obtain the first content and the second content in response to the first input received by the receiving module 64.
In a possible implementation manner, the update module 62 is specifically configured to display the first content with a first transparency and the second content with a second transparency in the fourth interface, where the first transparency is smaller than the second transparency.
In a possible implementation manner, referring to fig. 14, as shown in fig. 17, an electronic device 60 provided in an embodiment of the present invention further includes: a receiving module 64, a display module 65 and an adjustment module 66. Wherein the receiving module 64 is configured to receive a second input of the user in the fourth interface after the updating module 62 displays the second content with the second transparency. A display module 65, configured to display a first control on the fourth interface in response to the second input received by the receiving module 64, where the first control is configured to adjust transparency of the first content and transparency of the second content. The receiving module 64 is further configured to receive a third input of the first control from the user. An adjusting module 66, configured to adjust the first transparency to a third transparency and the second transparency to a fourth transparency in response to the third input received by the receiving module 64.
In a possible implementation manner, the first content includes a first account identifier and a second account identifier, where the first account identifier is used to indicate a sender sending information through the first application program, and the second account identifier is used to indicate a receiver receiving information through the first application program. The second content is live content in a first form, and the first form is at least one of the following: text form, picture form, and link form.
In a possible implementation manner, the second content includes live content in a video format, and the fourth interface includes a video playing window including live content. The update module 62 is specifically configured to display the first content in the first area of the fourth interface. Referring to fig. 14, as shown in fig. 18, an electronic device 60 according to an embodiment of the present invention further includes: a display module 65. The display module 65 is configured to display the video playing window in the second area in the fourth interface.
In a possible implementation manner, the fourth interface includes a content input box corresponding to the first application program. With reference to fig. 18, as shown in fig. 19, the electronic device 60 provided in the embodiment of the present invention may further include: a receiving module 64, an executing module 67 and a switching module 68. The receiving module 64 is configured to receive a fourth input to the video playing window from the user after the display module 65 displays the video playing window in the second area of the fourth interface. An executing module 67, configured to, in response to the fourth input received by the receiving module 64, execute a target action, which is any one of: displaying prompt information and adjusting display parameters of a video playing window, wherein the prompt information is used for prompting a user whether to switch an input function of a content input box, and the input function is to perform content input aiming at a first application program or a second application program. The receiving module 64 is further configured to receive a fifth input from the user. A switching module 68, configured to switch the input function of the content input box to content input for the second application program in response to the fifth input received by the receiving module 64. The display module 65 is configured to display a virtual keyboard. The receiving module 64 is further configured to receive a sixth input from the user, where the sixth input is input from the user on the virtual keyboard for the live content. The display module 65 is further configured to, in response to the sixth input received by the receiving module 64, display input content corresponding to the sixth input in the video playing window.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and for avoiding repetition, detailed descriptions are not repeated here.
The embodiment of the invention provides electronic equipment, and under the condition that the electronic equipment displays a target interface, the electronic equipment can acquire first content and second content and update the target interface to a fourth interface comprising the first content and the second content, so that a user can directly watch the content in a first application program and the content in a second application program through the fourth interface without inputting for many times by the user, the electronic equipment can switch and display between the interfaces of the two application programs, the operation of the user can be simplified, the time consumption can be saved, and the efficiency of switching and displaying the interfaces of the multiple application programs by the electronic equipment can be improved.
Fig. 20 is a hardware schematic diagram of an electronic device implementing various embodiments of the invention. As shown in fig. 20, electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111.
It should be noted that the electronic device structure shown in fig. 20 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown in fig. 20, or combine some components, or arrange different components, as will be understood by those skilled in the art. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to obtain first content and second content when a target interface is displayed, where the target interface is a first interface or a second interface, the first interface is an interface of a first application, the second interface includes a first identifier and a second identifier, the first identifier is used for indicating the first interface, and the second identifier is used for indicating a third interface of a second application; and updating the target interface into a fourth interface according to the first content and the second content, wherein the fourth interface comprises the first content and the second content. Under the condition that the target interface is the first interface, the first content is display content in the first interface, and the second content is content to be played in a second application program running in a background; and under the condition that the target interface is the second interface, the first content is the content displayed in the first interface or the content to be displayed, and the second content is the content played in the third interface or the content to be played.
The embodiment of the invention provides electronic equipment, and under the condition that the electronic equipment displays a target interface, the electronic equipment can acquire first content and second content and update the target interface to a fourth interface comprising the first content and the second content, so that a user can directly watch the content in a first application program and the content in a second application program through the fourth interface without inputting for many times by the user, the electronic equipment can switch and display between the interfaces of the two application programs, the operation of the user can be simplified, the time consumption can be saved, and the efficiency of switching and displaying the interfaces of the multiple application programs by the electronic equipment can be improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (L CD), an organic light-emitting diode (O L ED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 20, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes the processor 110 shown in fig. 20, the memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements the processes of the foregoing method embodiment, and can achieve the same technical effect, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be, for example, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. An interface display method is applied to electronic equipment, and is characterized by comprising the following steps:
under the condition that a target interface is displayed, acquiring first content and second content, wherein the target interface is a first interface or a second interface, the first interface is an interface of a first application program, the second interface comprises a first identifier and a second identifier, the first identifier is used for indicating the first interface, and the second identifier is used for indicating a third interface of a second application program;
updating the target interface into a fourth interface according to the first content and the second content, wherein the fourth interface comprises the first content and the second content;
when the target interface is the first interface, the first content is display content in the first interface, and the second content is content to be played in the second application program running in a background; and under the condition that the target interface is the second interface, the first content is content displayed in the first interface or content to be displayed, and the second content is content played in the third interface or content to be played.
2. The method of claim 1, wherein the target interface is the first interface;
before the obtaining the first content and the second content, the method further includes:
detecting whether the electronic equipment runs the second application program in a background or not and whether content to be played exists in the second application program or not;
the acquiring the first content and the second content includes:
and acquiring the first content and the second content when the second application program is operated in the background of the electronic equipment and the content to be played exists in the second application program.
3. The method of any of claims 1 or 2, wherein the updating the target interface to a fourth interface comprises:
displaying the first content in the fourth interface with a first transparency and displaying the second content with a second transparency, the first transparency being less than the second transparency.
4. The method of claim 1, wherein the second content comprises live content in a video format, and wherein the fourth interface comprises a video playback window comprising the live content;
the updating the target interface to a fourth interface includes:
and displaying the first content in a first area in the fourth interface, and displaying the video playing window in a second area in the fourth interface.
5. The method according to claim 4, wherein a content input box corresponding to the first application program is included in the fourth interface;
after the video playing window is displayed in the second area of the fourth interface, the method further comprises:
receiving a fourth input of the video playing window from the user;
in response to the fourth input, performing a target action, the target action being any one of: displaying prompt information and adjusting display parameters of the video playing window; the prompt information is used for prompting a user whether to switch an input function of the content input box, and the input function is to input content aiming at the first application program or the second application program;
receiving a fifth input of the user;
in response to the fifth input, switching the input function of the content input box to perform content input for the second application program, and displaying a virtual keyboard;
receiving a sixth input of a user, wherein the sixth input is an input of the user on the virtual keyboard aiming at the live content;
and responding to the sixth input, and displaying input content corresponding to the sixth input in the video playing window.
6. An electronic device, characterized in that the electronic device comprises: the device comprises an acquisition module and an updating module;
the acquisition module is used for acquiring first content and second content under the condition that a target interface is displayed, wherein the target interface is a first interface or a second interface, the first interface is an interface of a first application program, the second interface comprises a first identifier and a second identifier, the first identifier is used for indicating the first interface, and the second identifier is used for indicating a third interface of a second application program;
the updating module is configured to update the target interface to a fourth interface according to the first content and the second content acquired by the acquiring module, where the fourth interface includes the first content and the second content;
when the target interface is the first interface, the first content is display content in the first interface, and the second content is content to be played in the second application program running in a background; and under the condition that the target interface is the second interface, the first content is content displayed in the first interface or content to be displayed, and the second content is content played in the third interface or content to be played.
7. The electronic device of claim 6, wherein the target interface is the first interface;
the electronic device further includes: a detection module;
the detection module is configured to detect whether the electronic device runs the second application in a background and whether content to be played exists in the second application before the acquisition module acquires the first content and the second content;
the obtaining module is specifically configured to obtain the first content and the second content when the detecting module detects that the second application program runs in the background of the electronic device and the content to be played exists in the second application program.
8. The electronic device according to any one of claims 6 or 7, wherein the update module is specifically configured to display the first content in the fourth interface with a first transparency and display the second content with a second transparency, and wherein the first transparency is smaller than the second transparency.
9. The electronic device of claim 6, wherein the second content comprises live content in a video format, and wherein the fourth interface comprises a video playback window comprising the live content;
the update module is specifically configured to display the first content in a first area in the fourth interface;
the electronic device further includes: a display module;
the display module is configured to display the video playing window in a second area in the fourth interface.
10. The electronic device according to claim 9, wherein a content input box corresponding to the first application program is included in the fourth interface;
the electronic device further includes: the device comprises a receiving module, an execution module and a switching module;
the receiving module is configured to receive a fourth input of the video playing window from the user after the video playing window is displayed in the second area of the fourth interface by the display module;
the executing module is configured to execute a target action in response to the fourth input received by the receiving module, where the target action is any one of: displaying prompt information and adjusting display parameters of the video playing window; the prompt information is used for prompting a user whether to switch an input function of the content input box, and the input function is to input content aiming at the first application program or the second application program;
the receiving module is further used for receiving a fifth input of the user;
the switching module is used for responding to the fifth input received by the receiving module, and switching the input function of the content input box to perform content input aiming at the second application program;
the display module is used for displaying a virtual keyboard;
the receiving module is further configured to receive a sixth input of the user, where the sixth input is an input of the user on the virtual keyboard for the live content;
the display module is further configured to display, in response to the sixth input received by the receiving module, input content corresponding to the sixth input in the video playing window.
11. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the interface display method according to any one of claims 1 to 5.
CN202010176484.0A 2020-03-13 2020-03-13 Interface display method and electronic equipment Active CN111399715B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010176484.0A CN111399715B (en) 2020-03-13 2020-03-13 Interface display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010176484.0A CN111399715B (en) 2020-03-13 2020-03-13 Interface display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111399715A true CN111399715A (en) 2020-07-10
CN111399715B CN111399715B (en) 2021-03-26

Family

ID=71434429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010176484.0A Active CN111399715B (en) 2020-03-13 2020-03-13 Interface display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111399715B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794920A (en) * 2021-08-31 2021-12-14 维沃移动通信有限公司 Interface display method and device, electronic equipment and medium
CN114942802A (en) * 2021-02-07 2022-08-26 Oppo广东移动通信有限公司 Application switching method, device, terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080126943A1 (en) * 1999-06-15 2008-05-29 Microsoft Corporation System and method for recording a presentation for on-demand viewing over a computer network
KR20150109764A (en) * 2014-03-20 2015-10-02 엘지전자 주식회사 Mobile terminal and method for processing data the same
CN106020612A (en) * 2016-05-25 2016-10-12 维沃移动通信有限公司 Data display method and mobile terminal
CN106101855A (en) * 2016-06-29 2016-11-09 北京奇虎科技有限公司 A kind for the treatment of method and apparatus of games page
CN107786735A (en) * 2017-10-12 2018-03-09 深圳天珑无线科技有限公司 Music display methods, mobile terminal and computer-readable recording medium
CN108614725A (en) * 2018-05-11 2018-10-02 维沃移动通信有限公司 a kind of interface display method and terminal
CN110727522A (en) * 2019-09-29 2020-01-24 联想(北京)有限公司 Control method and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080126943A1 (en) * 1999-06-15 2008-05-29 Microsoft Corporation System and method for recording a presentation for on-demand viewing over a computer network
KR20150109764A (en) * 2014-03-20 2015-10-02 엘지전자 주식회사 Mobile terminal and method for processing data the same
CN106020612A (en) * 2016-05-25 2016-10-12 维沃移动通信有限公司 Data display method and mobile terminal
CN106101855A (en) * 2016-06-29 2016-11-09 北京奇虎科技有限公司 A kind for the treatment of method and apparatus of games page
CN107786735A (en) * 2017-10-12 2018-03-09 深圳天珑无线科技有限公司 Music display methods, mobile terminal and computer-readable recording medium
CN108614725A (en) * 2018-05-11 2018-10-02 维沃移动通信有限公司 a kind of interface display method and terminal
CN110727522A (en) * 2019-09-29 2020-01-24 联想(北京)有限公司 Control method and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114942802A (en) * 2021-02-07 2022-08-26 Oppo广东移动通信有限公司 Application switching method, device, terminal and storage medium
CN113794920A (en) * 2021-08-31 2021-12-14 维沃移动通信有限公司 Interface display method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN111399715B (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN110995923B (en) Screen projection control method and electronic equipment
CN111061574B (en) Object sharing method and electronic device
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN111459355B (en) Content sharing method and electronic equipment
CN109525874B (en) Screen capturing method and terminal equipment
CN109491738B (en) Terminal device control method and terminal device
CN111142991A (en) Application function page display method and electronic equipment
CN110888707A (en) Message sending method and electronic equipment
CN111142723B (en) Icon moving method and electronic equipment
CN109857297B (en) Information processing method and terminal equipment
CN110099296B (en) Information display method and terminal equipment
CN110752981B (en) Information control method and electronic equipment
CN111163260B (en) Camera starting method and electronic equipment
CN109189303B (en) Text editing method and mobile terminal
CN109828731B (en) Searching method and terminal equipment
CN110865745A (en) Screen capturing method and terminal equipment
CN110825295B (en) Application program control method and electronic equipment
CN111163224B (en) Voice message playing method and electronic equipment
CN111026350A (en) Display control method and electronic equipment
CN111383175A (en) Picture acquisition method and electronic equipment
CN110647277A (en) Control method and terminal equipment
CN110908750B (en) Screen capturing method and electronic equipment
CN110167006B (en) Method for controlling application program to use SIM card and terminal equipment
CN111399715B (en) Interface display method and electronic equipment
CN109284146B (en) Light application starting method and mobile terminal

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