WO2023061281A1 - Display method and apparatus, and electronic device - Google Patents

Display method and apparatus, and electronic device Download PDF

Info

Publication number
WO2023061281A1
WO2023061281A1 PCT/CN2022/124036 CN2022124036W WO2023061281A1 WO 2023061281 A1 WO2023061281 A1 WO 2023061281A1 CN 2022124036 W CN2022124036 W CN 2022124036W WO 2023061281 A1 WO2023061281 A1 WO 2023061281A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
display
input
function
application
Prior art date
Application number
PCT/CN2022/124036
Other languages
French (fr)
Chinese (zh)
Inventor
沈明
陈哲
邓子豪
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023061281A1 publication Critical patent/WO2023061281A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Definitions

  • the present application belongs to the field of display technology, and in particular relates to a display method, device and electronic equipment.
  • Electronic devices such as smartphones and tablets are equipped with various panels through which users interact with electronic devices, such as the audio playback interface, which includes displaying song progress, displaying text, switching songs, and collecting songs.
  • the interaction form of the application interface of the application program on the electronic device is relatively single.
  • the purpose of the embodiments of the present application is to provide a display method, device, and electronic device, which can solve the problem of a single application interface interaction form of an application program on an existing electronic device.
  • the embodiment of the present application provides a display method, the method includes:
  • the application interface including a first target element, the shape of the first target element is associated with a function of the target application;
  • the form of the first target element is updated to a target form, and the target form corresponds to the target function.
  • the embodiment of the present application provides a display device, including:
  • the first display module is configured to display the application interface of the target application program, the application interface includes a first target element, and the form of the first target element is associated with the function of the target application program;
  • a receiving module configured to receive a first input from a user
  • a response module configured to trigger the target application program to execute a target function in response to the first input
  • An update module configured to update the form of the first target element to a target form, the target form corresponding to the target function.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
  • an embodiment of the present application provides an electronic device configured to execute the method described in the first aspect.
  • the electronic device displays the application interface of the target application program, the application interface includes a first target element, and the form of the first target element is associated with the function of the target application program; receiving the user's second An input; in response to the first input, triggering the target application program to execute a target function; updating the form of the first target element to a target form, the target form corresponding to the target function.
  • the form of the first target element can be updated and displayed as a form corresponding to the target function, which can improve the interaction between the user and the application interface, and enrich the appearance of the application interface.
  • the display method increases the interest.
  • FIG. 1 is a flowchart of a display method provided by an embodiment of the present application
  • 2a-2l are schematic display diagrams of a multimedia panel provided by an embodiment of the present application.
  • FIG. 3 is a structural diagram of a display device provided by an embodiment of the present application.
  • FIG. 4 is a structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
  • FIG. 1 is a flow chart of the display method provided by the embodiment of the present application. As shown in Figure 1, the display method provided by this embodiment can be executed by an electronic device, and includes the following steps:
  • Step 101 Display an application interface of a target application program, where the application interface includes a first target element, and a form of the first target element is associated with a function of the target application program.
  • a target application program is installed on the electronic device, and the target application program may be a multimedia application, a social application, or a game application, etc., which are not limited herein.
  • a first target element is displayed on the application interface, and the first target element may include one or more elements. When multiple elements are included, the multiple elements may be the same or different, and the elements may include at least one of shape and color. item.
  • the first target element includes the elements shown in the label u1 and the label u2, wherein the label u1 shows one element, and the label u2 shows another element, the shape and color of these two elements All are different.
  • the form of the first target element is associated with the function of the target application, that is, when the target application implements different functions, the form of the first target element is also different, and the form of the first target element may include a shape and at least one of color.
  • the quick display of the display interface of the multimedia application can be triggered by sliding input, for example, the input of sliding to the left from the right edge of the screen of the display screen of the electronic device.
  • This application takes a multimedia application as an example.
  • the application interface includes a visual dynamic area 201 .
  • the application interface may also include a playback control area 203 , and a function control and song information display area 202 .
  • Step 102 receiving a first input from a user.
  • the first input may be click input, slide input, voice input or gesture input, which is not limited here.
  • the first input may be an input that triggers a target function provided by the application interface.
  • Step 103 Trigger the target application program to execute a target function in response to the first input.
  • the target function may be the function of switching to the next song, the function of switching to the previous song, the function of favorite songs or the function of downloading songs, etc. wait.
  • the first input can be applied to the visual animation area, playback control area, or function control and song information display area of the application interface.
  • the playback control area, as well as the functional controls and the song information display area may include multiple functional controls, and the first input may be an input that triggers a certain functional control.
  • the playback control area can include play and pause control 9, previous song control 8, next song control 10 and audio source switching control 7;
  • function control and song information display area can include playback equipment (for example, Play via bluetooth device, or play via headphones) switching control 1, song collection control 2, song playback mode switching control, etc. 3, etc.
  • Step 104 Update the form of the first target element to a target form, where the target form corresponds to the target function.
  • the target functions are different, and the target form of the first target element is different.
  • a visual dynamic effect associated with the target function may be displayed in the visual dynamic effect area.
  • the electronic device displays the application interface of the target application program, the application interface includes a first target element, and the shape of the first target element is associated with the function of the target application program; receiving the first input from the user ; Responding to the first input, triggering the target application program to execute a target function; updating the form of the first target element to a target form, the target form corresponding to the target function.
  • the form of the first target element can be updated and displayed as a form corresponding to the target function, which can improve the interaction between the user and the application interface, and enrich the appearance of the application interface.
  • the display method increases the interest.
  • the preset area of the application interface includes a first target element
  • updating the form of the first target element to the target form includes:
  • the form of the first target element is updated to the target form.
  • the corresponding target function is to display information in the preset area.
  • the information can be explanation information, software description information, etc., corresponding to multimedia applications
  • the information can be lyrics or audiobook text, etc.; clicking other areas of the application interface except the preset area, for example, clicking controls outside the preset area, such as controls for switching songs, etc., can It is considered that the target function is not related to the preset area.
  • update the form of the first target element to the target form that is, update the form of the first target element according to the functions of different controls triggered It is the shape corresponding to the target function realized by the control.
  • the display of the first target element is canceled and the information is displayed in the preset area; in the target function If it is not related to the preset area, updating the shape of the first target element to the target shape can increase the diversity of application interface display, enhance the interaction between the application interface and users, and improve the interest.
  • the application interface includes a functional control
  • the shape of the first target element is associated with the functional control
  • the receiving the first input includes:
  • the triggering the target application program to execute the target function in response to the first input includes:
  • the updating the form of the first target element to the target form includes:
  • the form of the first target element is updated to a form corresponding to the target function control.
  • the application interface may include one or more functional controls.
  • the playback control area may include a play and pause control 9, a previous song control 8, a next song control 10, and a sound source switching control 7;
  • the functional controls and the song information display area may include a playback device (for example, play through a bluetooth device, or play through an earphone) switching control 1, a song collection control 2, a song playback mode switching control 3, and the like.
  • the target function is the play function or the pause function, and correspondingly, the form of the first target element is updated to the form corresponding to the play function or the pause function; if the first input If the favorite function is triggered, the shape of the first target element is updated to the shape corresponding to the favorite function, that is, the favorite pattern is displayed in the visual dynamic area, as shown in FIG. 2c.
  • the visual dynamic effect area After being displayed for a period of time, the visual dynamic effect area returns to the display state before displaying the favorite pattern to achieve a visual dynamic effect; if the first input triggers a loop function (for example, click on the song playback mode switching control to trigger the loop function), then A cyclic pattern is displayed in the visual animation area, as shown in Figure 2d. After being displayed for a period of time, the visual dynamic effect area returns to the display state before displaying the cyclic pattern, achieving a visual dynamic effect.
  • a loop function for example, click on the song playback mode switching control to trigger the loop function
  • canceling the display of the first target element and displaying the information in the preset area includes:
  • the target function When the target function is used to display information in the preset area, and the content of the information is empty, cancel the display of the first target element, display preset prompt information in the preset area, and After a preset time period, the display of the preset prompt information is canceled, and the first target element is displayed in the preset area.
  • the information may be lyrics or audiobook text
  • the preset area may be a visual dynamic area.
  • the electronic device obtains the text of the audio.
  • the audio text is displayed in the visual dynamic area, and the position of the displayed text matches the audio playback.
  • the audio is music
  • the third sentence of lyrics is played, the third sentence of lyrics will also be displayed in the visual dynamic area, and the lyrics will be displayed sentence by sentence according to the playback progress.
  • the audio has no text, for example, the audio is played by a pure musical instrument; or, the audio has text, but the audio source that provides the audio does not provide the text, or the electronic device is offline and cannot obtain the text from the network in real time, that is, the electronic device does not provide text in real time.
  • the text of the audio is obtained, display preset prompt information in the visual dynamic effect area; after a preset period of time, cancel the display of the preset prompt information, and display the same
  • the audio playback function matches the currently playing audio with visual dynamic effects.
  • the preset prompt information can be "the current song has no text"; if the audio has text but the text is not obtained, the preset prompt information can be "the current song does not provide text", or "the current song has no text”. The song did not get the text”. Further, the preset prompt information disappears after being displayed for a period of time, and returns to the display state before the prompt information is displayed, that is, the first target element is displayed in the preset area.
  • the preset time period may be 3 seconds or 5 seconds, which is not limited here.
  • the target application program is a multimedia application
  • the application interface is a playback interface of the target media
  • the target function is a playback source switching function
  • the application interface displaying the target application program includes:
  • the list entry of the target list is displayed as the first identifier, and the lists of other lists in the multiple lists except the target list are displayed The entrance is shown as the second logo.
  • respective list entries of multiple lists included in the application interface may be displayed, and the multiple lists may include a local list, a favorite list, and an on-play list.
  • the audio included in the local list (also called the download list) is the audio downloaded locally (downloaded to the electronic device), the audio included in the favorite list is the audio obtained by the user by triggering the favorite function, and the recently played audio is included in the playlist .
  • the audio in the local list may include audio from sound sources provided by at least two audio applications installed on the electronic device. For example, if the electronic device has audio application A and audio application B installed, the audio in the local list includes Audio a and audio b, audio a is provided by the audio source of audio application A, and audio b is provided by the audio source of audio application B. Similarly, the audio in the favorite list and the playlist may also include audio in audio sources provided by at least two audio applications installed on the electronic device.
  • the audio in the local list includes the audio in the audio source provided by an audio application installed on the electronic device.
  • the electronic device has audio application A and audio application B installed, and the audio source currently connected to the application interface ( The audio source can be switched through the audio source switching control on the application interface) is the audio source provided by audio application A, and the audio in the local list includes audio a and audio b, then audio a and audio b are all provided by the audio source of audio application A.
  • the favorite list and the audio in the playlist also only include the audio in the audio source provided by the audio application A.
  • the list details page of the corresponding list can be displayed.
  • the list details page displayed after clicking the local list entry 6 displays the local list in the currently selected audio source.
  • the list details page displayed after clicking the favorite list entry 5 displays the favorite list in the currently selected audio source.
  • the list details page displayed after clicking the playlist entry 4 displays the latest playlist in the currently selected audio source, wherein the second song is displayed in bold, indicating that it is currently playing.
  • the audio currently played by the application interface is the audio in the target list, for example, if the target list is a favorite list, that is, the audio in the favorite list is currently played, then the list entry of the favorite list is displayed as the first identifier.
  • the logo can be a color logo, for example, if the first logo is red and the second logo is black, then the favorite list will be displayed as a red icon, and the icons of the local list and playlist will be displayed as black icons; the logo can also be a graphic logo, For example, if the first logo is a triangle and the second logo is a circle, then the favorite list is displayed as a triangle, and the icons of the local list and the playlist are displayed as circles.
  • the user can know which list the currently playing audio is from, which improves the efficiency of the user in obtaining information and improves the user experience.
  • the target application program is a multimedia application
  • the application interface is a target media playback interface
  • the target function is a playback source switching function
  • the play source corresponding to the play source list is a play source provided by an application program installed on the electronic device;
  • the receiving the user's first input includes:
  • the triggering the target application program to execute the target function in response to the first input includes:
  • the first application interface is the application corresponding to the target playback source
  • the program plays the playback interface of the target media.
  • the playback source list may include playback sources (also referred to as audio sources) provided by at least two audio applications installed on the electronic device.
  • the playback source list may include Audio App A and Audio App B.
  • the target playback source is the playback source selected from the playback source list based on the first input. Playing the target media through the application program corresponding to the target playback source can be understood as starting the application program corresponding to the target playback source and playing the target media through the application program, which can also be understood as playing the target media through the target application program.
  • the target media provided by the source is played. At least one of shape and color included in the second element is different from that of the first element. According to the difference between the second element and the first element, the user can intuitively know the current playback source.
  • the playback source is switched through the playback source list.
  • the application interface can be regarded as the integrated entrance of the audio application installed on the electronic device, and the audio source of different audio applications can be switched through the application interface, so as to perform audio playback. Compared with opening each audio application separately, it is more convenient and quicker to switch audio sources through the application interface.
  • the application interface further includes a playback control area; after the application interface is displayed in response to the first input, the method further includes:
  • the second input can be a long press input (for example, 500ms), for example, a long press on any area of the playback control area can activate and display the playback progress information of the currently playing audio, including playback time, total duration, audio information, etc.
  • audio playback progress information may be displayed in the visual dynamic area.
  • the background color of each area of the application interface is the same, for example, as shown in FIG. 2i, the background color is white.
  • the second input and the third input are continuous inputs.
  • the second input is a long press input
  • the end position of the long press input is the start position of the third input.
  • the second input and the third input can also be intermittent input.
  • the second input is a long-press input. After the long-press input ends, the finger leaves the display screen, and then enters the third input to drag the audio playback progress, which is not done here. limited. Through the second input and the third input, the playback progress of the audio can be quickly adjusted to improve the adjustment efficiency.
  • the target application program is a multimedia application
  • the application interface is a playback interface of the target media
  • the target function is a playback mode switching function
  • the method further includes:
  • the receiving the user's first input includes:
  • the triggering the target application program to execute the target function in response to the first input includes:
  • the updating the form of the first target element to the target form includes:
  • the form of the first target element is updated to the form of a target device, where the target device corresponds to the target playback mode.
  • the target playback mode is earphone playback
  • the shape of the first target element is updated to the earphone shape
  • the play mode list may include earphone play, bluetooth play, speaker play, and the like.
  • the user can change the playback mode, and accordingly, the form of the first target element is also changed to the target form. For example, if the target playback mode is earphone playback, the form of the first target element is updated to the earphone form.
  • the visual dynamic effect area will present a fluctuating effect according to the audio and amplitude of the song, as shown in Figure 2e, the figure labeled 11 in the figure (the figure can be a circle, an ellipse or any other
  • the shape and the number of graphics are not limited, it can be one, or two as shown in Figure 2e, or more)
  • the edge has a wave effect, and the wave effect can match the frequency spectrum of the played audio, such as When the audio frequency is high, the figure on the left remains unchanged in the figure, and the edge of the figure 11 on the right is more sunken toward the center of the circle. When the frequency of the audio is low, the edge of the figure 11 on the right is less sunken towards the center of the circle.
  • the prompt of "the current song does not provide lyrics” will be displayed, and it will disappear after a period of time, and return to the normal state before the prompt is displayed.
  • the music panel can also include the following functions:
  • Play mode single loop, random play
  • Double speed playback 0.5 times, 1.25 times, 1.5 times and other gears
  • the graphics dynamically reflect user operations, providing explicit and emotional music experience.
  • the display method provided in the embodiment of the present application may be executed by a display device, or a control module in the display device for executing the method for arranging applications.
  • the method for arranging applications provided by the display device is taken as an example to describe the device for arranging applications provided in the embodiments of the present application.
  • the display device 300 provided in the embodiment of the present application includes:
  • the first display module 301 is configured to display the application interface of the target application program, the application interface includes a first target element, and the shape of the first target element is associated with the function of the target application program;
  • a receiving module 302 configured to receive a first input from a user
  • a response module 303 configured to trigger the target application program to execute a target function in response to the first input
  • An update module 304 configured to update the form of the first target element to a target form, the target form corresponding to the target function.
  • the preset area of the application interface includes a first target element
  • the updating module 304 includes:
  • the first display submodule is configured to cancel display of the first target element and display the information in the preset area when the target function is used to display information in the preset area;
  • the second display submodule is configured to update the form of the first target element to a target form when the target function is not related to the preset area.
  • the application interface includes a functional control
  • the shape of the first target element is associated with the functional control
  • the receiving module 302 is configured to receive a first input for the target functional control in the functional control ;
  • the response module 303 is configured to trigger the target application program to execute the function corresponding to the target function control in response to the first input;
  • the update module 304 is configured to update the form of the first target element to a form corresponding to the target function control.
  • the first display submodule is configured to cancel displaying the first target element when the target function is used to display information in the preset area and the content of the information is not empty, and displaying the information in the preset area;
  • the target function When the target function is used to display information in the preset area, and the content of the information is empty, cancel the display of the first target element, display preset prompt information in the preset area, and After a preset time period, the display of the preset prompt information is canceled, and the first target element is displayed in the preset area.
  • the target application program is a multimedia application
  • the application interface is a playback interface of target media
  • the target function is a playback source switching function
  • the device also includes:
  • the second display module is used to display a play source list, and the play source corresponding to the play source list is a play source provided by an application program installed on the electronic device;
  • the receiving module 302 is configured to receive a user's first input for a target playback source in the playback source list
  • the response module 303 is configured to, in response to the first input, play the target media through an application program corresponding to the target playback source, and display a second element on a first application interface, and the first application interface is The application program corresponding to the target playback source plays the playback interface of the target media.
  • the target application program is a multimedia application
  • the application interface is a playback interface of the target media
  • the target function is a playback mode switching function
  • the device 300 also includes:
  • the third display module is used to display the list of playing modes
  • the receiving module 302 is configured to receive the user's first input for the target playback mode in the playback mode list
  • the response module 303 is configured to play the target media in the target playback mode in response to the first input;
  • the update module 304 is configured to update the form of the first target element to the form of a target device, where the target device corresponds to the target playback mode.
  • the display device 300 provided by the embodiment of the present application can realize various processes realized by the method embodiment in FIG. 1 and obtain the same technical effect, and details are not repeated here to avoid repetition.
  • the above display device 300 may be a device, or may be a component in a terminal, an integrated circuit, or a chip.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • assistant, PDA personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • the display device 300 in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the embodiment of the present application further provides an electronic device 600, including a processor 601, a memory 602, and programs or instructions stored in the memory 602 and operable on the processor 601,
  • an electronic device 600 including a processor 601, a memory 602, and programs or instructions stored in the memory 602 and operable on the processor 601
  • the program or instruction is executed by the processor 601
  • each process of the above-mentioned display method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
  • the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 5 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
  • the display unit 1006 is configured to display the application interface of the target application, the application interface includes a first target element, and the form of the first target element is associated with the function of the target application;
  • An input unit 1004 configured to receive a first input from a user
  • a processor 1010 configured to trigger the target application program to execute a target function in response to the first input
  • the display unit 1006 is further configured to update the form of the first target element to a target form, where the target form corresponds to the target function.
  • the preset area of the application interface includes a first target element
  • the display unit 1006 is further configured to cancel display of the first target element and display the information in the preset area when the target function is used to display information in the preset area;
  • the form of the first target element is updated to the target form.
  • the application interface includes a functional control
  • the shape of the first target element is associated with the functional control
  • the input unit 1004 is configured to receive a first input for the target functional control in the functional control ;
  • the processor 1010 is further configured to, in response to the first input, trigger the target application program to execute a function corresponding to the target function control;
  • the display unit 1006 is further configured to update the form of the first target element to a form corresponding to the target function control.
  • the display unit 1006 is further configured to cancel displaying the first target element when the target function is used to display information in the preset area and the content of the information is not empty , and display the information in the preset area;
  • the target function When the target function is used to display information in the preset area, and the content of the information is empty, cancel the display of the first target element, display preset prompt information in the preset area, and After a preset time period, the display of the preset prompt information is canceled, and the first target element is displayed in the preset area.
  • the target application program is a multimedia application
  • the application interface is a target media playback interface
  • the target function is a playback source switching function
  • the display unit 1006 is further configured to display a play source list, and the play source corresponding to the play source list is a play source provided by an application program installed on the electronic device;
  • the input unit 1004 is further configured to receive a user's first input for a target play source in the play source list;
  • the processor 1010 is further configured to, in response to the first input, play the target media through an application program corresponding to the target playback source, and display a second element on the first application interface, and the first application interface A playback interface for playing the target media for the application program corresponding to the target playback source.
  • the target application program is a multimedia application
  • the application interface is a playback interface of the target media
  • the target function is a playback mode switching function
  • the display unit 1006 is also used to display a play mode list
  • the input unit 1004 is further configured to receive a user's first input for a target playback mode in the playback mode list;
  • the processor 1010 is further configured to play the target media in the target playback mode in response to the first input;
  • the display unit 1006 is further configured to update the form of the first target element to the form of a target device, where the target device corresponds to the target playback mode.
  • the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1007 includes a touch panel 10071 and other input devices 10072 .
  • the touch panel 10071 is also called a touch screen.
  • the touch panel 10071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the memory 1009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • Processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
  • the electronic device obtains the point information of the target video, the point information includes the position of the target video frame in the target video in the target time period; displays the point information; The preset operation of the point information is used to display the target video frame.
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by a processor, each process of the above-mentioned display method embodiment is realized, and the same Technical effects, in order to avoid repetition, will not be repeated here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to realize the various aspects of the above display method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the embodiment of the present application further provides a computer program product, the computer program product is executed by at least one processor to implement the various processes of the above-mentioned method embodiments, and can achieve the same technical effect. To avoid repetition, details are not repeated here .
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , CD-ROM), including several instructions for enabling a first terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present application.

