WO2023088183A1 - Image display method and apparatus, and electronic device - Google Patents
Image display method and apparatus, and electronic device Download PDFInfo
- Publication number
- WO2023088183A1 WO2023088183A1 PCT/CN2022/131386 CN2022131386W WO2023088183A1 WO 2023088183 A1 WO2023088183 A1 WO 2023088183A1 CN 2022131386 W CN2022131386 W CN 2022131386W WO 2023088183 A1 WO2023088183 A1 WO 2023088183A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- color
- target
- audio
- adjusting
- target element
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
Definitions
- the present application belongs to the technical field of electronic equipment, and in particular relates to an image display method, device and electronic equipment.
- smartphones generally have a music player function, which supports basic operations including: playing music from different sources, playing, pausing, switching songs, displaying lyrics, viewing playlists, favorite songs, switching playback loop modes, etc.
- the panel of the current music player has a low degree of personalization, and lacks emotional expression in interaction and vision.
- the purpose of the embodiments of the present application is to provide an image display method, device, and electronic equipment, which can solve the problem that the image display solution for audio playback in the prior art cannot achieve a coherent display with the corresponding audio.
- an embodiment of the present application provides an image display method, the method comprising:
- the audio playback interface includes a target element
- the category parameter includes: at least one item of cover information and classification label information.
- an image display device which includes:
- the first display module is used to display an audio playback interface, and the audio playback interface includes a target element;
- the first obtaining module is used to obtain the category parameter of the target audio corresponding to the audio playback interface
- a first adjustment module configured to adjust the color of the target element according to the category parameter
- the category parameter includes: at least one item of cover information and classification label information.
- the embodiment of the present application provides an electronic device, the electronic device includes a processor and a memory, the memory stores programs or instructions that can run on the processor, and the programs or instructions are processed by the The steps of the method described in the first aspect are realized when the controller is 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 steps of the method.
- an embodiment of the present application provides a computer program product, the computer program product is stored in a storage medium, and the computer program product is executed by at least one processor to implement the steps of the method described in the first aspect.
- the audio playback interface includes target elements; acquiring category parameters of target audio corresponding to the audio playback interface; adjusting the color of the target element according to the category parameters ;
- the category parameters include: at least one of the cover information and classification label information; it can realize the color display suitable for different audio, create an emotional and intelligent playback experience, and improve the degree of personalization, which is very good It solves the problem that the image display solution for audio playback in the prior art cannot realize the fit display with the corresponding audio.
- FIG. 1 is a schematic flow chart of an image display method according to an embodiment of the present application.
- Fig. 2 is the first schematic diagram of the music panel of the embodiment of the present application.
- FIG. 3 is a first schematic diagram of the setting interface of the embodiment of the present application.
- FIG. 4 is a schematic diagram of a button style according to an embodiment of the present application.
- FIG. 5 is a second schematic diagram of the button style of the embodiment of the present application.
- FIG. 6 is a schematic diagram of button style III in the embodiment of the present application.
- FIG. 7 is a fourth schematic diagram of button style in the embodiment of the present application.
- Fig. 8 is a schematic diagram of the button size of the embodiment of the present application.
- Figure 9 is a second schematic diagram of the setting interface of the embodiment of the present application.
- Fig. 10 is the second schematic diagram of the music panel of the embodiment of the present application.
- Fig. 11 is the third schematic diagram of the music panel of the embodiment of the present application.
- Fig. 12 is a schematic diagram 4 of the music panel of the embodiment of the present application.
- Fig. 13 is a schematic diagram five of the music panel of the embodiment of the present application.
- Fig. 14 is a sixth schematic diagram of the music panel of the embodiment of the present application.
- Fig. 15 is the seventh schematic diagram of the music panel of the embodiment of the present application.
- Fig. 16 is a schematic diagram eight of the music panel of the embodiment of the present application.
- Fig. 17 is a schematic diagram nine of the music panel of the embodiment of the present application.
- Fig. 18 is a tenth schematic diagram of the music panel of the embodiment of the present application.
- Fig. 19 is the eleventh schematic diagram of the music panel of the embodiment of the present application.
- FIG. 20 is a schematic structural diagram of an image display device according to an embodiment of the present application.
- FIG. 21 is a first structural schematic diagram of an electronic device according to an embodiment of the present application.
- FIG. 22 is a second structural schematic diagram of an electronic device according to an embodiment of the present application.
- the image display method provided in the embodiment of the present application, as shown in Figure 1, includes:
- Step 11 Display an audio playback interface, where the audio playback interface includes a target element.
- the target element may be an image of a certain shape, such as a circular image; but it is not limited thereto.
- Step 12 Acquiring category parameters of the target audio corresponding to the audio playback interface.
- the target audio may include: at least one of music content such as songs and non-music content such as listening to books or radio stations.
- Step 13 Adjust the color of the target element according to the category parameter; wherein the category parameter includes: at least one item of cover information and classification label information.
- the adjusted color may be the same as or different from the currently displayed color, which is not limited here.
- the adjusting the color of the target element according to the category parameter includes: extracting the color contained in the cover image corresponding to the target audio according to the cover information corresponding to the target audio; , to adjust the color of the target element.
- the color of the target element may specifically include: sorting according to the proportion of each color in the cover image to obtain a sorting result; according to the sorting result, obtaining the target color (For example, the color ranked in the top N positions is used as the target color, and N is an integer greater than 0); according to the target color, the color of the target element is adjusted.
- the adjusting the color of the target element according to the category parameter includes: adjusting the color of the target element according to the color corresponding to the classification label information of the target audio.
- adjust the color of the target element according to the classification label information and “adjust the color of the target element according to the cover information” can be used separately or in combination; for combined use, for example: the colors determined by the two are mixed according to a certain ratio to adjust the color of the target element; or according to certain rules, choose one of the colors determined by the two to adjust the color of the target element; it is not limited here.
- the target element includes a first element and a second element; the color of the target element includes: the color of the first element and the color of the second element; , adjusting the color of the target element, including: adjusting the color of the first element according to the first color of the colors determined by the category parameter; adjusting the color of the first element according to the second color of the colors determined by the category parameter Describes the color of the second element.
- the first color in the colors determined according to the category parameter, and adjusting the color of the first element includes: determining according to the category parameter The first color in the colors of the first element, adjust the color of other areas in the first element except the overlapping area; the second color in the colors determined according to the category parameters, adjust the second element color, including: according to the second color in the colors determined by the category parameter, adjusting the color of other regions in the second element except the overlapping region; according to the category parameter, adjusting the The color of the target element further includes: determining the display color of the overlapping area according to the background color of the display area corresponding to the target element; or determining the display color of the overlapping area according to the first color and the second color Display color; adjust the color of the overlapping area according to the display color.
- the method further includes: when the target audio is in the playing state, determining the shape change information of the target element according to the audio parameter information of the target audio; parameter, after adjusting the color of the target element, further includes: dynamically displaying the target element according to the shape change information; wherein, the audio parameter information includes: at least one of loudness and frequency.
- the rhythm of the target audio can be dynamically displayed, further improving the user experience.
- it can be: the greater the loudness, the greater the amplitude of the waveform (that is, the greater the change range of the target element); the higher the frequency, the tighter the fluctuation (that is, the higher the change frequency of the target element); otherwise, the The edges are closer to the original shape.
- the audio playback interface after displaying the audio playback interface, it further includes: receiving a first input in the display area corresponding to the target element; displaying the target in the display area according to the first input
- the audio corresponds to the text content, and the target element is blurred.
- the first input may be an operation such as clicking or sliding, which is not limited herein.
- the text content it may be the text content of the currently playing part of the target audio; but it is not limited thereto.
- the image display method provided in the embodiment of the application is described below as an example.
- the audio control panel is taken as an example of a music panel, and the target audio is taken as an example of a song.
- the embodiment of the present application provides an image display method, which can be realized as a method of personalized music panel setting, so that a music (playing) panel can be displayed through the color display and interactive operation of different songs.
- Dynamic expression creating a smart, emotional and intelligent music player experience. Which involves:
- the panel in the embodiment of the present application can be shown in Figure 2 to Figure 19, including: (top) toolbar A, visual dynamic effect display area (corresponding to the display area corresponding to the above-mentioned target element) B, lyrics information (display area) C, music list switching (area) D and play control function area E.
- this solution involves the following parts:
- the top is the toolbar A, and the icons contained therein represent from left to right: the function key A1 for switching the playback device (such as switching to the local speaker or an external earphone device), and the function key A1 for switching the cycle mode (such as clicking Then switch between single cycle, list cycle, random play) function key A2, function key A3 for collection, and function key A4 for setting.
- Visual dynamic effect display area B which displays the color matching style of the currently playing music, dynamic spectrum effects, user operation functions, and status feedback during operations such as controlling playback. Click on this area to display the lyrics of the song.
- Playback control functional area E the icons contained in it represent from left to right: function key E1 for switching audio sources, function key E2 for switching to the previous song, and function keys for switching play and pause E3, function key E4 for switching to the next song.
- click "Settings” in the upper right corner of the panel to enter the personalized setting interface which can be used for:
- Play control button i.e. function key
- style preview specifically, under the current setting, the previous song (corresponding to the above E2), play/pause (corresponding to the above E3), and the next song (corresponding to the above E4) Wait for the style preview of the button.
- the color of the previewed button can be determined according to the color in the above-mentioned visual color preview of the song.
- the first color option can be "Automatic (corresponding to F1 in the figure)", which will automatically match with the change of music (for color rules, please refer to the color display rules in Part 4). Corresponding to the above, adjust the color of the target element according to the class parameter.
- This solution can support four styles, as shown in Figure 3: round G1 (see Figure 4 for details), square G2 (see Figure 5 for details), and x-shaped G3 (see Figure 6 for details). shown), conventional G4 (see Figure 7 for details).
- the four button styles in this solution can all support small, medium, and large adjustments, as shown in Figure 8, corresponding to small, medium, and large from left to right.
- this solution can support black and white (default) two background colors, which can be changed according to the system dark mode.
- black and white (default) two background colors which can be changed according to the system dark mode.
- the icons and texts in the panel other than the content that needs to be displayed in color are displayed in reverse color, such as the text is displayed in white; when the white background is selected, the content in the panel that needs to be displayed in color Other icons and texts are also displayed in reverse color, for example, the text is displayed in black.
- the "content that needs to be displayed in color” may include at least one of the content of the above-mentioned visual color preview of the song and the content of color options.
- Part 4 visual dynamic display area
- two circular partial images (corresponding to the above-mentioned first element and second element) are displayed, and different colors are displayed on the left and right sides.
- the color of the overlapping area can be displayed in reverse color according to the background color of the interface, or displayed according to the left and right colors (for example, displayed according to the color obtained by overlapping the left and right colors); corresponding to the background color of the display area corresponding to the above-mentioned target element, Determine the display color of the overlapping area; or, according to the first color and the second color, determine the display color of the overlapping area (wherein "the background color of the display area" corresponds to the "interface background color", "left and right Color” corresponds to "first color and second color”).
- the song resource does not have its own album or single cover, but has a song classification label (corresponding to the above classification label information): in this solution, it can be matched according to the emotional label under the song classification label corresponding to the song (about the song Classification tags can come from third-party audio sources, which are not limited here).
- the corresponding visual color of the song (corresponding to the color of the above-mentioned target element ) are divided into five types: warm, relaxed, romantic, immersive and nostalgic. Different types of visual colors will be associated and mapped with the emotional tags of the song (corresponding to the above-mentioned first correspondence); among them, multiple sets of visual color combinations can be provided for one type of visual color (also can be understood as a type The visual colors of different songs can include a variety of color combinations.
- the visual colors of the enthusiastic type can include: red-purple matching, red-blue matching, etc.); later, according to the type of visual color (of) corresponding to different songs, the visual colors of this type can be randomly displayed Color matching types.
- the five types of visual colors specific examples are as follows:
- Warm Two contrasting colors, mostly two colors at 120° in the color circle. For example: blue-orange collocation, green-red collocation, green-pink collocation, purple-red collocation, blue-red collocation, etc.
- Immersion Two similar colors with low lightness, mostly dark and cool colors, such as blue, purple, green, deep red, etc. For example: green and dark red collocation, blue-green collocation, blue-brown collocation, blue-purple collocation and so on.
- Nostalgia Two similar colors with low saturation, mostly light gray, light red, light blue, etc. For example: gray-pink collocation, blue-pink collocation, purple-pink collocation, gray-red collocation, red-blue collocation, etc.
- the edges of the above-mentioned "two circular partial images” can display spectrum dynamic effects according to the (sound) loudness and (sound) frequency (corresponding to the above-mentioned audio parameter information) of the currently playing music.
- the above information based on the shape change dynamically display the target element.
- the above edge is closer to the original shape (or state).
- the left figure corresponds to the situation of high loudness and high frequency
- the right figure corresponds to the situation of low loudness and low frequency
- the change range of the above-mentioned edge in the left figure is greater than that of the right
- the magnitude of change of the above-mentioned edges in the attached figure may be: the greater the loudness, the greater the amplitude of the waveform (corresponding to the greater variation range of the above-mentioned edge); the higher the frequency, the tighter the fluctuation (corresponding to the higher the variation frequency of the above-mentioned edge).
- the above edge is closer to the original shape (or state).
- the left figure corresponds to the situation of high loudness and high frequency
- the right figure corresponds to the situation of low loudness and low frequency
- the change range of the above-mentioned edge in the left figure is greater than that of the right
- the magnitude of change of the above-mentioned edges in the attached figure may be: the greater
- the above-mentioned edge when it changes, it may be changed in a manner similar to shaking (for example, at least one position of the above-mentioned edge will protrude outward, and the protrusion will move on the edge in real time), which is not limited here .
- the display image of the relevant interface can also be dynamically displayed according to the audio dynamic processing method (ie, dynamic display rules).
- the loudness and frequency may be acquired in real time during the playing of the song or in advance (for example, the loudness and frequency information of the entire song is acquired at the beginning of playing), which is not limited here.
- the graphics in the (visual) dynamic effect display area can be transformed into the corresponding form; for example, when the user clicks the "pause” button, the image displayed in the (visual) dynamic effect display area is transformed into a "pause” button The corresponding image style.
- the color and shape of the corresponding position in the (visual) dynamic display area can change correspondingly (the color of the above-mentioned overlapping area can still be displayed in reverse color according to the interface background color).
- the lyrics of the currently playing song can be displayed in the lyrics display area (corresponding to the above-mentioned
- the first input is to display the text content corresponding to the target audio in the display area).
- the background displays a Gaussian blur effect (corresponding to the aforementioned blurring process on the target element), which is not shown in FIG. 19 , and only the edges of the first sub-image and the second sub-image are shown as dotted lines.
- the lyrics After clicking to display the lyrics, the lyrics can be displayed one by one according to the playback progress.
- the lyrics information When the lyrics information is not provided, it can display "the current song does not provide lyrics", which will disappear after a period of time, and return to the normal state (that is, the state where the lyrics are not displayed).
- the lyrics style matches the song type that is, the content style of the lyrics matches the song type.
- the font style of the lyrics can be divided into five types: warm, relaxed, romantic, immersive and nostalgic (same as the visual color type in the above color display rules).
- specific examples are as follows:
- the lyrics style can be randomly applied to the left or right color under the song, and use small and thin fonts;
- Nostalgic for the type of song the lyrics style can be gray, large and thin fonts.
- the solution provided by the embodiment of the present application can achieve: through personalized matching or user-defined visual dynamic effects, color styles and lyrics font styles, etc., it can bring immersive music player listening and operation experience that conforms to the song itself , to establish a digital emotional connection between the player of the electronic device and the user.
- the audio playback interface includes target elements; acquiring category parameters of target audio corresponding to the audio playback interface; adjusting the color of the target element according to the category parameters ;
- the category parameters include: at least one of the cover information and classification label information; it can realize the color display suitable for different audio, create an emotional and intelligent playback experience, and improve the degree of personalization, which is very good It solves the problem that the image display solution for audio playback in the prior art cannot realize the fit display with the corresponding audio.
- the image display method provided in the embodiment of the present application may be executed by an image display device.
- the image display device provided in the embodiment of the present application is described by taking the image display device executing the image display method as an example.
- the image display device provided in the embodiment of the present application includes:
- the first display module 201 is configured to display an audio playback interface, and the audio playback interface includes a target element;
- the first obtaining module 202 is used to obtain the category parameter of the target audio corresponding to the audio playback interface
- the first adjustment module 203 is configured to adjust the color of the target element according to the category parameter
- the category parameter includes: at least one item of cover information and classification label information.
- the adjusting the color of the target element according to the category parameter includes: extracting the color contained in the cover image corresponding to the target audio according to the cover information corresponding to the target audio; The color of the , adjusts the color of the target element.
- the adjusting the color of the target element according to the category parameter includes: adjusting the color of the target element according to the color corresponding to the classification label information of the target audio.
- the target element includes a first element and a second element; the color of the target element includes: the color of the first element and the color of the second element; according to the category parameter, adjusting the The color of the target element includes: adjusting the color of the first element according to the first color in the colors determined by the category parameter; adjusting the second element according to the second color in the colors determined by the category parameter s color.
- the first color in the colors determined according to the category parameter, and adjusting the color of the first element includes: according to the determined The first color in the colors determined by the category parameters is used to adjust the colors of other areas in the first element except the overlapping area; the second color in the colors determined according to the category parameters is adjusted.
- the color of the second element includes: adjusting the color of other areas in the second element except the overlapping area according to the second color in the colors determined by the category parameters; , adjusting the color of the target element, further comprising: determining the display color of the overlapping area according to the background color of the display area corresponding to the target element; or determining the display color of the overlapping area according to the first color and the second color.
- the display color of the overlapping area according to the display color, adjust the color of the overlapping area.
- the image display device further includes: a first determination module, configured to determine according to the audio parameter information of the target audio when the target audio is in a playing state after the audio playback interface is displayed.
- the shape change information of the target element the image display device further includes: a second display module, configured to dynamically display the target element according to the shape change information after adjusting the color of the target element according to the category parameter The target element; wherein, the audio parameter information includes: at least one of loudness and frequency.
- the image display device further includes: a first receiving module, configured to receive a first input in the display area corresponding to the target element after the audio playback interface is displayed; a processing module, and displaying text content corresponding to the target audio in the display area according to the first input, and performing blurring processing on the target element.
- the audio playback interface includes target elements; acquiring category parameters of target audio corresponding to the audio playback interface; adjusting the color of the target element according to the category parameters ;
- the category parameters include: at least one of the cover information and classification label information; it can realize the color display suitable for different audio, create an emotional and intelligent playback experience, and improve the degree of personalization, which is very good It solves the problem that the image display solution for audio playback in the prior art cannot realize the fit display with the corresponding audio.
- the image display device in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip.
- the electronic device may be a terminal, or other devices other than the terminal.
- the electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) ) equipment, robots, wearable devices, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc.
- the image display device in the embodiment of the present application may be a device with an operating system.
- the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
- the image display device provided by the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 to FIG. 19 , and details are not repeated here to avoid repetition.
- the embodiment of the present application also provides an electronic device 210, including a processor 211 and a memory 212.
- the memory 212 stores programs or instructions that can run on the processor 211.
- the programs or instructions are executed by the processor 211, the various steps of the above-mentioned image display method embodiments can be achieved, 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. 22 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 220 includes, but is not limited to: a radio frequency unit 221, a network module 222, an audio output unit 223, an input unit 224, a sensor 225, a display unit 226, a user input unit 227, an interface unit 228, a memory 229, and a processor 2210, etc. part.
- the electronic device 220 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 2210 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. 22 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 some components, or arrange different components, which will not be repeated here. .
- the display unit 226 is configured to display an audio playback interface, and the audio playback interface includes a target element;
- Processor 2210 configured to acquire category parameters of the target audio corresponding to the audio playback interface; adjust the color of the target element according to the category parameters; wherein, the category parameters include: cover information and classification label information at least one of the .
- the audio playback interface includes target elements; acquiring category parameters of target audio corresponding to the audio playback interface; adjusting the color of the target element according to the category parameters ;
- the category parameters include: at least one of the cover information and classification label information; it can realize the color display suitable for different audio, create an emotional and intelligent playback experience, and improve the degree of personalization, which is very good It solves the problem that the image display solution for audio playback in the prior art cannot realize the fit display with the corresponding audio.
- the adjusting the color of the target element according to the category parameter includes: extracting the color contained in the cover image corresponding to the target audio according to the cover information corresponding to the target audio; color to adjust the color of the target element.
- the adjusting the color of the target element according to the category parameter includes: adjusting the color of the target element according to the color corresponding to the classification label information of the target audio.
- the target element includes a first element and a second element; the color of the target element includes: the color of the first element and the color of the second element; according to the category parameter, adjusting The color of the target element includes: adjusting the color of the first element according to the first color in the colors determined by the category parameter; adjusting the color of the first element according to the second color in the colors determined by the category parameter The color of the two elements.
- adjusting the color of the first element according to the first color in the colors determined according to the category parameter includes: according to the category The first color in the colors determined by the parameters adjusts the colors of other areas in the first element except the overlapping area; the second color in the colors determined according to the category parameters adjusts the first
- the color of the two elements includes: adjusting the color of other areas in the second element except the overlapping area according to the second color in the colors determined by the category parameters; the adjusting according to the category parameters
- the color of the target element further includes: determining the display color of the overlapping area according to the background color of the display area corresponding to the target element; or determining the overlapping area according to the first color and the second color The display color of the area; adjust the color of the overlapping area according to the display color.
- the processor 2210 is further configured to determine the shape change information of the target element according to the audio parameter information of the target audio when the target audio is in a playing state after the audio playback interface is displayed;
- the processor 2210 is further configured to dynamically display the target element through the display unit 226 according to the shape change information after adjusting the color of the target element according to the category parameter; wherein the audio parameter information includes: At least one of loudness and frequency.
- the user input unit 227 is configured to receive a first input in the display area corresponding to the target element after the audio playback interface is displayed; the processor 2210 is also configured to, according to the first input, pass The display unit 226 displays text content corresponding to the target audio in the display area, and performs blur processing on the target element.
- the solution provided by the embodiment of the present application can achieve: through personalized matching or user-defined visual dynamic effects, color styles and lyrics font styles, etc., it can bring immersive music player listening and operation experience that conforms to the song itself , to establish a digital emotional connection between the player of the electronic device and the user.
- the input unit 224 may include a graphics processor (Graphics Processing Unit, GPU) 2241 and a microphone 2242, and the graphics processor 2241 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 226 may include a display panel 2261, and the display panel 2261 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
- the user input unit 227 includes at least one of a touch panel 2271 and other input devices 2272 .
- the touch panel 2271 is also called a touch screen.
- the touch panel 2271 may include two parts, a touch detection device and a touch controller.
- Other input devices 2272 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
- the memory 229 can be used to store software programs as well as various data.
- the memory 229 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required by at least one function (such as a sound playing function, image playback function, etc.), etc.
- memory 229 may include volatile memory or nonvolatile memory, or, memory 229 may include both volatile and nonvolatile memory.
- the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash.
- ROM Read-Only Memory
- PROM programmable read-only memory
- Erasable PROM Erasable PROM
- EPROM erasable programmable read-only memory
- Electrical EPROM Electrical EPROM
- EEPROM electronically programmable Erase Programmable Read-Only Memory
- Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synch link DRAM , SLDRAM) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM).
- RAM Random Access Memory
- SRAM static random access memory
- DRAM dynamic random access memory
- DRAM synchronous dynamic random access memory
- SDRAM double data rate synchronous dynamic random access memory
- Double Data Rate SDRAM Double Data Rate SDRAM
- DDRSDRAM double data rate synchronous dynamic random access memory
- Enhanced SDRAM, ESDRAM enhanced synchronous dynamic random access memory
- Synch link DRAM , SLDRAM
- Direct Memory Bus Random Access Memory Direct Rambus
- the processor 2210 may include one or more processing units; optionally, the processor 2210 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the foregoing modem processor may not be integrated into the processor 2210 .
- the embodiment of the present application also provides a readable storage medium.
- the readable storage medium stores programs or instructions.
- the program or instructions are executed by the processor, the various processes of the above-mentioned image display method embodiments can be achieved, and the same To avoid repetition, the technical effects will not be repeated here.
- the processor is the processor in the electronic device described in the above embodiments.
- the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk, and the like.
- 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 implement the above image display method embodiment Each process can achieve the same technical effect, so 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.
- An embodiment of the present application provides a computer program product, the computer program product is stored in a storage medium, and the program product is executed by at least one processor to implement the various processes in the above image display method embodiment, and can achieve the same technology Effect, in order to avoid repetition, will not repeat them 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.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present application relates to the technical field of electronic devices. Disclosed are an image display method and apparatus, and an electronic device. The image display method comprises: displaying an audio playback interface, which comprises a target element; obtaining a category parameter of a target audio corresponding to the audio playback interface; and adjusting the color of the target element according to the category parameter, the category parameter comprising: at least one of cover information and classification tag information.
Description
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年11月17日在中国提交的中国专利申请No.202111360138.9的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202111360138.9 filed in China on November 17, 2021, the entire contents of which are hereby incorporated by reference.
本申请属于电子设备技术领域,具体涉及一种图像显示方法、装置及电子设备。The present application belongs to the technical field of electronic equipment, and in particular relates to an image display method, device and electronic equipment.
目前,智能手机内普遍有音乐播放器功能,其支持的基本操作包括:播放不同音源的音乐、播放、暂停、切换歌曲、显示歌词、查看播放列表、收藏歌曲、切换播放循环方式等。但是,目前的音乐播放器的面板个性化程度低,在交互和视觉上缺乏情感化表达。At present, smartphones generally have a music player function, which supports basic operations including: playing music from different sources, playing, pausing, switching songs, displaying lyrics, viewing playlists, favorite songs, switching playback loop modes, etc. However, the panel of the current music player has a low degree of personalization, and lacks emotional expression in interaction and vision.
由上可知,目前针对音频播放的图像显示方案无法实现与对应音频的贴合化显示。It can be seen from the above that the current image display solution for audio playback cannot achieve a fit display with the corresponding audio.
发明内容Contents of the invention
本申请实施例的目的是提供一种图像显示方法、装置及电子设备,能够解决现有技术中针对音频播放的图像显示方案无法实现与对应音频的贴合化显示的问题。The purpose of the embodiments of the present application is to provide an image display method, device, and electronic equipment, which can solve the problem that the image display solution for audio playback in the prior art cannot achieve a coherent display with the corresponding audio.
第一方面,本申请实施例提供了一种图像显示方法,该方法包括:In a first aspect, an embodiment of the present application provides an image display method, the method comprising:
显示音频播放界面,所述音频播放界面包括目标元素;Displaying an audio playback interface, the audio playback interface includes a target element;
获取与所述音频播放界面对应的目标音频的类别参数;Acquiring category parameters of the target audio corresponding to the audio playback interface;
根据所述类别参数,调整所述目标元素的颜色;adjusting the color of the target element according to the category parameter;
其中,所述类别参数包括:封面信息以及分类标签信息中的至少一项。Wherein, the category parameter includes: at least one item of cover information and classification label information.
第二方面,本申请实施例提供了一种图像显示装置,该装置包括:In a second aspect, an embodiment of the present application provides an image display device, which includes:
第一显示模块,用于显示音频播放界面,所述音频播放界面包括目标元素;The first display module is used to display an audio playback interface, and the audio playback interface includes a target element;
第一获取模块,用于获取与所述音频播放界面对应的目标音频的类别参数;The first obtaining module is used to obtain the category parameter of the target audio corresponding to the audio playback interface;
第一调整模块,用于根据所述类别参数,调整所述目标元素的颜色;a first adjustment module, configured to adjust the color of the target element according to the category parameter;
其中,所述类别参数包括:封面信息以及分类标签信息中的至少一项。Wherein, the category parameter includes: at least one item of cover information and classification label information.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In the third aspect, the embodiment of the present application provides an electronic device, the electronic device includes a processor and a memory, the memory stores programs or instructions that can run on the processor, and the programs or instructions are processed by the The steps of the method described in the first aspect are realized when the controller is 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 steps of the method.
第六方面,本申请实施例提供一种计算机程序产品,该计算机程序产品被存储在存储介质中,该计算机程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤。In a sixth aspect, an embodiment of the present application provides a computer program product, the computer program product is stored in a storage medium, and the computer program product is executed by at least one processor to implement the steps of the method described in the first aspect.
在本申请实施例中,通过显示音频播放界面,所述音频播放界面包括目标元素;获取与所述音频播放界面对应的目标音频的类别参数;根据所述类别参数,调整所述目标元素的颜色;其中,所述类别参数包括:封面信息以及分类标签信息中的至少一项;能够实现贴合于不同音频的色彩显示,营造情感化和智能化的播放体验,提高个性化程度,很好的解决了现有技术中针对音频播放的图像显示方案无法实现与对应音频的贴合化显示的问题。In the embodiment of the present application, by displaying an audio playback interface, the audio playback interface includes target elements; acquiring category parameters of target audio corresponding to the audio playback interface; adjusting the color of the target element according to the category parameters ; Wherein, the category parameters include: at least one of the cover information and classification label information; it can realize the color display suitable for different audio, create an emotional and intelligent playback experience, and improve the degree of personalization, which is very good It solves the problem that the image display solution for audio playback in the prior art cannot realize the fit display with the corresponding audio.
图1为本申请实施例的图像显示方法流程示意图;FIG. 1 is a schematic flow chart of an image display method according to an embodiment of the present application;
图2为本申请实施例的音乐面板示意图一;Fig. 2 is the first schematic diagram of the music panel of the embodiment of the present application;
图3为本申请实施例的设置界面示意图一;FIG. 3 is a first schematic diagram of the setting interface of the embodiment of the present application;
图4为本申请实施例的按钮样式示意图一;FIG. 4 is a schematic diagram of a button style according to an embodiment of the present application;
图5为本申请实施例的按钮样式示意图二;FIG. 5 is a second schematic diagram of the button style of the embodiment of the present application;
图6为本申请实施例的按钮样式示意图三;FIG. 6 is a schematic diagram of button style III in the embodiment of the present application;
图7为本申请实施例的按钮样式示意图四;FIG. 7 is a fourth schematic diagram of button style in the embodiment of the present application;
图8为本申请实施例的按钮大小示意图;Fig. 8 is a schematic diagram of the button size of the embodiment of the present application;
图9为本申请实施例的设置界面示意图二;Figure 9 is a second schematic diagram of the setting interface of the embodiment of the present application;
图10为本申请实施例的音乐面板示意图二;Fig. 10 is the second schematic diagram of the music panel of the embodiment of the present application;
图11为本申请实施例的音乐面板示意图三;Fig. 11 is the third schematic diagram of the music panel of the embodiment of the present application;
图12为本申请实施例的音乐面板示意图四;Fig. 12 is a schematic diagram 4 of the music panel of the embodiment of the present application;
图13为本申请实施例的音乐面板示意图五;Fig. 13 is a schematic diagram five of the music panel of the embodiment of the present application;
图14为本申请实施例的音乐面板示意图六;Fig. 14 is a sixth schematic diagram of the music panel of the embodiment of the present application;
图15为本申请实施例的音乐面板示意图七;Fig. 15 is the seventh schematic diagram of the music panel of the embodiment of the present application;
图16为本申请实施例的音乐面板示意图八;Fig. 16 is a schematic diagram eight of the music panel of the embodiment of the present application;
图17为本申请实施例的音乐面板示意图九;Fig. 17 is a schematic diagram nine of the music panel of the embodiment of the present application;
图18为本申请实施例的音乐面板示意图十;Fig. 18 is a tenth schematic diagram of the music panel of the embodiment of the present application;
图19为本申请实施例的音乐面板示意图十一;Fig. 19 is the eleventh schematic diagram of the music panel of the embodiment of the present application;
图20为本申请实施例的图像显示装置结构示意图;FIG. 20 is a schematic structural diagram of an image display device according to an embodiment of the present application;
图21为本申请实施例的电子设备结构示意图一;FIG. 21 is a first structural schematic diagram of an electronic device according to an embodiment of the present application;
图22为本申请实施例的电子设备结构示意图二。FIG. 22 is a second structural schematic diagram of an electronic device according to an embodiment of the present application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。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 image 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所示,包括:The image display method provided in the embodiment of the present application, as shown in Figure 1, includes:
步骤11:显示音频播放界面,所述音频播放界面包括目标元素。Step 11: Display an audio playback interface, where the audio playback interface includes a target element.
目标元素可以为某一形状的图像,比如圆形图像;但并不以此为限。The target element may be an image of a certain shape, such as a circular image; but it is not limited thereto.
步骤12:获取与所述音频播放界面对应的目标音频的类别参数。Step 12: Acquiring category parameters of the target audio corresponding to the audio playback interface.
具体可包括:获取当前在所述音频播放界面下播放的目标音频的类别参数;但并不以此为限。目标音频可以包括:歌曲等音乐内容以及听书或电台等非音乐内容中的至少一项。Specifically, it may include: obtaining category parameters of the target audio currently played on the audio playback interface; but it is not limited thereto. The target audio may include: at least one of music content such as songs and non-music content such as listening to books or radio stations.
步骤13:根据所述类别参数,调整所述目标元素的颜色;其中,所述类别参数包括:封面信息以及分类标签信息中的至少一项。Step 13: Adjust the color of the target element according to the category parameter; wherein the category parameter includes: at least one item of cover information and classification label information.
调整后的颜色可以与当前显示的颜色相同或不同,在此不作限定。The adjusted color may be the same as or different from the currently displayed color, which is not limited here.
其中,所述根据所述类别参数,调整所述目标元素的颜色,包括:根据所述目标音频对应的封面信息,提取所述目标音频对应的封面图像所包含的颜色;根据提取的所述颜色,调整所述目标元素的颜色。Wherein, the adjusting the color of the target element according to the category parameter includes: extracting the color contained in the cover image corresponding to the target audio according to the cover information corresponding to the target audio; , to adjust the color of the target element.
这样可以快速的调整的目标元素的颜色。关于“根据提取的所述颜色,调整所述目标元素的颜色”,具体可以包括:根据各颜色在所述封面图像中的占比进行排序,得到排序结果;根据所述排序结果,获取目标颜色(比如将排序在前N位的颜色作为目标颜色,N为大于0的整数);根据所述目标颜色,调整所述目标元素的颜色。This allows you to quickly adjust the color of the target element. Regarding "adjusting the color of the target element according to the extracted color", it may specifically include: sorting according to the proportion of each color in the cover image to obtain a sorting result; according to the sorting result, obtaining the target color (For example, the color ranked in the top N positions is used as the target color, and N is an integer greater than 0); according to the target color, the color of the target element is adjusted.
本申请实施例中,所述根据所述类别参数,调整所述目标元素的颜色,包括:根据所述目标音频的分类标签信息对应的颜色,调整所述目标元素的颜色。In the embodiment of the present application, the adjusting the color of the target element according to the category parameter includes: adjusting the color of the target element according to the color corresponding to the classification label information of the target audio.
这样同样可以快速的调整的目标元素的颜色。具体的,可以是:分类标签信息与颜色之间可以有一个预存储的第一对应关系;后续根据分类标签信息和该第一对应关系即可得到对应的颜色。This can also quickly adjust the color of the target element. Specifically, it may be: there may be a pre-stored first correspondence between the classification label information and the color; and the corresponding color may be obtained subsequently according to the classification label information and the first correspondence.
在此说明,“根据分类标签信息调整目标元素的颜色”可以与“根据封面信息调整目标元素的颜色”分别单独使用,或者组合使用;关于组合使用,比如:两者确定的颜色按照一定比例混合来调整目标元素的颜色;或者根据一定规则,从两者确定的颜色中择一使用来调整目标元素的颜色;在此不作限定。It is explained here that "adjust the color of the target element according to the classification label information" and "adjust the color of the target element according to the cover information" can be used separately or in combination; for combined use, for example: the colors determined by the two are mixed according to a certain ratio to adjust the color of the target element; or according to certain rules, choose one of the colors determined by the two to adjust the color of the target element; it is not limited here.
本申请实施例中,所述目标元素包括第一元素和第二元素;所述目标元素的颜色包括:所述第一元素的颜色和所述第二元素的颜色;所述根据所述类别参数,调整所述目标元素的颜色,包括:根据所述类别参数确定的颜色中的第一颜色,调整所述第一元素的颜色;根据所述类别参数确定的颜色中的第二颜色,调整所述第二元素的颜色。In this embodiment of the present application, the target element includes a first element and a second element; the color of the target element includes: the color of the first element and the color of the second element; , adjusting the color of the target element, including: adjusting the color of the first element according to the first color of the colors determined by the category parameter; adjusting the color of the first element according to the second color of the colors determined by the category parameter Describes the color of the second element.
这样可以实现针对目标元素中的第一元素和第二元素分别进行颜色调整。In this way, color adjustment can be performed on the first element and the second element in the target element respectively.
其中,所述第一元素与第二元素之间存在重叠区域;所述根据所述类别参数确定的颜色中的第一颜色,调整所述第一元素的颜色,包括:根据所述类别参数确定的颜色中的第一颜色,调整所述第一元素中除所述重叠区域之外的其他区域的颜色;所述根据所述类别参数确定的颜色中的第二颜色,调整所述第二元素的颜色,包括:根据所述类别参数确定的颜色中的第二颜色,调整所述第二元素中除所述重叠区域之外的其他区域的颜色;所述根据所述类别参数,调整所述目标元素的颜色,还包括:根据所述目标元素所对应的显示区域的背景颜色,确定所述重叠区域的显示颜色;或者,根据所述第一颜色和第二颜色,确定所述重叠区域的显示颜色;根据所述显示颜色,调整所述重叠区域的颜色。Wherein, there is an overlapping area between the first element and the second element; the first color in the colors determined according to the category parameter, and adjusting the color of the first element includes: determining according to the category parameter The first color in the colors of the first element, adjust the color of other areas in the first element except the overlapping area; the second color in the colors determined according to the category parameters, adjust the second element color, including: according to the second color in the colors determined by the category parameter, adjusting the color of other regions in the second element except the overlapping region; according to the category parameter, adjusting the The color of the target element further includes: determining the display color of the overlapping area according to the background color of the display area corresponding to the target element; or determining the display color of the overlapping area according to the first color and the second color Display color; adjust the color of the overlapping area according to the display color.
这样可以实现单独调整重叠区域的颜色,使得方案更加灵活。In this way, the color of overlapping areas can be adjusted independently, making the scheme more flexible.
进一步的,在显示音频播放界面之后,还包括:在所述目标音频处于播放状态的情况下,根据所述目标音频的音频参数信息,确定所述目标元素的形状变化信息;在根据所述类别参数,调整所述目标元素的颜色之后,还包括:根据所述形状变化信息,动态显示所述目标元素;其中,所述音频参数信息包括:响度和频率中的至少一项。Further, after the audio playback interface is displayed, the method further includes: when the target audio is in the playing state, determining the shape change information of the target element according to the audio parameter information of the target audio; parameter, after adjusting the color of the target element, further includes: dynamically displaying the target element according to the shape change information; wherein, the audio parameter information includes: at least one of loudness and frequency.
这样可以动效显示目标音频的节奏,进一步提升用户体验。具体的,可以是:响度越大,波形的振幅越大(即目标元素的变化幅度越大);频率越高,波动越紧密(即目标元素的变化频率越高);反之,则目标元素的边缘越趋近于原形。In this way, the rhythm of the target audio can be dynamically displayed, further improving the user experience. Specifically, it can be: the greater the loudness, the greater the amplitude of the waveform (that is, the greater the change range of the target element); the higher the frequency, the tighter the fluctuation (that is, the higher the change frequency of the target element); otherwise, the The edges are closer to the original shape.
本申请实施例中,在显示音频播放界面之后,还包括:接收在所述目标元素所对应的显示区域内的第一输入;根据所述第一输入,在所述显示区域内显示所述目标音频对应的文本内容,并对所述目标元素进行模糊处理。In the embodiment of the present application, after displaying the audio playback interface, it further includes: receiving a first input in the display area corresponding to the target element; displaying the target in the display area according to the first input The audio corresponds to the text content, and the target element is blurred.
这样可以实现目标音频对应的文本内容的显示,以便于用户查看。第一输入可以为点击、滑动等操作,在此不作限定。关于文本内容,可以是目标音频中、当前在播放的那部分音频的文本内容;但并不以此为限。In this way, the text content corresponding to the target audio can be displayed, so that the user can view it easily. The first input may be an operation such as clicking or sliding, which is not limited herein. Regarding the text content, it may be the text content of the currently playing part of the target audio; but it is not limited thereto.
下面对申请实施例提供的所述图像显示方法进行举例说明,音频控制面板以音乐面板为例,目标音频以歌曲为例。The image display method provided in the embodiment of the application is described below as an example. The audio control panel is taken as an example of a music panel, and the target audio is taken as an example of a song.
针对上述技术问题,本申请实施例提供了一种图像显示方法,具体可实现为一种音乐面板个性化设置的方法,使得一种音乐(播放)面板,通过不同歌曲的色彩显示和交互操作的动效表达,营造出一种灵动、情感化和智能的音乐播放器体验。其中涉及:In view of the above-mentioned technical problems, the embodiment of the present application provides an image display method, which can be realized as a method of personalized music panel setting, so that a music (playing) panel can be displayed through the color display and interactive operation of different songs. Dynamic expression, creating a smart, emotional and intelligent music player experience. Which involves:
1、根据歌曲的情绪标签(对应于上述分类标签信息)匹配合适的颜色和歌词样式,通过图形动效显示用户的操作(比如暂停音频的播放)和音乐的节奏(对应于上述根据所述形状变化信息,动态显示所述目标元素)。1. Match the appropriate color and lyric style according to the emotional label of the song (corresponding to the above-mentioned category label information), and display the user's operation (such as pausing the audio playback) and the rhythm of the music (corresponding to the above-mentioned shape according to the above-mentioned Change information, dynamically display the target element).
2、支持自定义面板(即音乐面板)上的界面UI元素,打造用户专属的音乐播放器样式。2. Support the interface UI elements on the custom panel (that is, the music panel) to create a user-specific music player style.
具体的,本申请实施例中的面板可如图2至图19所示,包括:(顶部)工具栏A、视觉动效显示区(对应于上述目标元素所对应的显示区域)B、歌词信息(的显示区域)C、音乐列表切换(区域)D以及播放控制功能区E。基于图2至图19所示面板,本方案涉及以下几部分内容:Specifically, the panel in the embodiment of the present application can be shown in Figure 2 to Figure 19, including: (top) toolbar A, visual dynamic effect display area (corresponding to the display area corresponding to the above-mentioned target element) B, lyrics information (display area) C, music list switching (area) D and play control function area E. Based on the panels shown in Figure 2 to Figure 19, this solution involves the following parts:
部分一,唤起或收起面板:Part 1, evoke or retract the panel:
1.可通过全局手势,如通过从屏幕右边缘向左滑动,调出音乐面板。1. You can bring up the music panel through global gestures, such as swiping from the right edge of the screen to the left.
2.可点击非音乐面板的空白区域、或,点击系统的“返回或home”键,以收起音乐面板。2. You can click the blank area of the non-music panel, or click the system's "back or home" button to close the music panel.
部分二,面板功能布局: Part 2, panel function layout:
1.顶部为工具栏A,其中所包含的图标从左到右分别表示:用于播放设备切换(如切换为本机扬声器或外接耳机设备)的功能键A1、用于循环方式切换(如点击后在单曲循环、列表循环、随机播放之间切换)的功能键A2、用于收藏的功能键A3、用于设置的功能键A4。1. The top is the toolbar A, and the icons contained therein represent from left to right: the function key A1 for switching the playback device (such as switching to the local speaker or an external earphone device), and the function key A1 for switching the cycle mode (such as clicking Then switch between single cycle, list cycle, random play) function key A2, function key A3 for collection, and function key A4 for setting.
2.视觉动效显示区B,展示当前播放音乐的颜色匹配样式,频谱动态效果,用户操作功能、控制播放等操作时的状态反馈。点击此区域,显示歌曲歌词。2. Visual dynamic effect display area B, which displays the color matching style of the currently playing music, dynamic spectrum effects, user operation functions, and status feedback during operations such as controlling playback. Click on this area to display the lyrics of the song.
3.歌曲信息(的显示区域)C,显示当前歌曲的歌名和歌手名称。3. Song information (display area) C, displaying the song title and artist name of the current song.
4.音乐列表切换(区域)D,点击上下箭头,支持在当前播放列表、收藏列表、下载列表之间切换。4. Music list switching (area) D, click the up and down arrows to support switching between the current playlist, favorite list, and download list.
5.播放控制功能区E,其中所包含的图标从左到右分别表示:用于切换音源的功能键E1、用于切换至前一首的功能键E2、用于切换播放与暂停的功能键E3、用于切换至后一首的功能键E4。5. Playback control functional area E, the icons contained in it represent from left to right: function key E1 for switching audio sources, function key E2 for switching to the previous song, and function keys for switching play and pause E3, function key E4 for switching to the next song.
部分三,(顶部)工具栏的使用:Part 3, the use of the (top) toolbar:
1.个性化设置;1. Personalized settings;
可如图3所示,点击面板右上角“设置”进入个性化设置界面,该界面可用于:As shown in Figure 3, click "Settings" in the upper right corner of the panel to enter the personalized setting interface, which can be used for:
(1)样式预览:(1) Style preview:
1)歌曲视觉颜色预览:具体可在当前设置下,顶部展示当前歌曲匹配的颜色样式(对应于上述目标元素的颜色)。图3中的“左颜色”对应于上述第一元素的颜色,“右颜色”对应于上述第二元素的颜色,“重叠颜色”对应于上述重叠区域的颜色;1) Song visual color preview: Specifically, under the current settings, the color style matching the current song (corresponding to the color of the above-mentioned target element) can be displayed at the top. The "left color" in Fig. 3 corresponds to the color of the above-mentioned first element, the "right color" corresponds to the color of the above-mentioned second element, and the "overlapping color" corresponds to the color of the above-mentioned overlapping area;
2)播放控制按钮(即功能键)样式预览:具体可包括在当前设置下,前一首(对应于上述E2)、播放/暂停(对应于上述E3)、后一首(对应于上述E4)等按钮的样式预览。关于按钮样式的预览,预览的按钮所呈现的颜色可以根据上述歌曲视觉颜色预览中的颜色进行确定。2) Play control button (i.e. function key) style preview: specifically, under the current setting, the previous song (corresponding to the above E2), play/pause (corresponding to the above E3), and the next song (corresponding to the above E4) Wait for the style preview of the button. Regarding the preview of the button style, the color of the previewed button can be determined according to the color in the above-mentioned visual color preview of the song.
在此说明,本方案在实际实现时,图3中的文字“歌曲视觉颜色预览”和/或“播放控制按钮样式预览”,是可以不显示的,在此不作限定。其他相关附图中是类似的,在此不再赘述。Note here that when this solution is actually implemented, the words "song visual color preview" and/or "play control button style preview" in Fig. 3 may not be displayed, which is not limited here. It is similar in other relevant drawings, and will not be repeated here.
(2)颜色设置:(2) Color settings:
首个颜色选项可为“自动(对应于图中的F1)”,随音乐变化来自动匹配(颜色规则可参考部分四中的颜色显示规则)。对应于上述根据所述类别参数,调整所述目标元素的颜色。The first color option can be "Automatic (corresponding to F1 in the figure)", which will automatically match with the change of music (for color rules, please refer to the color display rules in Part 4). Corresponding to the above, adjust the color of the target element according to the class parameter.
此外,还可提供其他颜色自定义选项(对应于不同的颜色组合,即图3中的F2、F3、F4、F5···),可通过左右滑动显示更多。在用户点击后可固定使用选中的那一种颜色方案。In addition, other color customization options (corresponding to different color combinations, namely F2, F3, F4, F5 in Figure 3...) are also available, and more can be displayed by sliding left and right. After the user clicks, the selected color scheme can be fixed.
(3)按钮样式设置:(3) Button style setting:
本方案中可支持四种样式,如图3中的:圆形G1(具体可参见图4所示)、方形G2(具体可参见图5所示)、x形G3(具体可参见图6所示)、常规G4(具体可参见图7所示)。This solution can support four styles, as shown in Figure 3: round G1 (see Figure 4 for details), square G2 (see Figure 5 for details), and x-shaped G3 (see Figure 6 for details). shown), conventional G4 (see Figure 7 for details).
(4)按钮大小设置:(4) Button size setting:
本方案中四种按钮样式均可支持小、中、大三档调节,如图8所示,从左到右依次对应小、中、大三档。The four button styles in this solution can all support small, medium, and large adjustments, as shown in Figure 8, corresponding to small, medium, and large from left to right.
(5)背景颜色设置:(5) Background color setting:
如图9所示,本方案中可支持黑和白(默认)两种背景色,具体可跟随 系统深色模式进行变化。图9中相关内容的解释可参见上述针对图3的解释,在此不再赘述。As shown in Figure 9, this solution can support black and white (default) two background colors, which can be changed according to the system dark mode. For the explanation of relevant content in FIG. 9 , refer to the above-mentioned explanation for FIG. 3 , which will not be repeated here.
其中,在选中黑色背景时,面板内除需要进行颜色显示的内容之外的图标、文字等进行反色显示,比如文字显示为白色;在选中白色背景时,面板内除需要进行颜色显示的内容之外的图标、文字等同样进行反色显示,比如文字显示为黑色。关于“需要进行颜色显示的内容”可以包括上述歌曲视觉颜色预览的内容以及颜色选项的内容中的至少一项。Among them, when the black background is selected, the icons and texts in the panel other than the content that needs to be displayed in color are displayed in reverse color, such as the text is displayed in white; when the white background is selected, the content in the panel that needs to be displayed in color Other icons and texts are also displayed in reverse color, for example, the text is displayed in black. The "content that needs to be displayed in color" may include at least one of the content of the above-mentioned visual color preview of the song and the content of color options.
部分四,视觉动效显示区:Part 4, visual dynamic display area:
1.颜色显示规则;1. Color display rules;
歌曲播放时,具体可如图10所示,显示两个圆形的部分图像(对应于上述第一元素和第二元素),左右分别显示不同的颜色。重叠区域的颜色可根据界面背景颜色进行反色显示,或者根据左右颜色进行显示(比如根据左右颜色重叠得到的颜色进行显示);对应于上述根据所述目标元素所对应的显示区域的背景颜色,确定所述重叠区域的显示颜色;或者,根据所述第一颜色和第二颜色,确定所述重叠区域的显示颜色(其中“显示区域的背景颜色”与“界面背景颜色”相对应,“左右颜色”与“第一颜色和第二颜色”相对应)。具体的:When the song is playing, specifically, as shown in FIG. 10 , two circular partial images (corresponding to the above-mentioned first element and second element) are displayed, and different colors are displayed on the left and right sides. The color of the overlapping area can be displayed in reverse color according to the background color of the interface, or displayed according to the left and right colors (for example, displayed according to the color obtained by overlapping the left and right colors); corresponding to the background color of the display area corresponding to the above-mentioned target element, Determine the display color of the overlapping area; or, according to the first color and the second color, determine the display color of the overlapping area (wherein "the background color of the display area" corresponds to the "interface background color", "left and right Color" corresponds to "first color and second color"). specific:
(1)歌曲资源自带有专辑或单曲封面(对应于上述封面信息)时:对当前播放单曲所对应的专辑封面或单曲封面的、封面图像的颜色(对应于上述目标音频对应的封面图像所包含的颜色)进行颜色提取;可选取颜色占比最高的色彩为左颜色,占比第二高的色彩为右颜色(对应于上述根据提取的所述颜色,调整所述目标元素的颜色)。(1) When the song resource comes with an album or single cover (corresponding to the above cover information): the color of the cover image of the album cover or single cover corresponding to the currently playing single (corresponding to the above target audio) The color contained in the cover image) is extracted; the color with the highest color ratio can be selected as the left color, and the color with the second highest ratio is the right color (corresponding to the color extracted according to the above, adjusting the color of the target element color).
(2)若歌曲资源未自带专辑或单曲封面,但有歌曲分类标签(对应于上述分类标签信息):本方案中,可以根据歌曲对应的歌曲分类标签下的情绪标签进行匹配(关于歌曲分类标签可来自于第三方音源,在此不作限定)。(2) If the song resource does not have its own album or single cover, but has a song classification label (corresponding to the above classification label information): in this solution, it can be matched according to the emotional label under the song classification label corresponding to the song (about the song Classification tags can come from third-party audio sources, which are not limited here).
具体的,可根据歌曲的情绪风格(对应于情绪标签)和色彩分类(也可包含于歌曲分类标签中,甚至包含于情绪标签中),将歌曲对应的视觉颜色(对 应于上述目标元素的颜色)分为热烈、轻松、浪漫、沉浸以及怀旧五种类型。不同类型的视觉颜色会与歌曲的情绪标签做关联和映射(对应于上述第一对应关系);其中,针对一种类型的视觉颜色可提供多套视觉颜色的搭配(也可理解为一种类型的视觉颜色可包含多种颜色搭配,比如热烈类型的视觉颜色可包含:红紫搭配、红蓝搭配等);后续,可根据不同歌曲对应的视觉颜色(的)类型,随机显示该类型下的配色种类。关于五种类型的视觉颜色,具体举例如下:Specifically, according to the emotional style of the song (corresponding to the emotional label) and color classification (which can also be included in the song classification label, or even included in the emotional label), the corresponding visual color of the song (corresponding to the color of the above-mentioned target element ) are divided into five types: warm, relaxed, romantic, immersive and nostalgic. Different types of visual colors will be associated and mapped with the emotional tags of the song (corresponding to the above-mentioned first correspondence); among them, multiple sets of visual color combinations can be provided for one type of visual color (also can be understood as a type The visual colors of different songs can include a variety of color combinations. For example, the visual colors of the enthusiastic type can include: red-purple matching, red-blue matching, etc.); later, according to the type of visual color (of) corresponding to different songs, the visual colors of this type can be randomly displayed Color matching types. Regarding the five types of visual colors, specific examples are as follows:
1)热烈:两种对比色,多为色环中成120°的两种颜色。比如:蓝橘搭配、绿红搭配、绿粉搭配、紫红搭配、蓝红搭配等。1) Warm: Two contrasting colors, mostly two colors at 120° in the color circle. For example: blue-orange collocation, green-red collocation, green-pink collocation, purple-red collocation, blue-red collocation, etc.
2)轻松:两种明度高的颜色,多为色环中成60°的邻近色。比如:粉黄搭配、绿橘搭配、紫黄搭配、蓝黄搭配、绿黄搭配等。2) Easy: two colors with high lightness, most of which are adjacent colors at 60° in the color circle. For example: pink and yellow collocation, green and orange collocation, purple and yellow collocation, blue and yellow collocation, green and yellow collocation and so on.
3)浪漫:两种类似色,多为亮暖色调,粉、红、橘色等。比如:橘粉搭配、蓝橘搭配、橘紫搭配、红粉搭配等。3) Romance: Two similar colors, mostly bright and warm colors, pink, red, orange, etc. For example: orange-pink collocation, blue-orange collocation, orange-purple collocation, red-pink collocation, etc.
4)沉浸:两种明度低的类似色,多为暗冷色,蓝、紫、绿、深红等。比如:绿色和深红色搭配、蓝绿搭配、蓝棕搭配、蓝紫搭配等。4) Immersion: Two similar colors with low lightness, mostly dark and cool colors, such as blue, purple, green, deep red, etc. For example: green and dark red collocation, blue-green collocation, blue-brown collocation, blue-purple collocation and so on.
5)怀旧:两种低饱和度的类似色,多为浅灰、浅红、浅蓝等。比如:灰粉搭配、蓝粉搭配、紫粉搭配、灰红搭配、红蓝搭配等。5) Nostalgia: Two similar colors with low saturation, mostly light gray, light red, light blue, etc. For example: gray-pink collocation, blue-pink collocation, purple-pink collocation, gray-red collocation, red-blue collocation, etc.
(3)若歌曲无资源未自带专辑或单曲封面,也无歌曲分类标签:本方案中,可以在系统预设的颜色中,随机两种匹配显示。(3) If the song has no resources, does not have its own album or single cover, and has no song classification labels: In this solution, two matching colors can be randomly displayed in the system preset colors.
2.动态显示规则;2. Dynamic display rules;
歌曲播放时,上述“两个圆形的部分图像”的边缘可根据当前播放音乐的(声音)响度和(声音)频率(对应于上述音频参数信息),显示频谱动效。对应于上述根据所述形状变化信息,动态显示所述目标元素。When the song is playing, the edges of the above-mentioned "two circular partial images" can display spectrum dynamic effects according to the (sound) loudness and (sound) frequency (corresponding to the above-mentioned audio parameter information) of the currently playing music. Corresponding to the above information based on the shape change, dynamically display the target element.
具体的,可以是:响度越大,波形的振幅越大(对应于上述边缘的变化幅度越大);频率越高,波动越紧密(对应于上述边缘的变化频率越高)。反之,则上述边缘越趋近于原来的形状(或状态)。具体可如图11所示,左侧附图对应于响度大且频率高的情况,右侧附图对应于响度小且频率低的情况; 左侧附图中上述边缘的变化幅度就大于右侧附图中上述边缘的变化幅度。其中,在上述边缘进行变化时,可以是以类似于抖动的方式进行变化(比如在上述边缘的至少某一个位置会向外凸起,该凸起实时在边缘上移动位置),在此不作限定。Specifically, it may be: the greater the loudness, the greater the amplitude of the waveform (corresponding to the greater variation range of the above-mentioned edge); the higher the frequency, the tighter the fluctuation (corresponding to the higher the variation frequency of the above-mentioned edge). On the contrary, the above edge is closer to the original shape (or state). Specifically, as shown in Figure 11, the left figure corresponds to the situation of high loudness and high frequency, and the right figure corresponds to the situation of low loudness and low frequency; the change range of the above-mentioned edge in the left figure is greater than that of the right The magnitude of change of the above-mentioned edges in the attached figure. Wherein, when the above-mentioned edge changes, it may be changed in a manner similar to shaking (for example, at least one position of the above-mentioned edge will protrude outward, and the protrusion will move on the edge in real time), which is not limited here .
此外,关于用户使用电子设备听书或收听电台等非音乐内容时,相关界面的显示图像也可按照该音频动效处理方式(即动态显示规则)来进行动态显示。In addition, when a user uses an electronic device to listen to non-music content such as books or radio stations, the display image of the relevant interface can also be dynamically displayed according to the audio dynamic processing method (ie, dynamic display rules).
另外,关于响度和频率可以是歌曲播放过程中实时获取或者提前获取(比如一开始播放就获取整个歌曲的响度和频率的信息),在此不作限定。In addition, the loudness and frequency may be acquired in real time during the playing of the song or in advance (for example, the loudness and frequency information of the entire song is acquired at the beginning of playing), which is not limited here.
3.操作显示规则(涉及点击按钮,视觉动效显示区内的图形进行对应变化,显示的左右颜色进行交换,比如:右侧的颜色(即“右颜色”)呈现在左侧);3. Operation display rules (involving clicking the button, the graphics in the visual dynamic display area will be changed accordingly, and the displayed left and right colors will be exchanged, for example: the color on the right (ie "right color") is displayed on the left);
在针对按钮进行操作时,(视觉)动效显示区内的图形可变换成对应的形态;比如用户点击“暂停”按钮时,(视觉)动效显示区内显示的图像变换为“暂停”按钮对应的图像样式。此外,当切换按钮时,(视觉)动效显示区内相应位置的颜色和形状可对应发生改变(其中上述重叠区域的颜色仍可根据界面背景颜色进行反色显示)。具体的,关于“操作显示规则”举例如下:When operating on the button, the graphics in the (visual) dynamic effect display area can be transformed into the corresponding form; for example, when the user clicks the "pause" button, the image displayed in the (visual) dynamic effect display area is transformed into a "pause" button The corresponding image style. In addition, when the button is switched, the color and shape of the corresponding position in the (visual) dynamic display area can change correspondingly (the color of the above-mentioned overlapping area can still be displayed in reverse color according to the interface background color). Specifically, examples of "operation display rules" are as follows:
(1)点击“暂停”按钮,(视觉)动效显示区内显示的图像可变换为图12所示的形态;(1) Click the "Pause" button, and the image displayed in the (visual) animation display area can be transformed into the form shown in Figure 12;
(2)点击“收藏”按钮,(视觉)动效显示区内显示的图像可变换为图13所示的形态;(2) Click the "Favorite" button, and the image displayed in the (visual) dynamic effect display area can be transformed into the form shown in Figure 13;
(3)点击“播放”按钮,(视觉)动效显示区内显示的图像可变换为图14所示的形态;(3) Click the "Play" button, and the image displayed in the (visual) dynamic effect display area can be transformed into the form shown in Figure 14;
(4)点击“循环”按钮中的随机循环,(视觉)动效显示区内显示的图像可变换为图15所示的形态;点击“循环”按钮中的列表循环,(视觉)动效显示区内显示的图像可变换为图16所示的形态;点击“循环”按钮中的单曲循环,(视觉)动效显示区内显示的图像可变换为图17所示的形态;在图 17所示的形态下,“重叠颜色”的区域可以显示与“重叠颜色”反色的数字1(比如:“重叠颜色”显示为黑色,则该数字1显示为白色),以提醒用户当前为单曲循环模式;(4) Click the random loop in the "Loop" button, and the image displayed in the (visual) animation display area can be transformed into the form shown in Figure 15; click the list cycle in the "Loop" button, and the (visual) animation display The image displayed in the area can be transformed into the form shown in Figure 16; click the single cycle in the "cycle" button, and the image displayed in the (visual) dynamic display area can be transformed into the form shown in Figure 17; in Figure 17 In the form shown, the area of "overlapping color" can display a number 1 that is inverse to the color of "overlapping color" (for example: if "overlapping color" is displayed in black, the number 1 will be displayed in white) to remind the user that it is currently a single song cycle mode;
(5)点击“播放设备切换”以连接到耳机,(视觉)动效显示区内显示的图像可变换为图18所示的形态。图18所示的形态中,“右颜色”所处的图像部分可以延伸至UI的顶部,覆盖A的部分区域,在此不作限定。(5) Click "Switch Playback Device" to connect to the earphone, and the image displayed in the (visual) dynamic effect display area can be transformed into the form shown in Figure 18. In the form shown in Figure 18, the part of the image where the "right color" is located can extend to the top of the UI, covering part of the area of A, which is not limited here.
部分五,音乐列表:Part five, music list:
本方案中,可在视觉动效显示区任意处点击(对应于上述第一输入),相应的,可如图19所示,在歌词显示区显示当前播放歌曲的歌词(对应于上述根据所述第一输入,在所述显示区域内显示所述目标音频对应的文本内容)。此外,背景显示高斯模糊效果(对应于上述对所述目标元素进行模糊处理),图19中未示出,仅以第一子图像和第二子图像的边缘为虚线进行表示。另外,本方案中:In this solution, you can click anywhere in the visual dynamic effect display area (corresponding to the above-mentioned first input), and correspondingly, as shown in Figure 19, the lyrics of the currently playing song can be displayed in the lyrics display area (corresponding to the above-mentioned The first input is to display the text content corresponding to the target audio in the display area). In addition, the background displays a Gaussian blur effect (corresponding to the aforementioned blurring process on the target element), which is not shown in FIG. 19 , and only the edges of the first sub-image and the second sub-image are shown as dotted lines. Additionally, in this program:
(1)在点击出现歌词后,歌词可根据播放进度进行逐条显示。(1) After clicking to display the lyrics, the lyrics can be displayed one by one according to the playback progress.
(2)当歌曲无歌词时,可文字提示“当前歌曲无歌词”,显示一段时间后消失,回到正常状态(即不显示歌词的状态)。(2) When the song has no lyrics, the text prompt "the current song has no lyrics" will disappear after a period of time, and return to the normal state (that is, the state where the lyrics are not displayed).
(3)当未提供歌词信息时,可显示“当前歌曲未提供歌词”,显示一段时间后消失,回到正常状态(即不显示歌词的状态)。(3) When the lyrics information is not provided, it can display "the current song does not provide lyrics", which will disappear after a period of time, and return to the normal state (that is, the state where the lyrics are not displayed).
(4)歌词样式匹配歌曲类型(即歌词的内容样式与歌曲类型相匹配)。具体可根据歌曲的情绪风格,将歌词字体样式分为热烈、轻松、浪漫、沉浸以及怀旧五种类型(同上述颜色显示规则中的视觉颜色类型)。关于歌词样式匹配歌曲类型,具体举例如下:(4) The lyrics style matches the song type (that is, the content style of the lyrics matches the song type). Specifically, according to the emotional style of the song, the font style of the lyrics can be divided into five types: warm, relaxed, romantic, immersive and nostalgic (same as the visual color type in the above color display rules). Regarding the lyrics style matching song type, specific examples are as follows:
1)针对歌曲类型为热烈:歌词样式可随机应用该歌曲下的左颜色或右颜色,并使用大号粗字体;1) For the song type, it is enthusiastic: the lyrics style can be randomly applied to the left or right color of the song, and use large bold fonts;
2)针对歌曲类型为轻松:歌词样式可随机应用该歌曲下的左颜色或右颜色,并使用小号细字体;2) Easy for the song type: the lyrics style can be randomly applied to the left or right color under the song, and use small and thin fonts;
3)针对歌曲类型为浪漫:歌词样式可采用白色、小号细字体;3) Romance for the song type: white, small and thin fonts can be used for the lyrics style;
4)针对歌曲类型为沉浸:歌词样式可采用黑色、大号粗字体;4) Immersive for the type of song: black and large bold fonts can be used for the lyrics style;
5)针对歌曲类型为怀旧:歌词样式可采用灰色、大号细字体。5) Nostalgic for the type of song: the lyrics style can be gray, large and thin fonts.
在此说明,本申请实施例中,各附图中相同或相似的内容之间可相互参见,在此不作限定。It is noted here that in the embodiments of the present application, the same or similar contents in the drawings may refer to each other, which is not limited herein.
由上可知,本申请实施例提供的方案可实现:通过个性化匹配或用户自定义视觉动态效果、颜色样式和歌词字体样式等,带来沉浸的、符合歌曲本身的音乐播放器聆听和操作体验,建立电子设备播放器和用户之间数字化的情感联结。It can be seen from the above that the solution provided by the embodiment of the present application can achieve: through personalized matching or user-defined visual dynamic effects, color styles and lyrics font styles, etc., it can bring immersive music player listening and operation experience that conforms to the song itself , to establish a digital emotional connection between the player of the electronic device and the user.
在本申请实施例中,通过显示音频播放界面,所述音频播放界面包括目标元素;获取与所述音频播放界面对应的目标音频的类别参数;根据所述类别参数,调整所述目标元素的颜色;其中,所述类别参数包括:封面信息以及分类标签信息中的至少一项;能够实现贴合于不同音频的色彩显示,营造情感化和智能化的播放体验,提高个性化程度,很好的解决了现有技术中针对音频播放的图像显示方案无法实现与对应音频的贴合化显示的问题。In the embodiment of the present application, by displaying an audio playback interface, the audio playback interface includes target elements; acquiring category parameters of target audio corresponding to the audio playback interface; adjusting the color of the target element according to the category parameters ; Wherein, the category parameters include: at least one of the cover information and classification label information; it can realize the color display suitable for different audio, create an emotional and intelligent playback experience, and improve the degree of personalization, which is very good It solves the problem that the image display solution for audio playback in the prior art cannot realize the fit display with the corresponding audio.
本申请实施例提供的图像显示方法,执行主体可以为图像显示装置。本申请实施例中以图像显示装置执行图像显示方法为例,说明本申请实施例提供的图像显示装置。The image display method provided in the embodiment of the present application may be executed by an image display device. In the embodiment of the present application, the image display device provided in the embodiment of the present application is described by taking the image display device executing the image display method as an example.
本申请实施例提供的图像显示装置,如图20所示,包括:The image display device provided in the embodiment of the present application, as shown in FIG. 20 , includes:
第一显示模块201,用于显示音频播放界面,所述音频播放界面包括目标元素;The first display module 201 is configured to display an audio playback interface, and the audio playback interface includes a target element;
第一获取模块202,用于获取与所述音频播放界面对应的目标音频的类别参数;The first obtaining module 202 is used to obtain the category parameter of the target audio corresponding to the audio playback interface;
第一调整模块203,用于根据所述类别参数,调整所述目标元素的颜色;The first adjustment module 203 is configured to adjust the color of the target element according to the category parameter;
其中,所述类别参数包括:封面信息以及分类标签信息中的至少一项。Wherein, the category parameter includes: at least one item of cover information and classification label information.
本申请实施例中,所述根据所述类别参数,调整所述目标元素的颜色,包括:根据所述目标音频对应的封面信息,提取所述目标音频对应的封面图像所包含的颜色;根据提取的所述颜色,调整所述目标元素的颜色。In the embodiment of the present application, the adjusting the color of the target element according to the category parameter includes: extracting the color contained in the cover image corresponding to the target audio according to the cover information corresponding to the target audio; The color of the , adjusts the color of the target element.
本申请实施例中,所述根据所述类别参数,调整所述目标元素的颜色,包括:根据所述目标音频的分类标签信息对应的颜色,调整所述目标元素的颜色。In the embodiment of the present application, the adjusting the color of the target element according to the category parameter includes: adjusting the color of the target element according to the color corresponding to the classification label information of the target audio.
其中,所述目标元素包括第一元素和第二元素;所述目标元素的颜色包括:所述第一元素的颜色和所述第二元素的颜色;所述根据所述类别参数,调整所述目标元素的颜色,包括:根据所述类别参数确定的颜色中的第一颜色,调整所述第一元素的颜色;根据所述类别参数确定的颜色中的第二颜色,调整所述第二元素的颜色。Wherein, the target element includes a first element and a second element; the color of the target element includes: the color of the first element and the color of the second element; according to the category parameter, adjusting the The color of the target element includes: adjusting the color of the first element according to the first color in the colors determined by the category parameter; adjusting the second element according to the second color in the colors determined by the category parameter s color.
本申请实施例中,所述第一元素与第二元素之间存在重叠区域;所述根据所述类别参数确定的颜色中的第一颜色,调整所述第一元素的颜色,包括:根据所述类别参数确定的颜色中的第一颜色,调整所述第一元素中除所述重叠区域之外的其他区域的颜色;所述根据所述类别参数确定的颜色中的第二颜色,调整所述第二元素的颜色,包括:根据所述类别参数确定的颜色中的第二颜色,调整所述第二元素中除所述重叠区域之外的其他区域的颜色;所述根据所述类别参数,调整所述目标元素的颜色,还包括:根据所述目标元素所对应的显示区域的背景颜色,确定所述重叠区域的显示颜色;或者,根据所述第一颜色和第二颜色,确定所述重叠区域的显示颜色;根据所述显示颜色,调整所述重叠区域的颜色。In this embodiment of the present application, there is an overlapping area between the first element and the second element; the first color in the colors determined according to the category parameter, and adjusting the color of the first element includes: according to the determined The first color in the colors determined by the category parameters is used to adjust the colors of other areas in the first element except the overlapping area; the second color in the colors determined according to the category parameters is adjusted. The color of the second element includes: adjusting the color of other areas in the second element except the overlapping area according to the second color in the colors determined by the category parameters; , adjusting the color of the target element, further comprising: determining the display color of the overlapping area according to the background color of the display area corresponding to the target element; or determining the display color of the overlapping area according to the first color and the second color. The display color of the overlapping area; according to the display color, adjust the color of the overlapping area.
进一步的,所述的图像显示装置,还包括:第一确定模块,用于在显示音频播放界面之后,在所述目标音频处于播放状态的情况下,根据所述目标音频的音频参数信息,确定所述目标元素的形状变化信息;所述图像显示装置还包括:第二显示模块,用于在根据所述类别参数,调整所述目标元素的颜色之后,根据所述形状变化信息,动态显示所述目标元素;其中,所述音频参数信息包括:响度和频率中的至少一项。Further, the image display device further includes: a first determination module, configured to determine according to the audio parameter information of the target audio when the target audio is in a playing state after the audio playback interface is displayed. The shape change information of the target element; the image display device further includes: a second display module, configured to dynamically display the target element according to the shape change information after adjusting the color of the target element according to the category parameter The target element; wherein, the audio parameter information includes: at least one of loudness and frequency.
本申请实施例中,所述的图像显示装置,还包括:第一接收模块,用于在显示音频播放界面之后,接收在所述目标元素所对应的显示区域内的第一输入;处理模块,用于根据所述第一输入,在所述显示区域内显示所述目标 音频对应的文本内容,并对所述目标元素进行模糊处理。In the embodiment of the present application, the image display device further includes: a first receiving module, configured to receive a first input in the display area corresponding to the target element after the audio playback interface is displayed; a processing module, and displaying text content corresponding to the target audio in the display area according to the first input, and performing blurring processing on the target element.
在本申请实施例中,通过显示音频播放界面,所述音频播放界面包括目标元素;获取与所述音频播放界面对应的目标音频的类别参数;根据所述类别参数,调整所述目标元素的颜色;其中,所述类别参数包括:封面信息以及分类标签信息中的至少一项;能够实现贴合于不同音频的色彩显示,营造情感化和智能化的播放体验,提高个性化程度,很好的解决了现有技术中针对音频播放的图像显示方案无法实现与对应音频的贴合化显示的问题。In the embodiment of the present application, by displaying an audio playback interface, the audio playback interface includes target elements; acquiring category parameters of target audio corresponding to the audio playback interface; adjusting the color of the target element according to the category parameters ; Wherein, the category parameters include: at least one of the cover information and classification label information; it can realize the color display suitable for different audio, create an emotional and intelligent playback experience, and improve the degree of personalization, which is very good It solves the problem that the image display solution for audio playback in the prior art cannot realize the fit display with the corresponding audio.
本申请实施例中的图像显示装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The image display device in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or other devices other than the terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) ) equipment, robots, wearable devices, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., can also serve as server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine, or self-service machine, etc., which are not specifically limited in this embodiment of the present application.
本申请实施例中的图像显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The image display device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的图像显示装置能够实现图1至图19的方法实施例实现的各个过程,为避免重复,这里不再赘述。The image display device provided by the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 to FIG. 19 , and details are not repeated here to avoid repetition.
可选地,如图21所示,本申请实施例还提供一种电子设备210,包括处理器211和存储器212,存储器212上存储有可在所述处理器211上运行的程序或指令,该程序或指令被处理器211执行时实现上述图像显示方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 21 , the embodiment of the present application also provides an electronic device 210, including a processor 211 and a memory 212. The memory 212 stores programs or instructions that can run on the processor 211. The When the programs or instructions are executed by the processor 211, the various steps of the above-mentioned image display method embodiments can be achieved, 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.
图22为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 22 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备220包括但不限于:射频单元221、网络模块222、音频输出单元223、输入单元224、传感器225、显示单元226、用户输入单元227、接口单元228、存储器229、以及处理器2210等部件。The electronic device 220 includes, but is not limited to: a radio frequency unit 221, a network module 222, an audio output unit 223, an input unit 224, a sensor 225, a display unit 226, a user input unit 227, an interface unit 228, a memory 229, and a processor 2210, etc. part.
本领域技术人员可以理解,电子设备220还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器2210逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图22中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 220 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 2210 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. 22 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 some components, or arrange different components, which will not be repeated here. .
其中,显示单元226,用于显示音频播放界面,所述音频播放界面包括目标元素;Wherein, the display unit 226 is configured to display an audio playback interface, and the audio playback interface includes a target element;
处理器2210,用于获取与所述音频播放界面对应的目标音频的类别参数;根据所述类别参数,调整所述目标元素的颜色;其中,所述类别参数包括:封面信息以及分类标签信息中的至少一项。Processor 2210, configured to acquire category parameters of the target audio corresponding to the audio playback interface; adjust the color of the target element according to the category parameters; wherein, the category parameters include: cover information and classification label information at least one of the .
在本申请实施例中,通过显示音频播放界面,所述音频播放界面包括目标元素;获取与所述音频播放界面对应的目标音频的类别参数;根据所述类别参数,调整所述目标元素的颜色;其中,所述类别参数包括:封面信息以及分类标签信息中的至少一项;能够实现贴合于不同音频的色彩显示,营造情感化和智能化的播放体验,提高个性化程度,很好的解决了现有技术中针对音频播放的图像显示方案无法实现与对应音频的贴合化显示的问题。In the embodiment of the present application, by displaying an audio playback interface, the audio playback interface includes target elements; acquiring category parameters of target audio corresponding to the audio playback interface; adjusting the color of the target element according to the category parameters ; Wherein, the category parameters include: at least one of the cover information and classification label information; it can realize the color display suitable for different audio, create an emotional and intelligent playback experience, and improve the degree of personalization, which is very good It solves the problem that the image display solution for audio playback in the prior art cannot realize the fit display with the corresponding audio.
可选地,所述根据所述类别参数,调整所述目标元素的颜色,包括:根据所述目标音频对应的封面信息,提取所述目标音频对应的封面图像所包含的颜色;根据提取的所述颜色,调整所述目标元素的颜色。Optionally, the adjusting the color of the target element according to the category parameter includes: extracting the color contained in the cover image corresponding to the target audio according to the cover information corresponding to the target audio; color to adjust the color of the target element.
可选地,所述根据所述类别参数,调整所述目标元素的颜色,包括:根据所述目标音频的分类标签信息对应的颜色,调整所述目标元素的颜色。Optionally, the adjusting the color of the target element according to the category parameter includes: adjusting the color of the target element according to the color corresponding to the classification label information of the target audio.
可选地,所述目标元素包括第一元素和第二元素;所述目标元素的颜色 包括:所述第一元素的颜色和所述第二元素的颜色;所述根据所述类别参数,调整所述目标元素的颜色,包括:根据所述类别参数确定的颜色中的第一颜色,调整所述第一元素的颜色;根据所述类别参数确定的颜色中的第二颜色,调整所述第二元素的颜色。Optionally, the target element includes a first element and a second element; the color of the target element includes: the color of the first element and the color of the second element; according to the category parameter, adjusting The color of the target element includes: adjusting the color of the first element according to the first color in the colors determined by the category parameter; adjusting the color of the first element according to the second color in the colors determined by the category parameter The color of the two elements.
可选地,所述第一元素与第二元素之间存在重叠区域;所述根据所述类别参数确定的颜色中的第一颜色,调整所述第一元素的颜色,包括:根据所述类别参数确定的颜色中的第一颜色,调整所述第一元素中除所述重叠区域之外的其他区域的颜色;所述根据所述类别参数确定的颜色中的第二颜色,调整所述第二元素的颜色,包括:根据所述类别参数确定的颜色中的第二颜色,调整所述第二元素中除所述重叠区域之外的其他区域的颜色;所述根据所述类别参数,调整所述目标元素的颜色,还包括:根据所述目标元素所对应的显示区域的背景颜色,确定所述重叠区域的显示颜色;或者,根据所述第一颜色和第二颜色,确定所述重叠区域的显示颜色;根据所述显示颜色,调整所述重叠区域的颜色。Optionally, there is an overlapping area between the first element and the second element; adjusting the color of the first element according to the first color in the colors determined according to the category parameter includes: according to the category The first color in the colors determined by the parameters adjusts the colors of other areas in the first element except the overlapping area; the second color in the colors determined according to the category parameters adjusts the first The color of the two elements includes: adjusting the color of other areas in the second element except the overlapping area according to the second color in the colors determined by the category parameters; the adjusting according to the category parameters The color of the target element further includes: determining the display color of the overlapping area according to the background color of the display area corresponding to the target element; or determining the overlapping area according to the first color and the second color The display color of the area; adjust the color of the overlapping area according to the display color.
可选地,处理器2210,还用于在显示音频播放界面之后,在所述目标音频处于播放状态的情况下,根据所述目标音频的音频参数信息,确定所述目标元素的形状变化信息;处理器2210,还用于在根据所述类别参数,调整所述目标元素的颜色之后,根据所述形状变化信息,通过显示单元226动态显示所述目标元素;其中,所述音频参数信息包括:响度和频率中的至少一项。Optionally, the processor 2210 is further configured to determine the shape change information of the target element according to the audio parameter information of the target audio when the target audio is in a playing state after the audio playback interface is displayed; The processor 2210 is further configured to dynamically display the target element through the display unit 226 according to the shape change information after adjusting the color of the target element according to the category parameter; wherein the audio parameter information includes: At least one of loudness and frequency.
可选地,用户输入单元227,用于在显示音频播放界面之后,接收在所述目标元素所对应的显示区域内的第一输入;处理器2210,还用于根据所述第一输入,通过显示单元226在所述显示区域内显示所述目标音频对应的文本内容,并对所述目标元素进行模糊处理。Optionally, the user input unit 227 is configured to receive a first input in the display area corresponding to the target element after the audio playback interface is displayed; the processor 2210 is also configured to, according to the first input, pass The display unit 226 displays text content corresponding to the target audio in the display area, and performs blur processing on the target element.
由上可知,本申请实施例提供的方案可实现:通过个性化匹配或用户自定义视觉动态效果、颜色样式和歌词字体样式等,带来沉浸的、符合歌曲本身的音乐播放器聆听和操作体验,建立电子设备播放器和用户之间数字化的情感联结。It can be seen from the above that the solution provided by the embodiment of the present application can achieve: through personalized matching or user-defined visual dynamic effects, color styles and lyrics font styles, etc., it can bring immersive music player listening and operation experience that conforms to the song itself , to establish a digital emotional connection between the player of the electronic device and the user.
应理解的是,本申请实施例中,输入单元224可以包括图形处理器(Graphics Processing Unit,GPU)2241和麦克风2242,图形处理器2241对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元226可包括显示面板2261,可以采用液晶显示器、有机发光二极管等形式来配置显示面板2261。用户输入单元227包括触控面板2271以及其他输入设备2272中的至少一种。触控面板2271,也称为触摸屏。触控面板2271可包括触摸检测装置和触摸控制器两个部分。其他输入设备2272可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that, in the embodiment of the present application, the input unit 224 may include a graphics processor (Graphics Processing Unit, GPU) 2241 and a microphone 2242, and the graphics processor 2241 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 226 may include a display panel 2261, and the display panel 2261 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 227 includes at least one of a touch panel 2271 and other input devices 2272 . The touch panel 2271 is also called a touch screen. The touch panel 2271 may include two parts, a touch detection device and a touch controller. Other input devices 2272 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
存储器229可用于存储软件程序以及各种数据。存储器229可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器229可以包括易失性存储器或非易失性存储器,或者,存储器229可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器229包括但不限于这些和任意其它适合类型的存储器。The memory 229 can be used to store software programs as well as various data. The memory 229 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required by at least one function (such as a sound playing function, image playback function, etc.), etc. Furthermore, memory 229 may include volatile memory or nonvolatile memory, or, memory 229 may include both volatile and nonvolatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synch link DRAM , SLDRAM) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM). The memory 229 in the embodiment of the present application includes, but is not limited to, these and any other suitable types of memory.
处理器2210可包括一个或多个处理单元;可选的,处理器2210集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用 户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器2210中。The processor 2210 may include one or more processing units; optionally, the processor 2210 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the foregoing modem processor may not be integrated into the processor 2210 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图像显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium. The readable storage medium stores programs or instructions. When the program or instructions are executed by the processor, the various processes of the above-mentioned image display method embodiments can be achieved, and the same To avoid repetition, the technical effects will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述图像显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。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 implement the above image display method embodiment Each process can achieve the same technical effect, so 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.
本申请实施例提供一种计算机程序产品,该计算机程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述图像显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application provides a computer program product, the computer program product is stored in a storage medium, and the program product is executed by at least one processor to implement the various processes in the above image display method embodiment, and can achieve the same technology Effect, in order to avoid repetition, will not repeat them 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.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in 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 implementations. The above-mentioned specific implementations 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 (19)
- 一种图像显示方法,包括:An image display method, comprising:显示音频播放界面,所述音频播放界面包括目标元素;Displaying an audio playback interface, the audio playback interface includes a target element;获取与所述音频播放界面对应的目标音频的类别参数;Acquiring category parameters of the target audio corresponding to the audio playback interface;根据所述类别参数,调整所述目标元素的颜色;adjusting the color of the target element according to the category parameter;其中,所述类别参数包括:封面信息以及分类标签信息中的至少一项。Wherein, the category parameter includes: at least one item of cover information and classification label information.
- 根据权利要求1所述的图像显示方法,其中,所述根据所述类别参数,调整所述目标元素的颜色,包括:The image display method according to claim 1, wherein said adjusting the color of said target element according to said category parameter comprises:根据所述目标音频对应的封面信息,提取所述目标音频对应的封面图像所包含的颜色;According to the cover information corresponding to the target audio, extract the color contained in the cover image corresponding to the target audio;根据提取的所述颜色,调整所述目标元素的颜色。Adjust the color of the target element according to the extracted color.
- 根据权利要求1所述的图像显示方法,其中,所述根据所述类别参数,调整所述目标元素的颜色,包括:The image display method according to claim 1, wherein said adjusting the color of said target element according to said category parameter comprises:根据所述目标音频的分类标签信息对应的颜色,调整所述目标元素的颜色。The color of the target element is adjusted according to the color corresponding to the category label information of the target audio.
- 根据权利要求1至3中任一项所述的图像显示方法,其中,所述目标元素包括第一元素和第二元素;所述目标元素的颜色包括:所述第一元素的颜色和所述第二元素的颜色;The image display method according to any one of claims 1 to 3, wherein the target element includes a first element and a second element; the color of the target element includes: the color of the first element and the the color of the second element;所述根据所述类别参数,调整所述目标元素的颜色,包括:The adjusting the color of the target element according to the category parameter includes:根据所述类别参数确定的颜色中的第一颜色,调整所述第一元素的颜色;adjusting the color of the first element according to the first color among the colors determined by the category parameter;根据所述类别参数确定的颜色中的第二颜色,调整所述第二元素的颜色。Adjusting the color of the second element according to the second color in the colors determined by the category parameter.
- 根据权利要求4所述的图像显示方法,其中,所述第一元素与第二元素之间存在重叠区域;The image display method according to claim 4, wherein there is an overlapping area between the first element and the second element;所述根据所述类别参数确定的颜色中的第一颜色,调整所述第一元素的颜色,包括:The first color in the colors determined according to the category parameters, and adjusting the color of the first element includes:根据所述类别参数确定的颜色中的第一颜色,调整所述第一元素中除所 述重叠区域之外的其他区域的颜色;According to the first color in the color determined by the category parameter, adjust the color of other areas in the first element except the overlapping area;所述根据所述类别参数确定的颜色中的第二颜色,调整所述第二元素的颜色,包括:The second color in the colors determined according to the category parameter, and adjusting the color of the second element includes:根据所述类别参数确定的颜色中的第二颜色,调整所述第二元素中除所述重叠区域之外的其他区域的颜色;adjusting the colors of other areas of the second element except for the overlapping area according to a second color in the colors determined by the category parameter;所述根据所述类别参数,调整所述目标元素的颜色,还包括:The adjusting the color of the target element according to the category parameter also includes:根据所述目标元素所对应的显示区域的背景颜色,确定所述重叠区域的显示颜色;或者,根据所述第一颜色和第二颜色,确定所述重叠区域的显示颜色;Determine the display color of the overlapping area according to the background color of the display area corresponding to the target element; or determine the display color of the overlapping area according to the first color and the second color;根据所述显示颜色,调整所述重叠区域的颜色。Adjust the color of the overlapping area according to the displayed color.
- 根据权利要求1所述的图像显示方法,其中,在显示音频播放界面之后,还包括:The image display method according to claim 1, wherein, after displaying the audio playback interface, further comprising:在所述目标音频处于播放状态的情况下,根据所述目标音频的音频参数信息,确定所述目标元素的形状变化信息;When the target audio is in the playing state, determine the shape change information of the target element according to the audio parameter information of the target audio;在根据所述类别参数,调整所述目标元素的颜色之后,还包括:After adjusting the color of the target element according to the category parameter, it further includes:根据所述形状变化信息,动态显示所述目标元素;dynamically displaying the target element according to the shape change information;其中,所述音频参数信息包括:响度和频率中的至少一项。Wherein, the audio parameter information includes: at least one of loudness and frequency.
- 根据权利要求1所述的图像显示方法,其中,在显示音频播放界面之后,还包括:The image display method according to claim 1, wherein, after displaying the audio playback interface, further comprising:接收在所述目标元素所对应的显示区域内的第一输入;receiving a first input in the display area corresponding to the target element;根据所述第一输入,在所述显示区域内显示所述目标音频对应的文本内容,并对所述目标元素进行模糊处理。According to the first input, the text content corresponding to the target audio is displayed in the display area, and the target element is blurred.
- 一种图像显示装置,包括:An image display device, comprising:第一显示模块,用于显示音频播放界面,所述音频播放界面包括目标元素;The first display module is used to display an audio playback interface, and the audio playback interface includes a target element;第一获取模块,用于获取与所述音频播放界面对应的目标音频的类别参数;The first obtaining module is used to obtain the category parameter of the target audio corresponding to the audio playback interface;第一调整模块,用于根据所述类别参数,调整所述目标元素的颜色;a first adjustment module, configured to adjust the color of the target element according to the category parameter;其中,所述类别参数包括:封面信息以及分类标签信息中的至少一项。Wherein, the category parameter includes: at least one item of cover information and classification label information.
- 根据权利要求8所述的图像显示装置,其中,所述根据所述类别参数,调整所述目标元素的颜色,包括:The image display device according to claim 8, wherein said adjusting the color of said target element according to said category parameter comprises:根据所述目标音频对应的封面信息,提取所述目标音频对应的封面图像所包含的颜色;According to the cover information corresponding to the target audio, extract the color contained in the cover image corresponding to the target audio;根据提取的所述颜色,调整所述目标元素的颜色。Adjust the color of the target element according to the extracted color.
- 根据权利要求8所述的图像显示装置,其中,所述根据所述类别参数,调整所述目标元素的颜色,包括:The image display device according to claim 8, wherein said adjusting the color of said target element according to said category parameter comprises:根据所述目标音频的分类标签信息对应的颜色,调整所述目标元素的颜色。The color of the target element is adjusted according to the color corresponding to the category label information of the target audio.
- 根据权利要求8至10中任一项所述的图像显示装置,其中,所述目标元素包括第一元素和第二元素;所述目标元素的颜色包括:所述第一元素的颜色和所述第二元素的颜色;The image display device according to any one of claims 8 to 10, wherein the target element includes a first element and a second element; the color of the target element includes: the color of the first element and the the color of the second element;所述根据所述类别参数,调整所述目标元素的颜色,包括:The adjusting the color of the target element according to the category parameter includes:根据所述类别参数确定的颜色中的第一颜色,调整所述第一元素的颜色;adjusting the color of the first element according to the first color among the colors determined by the category parameter;根据所述类别参数确定的颜色中的第二颜色,调整所述第二元素的颜色。Adjusting the color of the second element according to the second color in the colors determined by the category parameter.
- 根据权利要求11所述的图像显示装置,其中,所述第一元素与第二元素之间存在重叠区域;The image display device according to claim 11, wherein an overlapping area exists between the first element and the second element;所述根据所述类别参数确定的颜色中的第一颜色,调整所述第一元素的颜色,包括:The first color in the colors determined according to the category parameters, and adjusting the color of the first element includes:根据所述类别参数确定的颜色中的第一颜色,调整所述第一元素中除所述重叠区域之外的其他区域的颜色;adjusting the colors of other areas in the first element except the overlapping area according to the first color in the colors determined by the category parameter;所述根据所述类别参数确定的颜色中的第二颜色,调整所述第二元素的颜色,包括:The second color in the colors determined according to the category parameter, and adjusting the color of the second element includes:根据所述类别参数确定的颜色中的第二颜色,调整所述第二元素中除所述重叠区域之外的其他区域的颜色;adjusting the colors of other areas of the second element except for the overlapping area according to a second color in the colors determined by the category parameter;所述根据所述类别参数,调整所述目标元素的颜色,还包括:The adjusting the color of the target element according to the category parameter also includes:根据所述目标元素所对应的显示区域的背景颜色,确定所述重叠区域的显示颜色;或者,根据所述第一颜色和第二颜色,确定所述重叠区域的显示颜色;Determine the display color of the overlapping area according to the background color of the display area corresponding to the target element; or determine the display color of the overlapping area according to the first color and the second color;根据所述显示颜色,调整所述重叠区域的颜色。Adjust the color of the overlapping area according to the displayed color.
- 根据权利要求8所述的图像显示装置,其中,还包括:The image display device according to claim 8, further comprising:第一确定模块,用于在显示音频播放界面之后,在所述目标音频处于播放状态的情况下,根据所述目标音频的音频参数信息,确定所述目标元素的形状变化信息;The first determination module is configured to determine the shape change information of the target element according to the audio parameter information of the target audio when the target audio is in a playing state after the audio playback interface is displayed;所述图像显示装置还包括:The image display device also includes:第二显示模块,用于在根据所述类别参数,调整所述目标元素的颜色之后,根据所述形状变化信息,动态显示所述目标元素;The second display module is configured to dynamically display the target element according to the shape change information after adjusting the color of the target element according to the category parameter;其中,所述音频参数信息包括:响度和频率中的至少一项。Wherein, the audio parameter information includes: at least one of loudness and frequency.
- 根据权利要求8所述的图像显示装置,其中,还包括:The image display device according to claim 8, further comprising:第一接收模块,用于在显示音频播放界面之后,接收在所述目标元素所对应的显示区域内的第一输入;The first receiving module is configured to receive a first input in the display area corresponding to the target element after the audio playback interface is displayed;处理模块,用于根据所述第一输入,在所述显示区域内显示所述目标音频对应的文本内容,并对所述目标元素进行模糊处理。A processing module, configured to display text content corresponding to the target audio in the display area according to the first input, and perform blur processing on the target element.
- 一种电子设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求1-7任一项所述的图像显示方法的步骤。An electronic device, comprising a processor and a memory, the memory stores programs or instructions that can run on the processor, wherein, when the programs or instructions are executed by the processor, any of claims 1-7 can be implemented. A step of the image display method described in one item.
- 一种可读存储介质,所述可读存储介质上存储程序或指令,其中,所述程序或指令被处理器执行时实现如权利要求1-7任一项所述的图像显示方法的步骤。A readable storage medium, storing programs or instructions on the readable storage medium, wherein the steps of the image display method according to any one of claims 1-7 are implemented when the programs or instructions are executed by a processor.
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,其中,所述处理器用于运行程序或指令,实现如权利要求1-7任一项所述的图像显示方法的步骤。A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, wherein the processor is used to run programs or instructions to implement the method described in any one of claims 1-7 The steps of the image display method.
- 一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,其中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-7任一项所述的图像显示方法的步骤。A computer program product, the computer program product is stored in a non-volatile storage medium, wherein the computer program product is executed by at least one processor to realize the image according to any one of claims 1-7 Shows the steps of the method.
- 一种电子设备,被配置为执行如权利要求1-7任一项所述的图像显示方法的步骤。An electronic device configured to execute the steps of the image display method according to any one of claims 1-7.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111360138.9A CN114020394A (en) | 2021-11-17 | 2021-11-17 | Image display method and device and electronic equipment |
CN202111360138.9 | 2021-11-17 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023088183A1 true WO2023088183A1 (en) | 2023-05-25 |
Family
ID=80064744
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/131386 WO2023088183A1 (en) | 2021-11-17 | 2022-11-11 | Image display method and apparatus, and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114020394A (en) |
WO (1) | WO2023088183A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100229094A1 (en) * | 2009-03-04 | 2010-09-09 | Apple Inc. | Audio preview of music |
CN106997265A (en) * | 2016-01-26 | 2017-08-01 | 腾讯科技(深圳)有限公司 | A kind of method and device of the setting excessive color of background |
CN110609649A (en) * | 2019-09-25 | 2019-12-24 | 北京小米移动软件有限公司 | Interface display method, device and storage medium |
CN111753125A (en) * | 2020-06-22 | 2020-10-09 | 腾讯音乐娱乐科技(深圳)有限公司 | Song audio frequency display method and device |
CN114020394A (en) * | 2021-11-17 | 2022-02-08 | 维沃移动通信有限公司 | Image display method and device and electronic equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104090883B (en) * | 2013-11-15 | 2017-05-17 | 广州酷狗计算机科技有限公司 | Playing control processing method and playing control processing device for audio file |
CN106468997B (en) * | 2016-09-13 | 2020-02-21 | 华为机器有限公司 | Information display method and terminal |
-
2021
- 2021-11-17 CN CN202111360138.9A patent/CN114020394A/en active Pending
-
2022
- 2022-11-11 WO PCT/CN2022/131386 patent/WO2023088183A1/en unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100229094A1 (en) * | 2009-03-04 | 2010-09-09 | Apple Inc. | Audio preview of music |
CN106997265A (en) * | 2016-01-26 | 2017-08-01 | 腾讯科技(深圳)有限公司 | A kind of method and device of the setting excessive color of background |
CN110609649A (en) * | 2019-09-25 | 2019-12-24 | 北京小米移动软件有限公司 | Interface display method, device and storage medium |
CN111753125A (en) * | 2020-06-22 | 2020-10-09 | 腾讯音乐娱乐科技(深圳)有限公司 | Song audio frequency display method and device |
CN114020394A (en) * | 2021-11-17 | 2022-02-08 | 维沃移动通信有限公司 | Image display method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114020394A (en) | 2022-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10140742B2 (en) | Automated graphical user-interface layout | |
WO2023088183A1 (en) | Image display method and apparatus, and electronic device | |
US20180349088A1 (en) | Apparatus and Method for Controlling Audio Mixing in Virtual Reality Environments | |
CN105307000B (en) | Show device and method thereof | |
CN108334371B (en) | Method and device for editing object | |
CN110929054B (en) | Multimedia information application interface display method and device, terminal and medium | |
CN107621966B (en) | Graphical user interface display method and device and terminal equipment | |
CN109819301B (en) | Video playing method and device, terminal equipment and computer readable storage medium | |
WO2023125425A1 (en) | Display method and apparatus, and electronic device | |
US20230345113A1 (en) | Display control method and apparatus, electronic device, and medium | |
CN106792197A (en) | The changing method and system of a kind of video playback area layout | |
WO2023061414A1 (en) | File generation method and apparatus, and electronic device | |
CN110347459A (en) | Window minimization method and device, storage medium and interactive intelligent panel | |
WO2023030306A1 (en) | Method and apparatus for video editing, and electronic device | |
KR20120076485A (en) | Method and apparatus for providing e-book service in a portable terminal | |
CN111857510A (en) | Parameter adjusting method and device and electronic equipment | |
US9872093B2 (en) | Audio output apparatus and control method thereof | |
CN113805838A (en) | Multimedia information processing method and device and electronic equipment | |
WO2024067329A1 (en) | Display method and apparatus, electronic device and storage medium | |
WO2023093809A1 (en) | File editing processing method and apparatus, and electronic device | |
WO2023125160A1 (en) | Image processing method and apparatus, electronic device, and readable storage medium | |
WO2023061281A1 (en) | Display method and apparatus, and electronic device | |
WO2022247768A1 (en) | Image processing method and electronic device | |
WO2023005899A1 (en) | Graphic identifier display method and electronic device | |
CN107797740A (en) | Terminal control method and device, computer installation and readable storage medium storing program for executing |
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: 22894719 Country of ref document: EP Kind code of ref document: A1 |