Landscapes

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

Abstract

The present application belongs to the technical field of computers. Disclosed are a display method and apparatus, and an electronic device. The method comprises: an electronic device displaying an application interface of a target application program, wherein the application interface comprises a first target element, and the form of the first target element is associated with the function of the target application program; receiving a first input of a user; in response to the first input, triggering the target application program to execute a target function; and updating the form of the first target element to a target form, wherein the target form corresponds to the target function.

Description

显示方法、装置和电子设备Display method, device and electronic device
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年10月12日在中国提交的中国专利申请No.202111187970.3的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202111187970.3 filed in China on October 12, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于显示技术领域,具体涉及一种显示方法、装置和电子设备。The present application belongs to the field of display technology, and in particular relates to a display method, device and electronic equipment.
背景技术Background technique
电子设备例如智能手机、平板等都具备多种面板,用户通过面板与电子设备进行交互,例如音频播放界面,包含展示歌曲进度、显示文本、切歌、收藏歌曲等。但是,目前电子设备上应用程序的应用界面的交互形式比较单一。Electronic devices such as smartphones and tablets are equipped with various panels through which users interact with electronic devices, such as the audio playback interface, which includes displaying song progress, displaying text, switching songs, and collecting songs. However, at present, the interaction form of the application interface of the application program on the electronic device is relatively single.
发明内容Contents of the invention
本申请实施例的目的是提供一种显示方法、装置和电子设备,能够解决已有的电子设备上应用程序的应用界面交互形式单一的问题。The purpose of the embodiments of the present application is to provide a display method, device, and electronic device, which can solve the problem of a single application interface interaction form of an application program on an existing electronic device.
第一方面,本申请实施例提供了一种显示方法,该方法包括:In the first aspect, the embodiment of the present application provides a display method, the method includes:
显示目标应用程序的应用界面,所述应用界面包括第一目标元素,所述第一目标元素的形态与所述目标应用程序的功能相关联;displaying an application interface of a target application, the application interface including a first target element, the shape of the first target element is associated with a function of the target application;
接收用户的第一输入;receiving a first input from the user;
响应于所述第一输入,触发所述目标应用程序执行目标功能;triggering the target application to perform a target function in response to the first input;
将所述第一目标元素的形态更新为目标形态,所述目标形态与所述目标功能对应。The form of the first target element is updated to a target form, and the target form corresponds to the target function.
第二方面,本申请实施例提供了一种显示装置,包括:In a second aspect, the embodiment of the present application provides a display device, including:
第一显示模块,用于显示目标应用程序的应用界面,所述应用界面包括第一目标元素,所述第一目标元素的形态与所述目标应用程序的功能相关联;The first display module is configured to display the application interface of the target application program, the application interface includes a first target element, and the form of the first target element is associated with the function of the target application program;
接收模块,用于接收用户的第一输入;a receiving module, configured to receive a first input from a user;
响应模块,用于响应于所述第一输入,触发所述目标应用程序执行目标功能;a response module, configured to trigger the target application program to execute a target function in response to the first input;
更新模块,用于将所述第一目标元素的形态更新为目标形态,所述目标形态与所述目标功能对应。An update module, configured to update the form of the first target element to a target form, the target form corresponding to the target function.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
第六方面,本申请实施例提供了一种电子设备,所述电子设备被配置成用于执行如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides an electronic device configured to execute the method described in the first aspect.
在本申请实施例中,电子设备显示目标应用程序的应用界面,所述应用界面包括第一目标元素,所述第一目标元素的形态与所述目标应用程序的功能相关联;接收用户的第一输入;响应于所述第一输入,触发所述目标应用程序执行目标功能;将所述第一目标元素的形态更新为目标形态,所述目标形态与所述目标功能对应。基于对目标应用程序的应用界面的第一输入,可将所述第一目标元素的形态更新显示为与所述目标功能对应的形态,可提高用户与应用界面的互动性,同时丰富应用界面的显示方式,增加趣味性。In this embodiment of the present application, the electronic device displays the application interface of the target application program, the application interface includes a first target element, and the form of the first target element is associated with the function of the target application program; receiving the user's second An input; in response to the first input, triggering the target application program to execute a target function; updating the form of the first target element to a target form, the target form corresponding to the target function. Based on the first input to the application interface of the target application program, the form of the first target element can be updated and displayed as a form corresponding to the target function, which can improve the interaction between the user and the application interface, and enrich the appearance of the application interface. The display method increases the interest.
附图说明Description of drawings
图1是本申请实施例提供的显示方法的流程图;FIG. 1 is a flowchart of a display method provided by an embodiment of the present application;
图2a-2l是本申请实施例提供的多媒体面板的显示示意图;2a-2l are schematic display diagrams of a multimedia panel provided by an embodiment of the present application;
图3是本申请实施例提供的显示装置的结构图;FIG. 3 is a structural diagram of a display device provided by an embodiment of the present application;
图4是本申请实施例提供的电子设备的一结构图;FIG. 4 is a structural diagram of an electronic device provided by an embodiment of the present application;
图5是本申请实施例的电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的显示方法进行详细地说明。The display method provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
图1为本申请实施例提供的显示方法的流程图,如图1所示,本实施例提供的显示方法,可由电子设备执行,包括如下步骤:Figure 1 is a flow chart of the display method provided by the embodiment of the present application. As shown in Figure 1, the display method provided by this embodiment can be executed by an electronic device, and includes the following steps:
步骤101、显示目标应用程序的应用界面,所述应用界面包括第一目标元素,所述第一目标元素的形态与所述目标应用程序的功能相关联。 Step 101. Display an application interface of a target application program, where the application interface includes a first target element, and a form of the first target element is associated with a function of the target application program.
电子设备上安装有目标应用程序,目标应用程序可为多媒体应用,社交应用或者游戏应用等等,在此不做限定。应用界面上显示有第一目标元素,第一目标元素可以包括一个或多个元素,当包括多个元素时,这多个元素可相同,也可不同,元素可包括形状和颜色中的至少一项。例如,如图2a所示,第一目标元素包括标号u1和标号u2所示的元素,其中,标号u1所示为一个元素,标号u2所示为另一个元素,这两个元素的形状和颜色均不相同。A target application program is installed on the electronic device, and the target application program may be a multimedia application, a social application, or a game application, etc., which are not limited herein. A first target element is displayed on the application interface, and the first target element may include one or more elements. When multiple elements are included, the multiple elements may be the same or different, and the elements may include at least one of shape and color. item. For example, as shown in Figure 2a, the first target element includes the elements shown in the label u1 and the label u2, wherein the label u1 shows one element, and the label u2 shows another element, the shape and color of these two elements All are different.
所述第一目标元素的形态与所述目标应用程序的功能相关联,也就是说,目标应用程序实现不同的功能时,第一目标元素的形态也不同,第一目标元素的形态可包括形状和颜色中的至少一项。The form of the first target element is associated with the function of the target application, that is, when the target application implements different functions, the form of the first target element is also different, and the form of the first target element may include a shape and at least one of color.
在目标应用程序可为多媒体应用的情况下,可通过滑动输入,例如,从电子设备显示屏的屏幕右侧边缘向左滑动的输入,触发多媒体应用的显示界 面的快速显示。本申请以多媒体应用为例,如图2a所示,应用界面包括视觉动效区201。另外,应用界面还可以包括播放控制区203,以及功能控件和歌曲信息显示区202。In the case that the target application program can be a multimedia application, the quick display of the display interface of the multimedia application can be triggered by sliding input, for example, the input of sliding to the left from the right edge of the screen of the display screen of the electronic device. This application takes a multimedia application as an example. As shown in FIG. 2 a , the application interface includes a visual dynamic area 201 . In addition, the application interface may also include a playback control area 203 , and a function control and song information display area 202 .
步骤102、接收用户的第一输入。第一输入可为点击输入,滑动输入,语音输入或者手势输入,在此不做限定。第一输入可为触发应用界面提供的目标功能的输入。 Step 102, receiving a first input from a user. The first input may be click input, slide input, voice input or gesture input, which is not limited here. The first input may be an input that triggers a target function provided by the application interface.
步骤103、响应于所述第一输入,触发所述目标应用程序执行目标功能。 Step 103. Trigger the target application program to execute a target function in response to the first input.
不同的应用程序可对应不同的目标功能,例如,对于多媒体应用来说,目标功能可以是切换至下一首歌曲的功能、切换至上一首歌曲的功能、收藏歌曲的功能或者下载歌曲的功能等等。Different applications may correspond to different target functions. For example, for multimedia applications, the target function may be the function of switching to the next song, the function of switching to the previous song, the function of favorite songs or the function of downloading songs, etc. wait.
以图2a所示的应用界面为例,第一输入可作用在应用界面的视觉动效区、播放控制区,或者功能控件和歌曲信息显示区。播放控制区,以及功能控件和歌曲信息显示区可包括多个功能控件,第一输入可以为触发某个功能控件的输入。例如,如图2a所示,播放控制区可包括播放与暂停控件9、上一首控件8、下一首控件10以及音源切换控件7;功能控件和歌曲信息显示区可包括播放设备(例如,通过蓝牙设备播放,还是通过耳机播放)切换控件1、歌曲收藏控件2,歌曲播放方式切换控件等3等。Taking the application interface shown in FIG. 2a as an example, the first input can be applied to the visual animation area, playback control area, or function control and song information display area of the application interface. The playback control area, as well as the functional controls and the song information display area may include multiple functional controls, and the first input may be an input that triggers a certain functional control. For example, as shown in Figure 2a, the playback control area can include play and pause control 9, previous song control 8, next song control 10 and audio source switching control 7; function control and song information display area can include playback equipment (for example, Play via bluetooth device, or play via headphones) switching control 1, song collection control 2, song playback mode switching control, etc. 3, etc.
步骤104、将所述第一目标元素的形态更新为目标形态,所述目标形态与所述目标功能对应。Step 104: Update the form of the first target element to a target form, where the target form corresponds to the target function.
目标功能不同,第一目标元素的目标形态不同。例如,以图2a所示的应用界面为例,可在所述视觉动效区显示与所述目标功能相关联的视觉动态效果。The target functions are different, and the target form of the first target element is different. For example, taking the application interface shown in FIG. 2a as an example, a visual dynamic effect associated with the target function may be displayed in the visual dynamic effect area.
本实施例中,电子设备显示目标应用程序的应用界面,所述应用界面包括第一目标元素,所述第一目标元素的形态与所述目标应用程序的功能相关联;接收用户的第一输入;响应于所述第一输入,触发所述目标应用程序执行目标功能;将所述第一目标元素的形态更新为目标形态,所述目标形态与所述目标功能对应。基于对目标应用程序的应用界面的第一输入,可将所述第一目标元素的形态更新显示为与所述目标功能对应的形态,可提高用户与应用界面的互动性,同时丰富应用界面的显示方式,增加趣味性。In this embodiment, the electronic device displays the application interface of the target application program, the application interface includes a first target element, and the shape of the first target element is associated with the function of the target application program; receiving the first input from the user ; Responding to the first input, triggering the target application program to execute a target function; updating the form of the first target element to a target form, the target form corresponding to the target function. Based on the first input to the application interface of the target application program, the form of the first target element can be updated and displayed as a form corresponding to the target function, which can improve the interaction between the user and the application interface, and enrich the appearance of the application interface. The display method increases the interest.
在本申请一个实施例中,所述应用界面的预设区域包括第一目标元素,所述将所述第一目标元素的形态更新为目标形态,包括:In one embodiment of the present application, the preset area of the application interface includes a first target element, and updating the form of the first target element to the target form includes:
在所述目标功能用于在所述预设区域显示信息的情况下,取消显示所述第一目标元素,并在所述预设区域显示所述信息;When the target function is used to display information in the preset area, cancel the display of the first target element, and display the information in the preset area;
在所述目标功能与所述预设区域不相关的情况下,将所述第一目标元素的形态更新为目标形态。In the case that the target function is not related to the preset area, the form of the first target element is updated to the target form.
例如,点击预设区域,对应的目标功能为在所述预设区域显示信息,此种情况下,在预设区域显示所述信息,信息可以是解释信息,软件说明信息等等,对应多媒体应用来说,信息可以是歌词或者有声书文本等等;点击应用界面的除预设区域之外的其他区域,例如,点击预设区域之外的控件,例如,切换歌曲的控件等等,都可认为是所述目标功能与所述预设区域不相关,此种情况下,将第一目标元素的形态更新为目标形态,即,根据触发的不同控件的功能,将第一目标元素的形态更新为与控件实现的目标功能相对应的形态。For example, if you click on a preset area, the corresponding target function is to display information in the preset area. In this case, display the information in the preset area. The information can be explanation information, software description information, etc., corresponding to multimedia applications For example, the information can be lyrics or audiobook text, etc.; clicking other areas of the application interface except the preset area, for example, clicking controls outside the preset area, such as controls for switching songs, etc., can It is considered that the target function is not related to the preset area. In this case, update the form of the first target element to the target form, that is, update the form of the first target element according to the functions of different controls triggered It is the shape corresponding to the target function realized by the control.
本实施例中,在所述目标功能用于在所述预设区域显示信息的情况下,取消显示所述第一目标元素,并在所述预设区域显示所述信息;在所述目标功能与所述预设区域不相关的情况下,将所述第一目标元素的形态更新为目标形态,可增加应用界面显示的多样性,增强应用界面与用户之间的互相性,提高趣味性。In this embodiment, when the target function is used to display information in the preset area, the display of the first target element is canceled and the information is displayed in the preset area; in the target function If it is not related to the preset area, updating the shape of the first target element to the target shape can increase the diversity of application interface display, enhance the interaction between the application interface and users, and improve the interest.
上述中,所述应用界面包括功能控件,所述第一目标元素的形态与所述功能控件相关联,所述接收第一输入包括:In the above, the application interface includes a functional control, the shape of the first target element is associated with the functional control, and the receiving the first input includes:
接收针对所述功能控件中目标功能控件的第一输入;receiving a first input for a target functional control in the functional controls;
所述响应于所述第一输入,触发所述目标应用程序执行目标功能,包括:The triggering the target application program to execute the target function in response to the first input includes:
响应于所述第一输入,触发所述目标应用程序执行与所述目标功能控件对应的功能;triggering the target application program to execute a function corresponding to the target function control in response to the first input;
所述将所述第一目标元素的形态更新为目标形态,包括:The updating the form of the first target element to the target form includes:
将所述第一目标元素的形态更新为与所述目标功能控件对应的形态。The form of the first target element is updated to a form corresponding to the target function control.
具体的,应用界面可包括一个或多个功能控件,例如,如图2a所示,播放控制区可包括播放与暂停控件9、上一首控件8、下一首控件10以及音源 切换控件7;功能控件和歌曲信息显示区可包括播放设备(例如,通过蓝牙设备播放,还是通过耳机播放)切换控件1、歌曲收藏控件2,歌曲播放方式切换控件等3等。Specifically, the application interface may include one or more functional controls. For example, as shown in FIG. 2a, the playback control area may include a play and pause control 9, a previous song control 8, a next song control 10, and a sound source switching control 7; The functional controls and the song information display area may include a playback device (for example, play through a bluetooth device, or play through an earphone) switching control 1, a song collection control 2, a song playback mode switching control 3, and the like.
若第一输入触发的是播放与暂停控件,则目标功能为播放功能或暂停功能,相应的,将所述第一目标元素的形态更新为与播放功能或暂停功能对应的形态;若第一输入触发的是收藏功能,则将所述第一目标元素的形态更新为与收藏功能对应的形态,即在视觉动效区显示收藏图案,如图2c所示。在显示一段时间后,视觉动效区恢复到显示收藏图案之前的显示状态,达到视觉动态效果;若第一输入触发的是循环功能(例如,点击歌曲播放方式切换控件,触发循环功能),则在视觉动效区显示循环图案,如图2d所示。在显示一段时间后,视觉动效区恢复到显示循环图案之前的显示状态,达到视觉动态效果。If the first input triggers the play and pause controls, the target function is the play function or the pause function, and correspondingly, the form of the first target element is updated to the form corresponding to the play function or the pause function; if the first input If the favorite function is triggered, the shape of the first target element is updated to the shape corresponding to the favorite function, that is, the favorite pattern is displayed in the visual dynamic area, as shown in FIG. 2c. After being displayed for a period of time, the visual dynamic effect area returns to the display state before displaying the favorite pattern to achieve a visual dynamic effect; if the first input triggers a loop function (for example, click on the song playback mode switching control to trigger the loop function), then A cyclic pattern is displayed in the visual animation area, as shown in Figure 2d. After being displayed for a period of time, the visual dynamic effect area returns to the display state before displaying the cyclic pattern, achieving a visual dynamic effect.
上述中,所述在所述目标功能用于在所述预设区域显示信息的情况下,取消显示所述第一目标元素,并在所述预设区域显示所述信息,包括:In the above, when the target function is used to display information in the preset area, canceling the display of the first target element and displaying the information in the preset area includes:
在所述目标功能用于在所述预设区域显示信息,且所述信息的内容不为空的情况下,取消显示所述第一目标元素,并在所述预设区域显示所述信息;When the target function is used to display information in the preset area, and the content of the information is not empty, cancel the display of the first target element, and display the information in the preset area;
在所述目标功能用于在所述预设区域显示信息,且所述信息的内容为空的情况下,取消显示所述第一目标元素,在所述预设区域显示预设提示信息,并在预设时间段后,取消显示所述预设提示信息,在所述预设区域显示所述第一目标元素。When the target function is used to display information in the preset area, and the content of the information is empty, cancel the display of the first target element, display preset prompt information in the preset area, and After a preset time period, the display of the preset prompt information is canceled, and the first target element is displayed in the preset area.
具体的,所述信息可为歌词或有声书文本,预设区域可为视觉动效区。例如,在播放音频的情况下,若接收到对预设区域的第一输入,例如,点击视觉动效区任意位置的输入,电子设备获取音频的文本。在获取到音频的文本的情况下,在视觉动效区对音频的文本进行显示,并且显示的文本的位置与音频的播放进行相匹配,例如,音频为音乐,在获取到音乐的歌词的情况下,若播放到第三句歌词,则在所述视觉动效区也显示第三句歌词,歌词根据播放进度进行逐句显示。Specifically, the information may be lyrics or audiobook text, and the preset area may be a visual dynamic area. For example, in the case of playing audio, if a first input to the preset area is received, for example, an input of clicking on any position in the visual dynamic area, the electronic device obtains the text of the audio. When the audio text is obtained, the audio text is displayed in the visual dynamic area, and the position of the displayed text matches the audio playback. For example, the audio is music, and in the case of obtaining the lyrics of the music Next, if the third sentence of lyrics is played, the third sentence of lyrics will also be displayed in the visual dynamic area, and the lyrics will be displayed sentence by sentence according to the playback progress.
若音频无文本,例如音频为纯乐器演奏;或者,音频有文本,但是提供音频的音源未提供文本,或者,电子设备处于离线状态,不能从网络实时获 取文本,也就是说,电子设备在未获取到所述音频的文本的情况下,在所述视觉动效区显示预设提示信息;在预设时间段后,取消显示所述预设提示信息,并在所述视觉动效区显示与所述音频播放功能当前播放的音频相匹配的视觉动态效果。If the audio has no text, for example, the audio is played by a pure musical instrument; or, the audio has text, but the audio source that provides the audio does not provide the text, or the electronic device is offline and cannot obtain the text from the network in real time, that is, the electronic device does not provide text in real time. When the text of the audio is obtained, display preset prompt information in the visual dynamic effect area; after a preset period of time, cancel the display of the preset prompt information, and display the same The audio playback function matches the currently playing audio with visual dynamic effects.
具体的,若音频无文本,预设提示信息可为“当前歌曲无文本”;若音频有文本但未获取到文本时,预设提示信息可为“当前歌曲未提供文本”,或者,“当前歌曲未获取到文本”。进一步的,预设提示信息显示一段时间后消失,回到提示信息显示之前的显示状态,即在所述预设区域显示所述第一目标元素。预设时间段可为3秒或5秒,在此不做限定。Specifically, if the audio has no text, the preset prompt information can be "the current song has no text"; if the audio has text but the text is not obtained, the preset prompt information can be "the current song does not provide text", or "the current song has no text". The song did not get the text". Further, the preset prompt information disappears after being displayed for a period of time, and returns to the display state before the prompt information is displayed, that is, the first target element is displayed in the preset area. The preset time period may be 3 seconds or 5 seconds, which is not limited here.
在本申请一个实施例中,所述目标应用程序为多媒体应用,所述应用界面为目标媒体的播放界面,所述目标功能为播放源切换功能;所述显示目标应用程序的应用界面,包括:In one embodiment of the present application, the target application program is a multimedia application, the application interface is a playback interface of the target media, and the target function is a playback source switching function; the application interface displaying the target application program includes:
显示所述应用界面包括的多个列表各自的列表入口,所述多个列表包括本地列表、收藏列表和在播列表;displaying respective list entries of a plurality of lists included in the application interface, the plurality of lists including a local list, a favorite list and an on-play list;
若所述应用界面当前播放的音频为目标列表中的音频,则将所述目标列表的列表入口显示为第一标识,将所述多个列表中除所述目标列表之外的其他列表的列表入口显示为第二标识。If the audio currently played by the application interface is the audio in the target list, the list entry of the target list is displayed as the first identifier, and the lists of other lists in the multiple lists except the target list are displayed The entrance is shown as the second logo.
具体的,在显示应用界面时,可显示应用界面包括的多个列表各自的列表入口,多个列表可包括本地列表,收藏列表和在播列表。本地列表(也可称为下载列表)包括的音频为下载到本地(下载到电子设备)的音频,收藏列表包括的音频为用户通过触发收藏功能获得的音频,在播列表包括最近播放过的音频。Specifically, when the application interface is displayed, respective list entries of multiple lists included in the application interface may be displayed, and the multiple lists may include a local list, a favorite list, and an on-play list. The audio included in the local list (also called the download list) is the audio downloaded locally (downloaded to the electronic device), the audio included in the favorite list is the audio obtained by the user by triggering the favorite function, and the recently played audio is included in the playlist .
一种实现方式中,本地列表中的音频可以包括电子设备安装的至少两个音频应用提供的音源中的音频,例如,电子设备上安装有音频应用A和音频应用B,本地列表中的音频包括音频a和音频b,音频a由音频应用A的音源提供,音频b由音频应用B的音源提供。同样的,收藏列表和在播列表中的音频也可以包括电子设备安装的至少两个音频应用提供的音源中的音频。In one implementation, the audio in the local list may include audio from sound sources provided by at least two audio applications installed on the electronic device. For example, if the electronic device has audio application A and audio application B installed, the audio in the local list includes Audio a and audio b, audio a is provided by the audio source of audio application A, and audio b is provided by the audio source of audio application B. Similarly, the audio in the favorite list and the playlist may also include audio in audio sources provided by at least two audio applications installed on the electronic device.
另一种实现方式中,本地列表中的音频包括电子设备安装的一个音频应用提供的音源中的音频,例如,电子设备上安装有音频应用A和音频应用B, 应用界面当前接入的音源(可通过应用界面的音源切换控件进行音源切换)为音频应用A提供的音源,本地列表中的音频包括音频a和音频b,则音频a和音频b全部由音频应用A的音源提供。同样的,收藏列表和在播列表中的音频也仅包括音频应用A提供的音源中的音频。In another implementation, the audio in the local list includes the audio in the audio source provided by an audio application installed on the electronic device. For example, the electronic device has audio application A and audio application B installed, and the audio source currently connected to the application interface ( The audio source can be switched through the audio source switching control on the application interface) is the audio source provided by audio application A, and the audio in the local list includes audio a and audio b, then audio a and audio b are all provided by the audio source of audio application A. Similarly, the favorite list and the audio in the playlist also only include the audio in the audio source provided by the audio application A.
通过点击本地列表、收藏列表和在播列表各自的列表入口,可显示对应列表的列表详情页。如图2f所示为点击本地列表入口6后显示的列表详情页,显示当前所选音源内的本地列表。如图2g所示为点击收藏列表入口5后显示的列表详情页,显示当前所选音源内的收藏列表。如图2h所示为点击播放列表入口4后显示的列表详情页,显示当前所选音源内的最近播放列表,其中,第二首歌为加粗显示,表示当前正在播放。By clicking the respective list entries of the local list, the favorite list and the on-play list, the list details page of the corresponding list can be displayed. As shown in Figure 2f, the list details page displayed after clicking the local list entry 6 displays the local list in the currently selected audio source. As shown in Fig. 2g, the list details page displayed after clicking the favorite list entry 5 displays the favorite list in the currently selected audio source. As shown in Figure 2h, the list details page displayed after clicking the playlist entry 4 displays the latest playlist in the currently selected audio source, wherein the second song is displayed in bold, indicating that it is currently playing.
若所述应用界面当前播放的音频为目标列表中的音频,例如,若目标列表为收藏列表,即,当前播放的是收藏列表中的音频,则将收藏列表的列表入口显示为第一标识。标识可为颜色标识,例如,第一标识为红色,第二标识为黑色,则将收藏列表的显示为红色图标,将本地列表和播放列表的图标显示为黑色图标;标识也可为图形标识,例如,第一标识为三角形,第二标识为圆形,则将收藏列表的显示为三角形,将本地列表和播放列表的图标显示为圆形。If the audio currently played by the application interface is the audio in the target list, for example, if the target list is a favorite list, that is, the audio in the favorite list is currently played, then the list entry of the favorite list is displayed as the first identifier. The logo can be a color logo, for example, if the first logo is red and the second logo is black, then the favorite list will be displayed as a red icon, and the icons of the local list and playlist will be displayed as black icons; the logo can also be a graphic logo, For example, if the first logo is a triangle and the second logo is a circle, then the favorite list is displayed as a triangle, and the icons of the local list and the playlist are displayed as circles.
用户通过查看列表入口的标识,便可知当前播放的音频是哪个列表中的音频,提高了用户获知信息的效率,提高了用户体验。By checking the logo of the list entry, the user can know which list the currently playing audio is from, which improves the efficiency of the user in obtaining information and improves the user experience.
在本申请一个实施例中,所述目标应用程序为多媒体应用,所述应用界面为目标媒体的播放界面,所述目标功能为播放源切换功能;在所述显示目标应用程序的应用界面之后,接收用户的第一输入之前,所述方法还包括:In one embodiment of the present application, the target application program is a multimedia application, the application interface is a target media playback interface, and the target function is a playback source switching function; after the application interface of the target application program is displayed, Before receiving the user's first input, the method further includes:
显示播放源列表,所述播放源列表对应的播放源为电子设备安装的应用程序提供的播放源;Displaying a play source list, the play source corresponding to the play source list is a play source provided by an application program installed on the electronic device;
所述接收用户的第一输入,包括:The receiving the user's first input includes:
接收用户针对所述播放源列表中目标播放源的第一输入;receiving a user's first input for a target playback source in the playback source list;
所述响应于所述第一输入,触发所述目标应用程序执行目标功能,包括:The triggering the target application program to execute the target function in response to the first input includes:
响应于所述第一输入,通过所述目标播放源对应的应用程序播放所述目标媒体,并在第一应用界面显示第二元素,所述第一应用界面为所述目标播 放源对应的应用程序播放所述目标媒体的播放界面。In response to the first input, play the target media through the application program corresponding to the target playback source, and display the second element on the first application interface, the first application interface is the application corresponding to the target playback source The program plays the playback interface of the target media.
具体的,播放源列表可包括电子设备安装的至少两个音频应用程序提供的播放源(也可称为音源),例如,电子设备上安装有音频应用A和音频应用B,播放源列表可包括音频应用A和音频应用B。目标播放源为基于第一输入从播放源列表中选中的播放源。通过所述目标播放源对应的应用程序播放所述目标媒体,可以理解为,开启目标播放源对应的应用程序,并通过该应用程序播放目标媒体,也可以理解为,通过目标应用程序对目标播放源提供的目标媒体进行播放。第二元素包括的形状和颜色中的至少一项与第一元素不同,根据第二元素和第一元素的区别,用户可以直观获知当前的播放源。Specifically, the playback source list may include playback sources (also referred to as audio sources) provided by at least two audio applications installed on the electronic device. For example, if an audio application A and an audio application B are installed on the electronic device, the playback source list may include Audio App A and Audio App B. The target playback source is the playback source selected from the playback source list based on the first input. Playing the target media through the application program corresponding to the target playback source can be understood as starting the application program corresponding to the target playback source and playing the target media through the application program, which can also be understood as playing the target media through the target application program. The target media provided by the source is played. At least one of shape and color included in the second element is different from that of the first element. According to the difference between the second element and the first element, the user can intuitively know the current playback source.
本实施例中,通过播放源列表进行播放源切换。应用界面可视为电子设备安装的音频应用的集成入口,通过应用界面可切换到不同音频应用的音源,从而进行音频播放。相比于分别打开各个音频应用,通过应用界面进行音源切换更加方便快捷。In this embodiment, the playback source is switched through the playback source list. The application interface can be regarded as the integrated entrance of the audio application installed on the electronic device, and the audio source of different audio applications can be switched through the application interface, so as to perform audio playback. Compared with opening each audio application separately, it is more convenient and quicker to switch audio sources through the application interface.
在本申请一个实施例中,所述应用界面还包括播放控制区;在所述响应于所述第一输入,显示应用界面之后,所述方法还包括:In an embodiment of the present application, the application interface further includes a playback control area; after the application interface is displayed in response to the first input, the method further includes:
接收对所述播放控制区的第二输入;receiving a second input to the playback control area;
响应于所述第二输入,显示当前播放的音频的播放进度信息;In response to the second input, displaying playback progress information of the currently played audio;
接收对所述播放控制区的第三输入;receiving a third input to the playback control area;
响应于所述第三输入,调整所述音频的播放进度。In response to the third input, adjust the playback progress of the audio.
具体的,第二输入可为长按输入(例如500ms),例如长按播放控制区的任意区域,可以激活并显示当前播放的音频的播放进度信息,包含播放时间、总时长、音频信息等,具体可在视觉动效区显示音频的播放进度信息。在显示音频的播放进度信息时,应用界面各个区域的背景色相同,例如,如图2i所示,背景色为白色。Specifically, the second input can be a long press input (for example, 500ms), for example, a long press on any area of the playback control area can activate and display the playback progress information of the currently playing audio, including playback time, total duration, audio information, etc. Specifically, audio playback progress information may be displayed in the visual dynamic area. When displaying audio playback progress information, the background color of each area of the application interface is the same, for example, as shown in FIG. 2i, the background color is white.
显示播放进度信息时,可以左右手势拖动,快速调节播放进度,松手即可完成进度调整,此种情况下,第二输入和第三输入为连续输入,例如,第二输入为长按输入,长按输入的结束位置为第三输入的起始位置。第二输入和第三输入也可以为间断输入,例如,第二输入为长按输入,长按输入结束后,手指离开显示屏,然后输入第三输入,拖动音频播放进度,在此不做限 定。通过第二输入和第三输入,可快速调整音频的播放进度,提高调整效率。When the playback progress information is displayed, you can drag the left and right gestures to quickly adjust the playback progress, and let go to complete the progress adjustment. In this case, the second input and the third input are continuous inputs. For example, the second input is a long press input, The end position of the long press input is the start position of the third input. The second input and the third input can also be intermittent input. For example, the second input is a long-press input. After the long-press input ends, the finger leaves the display screen, and then enters the third input to drag the audio playback progress, which is not done here. limited. Through the second input and the third input, the playback progress of the audio can be quickly adjusted to improve the adjustment efficiency.
在本申请一个实施例中,所述目标应用程序为多媒体应用,所述应用界面为目标媒体的播放界面,所述目标功能为播放方式切换功能;In one embodiment of the present application, the target application program is a multimedia application, the application interface is a playback interface of the target media, and the target function is a playback mode switching function;
在所述显示目标应用程序的应用界面之后,接收用户的第一输入之前,所述方法还包括:After displaying the application interface of the target application program and before receiving the user's first input, the method further includes:
显示播放方式列表;Display the play mode list;
所述接收用户的第一输入,包括:The receiving the user's first input includes:
接收用户针对所述播放方式列表中目标播放方式的第一输入;receiving the user's first input for the target playback mode in the playback mode list;
所述响应于所述第一输入,触发所述目标应用程序执行目标功能,包括:The triggering the target application program to execute the target function in response to the first input includes:
响应于所述第一输入,通过所述目标播放方式播放所述目标媒体;in response to the first input, playing the target media through the target playback mode;
所述将所述第一目标元素的形态更新为目标形态,包括:The updating the form of the first target element to the target form includes:
将所述第一目标元素的形态更新为目标设备的形态,所述目标设备与所述目标播放方式对应。The form of the first target element is updated to the form of a target device, where the target device corresponds to the target playback mode.
在本申请一个实施例中,所述目标播放方式为耳机播放,将所述第一目标元素的形态更新为耳机形态。In an embodiment of the present application, the target playback mode is earphone playback, and the shape of the first target element is updated to the earphone shape.
具体的,播放方式列表可包括耳机播放、蓝牙播放、扬声器播放等等。用户可以对播放方式进行更改,相应的,第一目标元素的形态也更改为目标形态,例如,若目标播放方式为耳机播放的情况下,将所述第一目标元素的形态更新为耳机形态。Specifically, the play mode list may include earphone play, bluetooth play, speaker play, and the like. The user can change the playback mode, and accordingly, the form of the first target element is also changed to the target form. For example, if the target playback mode is earphone playback, the form of the first target element is updated to the earphone form.
以下以音乐为例进行举例说明,需要说明的是,本申请中的音频可以为音乐,也可以为有声书等。应用界面(以下称为音乐面板)功能介绍,如图2a所示:The following uses music as an example for illustration. It should be noted that the audio in this application may be music or audiobooks. Application interface (hereinafter referred to as the music panel) function introduction, as shown in Figure 2a:
1、视觉动效区:1. Visual animation area:
1)展示当前播放音乐的频谱动态效果频谱动态;1) Display the spectrum dynamic effect of the currently playing music;
2)展示用户操作功能、控制播放、切换音源时的状态反馈;2) Show the user's status feedback when operating functions, controlling playback, and switching audio sources;
3)支持点击显示歌词。3) Support click to display lyrics.
2、功能及信息展示:2. Function and information display:
1)展示歌曲信息(歌曲名称、歌手名),超限后支持滚动显示;1) Display song information (song name, singer name), and support scrolling display after exceeding the limit;
2)展示【下载/本地列表】(图中标号6所示)、【收藏列表】(图中标号5 所示)、【在播列表】(图中标号4所示)3个列表入口;2) Display three list entries of [download/local list] (shown by number 6 in the figure), [favorite list] (shown by number 5 in the figure), and [playing list] (shown by number 4 in the figure);
3)提供【蓝牙设备切换】(图中标号1所示)、【收藏】(图中标号2所示)、【循环模式】(图中标号3所示)功能入口。3) Provide [Bluetooth device switching] (marked 1 in the figure), [Favorites] (marked 2 in the figure), and [Cycle Mode] (marked 3 in the figure) function entrances.
3、播放控制区:3. Play control area:
显示【切换音源】(图中标号7所示)、【播放/暂停】(图中标号9所示)、【上下首切歌】(图中标号8和10所示)、【快进快退】(图中未示出)按钮。Display [Switch Audio Source] (marked 7 in the figure), [Play/Pause] (marked 9 in the figure), [Switch song up and down] (marked 8 and 10 in the figure), [Fast Forward and Rewind] 】(not shown in the figure) button.
以下示例性介绍用户输入以及应用界面的响应效果:The following example introduces the user input and the response effect of the application interface:
1、点击【播放】,则视觉动效区根据歌曲的音频及震幅,呈现波动效果,如图2e所示,图中标号为11的图形(该图形可为圆形,椭圆形或其他任意形状,图形的个数也不限定,可以为一个,也可以为图2e中所示的两个,或者更多个)边缘具有波动效果,该波动效果可与播放的音频的频谱相匹配,如在音频的频率较高时,图中左边的图形不变,右边的图形11的边缘往圆心方向凹陷较多,在音频的频率较低时,右边的图形11的边缘往圆心方向凹陷较少。1. Click [Play], the visual dynamic effect area will present a fluctuating effect according to the audio and amplitude of the song, as shown in Figure 2e, the figure labeled 11 in the figure (the figure can be a circle, an ellipse or any other The shape and the number of graphics are not limited, it can be one, or two as shown in Figure 2e, or more) The edge has a wave effect, and the wave effect can match the frequency spectrum of the played audio, such as When the audio frequency is high, the figure on the left remains unchanged in the figure, and the edge of the figure 11 on the right is more sunken toward the center of the circle. When the frequency of the audio is low, the edge of the figure 11 on the right is less sunken towards the center of the circle.
2、点击视觉动效区任意位置,则会显示当前播放歌曲的歌词。具体为:2. Click anywhere in the visual animation area, and the lyrics of the currently playing song will be displayed. Specifically:
1)点击视觉动效区任意位置,显示歌词,根据播放进度对歌词进行逐条显示,如图2b所示,触发的是视觉动效区的情况下,视觉动效区原本显示的图案模糊处理,并且将模糊处理后的图案作为文本显示的背景,图2b中,“在苍茫的大海上,狂风卷集着乌云”即为当前播放的音频的部分文本;1) Click any position in the visual dynamic area to display the lyrics, and display the lyrics one by one according to the playback progress, as shown in Figure 2b. When the visual dynamic area is triggered, the original pattern displayed in the visual dynamic area will be blurred. And the blurred pattern is used as the background of the text display. In Figure 2b, "on the vast sea, the wind is rolling with dark clouds" is part of the text of the currently playing audio;
2)当歌曲无歌词时,显示“当前歌曲无歌词”的提示,显示一段时间后消失,回到显示提示之前的正常状态;2) When the song has no lyrics, the prompt of "the current song has no lyrics" will be displayed, and it will disappear after a period of time, and return to the normal state before the prompt is displayed;
3)当歌曲未提供歌词时,显示“当前歌曲未提供歌词”的提示,显示一段时间后消失,回到显示提示之前的正常状态。3) When the song does not provide lyrics, the prompt of "the current song does not provide lyrics" will be displayed, and it will disappear after a period of time, and return to the normal state before the prompt is displayed.
3、点击【下载/本地列表】、【收藏列表】、【在播列表】3个列表入口,可以进入对应的列表详情页;正在播放的列表,入口处显示视觉区分。3. Click [Download/Local List], [Favorite List], and [Playing List] 3 list entries to enter the corresponding list details page; for the list that is currently playing, the visual distinction is displayed at the entrance.
4、点击【蓝牙设备切换】,显示弹窗,弹窗列表显示当前已连接的蓝牙设备(耳机、音响等);点击弹窗列表中的设备可进行切换,当切换至耳机成功时,视觉动效区过渡到耳机的图形,如图2k所示的视觉动效区显示的图形。4. Click [Bluetooth device switching] to display a pop-up window, and the pop-up window list displays the currently connected Bluetooth devices (headphones, speakers, etc.); click the device in the pop-up window list to switch. The effect area transitions to the graphics of the earphone, such as the graphics displayed in the visual and dynamic effect area as shown in Figure 2k.
5、点击【收藏】,则收藏成功,视觉动效区过渡到收藏爱心的图形,如 图2c所示。在显示一段时间后,视觉动效区恢复到显示收藏图案之前的显示状态,达到视觉动态效果。5. Click [Favorite], the collection is successful, and the visual animation area transitions to the graphic of the collection heart, as shown in Figure 2c. After being displayed for a period of time, the visual dynamic effect area returns to the display state before displaying the favorite pattern, achieving a visual dynamic effect.
6、点击【循环模式】(例如,点击歌曲播放方式切换控件,触发循环功能),则设置成功,视觉动效区过渡到循环模式的图形,如图2d所示。在显示一段时间后,视觉动效区恢复到显示循环图案之前的显示状态,达到视觉动态效果。6. Click [Cycle Mode] (for example, click the song playback mode switching control to trigger the loop function), then the setting is successful, and the visual dynamic area transitions to the graphic of the loop mode, as shown in Figure 2d. After being displayed for a period of time, the visual dynamic effect area returns to the display state before displaying the cyclic pattern, achieving a visual dynamic effect.
7、按住底部播放控制区500ms,可以激活并显示当前播放进度信息,包含播放时间、总时长、歌曲信息:7. Press and hold the bottom playback control area for 500ms to activate and display the current playback progress information, including playback time, total duration, and song information:
1)显示进度信息时,可以前后手势拖动,快速调节进度;1) When displaying progress information, you can drag forward and backward gestures to quickly adjust the progress;
2)松手即可完成进度调整,如图2i所示。2) Let go to complete the progress adjustment, as shown in Figure 2i.
8、点击【上一首】,则视觉动效区过渡到上一首的图形;点击【下一首】,则视觉动效区过渡到下一首的图形,如图2j所示的视觉动效区显示的图形。8. Click [Previous Song], and the visual animation area transitions to the graphics of the previous song; click [Next Song], and the visual animation area transitions to the graphics of the next song, as shown in Figure 2j. Graphics displayed in the effective area.
9、点击【暂停】,则视觉动效区显示暂停图形,整个音乐面板统一变色,例如变成红色,如图2l所示的视觉动效区显示的图形。9. Click [Pause], the visual dynamic effect area displays a pause graphic, and the entire music panel uniformly changes color, for example, turns red, as shown in Figure 2l.
音乐面板除上述功能外,还可以包括如下功能:In addition to the above functions, the music panel can also include the following functions:
下载歌曲;download songs;
将歌曲设为铃声;set the song as ringtone;
关注歌手;Follow singers;
播放模式:单曲循环、随机播放;Play mode: single loop, random play;
音效切换:全景环绕、清澈人声、KTV、音乐厅等音效模式;Sound effect switching: panoramic surround, clear human voice, KTV, concert hall and other sound effect modes;
倍速播放:0.5倍、1.25倍、1.5倍等档位;Double speed playback: 0.5 times, 1.25 times, 1.5 times and other gears;
在实现上述功能时,可在视觉动效区显示相应的视觉动态效果。When the above functions are realized, corresponding visual dynamic effects can be displayed in the visual dynamic effect area.
通过快速触发的音乐面板、动态显示音乐频谱效果,为用户提供沉浸式的听歌体验;同时,图形动态反映用户操作,提供显性化、情感化音乐体验。Through the quickly triggered music panel and dynamic display of music spectrum effects, it provides users with an immersive music listening experience; at the same time, the graphics dynamically reflect user operations, providing explicit and emotional music experience.
需要说明的是,本申请实施例提供的显示方法,执行主体可以为显示装置,或者该显示装置中的用于执行应用排布的方法的控制模块。本申请实施例中以显示装置执行应用排布的方法为例,说明本申请实施例提供的应用排布的装置。It should be noted that, the display method provided in the embodiment of the present application may be executed by a display device, or a control module in the display device for executing the method for arranging applications. In the embodiment of the present application, the method for arranging applications provided by the display device is taken as an example to describe the device for arranging applications provided in the embodiments of the present application.
如图3所示,本申请实施例提供的显示装置300包括:As shown in FIG. 3, the display device 300 provided in the embodiment of the present application includes:
第一显示模块301,用于显示目标应用程序的应用界面,所述应用界面包括第一目标元素,所述第一目标元素的形态与所述目标应用程序的功能相关联;The first display module 301 is configured to display the application interface of the target application program, the application interface includes a first target element, and the shape of the first target element is associated with the function of the target application program;
接收模块302,用于接收用户的第一输入;A receiving module 302, configured to receive a first input from a user;
响应模块303,用于响应于所述第一输入,触发所述目标应用程序执行目标功能;A response module 303, configured to trigger the target application program to execute a target function in response to the first input;
更新模块304,用于将所述第一目标元素的形态更新为目标形态,所述目标形态与所述目标功能对应。An update module 304, configured to update the form of the first target element to a target form, the target form corresponding to the target function.
可选地,所述应用界面的预设区域包括第一目标元素,所述更新模块304,包括:Optionally, the preset area of the application interface includes a first target element, and the updating module 304 includes:
第一显示子模块,用于在所述目标功能用于在所述预设区域显示信息的情况下,取消显示所述第一目标元素,并在所述预设区域显示所述信息;The first display submodule is configured to cancel display of the first target element and display the information in the preset area when the target function is used to display information in the preset area;
第二显示子模块,用于在所述目标功能与所述预设区域不相关的情况下,将所述第一目标元素的形态更新为目标形态。The second display submodule is configured to update the form of the first target element to a target form when the target function is not related to the preset area.
可选地,所述应用界面包括功能控件,所述第一目标元素的形态与所述功能控件相关联,所述接收模块302,用于接收针对所述功能控件中目标功能控件的第一输入;Optionally, the application interface includes a functional control, the shape of the first target element is associated with the functional control, and the receiving module 302 is configured to receive a first input for the target functional control in the functional control ;
所述响应模块303,用于响应于所述第一输入,触发所述目标应用程序执行与所述目标功能控件对应的功能;The response module 303 is configured to trigger the target application program to execute the function corresponding to the target function control in response to the first input;
所述更新模块304,用于将所述第一目标元素的形态更新为与所述目标功能控件对应的形态。The update module 304 is configured to update the form of the first target element to a form corresponding to the target function control.
可选地,第一显示子模块,用于在所述目标功能用于在所述预设区域显示信息,且所述信息的内容不为空的情况下,取消显示所述第一目标元素,并在所述预设区域显示所述信息;Optionally, the first display submodule is configured to cancel displaying the first target element when the target function is used to display information in the preset area and the content of the information is not empty, and displaying the information in the preset area;
在所述目标功能用于在所述预设区域显示信息,且所述信息的内容为空的情况下,取消显示所述第一目标元素,在所述预设区域显示预设提示信息,并在预设时间段后,取消显示所述预设提示信息,在所述预设区域显示所述第一目标元素。When the target function is used to display information in the preset area, and the content of the information is empty, cancel the display of the first target element, display preset prompt information in the preset area, and After a preset time period, the display of the preset prompt information is canceled, and the first target element is displayed in the preset area.
可选地,所述目标应用程序为多媒体应用,所述应用界面为目标媒体的 播放界面,所述目标功能为播放源切换功能;所述装置还包括:Optionally, the target application program is a multimedia application, the application interface is a playback interface of target media, and the target function is a playback source switching function; the device also includes:
第二显示模块,用于显示播放源列表,所述播放源列表对应的播放源为电子设备安装的应用程序提供的播放源;The second display module is used to display a play source list, and the play source corresponding to the play source list is a play source provided by an application program installed on the electronic device;
所述接收模块302,用于接收用户针对所述播放源列表中目标播放源的第一输入;The receiving module 302 is configured to receive a user's first input for a target playback source in the playback source list;
所述响应模块303,用于响应于所述第一输入,通过所述目标播放源对应的应用程序播放所述目标媒体,并在第一应用界面显示第二元素,所述第一应用界面为所述目标播放源对应的应用程序播放所述目标媒体的播放界面。The response module 303 is configured to, in response to the first input, play the target media through an application program corresponding to the target playback source, and display a second element on a first application interface, and the first application interface is The application program corresponding to the target playback source plays the playback interface of the target media.
可选地,所述目标应用程序为多媒体应用,所述应用界面为目标媒体的播放界面,所述目标功能为播放方式切换功能;Optionally, the target application program is a multimedia application, the application interface is a playback interface of the target media, and the target function is a playback mode switching function;
所述装置300还包括:The device 300 also includes:
第三显示模块,用于显示播放方式列表;The third display module is used to display the list of playing modes;
所述接收模块302,用于接收用户针对所述播放方式列表中目标播放方式的第一输入;The receiving module 302 is configured to receive the user's first input for the target playback mode in the playback mode list;
所述响应模块303,用于响应于所述第一输入,通过所述目标播放方式播放所述目标媒体;The response module 303 is configured to play the target media in the target playback mode in response to the first input;
所述更新模块304,用于将所述第一目标元素的形态更新为目标设备的形态,所述目标设备与所述目标播放方式对应。The update module 304 is configured to update the form of the first target element to the form of a target device, where the target device corresponds to the target playback mode.
本申请实施例提供的显示装置300能够实现图1的方法实施例实现的各个过程并获得相同的技术效果,为避免重复,这里不再赘述。The display device 300 provided by the embodiment of the present application can realize various processes realized by the method embodiment in FIG. 1 and obtain the same technical effect, and details are not repeated here to avoid repetition.
上述显示装置300可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The above display device 300 may be a device, or may be a component in a terminal, an integrated circuit, or a chip. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的显示装置300可以为具有操作系统的装置。该操作系 统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The display device 300 in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
可选地,如图4所示,本申请实施例还提供一种电子设备600,包括处理器601,存储器602,存储在存储器602上并可在所述处理器601上运行的程序或指令,该程序或指令被处理器601执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 4 , the embodiment of the present application further provides an electronic device 600, including a processor 601, a memory 602, and programs or instructions stored in the memory 602 and operable on the processor 601, When the program or instruction is executed by the processor 601, each process of the above-mentioned display method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图5为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 5 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
其中,显示单元1006,用于显示目标应用程序的应用界面,所述应用界面包括第一目标元素,所述第一目标元素的形态与所述目标应用程序的功能相关联;Wherein, the display unit 1006 is configured to display the application interface of the target application, the application interface includes a first target element, and the form of the first target element is associated with the function of the target application;
输入单元1004,用于接收用户的第一输入;An input unit 1004, configured to receive a first input from a user;
处理器1010,用于响应于所述第一输入,触发所述目标应用程序执行目标功能;a processor 1010, configured to trigger the target application program to execute a target function in response to the first input;
显示单元1006,还用于将所述第一目标元素的形态更新为目标形态,所述目标形态与所述目标功能对应。The display unit 1006 is further configured to update the form of the first target element to a target form, where the target form corresponds to the target function.
可选地,所述应用界面的预设区域包括第一目标元素,Optionally, the preset area of the application interface includes a first target element,
显示单元1006,还用于在所述目标功能用于在所述预设区域显示信息的情况下,取消显示所述第一目标元素,并在所述预设区域显示所述信息;The display unit 1006 is further configured to cancel display of the first target element and display the information in the preset area when the target function is used to display information in the preset area;
在所述目标功能与所述预设区域不相关的情况下,将所述第一目标元素 的形态更新为目标形态。In the case that the target function is not related to the preset area, the form of the first target element is updated to the target form.
可选地,所述应用界面包括功能控件,所述第一目标元素的形态与所述功能控件相关联,所述输入单元1004,用于接收针对所述功能控件中目标功能控件的第一输入;Optionally, the application interface includes a functional control, the shape of the first target element is associated with the functional control, and the input unit 1004 is configured to receive a first input for the target functional control in the functional control ;
所述处理器1010,还用于响应于所述第一输入,触发所述目标应用程序执行与所述目标功能控件对应的功能;The processor 1010 is further configured to, in response to the first input, trigger the target application program to execute a function corresponding to the target function control;
所述显示单元1006,还用于将所述第一目标元素的形态更新为与所述目标功能控件对应的形态。The display unit 1006 is further configured to update the form of the first target element to a form corresponding to the target function control.
可选地,所述显示单元1006,还用于在所述目标功能用于在所述预设区域显示信息,且所述信息的内容不为空的情况下,取消显示所述第一目标元素,并在所述预设区域显示所述信息;Optionally, the display unit 1006 is further configured to cancel displaying the first target element when the target function is used to display information in the preset area and the content of the information is not empty , and display the information in the preset area;
在所述目标功能用于在所述预设区域显示信息,且所述信息的内容为空的情况下,取消显示所述第一目标元素,在所述预设区域显示预设提示信息,并在预设时间段后,取消显示所述预设提示信息,在所述预设区域显示所述第一目标元素。When the target function is used to display information in the preset area, and the content of the information is empty, cancel the display of the first target element, display preset prompt information in the preset area, and After a preset time period, the display of the preset prompt information is canceled, and the first target element is displayed in the preset area.
可选地,所述目标应用程序为多媒体应用,所述应用界面为目标媒体的播放界面,所述目标功能为播放源切换功能;Optionally, the target application program is a multimedia application, the application interface is a target media playback interface, and the target function is a playback source switching function;
所述显示单元1006,还用于显示播放源列表,所述播放源列表对应的播放源为电子设备安装的应用程序提供的播放源;The display unit 1006 is further configured to display a play source list, and the play source corresponding to the play source list is a play source provided by an application program installed on the electronic device;
输入单元1004,还用于接收用户针对所述播放源列表中目标播放源的第一输入;The input unit 1004 is further configured to receive a user's first input for a target play source in the play source list;
所述处理器1010,还用于响应于所述第一输入,通过所述目标播放源对应的应用程序播放所述目标媒体,并在第一应用界面显示第二元素,所述第一应用界面为所述目标播放源对应的应用程序播放所述目标媒体的播放界面。The processor 1010 is further configured to, in response to the first input, play the target media through an application program corresponding to the target playback source, and display a second element on the first application interface, and the first application interface A playback interface for playing the target media for the application program corresponding to the target playback source.
可选地,所述目标应用程序为多媒体应用,所述应用界面为目标媒体的播放界面,所述目标功能为播放方式切换功能;Optionally, the target application program is a multimedia application, the application interface is a playback interface of the target media, and the target function is a playback mode switching function;
所述显示单元1006,还用于显示播放方式列表;The display unit 1006 is also used to display a play mode list;
输入单元1004,还用于接收用户针对所述播放方式列表中目标播放方式的第一输入;The input unit 1004 is further configured to receive a user's first input for a target playback mode in the playback mode list;
所述处理器1010,还用于响应于所述第一输入,通过所述目标播放方式播放所述目标媒体;The processor 1010 is further configured to play the target media in the target playback mode in response to the first input;
所述显示单元1006,还用于将所述第一目标元素的形态更新为目标设备的形态,所述目标设备与所述目标播放方式对应。The display unit 1006 is further configured to update the form of the first target element to the form of a target device, where the target device corresponds to the target playback mode.
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。It should be understood that, in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072 . The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here. The memory 1009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
本实施例中,电子设备通过获取目标视频的点位信息,所述点位信息包括目标时间段中目标视频帧在所述目标视频中的位置;显示所述点位信息;若检测到针对所述点位信息的预设操作,显示所述目标视频帧。通过上述方式,可快速定位到目标视频的目标视频帧,并对目标视频帧进行显示,避免用户反复对目标视频的播放进度进行调整,提高了目标视频帧的定位效率。In this embodiment, the electronic device obtains the point information of the target video, the point information includes the position of the target video frame in the target video in the target time period; displays the point information; The preset operation of the point information is used to display the target video frame. Through the above method, the target video frame of the target video can be quickly located and displayed, which prevents the user from repeatedly adjusting the playback progress of the target video and improves the positioning efficiency of the target video frame.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by a processor, each process of the above-mentioned display method embodiment is realized, and the same Technical effects, in order to avoid repetition, will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to realize the various aspects of the above display method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
本申请实施例另提供了一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a computer program product, the computer program product is executed by at least one processor to implement the various processes of the above-mentioned method embodiments, and can achieve the same technical effect. To avoid repetition, details are not repeated here .
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台第一终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , CD-ROM), including several instructions for enabling a first terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的, 本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (17)

  1. 一种显示方法,所述方法包括:A display method, the method comprising:
    显示目标应用程序的应用界面,所述应用界面包括第一目标元素,所述第一目标元素的形态与所述目标应用程序的功能相关联;displaying an application interface of a target application, the application interface including a first target element, the shape of the first target element is associated with a function of the target application;
    接收用户的第一输入;receiving a first input from the user;
    响应于所述第一输入,触发所述目标应用程序执行目标功能;triggering the target application to perform a target function in response to the first input;
    将所述第一目标元素的形态更新为目标形态,所述目标形态与所述目标功能对应。The form of the first target element is updated to a target form, and the target form corresponds to the target function.
  2. 根据权利要求1所述的方法,其中,所述应用界面的预设区域包括第一目标元素,所述将所述第一目标元素的形态更新为目标形态,包括:The method according to claim 1, wherein the preset area of the application interface includes a first target element, and updating the form of the first target element to a target form comprises:
    在所述目标功能用于在所述预设区域显示信息的情况下,取消显示所述第一目标元素,并在所述预设区域显示所述信息;When the target function is used to display information in the preset area, cancel the display of the first target element, and display the information in the preset area;
    在所述目标功能与所述预设区域不相关的情况下,将所述第一目标元素的形态更新为目标形态。In the case that the target function is not related to the preset area, the form of the first target element is updated to the target form.
  3. 根据权利要求1所述的方法,其中,所述应用界面包括功能控件,所述第一目标元素的形态与所述功能控件相关联,所述接收第一输入包括:The method according to claim 1, wherein the application interface includes a functional control, the shape of the first target element is associated with the functional control, and the receiving the first input comprises:
    接收针对所述功能控件中目标功能控件的第一输入;receiving a first input for a target functional control in the functional controls;
    所述响应于所述第一输入,触发所述目标应用程序执行目标功能,包括:The triggering the target application program to execute the target function in response to the first input includes:
    响应于所述第一输入,触发所述目标应用程序执行与所述目标功能控件对应的功能;triggering the target application program to execute a function corresponding to the target function control in response to the first input;
    所述将所述第一目标元素的形态更新为目标形态,包括:The updating the form of the first target element to the target form includes:
    将所述第一目标元素的形态更新为与所述目标功能控件对应的形态。The form of the first target element is updated to a form corresponding to the target function control.
  4. 根据权利要求2所述的方法,其中,所述在所述目标功能用于在所述预设区域显示信息的情况下,取消显示所述第一目标元素,并在所述预设区域显示所述信息,包括:The method according to claim 2, wherein when the target function is used to display information in the preset area, canceling the display of the first target element, and displaying the information, including:
    在所述目标功能用于在所述预设区域显示信息,且所述信息的内容不为空的情况下,取消显示所述第一目标元素,并在所述预设区域显示所述信息;When the target function is used to display information in the preset area, and the content of the information is not empty, cancel the display of the first target element, and display the information in the preset area;
    在所述目标功能用于在所述预设区域显示信息,且所述信息的内容为空 的情况下,取消显示所述第一目标元素,在所述预设区域显示预设提示信息,并在预设时间段后,取消显示所述预设提示信息,在所述预设区域显示所述第一目标元素。When the target function is used to display information in the preset area, and the content of the information is empty, cancel the display of the first target element, display preset prompt information in the preset area, and After a preset time period, the display of the preset prompt information is canceled, and the first target element is displayed in the preset area.
  5. 根据权利要求1所述的方法,其中,所述目标应用程序为多媒体程序,所述应用界面为目标媒体的播放界面,所述目标功能为播放源切换功能;在所述显示目标应用程序的应用界面之后,接收用户的第一输入之前,所述方法还包括:The method according to claim 1, wherein the target application program is a multimedia program, the application interface is a playback interface of the target media, and the target function is a playback source switching function; After the interface, before receiving the user's first input, the method further includes:
    显示播放源列表,所述播放源列表对应的播放源为电子设备安装的应用程序提供的播放源;Displaying a play source list, the play source corresponding to the play source list is a play source provided by an application program installed on the electronic device;
    所述接收用户的第一输入,包括:The receiving the user's first input includes:
    接收用户针对所述播放源列表中目标播放源的第一输入;receiving a user's first input for a target playback source in the playback source list;
    所述响应于所述第一输入,触发所述目标应用程序执行目标功能,包括:The triggering the target application program to execute the target function in response to the first input includes:
    响应于所述第一输入,通过所述目标播放源对应的应用程序播放所述目标媒体,并在第一应用界面显示第二元素,所述第一应用界面为所述目标播放源对应的应用程序播放所述目标媒体的播放界面。In response to the first input, play the target media through the application program corresponding to the target playback source, and display the second element on the first application interface, the first application interface is the application corresponding to the target playback source The program plays the playback interface of the target media.
  6. 根据权利要求1所述的方法,其中,所述目标应用程序为多媒体应用,所述应用界面为目标媒体的播放界面,所述目标功能为播放方式切换功能;The method according to claim 1, wherein the target application program is a multimedia application, the application interface is a playback interface of the target media, and the target function is a playback mode switching function;
    在所述显示目标应用程序的应用界面之后,接收用户的第一输入之前,所述方法还包括:After displaying the application interface of the target application program and before receiving the user's first input, the method further includes:
    显示播放方式列表;Display the play mode list;
    所述接收用户的第一输入,包括:The receiving the user's first input includes:
    接收用户针对所述播放方式列表中目标播放方式的第一输入;receiving the user's first input for the target playback mode in the playback mode list;
    所述响应于所述第一输入,触发所述目标应用程序执行目标功能,包括:The triggering the target application program to execute the target function in response to the first input includes:
    响应于所述第一输入,通过所述目标播放方式播放所述目标媒体;in response to the first input, playing the target media through the target playback mode;
    所述将所述第一目标元素的形态更新为目标形态,包括:The updating the form of the first target element to the target form includes:
    将所述第一目标元素的形态更新为目标设备的形态,所述目标设备与所述目标播放方式对应。The form of the first target element is updated to the form of a target device, where the target device corresponds to the target playback mode.
  7. 一种显示装置,所述装置包括:A display device, the device comprising:
    第一显示模块,用于显示目标应用程序的应用界面,所述应用界面包括 第一目标元素,所述第一目标元素的形态与所述目标应用程序的功能相关联;The first display module is used to display the application interface of the target application program, the application interface includes a first target element, and the form of the first target element is associated with the function of the target application program;
    接收模块,用于接收用户的第一输入;a receiving module, configured to receive a first input from a user;
    响应模块,用于响应于所述第一输入,触发所述目标应用程序执行目标功能;a response module, configured to trigger the target application program to execute a target function in response to the first input;
    更新模块,用于将所述第一目标元素的形态更新为目标形态,所述目标形态与所述目标功能对应。An update module, configured to update the form of the first target element to a target form, the target form corresponding to the target function.
  8. 根据权利要求7所述的装置,其中,所述应用界面的预设区域包括第一目标元素,所述更新模块,包括:The device according to claim 7, wherein the preset area of the application interface includes a first target element, and the update module includes:
    第一显示子模块,用于在所述目标功能用于在所述预设区域显示信息的情况下,取消显示所述第一目标元素,并在所述预设区域显示所述信息;The first display submodule is configured to cancel display of the first target element and display the information in the preset area when the target function is used to display information in the preset area;
    第二显示子模块,用于在所述目标功能与所述预设区域不相关的情况下,将所述第一目标元素的形态更新为目标形态。The second display submodule is configured to update the form of the first target element to a target form when the target function is not related to the preset area.
  9. 根据权利要求7所述的装置,其中,所述应用界面包括功能控件,所述第一目标元素的形态与所述功能控件相关联,所述接收模块,用于接收针对所述功能控件中目标功能控件的第一输入;The device according to claim 7, wherein the application interface includes a functional control, the form of the first target element is associated with the functional control, and the receiving module is configured to receive the first input of the function control;
    所述响应模块,用于响应于所述第一输入,触发所述目标应用程序执行与所述目标功能控件对应的功能;The response module is configured to trigger the target application program to execute a function corresponding to the target function control in response to the first input;
    所述更新模块,用于将所述第一目标元素的形态更新为与所述目标功能控件对应的形态。The update module is configured to update the form of the first target element to a form corresponding to the target function control.
  10. 根据权利要求8所述的装置,其中,所述第一显示子模块,用于:The device according to claim 8, wherein the first display submodule is configured to:
    在所述目标功能用于在所述预设区域显示信息,且所述信息的内容不为空的情况下,取消显示所述第一目标元素,并在所述预设区域显示所述信息;When the target function is used to display information in the preset area, and the content of the information is not empty, cancel the display of the first target element, and display the information in the preset area;
    在所述目标功能用于在所述预设区域显示信息,且所述信息的内容为空的情况下,取消显示所述第一目标元素,在所述预设区域显示预设提示信息,并在预设时间段后,取消显示所述预设提示信息,在所述预设区域显示所述第一目标元素。When the target function is used to display information in the preset area, and the content of the information is empty, cancel the display of the first target element, display preset prompt information in the preset area, and After a preset time period, the display of the preset prompt information is canceled, and the first target element is displayed in the preset area.
  11. 根据权利要求7所述的装置,其中,所述目标应用程序为多媒体程序,所述应用界面为目标媒体的播放界面,所述目标功能为播放源切换功能;所述装置还包括:The device according to claim 7, wherein the target application program is a multimedia program, the application interface is a playback interface of the target media, and the target function is a playback source switching function; the device also includes:
    第二显示模块,用于显示播放源列表,所述播放源列表对应的播放源为电子设备安装的应用程序提供的播放源;The second display module is used to display a play source list, and the play source corresponding to the play source list is a play source provided by an application program installed on the electronic device;
    所述输入模块,用于接收用户针对所述播放源列表中目标播放源的第一输入;The input module is configured to receive a user's first input for a target playback source in the playback source list;
    所述响应模块,用于响应于所述第一输入,通过所述目标播放源对应的应用程序播放所述目标媒体,并在第一应用界面显示第二元素,所述第一应用界面为所述目标播放源对应的应用程序播放所述目标媒体的播放界面。The response module is configured to play the target media through the application program corresponding to the target playback source in response to the first input, and display the second element on the first application interface, the first application interface is the The application program corresponding to the target playback source plays the playback interface of the target media.
  12. 根据权利要求7所述的装置,其中,所述目标应用程序为多媒体应用,所述应用界面为目标媒体的播放界面,所述目标功能为播放方式切换功能;The device according to claim 7, wherein the target application program is a multimedia application, the application interface is a playback interface of the target media, and the target function is a playback mode switching function;
    所述装置还包括:The device also includes:
    第三显示模块,用于显示播放方式列表;The third display module is used to display the list of playing modes;
    所述接收模块,用于接收用户针对所述播放方式列表中目标播放方式的第一输入;The receiving module is configured to receive the user's first input for the target playback mode in the playback mode list;
    所述响应模块,用于响应于所述第一输入,通过所述目标播放方式播放所述目标媒体;The response module is configured to play the target media in the target playback mode in response to the first input;
    所述更新模块,用于将所述第一目标元素的形态更新为目标设备的形态,所述目标设备与所述目标播放方式对应。The update module is configured to update the form of the first target element to the form of a target device, and the target device corresponds to the target playback mode.
  13. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-6中任一项所述的显示方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, when the program or instruction is executed by the processor, claims 1-6 are realized The steps of any one of the display methods.
  14. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-6中任一项所述的显示方法的步骤。A readable storage medium, storing programs or instructions on the readable storage medium, and implementing the steps of the display method according to any one of claims 1-6 when the programs or instructions are executed by a processor.
  15. 一种芯片,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-6中任一项所述的方法。A chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method according to any one of claims 1-6.
  16. 一种计算机程序产品,其特征在于,所述程序产品被至少一个处理器执行以实现如权利要求1-6中任一项所述的方法。A computer program product, characterized in that the program product is executed by at least one processor to implement the method according to any one of claims 1-6.
  17. 一种电子设备,所述电子设备被配置成用于执行如权利要求1-6中任一项所述的方法。An electronic device configured to execute the method according to any one of claims 1-6.
PCT/CN2022/124036 2021-10-12 2022-10-09 Display method and apparatus, and electronic device WO2023061281A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111187970.3A CN113885994A (en) 2021-10-12 2021-10-12 Display method and device and electronic equipment
CN202111187970.3 2021-10-12

Publications (1)

Publication Number Publication Date
WO2023061281A1 true WO2023061281A1 (en) 2023-04-20

Family

ID=79006314

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/124036 WO2023061281A1 (en) 2021-10-12 2022-10-09 Display method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN113885994A (en)
WO (1) WO2023061281A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113885994A (en) * 2021-10-12 2022-01-04 维沃移动通信有限公司 Display method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100229094A1 (en) * 2009-03-04 2010-09-09 Apple Inc. Audio preview of music
CN109302538A (en) * 2018-12-21 2019-02-01 广州酷狗计算机科技有限公司 Method for playing music, device, terminal and storage medium
CN109634499A (en) * 2018-12-12 2019-04-16 广州酷狗计算机科技有限公司 Information display method, device, terminal and storage medium
CN110489573A (en) * 2019-07-30 2019-11-22 维沃移动通信有限公司 Interface display method and electronic equipment
CN111753125A (en) * 2020-06-22 2020-10-09 腾讯音乐娱乐科技(深圳)有限公司 Song audio frequency display method and device
CN111757163A (en) * 2020-06-30 2020-10-09 北京字节跳动网络技术有限公司 Video playing control method and device, electronic equipment and storage medium
CN113805838A (en) * 2021-09-24 2021-12-17 维沃移动通信有限公司 Multimedia information processing method and device and electronic equipment
CN113885994A (en) * 2021-10-12 2022-01-04 维沃移动通信有限公司 Display method and device and electronic equipment
CN114020394A (en) * 2021-11-17 2022-02-08 维沃移动通信有限公司 Image display method and device and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111190514A (en) * 2016-09-13 2020-05-22 华为机器有限公司 Information display method and terminal
CN112883223B (en) * 2019-11-29 2024-10-01 阿里巴巴集团控股有限公司 Audio display method and device, electronic equipment and computer storage medium
CN111163224B (en) * 2019-12-27 2021-07-30 维沃移动通信有限公司 Voice message playing method and electronic equipment
CN111831190B (en) * 2020-07-10 2022-05-03 维沃移动通信有限公司 Music application program control method and device and electronic equipment
CN111984175B (en) * 2020-08-14 2022-02-18 维沃移动通信有限公司 Audio information processing method and device
CN113407766A (en) * 2020-11-09 2021-09-17 腾讯科技(深圳)有限公司 Visual animation display method and related equipment
CN113220393A (en) * 2021-05-06 2021-08-06 维沃移动通信有限公司 Display method and device and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100229094A1 (en) * 2009-03-04 2010-09-09 Apple Inc. Audio preview of music
CN109634499A (en) * 2018-12-12 2019-04-16 广州酷狗计算机科技有限公司 Information display method, device, terminal and storage medium
CN109302538A (en) * 2018-12-21 2019-02-01 广州酷狗计算机科技有限公司 Method for playing music, device, terminal and storage medium
CN110489573A (en) * 2019-07-30 2019-11-22 维沃移动通信有限公司 Interface display method and electronic equipment
CN111753125A (en) * 2020-06-22 2020-10-09 腾讯音乐娱乐科技(深圳)有限公司 Song audio frequency display method and device
CN111757163A (en) * 2020-06-30 2020-10-09 北京字节跳动网络技术有限公司 Video playing control method and device, electronic equipment and storage medium
CN113805838A (en) * 2021-09-24 2021-12-17 维沃移动通信有限公司 Multimedia information processing method and device and electronic equipment
CN113885994A (en) * 2021-10-12 2022-01-04 维沃移动通信有限公司 Display method and device and electronic equipment
CN114020394A (en) * 2021-11-17 2022-02-08 维沃移动通信有限公司 Image display method and device and electronic equipment

Also Published As

Publication number Publication date
CN113885994A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
CN104967801B (en) A kind of video data handling procedure and device
WO2022063022A1 (en) Video preview method and apparatus and electronic device
US11233895B2 (en) Automatic wallpaper setting method, terminal device, and graphical user interface
WO2016124095A1 (en) Video generation method, apparatus and terminal
WO2022253157A1 (en) Audio sharing method and apparatus, device, and medium
CN104142779B (en) user interface control method, device and terminal
WO2018157812A1 (en) Method and apparatus for implementing video branch selection and playback
EP4124052A1 (en) Video production method and apparatus, and device and storage medium
CN109819301B (en) Video playing method and device, terminal equipment and computer readable storage medium
CN112148176B (en) Pendant control method and device, electronic equipment and readable storage medium
CN104216973B (en) A kind of method and device of data search
CN112102841B (en) Audio editing method and device for audio editing
WO2022268024A1 (en) Video playback method and apparatus, and electronic device
CN111857510B (en) Parameter adjusting method and device and electronic equipment
CN112099694B (en) Desktop control processing method and device
WO2023061281A1 (en) Display method and apparatus, and electronic device
WO2022068721A1 (en) Screen capture method and apparatus, and electronic device
CN108710521B (en) Note generation method and terminal equipment
WO2018010319A1 (en) Method and apparatus for displaying application function
CN113805838A (en) Multimedia information processing method and device and electronic equipment
JP2023519389A (en) Scratchpad creation method and electronic device
CN111641551A (en) Voice playing method, voice playing device and electronic equipment
US20230024761A1 (en) Method for playing videos and electronic device
WO2022227589A1 (en) Audio processing method and apparatus
KR20110136589A (en) Mobile terminal and operating method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22880220

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22880220

Country of ref document: EP

Kind code of ref document: A1