WO2024077492A1 - Playback interface displaying method and apparatus, device, medium and program product - Google Patents

Playback interface displaying method and apparatus, device, medium and program product Download PDF

Info

Publication number
WO2024077492A1
WO2024077492A1 PCT/CN2022/124701 CN2022124701W WO2024077492A1 WO 2024077492 A1 WO2024077492 A1 WO 2024077492A1 CN 2022124701 W CN2022124701 W CN 2022124701W WO 2024077492 A1 WO2024077492 A1 WO 2024077492A1
Authority
WO
WIPO (PCT)
Prior art keywords
dimensional
animation
album
audio
optical disc
Prior art date
Application number
PCT/CN2022/124701
Other languages
French (fr)
Chinese (zh)
Inventor
孙天塬
黄逸琛
梁俊文
王志杰
胡州华
吴鸿琦
党正军
杨亚斌
陈宙炜
刘春宇
张璞
Original Assignee
广州酷狗计算机科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州酷狗计算机科技有限公司 filed Critical 广州酷狗计算机科技有限公司
Priority to PCT/CN2022/124701 priority Critical patent/WO2024077492A1/en
Priority to CN202280003532.3A priority patent/CN115997196A/en
Publication of WO2024077492A1 publication Critical patent/WO2024077492A1/en

Links

Images

Definitions

  • the embodiments of the present application relate to the field of player technology, and in particular to a method, device, equipment, medium and program product for displaying a playback interface.
  • a music display area and an operation area are usually displayed in the music playback interface.
  • the music display area will simply display the lyrics of the music being played, related album pictures, or music videos related to the music; in response to the user's operations such as play, pause, and song change in the operation area, the display information in the music display area will change accordingly.
  • the embodiments of the present application provide a method, device, equipment, medium and program product for displaying a playback interface, which can improve the human-computer interaction efficiency on the playback interface.
  • the technical solution is as follows:
  • a method for displaying a playback interface comprising:
  • the audio playback interface includes a three-dimensional shell element corresponding to the target audio work, wherein the three-dimensional shell element contains a three-dimensional audio carrier element;
  • an opening animation of the three-dimensional shell element is displayed, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens.
  • a display device for a playback interface comprising:
  • a display module used for displaying an audio playback interface, wherein the audio playback interface includes a three-dimensional shell element corresponding to the target audio work, wherein the three-dimensional shell element contains a three-dimensional audio carrier element;
  • the display module is also used to display the opening animation of the three-dimensional shell element in response to the target audio work switching to the playing state, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens.
  • a computer device comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement a method for displaying a playback interface as described in any of the above embodiments.
  • a computer-readable storage medium in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement a method for displaying a playback interface as described in any of the above embodiments.
  • a computer program product or a computer program is provided, the computer program product or the computer program includes a computer instruction, the computer instruction is stored in a computer-readable storage medium.
  • a processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the display method of the playback interface described in any of the above embodiments.
  • the opening animation of the three-dimensional shell element is displayed on the audio playback interface, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens.
  • the corresponding animation effect is displayed on the audio playback interface, which enriches the interaction form between user operation and interface display and improves the efficiency of human-computer interaction.
  • FIG1 is a flow chart of an implementation environment provided by an exemplary embodiment of the present application.
  • FIG2 is a flow chart of a method for displaying a playback interface provided by an exemplary embodiment of the present application
  • FIG3 is a flow chart of a method for displaying a playback interface provided by another exemplary embodiment of the present application.
  • FIG4 is a schematic diagram of an animation display interface of a playback interface provided by an exemplary embodiment of the present application.
  • FIG5 is a schematic diagram of a plane display of a three-dimensional album element and a three-dimensional optical disc element provided by an exemplary embodiment of the present application;
  • FIG6 is a schematic diagram showing a spectrum animation provided by an exemplary embodiment of the present application.
  • FIG7 is a schematic diagram showing a background zoom animation provided by an exemplary embodiment of the present application.
  • FIG8 is a display diagram of a text dissipation animation provided by an exemplary embodiment of the present application.
  • FIG9 is a flowchart of a method for displaying a playback interface provided by yet another exemplary embodiment of the present application.
  • FIG10 is a schematic diagram of an animation display interface of a playback interface provided by another exemplary embodiment of the present application.
  • FIG11 is a flowchart of a method for displaying a playback interface provided by yet another exemplary embodiment of the present application.
  • FIG12 is a structural block diagram of a display device for a playback interface provided by an exemplary embodiment of the present application.
  • FIG13 is a structural block diagram of a display device for a playback interface provided by another exemplary embodiment of the present application.
  • FIG. 14 is a structural block diagram of a computer device provided by an exemplary embodiment of the present application.
  • the music display area will simply display the lyrics of the music being played, the related album pictures, or the music short films related to the music, etc.; in response to the user's operation of playing, pausing and switching songs in the operation area, the display information in the music display area will change accordingly.
  • the music display area can only simply display the music-related information, and the human-computer interaction efficiency is low.
  • An embodiment of the present application provides a method for displaying a playback interface, which switches the target audio work to a playback state, displays an opening animation of a three-dimensional shell element on the audio playback interface, and a three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens, so that in the process of switching the target audio state, a corresponding animation effect is displayed on the audio playback interface, thereby enriching the interaction form between user operation and interface display and improving the efficiency of human-computer interaction.
  • Figure 1 is a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application.
  • the implementation environment includes a terminal 110 and a server 120.
  • the terminal 110 and the server 120 are connected via a communication network 130.
  • the communication network 130 can be a wired network or a wireless network, which is not limited in this embodiment.
  • the terminal 110 is a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart home appliance, a smart car terminal, a smart speaker, a digital camera, etc., but is not limited thereto.
  • the terminal 110 is installed with a target application.
  • the target application can be a traditional application, a cloud application, a small program or an application module in a host application, or a web page platform, which is not limited in this embodiment.
  • the target application provides a three-dimensional animation display function and an audio playback function.
  • the server 120 provides background services for the target application installed in the terminal.
  • the terminal 110 receives the target audio work playback operation, it sends the target audio work playback instruction to the server 120; after receiving the target audio work playback instruction, the server 120 feeds back the audio playback interface rendering data to the terminal 110; when the terminal 110 receives the audio playback interface rendering data, the opening animation of the three-dimensional shell element corresponding to the target audio work is displayed on the audio playback interface of the terminal 110, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens.
  • the above-mentioned audio playback interface rendering data is offline data, that is, the terminal 110 can directly read the locally stored audio playback interface rendering data, and then render and display it on the audio playback interface.
  • the server 120 can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
  • the server 120 can also be implemented as a node in the blockchain system.
  • the information including but not limited to user device information, user personal information, etc.
  • data including but not limited to data used for analysis, stored data, displayed data, etc.
  • signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
  • the three-dimensional shell elements and three-dimensional audio carrier elements involved in this application are obtained with full authorization.
  • FIG2 is a flowchart of a method for displaying a playback interface provided by an embodiment of the present application, and the method is described by taking the method applied to the terminal shown in FIG1 as an example.
  • the method includes:
  • Step 201 displaying the audio playback interface.
  • the audio playback interface includes a three-dimensional shell element corresponding to the target audio work, and the three-dimensional shell element contains a three-dimensional audio carrier element.
  • the audio playback interface is used to play the target audio work.
  • the audio playback interface includes a player element display area, which is implemented as a three-dimensional display space for displaying three-dimensional shell elements and three-dimensional audio carrier elements.
  • the terminal can obtain the coordinates of each vertex of the three-dimensional shell element and the three-dimensional audio carrier element, and transform them into the three-dimensional display space of the audio playback interface through the projection matrix to achieve the stereoscopic effect of the three-dimensional shell element and the three-dimensional audio carrier element.
  • a three-dimensional audio carrier element refers to an element related to the playing of audio works, such as a three-dimensional optical disc element, a three-dimensional magnetic tape element, etc.
  • a three-dimensional shell element refers to an element that can accommodate a three-dimensional audio carrier element, such as a three-dimensional album element that can accommodate a three-dimensional optical disc element, the three-dimensional album element can be implemented in the form of an optical disc shell, and the three-dimensional album element can be opened like a physical optical disc shell to simulate the stereoscopic effect of opening an optical disc shell in the physical world; or, a three-dimensional tape box element that can accommodate a three-dimensional magnetic tape element, the three-dimensional tape box element can be opened like a physical tape box to simulate the stereoscopic effect of opening a tape box in the physical world.
  • the three-dimensional audio carrier element is completely contained in the three-dimensional shell element, that is, at this moment the three-dimensional audio carrier element is invisible in the audio playback interface, and indicatively, the three-dimensional optical disc element is contained in the three-dimensional album element, and only the three-dimensional album element is visible in the audio playback interface; in the audio playback interface, the three-dimensional audio carrier element is partially contained in the three-dimensional shell element, that is, at this moment the three-dimensional audio carrier element is visible in the audio playback interface, and indicatively, a part of the three-dimensional optical disc element is moved from the three-dimensional album element, and this part is visible in the audio playback interface, and the other part is contained in the three-dimensional shell element and is invisible in the audio playback interface.
  • the method for displaying the audio playback interface includes at least one of the following methods:
  • the user can click on the target song to be played in the playlist interface of the target application, and the playlist interface will jump to the audio playback interface, displaying the three-dimensional shell element and three-dimensional audio carrier element corresponding to the target song.
  • the user is currently playing other songs in the audio playback interface.
  • the user clicks the next/previous song control the other songs being played can be switched to the target song, and the three-dimensional shell element and three-dimensional audio carrier element corresponding to the target song will be displayed.
  • the target song when the target song is in a playback pause state in the audio playback interface, the three-dimensional shell element and three-dimensional audio carrier element corresponding to the target song will also be displayed.
  • Step 202 in response to the target audio work switching to the playing state, the opening animation of the three-dimensional shell element is displayed, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens.
  • switching to the playback state means loading the target audio work in an audio playback interface that does not load any audio work, and playing the target audio work; or, switching to the playback state means switching the target audio work in a paused state to a playback state in the audio playback interface; or, switching to the playback state means switching other audio works to the target audio work in an audio playback interface that is loaded with other audio works, and playing the target audio work.
  • the three-dimensional shell element and the three-dimensional audio carrier element may cut into the audio playback interface from the specified edge of the audio playback interface, and then display the opening animation of the three-dimensional shell element; or, when the target audio work switches to the playback state, the three-dimensional shell element and the three-dimensional audio carrier element will be directly displayed in the audio playback interface, and then display the opening animation of the three-dimensional shell element.
  • the three-dimensional shell element can be implemented as an openable three-dimensional box structure, and the opening animation of the three-dimensional shell element is to expand the accommodation space of the box.
  • the opening animation is implemented as an opening animation in which the lower box is fixed and the upper box is opened upward; or, the opening animation is implemented as an opening animation in which the upper box is fixed and the lower box is opened downward; or, the opening animation is implemented as an opening animation in which the upper box is opened upward and the lower box is opened downward.
  • the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element is opened, which includes at least one of the following situations:
  • Case 1 The three-dimensional audio carrier element switches from a completely invisible state to a completely visible state as the three-dimensional shell element is opened.
  • the three-dimensional audio carrier element is completely contained in the three-dimensional shell element and is invisible in the audio playback interface; when the opening animation of the three-dimensional shell element ends, the three-dimensional audio carrier element will appear and be fully displayed in the audio playback interface.
  • Case 2 As the three-dimensional shell element is opened, the three-dimensional audio carrier element switches from a completely invisible state to a partially visible state.
  • the three-dimensional audio carrier element is completely contained in the three-dimensional shell element and is invisible in the audio playback interface; at the end moment of the opening animation of the three-dimensional shell element, a part of the three-dimensional audio carrier element will appear and be visible in the audio playback interface, and the other part is contained in the three-dimensional shell element and is invisible in the audio playback interface.
  • Case 3 As the 3D shell element is opened, the 3D audio carrier element switches from a partially visible state to a fully visible state.
  • a part of the three-dimensional audio carrier element is in the three-dimensional shell element, and this part will begin to appear as the three-dimensional shell element opens; when the opening animation of the three-dimensional shell element ends, this part will be fully revealed, that is to say, when the opening animation of the three-dimensional shell element ends, the three-dimensional audio carrier element is fully visible in the audio playback interface.
  • Case 4 As the three-dimensional shell element is opened, the three-dimensional audio carrier element switches from a first-part visible state to a second-part visible state, wherein the first part accounts for a smaller proportion of the three-dimensional audio carrier element than the second part.
  • a part of the three-dimensional audio carrier element is in the three-dimensional shell element, and this part will begin to appear as the three-dimensional shell element opens; at the end of the opening animation of the three-dimensional shell element, this part will not be fully revealed, and only a small part will be displayed, that is to say, when the opening animation of the three-dimensional shell element ends, a part of the three-dimensional audio carrier element is still in the three-dimensional shell element and is invisible.
  • the target audio work in response to the target audio work switching to the playing state, the target audio work will be played on the audio playing interface; at the same time, the rotation animation of the three-dimensional audio carrier element will be displayed.
  • the opening animation of the three-dimensional album element will be displayed, and the three-dimensional optical disc element will appear from the three-dimensional album element as the three-dimensional album element opens; at the end of the opening animation of the three-dimensional album element, the three-dimensional optical disc element will rotate around the designated center, and the designated center can be located inside the three-dimensional album element or outside the three-dimensional album element.
  • the opening animation of the three-dimensional tape box element will be displayed, and the three-dimensional magnetic tape element will appear from the three-dimensional magnetic tape element as the three-dimensional tape box element opens; at the end of the opening animation of the three-dimensional album element, the magnetic tape in the three-dimensional magnetic tape element will rotate around the transmission structure in the three-dimensional magnetic tape element.
  • the target audio work further includes a playback pause state and a switched state.
  • the playback pause state and the switched state of the target audio work are respectively described below:
  • Playback pause state Optionally, in response to the target audio work switching to the playback pause state, a closing animation of the three-dimensional shell element is displayed, and the three-dimensional audio carrier element is retracted into the three-dimensional shell element as the three-dimensional shell element closes.
  • the playback pause state means that the playback of the target audio work is paused in the audio playback interface, but the target audio work is still loaded in the audio playback interface.
  • the three-dimensional shell element can be implemented as an openable three-dimensional box structure, and the closing animation of the three-dimensional shell element is to close the containing space of the box.
  • the opening animation is implemented as a closing animation in which the lower box is fixed and the upper box moves toward the lower box; or, the opening animation is implemented as a closing animation in which the upper box is fixed and the lower box moves toward the upper box; or, the opening animation is implemented as a closing animation in which the upper box moves toward the lower box and the lower box moves toward the upper box.
  • the situation in which the three-dimensional audio carrier element is retracted into the three-dimensional shell element as the three-dimensional shell element is collapsed includes at least one of the following situations:
  • Case 1 The three-dimensional audio carrier element switches from a fully visible state to a fully invisible state as the three-dimensional shell element is closed.
  • Case 2 As the three-dimensional shell element is closed, the three-dimensional audio carrier element switches from a fully visible state to a partially visible state.
  • Case 3 As the three-dimensional shell element is closed, the three-dimensional audio carrier element switches from a partially visible state to a completely invisible state.
  • Case 4 As the three-dimensional shell element is closed, the three-dimensional audio carrier element switches from the third part visible state to the fourth part visible state, wherein the proportion of the third part in the three-dimensional audio carrier element is greater than that of the fourth part.
  • the target audio work in response to the target audio work switching to a playback pause state, is stopped from being played in the audio playback interface; and at the same time, the rotation animation of the three-dimensional audio carrier element is stopped.
  • Switched state In response to the target audio work being switched to other audio works, a cut-out animation of the three-dimensional shell element and the three-dimensional audio carrier element in the audio playback interface is displayed.
  • the target audio work being switched to other audio works means that other audio works are loaded in the audio playback interface instead of the target audio work.
  • the cut-out animation can be implemented as an animation that moves the three-dimensional shell element and the three-dimensional audio carrier element from the current display position to outside the specified edge of the audio playback interface; the cut-out animation can also be implemented as an animation in which the three-dimensional shell element and the three-dimensional audio carrier element disappear directly from the audio playback interface.
  • the case where the cut-out animation is displayed includes at least one of the following cases:
  • the closing animation of the three-dimensional shell element is displayed.
  • the three-dimensional audio carrier element is retracted into the three-dimensional shell element.
  • the cutting-out animation of the three-dimensional shell element and the three-dimensional audio carrier element is displayed.
  • the speed at which the three-dimensional shell element and the three-dimensional audio carrier element move from the current display position to the outside of the specified edge of the audio playback interface can be uniform or variable, wherein the acceleration of the variable speed will be determined by a preset friction force.
  • the preset friction force is implemented as the friction between the three-dimensional shell element and the three-dimensional audio carrier element and the background with the audio playback interface
  • the speed of the three-dimensional shell element and the three-dimensional audio carrier element is uniform during the process of the display edge of the three-dimensional shell element and the three-dimensional audio carrier element moving from the current display position to the specified edge of the audio playback interface.
  • the speed of the three-dimensional shell element and the three-dimensional audio carrier element will decrease.
  • the display method of the playback interface switches the target audio work to the playback state, displays the opening animation of the three-dimensional shell element on the audio playback interface, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens, so that in the process of switching the target audio state, the corresponding animation effect is displayed on the audio playback interface, enriching the interaction form between user operation and interface display, and improving the efficiency of human-computer interaction.
  • the method provided in the embodiment of the present application switches the target audio work to a playback pause state, displays a closing animation of a three-dimensional shell element on the audio playback interface, and retracts the three-dimensional audio carrier element into the three-dimensional shell element as the three-dimensional shell element closes, thereby further enriching the interaction form between user operations and interface displays and improving human-computer interaction efficiency.
  • the opening animation and the closing animation are interrelated processes, the correlation between the play operation and the pause operation of the same audio work is improved.
  • the three-dimensional shell element includes a three-dimensional album element
  • the three-dimensional audio carrier element includes a three-dimensional optical disc element
  • the three-dimensional optical disc element is displayed by sliding out from the three-dimensional album element.
  • FIG. 3 is a flowchart of a method for displaying a playback interface provided by another exemplary embodiment of the present application, and the method is described by taking the method applied to the terminal shown in FIG. 1 as an example. The method includes:
  • Step 301 display the audio playback interface.
  • the audio playback interface includes a three-dimensional album element corresponding to the target audio work, and the three-dimensional album element contains a three-dimensional optical disc element.
  • the audio playback interface is used to play the target audio work.
  • the audio playback interface includes a player element display area, a text display area, an operation area, etc.
  • the player element display area is implemented as a three-dimensional display space for displaying three-dimensional album elements and three-dimensional optical disc elements, wherein the three-dimensional optical disc element is contained in the three-dimensional album element and is in an invisible state.
  • a three-dimensional display space 401 is displayed.
  • the three-dimensional display space 401 only displays the three-dimensional album element 402.
  • the three-dimensional CD element is accommodated in the internal invisible space of the three-dimensional album element 402.
  • start time of the song playing state can be the starting playing time point of the whole song (for example: 00:00), or it can be a certain playing time point in the middle of the whole song (for example: 01:01).
  • the text display area is used to display text data corresponding to the target audio work, for example: displaying the name, singer and lyrics of the song, etc.
  • a text display area 403 is displayed, in which the lyrics, name and lyrics of the currently playing song are displayed.
  • the operation area is used to trigger specified operations on the target audio work, wherein the specified operations include play operation, pause operation, switch operation, add to specified list operation, comment operation, switch playback sound quality operation, play corresponding video operation, drag playback progress bar operation, etc., which is not limited to the embodiments of the present application.
  • the user can adjust the position of the controls corresponding to the above-mentioned specified operations on the audio playback interface according to the operation habits, for example: the controls corresponding to the add to specified list operation and the comment operation are displayed in the lower left position or the lower right position of the audio playback interface.
  • the controls corresponding to the add to specified list operation and the comment operation are displayed in the lower left position or the lower right position of the audio playback interface.
  • an operation area 404 is displayed, wherein controls 405, controls 406 and controls 407 are displayed in the right position of the operation area 404, so that the user can operate with one hand.
  • the above-mentioned designated operations on the target audio work can also be triggered directly on the three-dimensional album element and the three-dimensional optical disc element, for example: when a song is playing, single-clicking the three-dimensional optical disc element will pause the song, and when the song is paused, single-clicking the three-dimensional optical disc element will play the song; sliding on the three-dimensional optical disc element to the left will switch to playing the previous song, and sliding on the three-dimensional optical disc element to the right will switch to playing the next song; sliding on the three-dimensional optical disc element clockwise will play the next sentence of the lyrics of the currently playing song, and sliding on the three-dimensional optical disc element counterclockwise will play the previous sentence of the lyrics of the currently playing song.
  • Step 302 In response to the target audio work being switched to a playing state, an album shell opening animation corresponding to the three-dimensional album element is displayed.
  • the opening animation of the upper shell 413 and the lower shell 414 of the three-dimensional album element 417 is displayed in the three-dimensional display space 411 of the interface 410, wherein the opening animation can be implemented as an animation in which the upper shell 413 is fixed and the lower shell 414 is unfolded backward; it can also be implemented as an animation in which the upper shell 413 is unfolded forward and the lower shell 414 is fixed; it can also be implemented as an animation in which the upper shell 413 is unfolded forward and the lower shell 414 is unfolded backward, and the embodiments of the present application are not limited to this.
  • the overall movement animation of the three-dimensional album element 417 is also displayed, schematically showing that the three-dimensional album element 417 moves a distance to the right during the opening process.
  • a cutting-in animation of a three-dimensional album element may also be displayed.
  • the three-dimensional album element and the three-dimensional optical disc element corresponding to song 2 are moved in parallel from the designated edge of the audio playback interface to the three-dimensional display space of the audio playback interface.
  • the album shell opening animation of the three-dimensional album element corresponding to song 2 is displayed.
  • Step 303 Display a sliding-out animation of the 3D optical disc element sliding out of the 3D album element.
  • a slide-out animation of the three-dimensional optical disc element sliding out of the three-dimensional album element is displayed simultaneously; or, after the display of the album shell opening animation corresponding to the three-dimensional album element ends, a slide-out animation of the three-dimensional optical disc element sliding out of the three-dimensional album element is displayed.
  • a first slide-out animation is displayed in which the three-dimensional optical disc element slides out of the three-dimensional album element at a constant speed; or a second slide-out animation is displayed in which the three-dimensional optical disc element slides out of the three-dimensional album element at a variable speed.
  • the second sliding animation of sliding out with variable speed determines the change of the moving speed according to the friction force corresponding to the preset three-dimensional optical disc element.
  • the friction force is set as the friction force between the three-dimensional optical disc element and the playback background of the audio playback interface, and the first speed of the three-dimensional optical disc element at the beginning of sliding out is greater than the speed in the subsequent sliding process, that is, the sliding speed decreases as the sliding distance increases.
  • the target audio work is played; and after the sliding-out animation of the three-dimensional optical disc element sliding out of the three-dimensional album element is displayed, a rotation animation of the three-dimensional optical disc element rotating around a specified center point is displayed.
  • Playback pause state in response to the target audio work switching to the pause state, display the sliding animation of the 3D disc element sliding into the 3D album element; display the closing animation of the album shell corresponding to the 3D album element.
  • the playback of the target audio work is paused; and the display of the rotation animation of the three-dimensional optical disc element rotating around a specified center point is paused.
  • Switched state In response to the target audio work being switched to other audio works, a cut-out animation of the three-dimensional album element and the three-dimensional optical disc element in the audio playback interface is displayed.
  • the next song control 416 in the interface 410 when the next song control 416 in the interface 410 is clicked, the currently playing song will be switched, and the sliding-in animation of the 3D optical disc element 415 sliding parallel to the left from the accommodation space in the 3D album element 417 will be displayed, and the upper shell 413 and the lower shell 414 of the 3D album element 417 will be displayed to close the accommodation space, until the 3D optical disc element 415 is completely stored in the 3D album element 417 and becomes invisible, and then the 3D album element 417 and the 3D optical disc element 415 are cut out of the display screen. That is, when the song is switched, the 3D optical disc element will be stored in the 3D album element, and then the 3D album element and the 3D optical disc element contained therein will be cut out of the display screen.
  • the 3D album element and the 3D optical disc element will display images matching the target audio work.
  • Figure 5 is a planar display diagram of a three-dimensional album element and a three-dimensional optical disc element, wherein the three-dimensional album element 501 displays the cover image corresponding to the target audio work; the inner circular area 503 of the three-dimensional optical disc element 502 displays the cover image corresponding to the target audio work, and the outer ring area 504 displays a specified color image.
  • the cover image displayed in the three-dimensional album element 501 and the inner circular area 503 can directly sample the cover image corresponding to the target audio work.
  • the specified color in the specified color image displayed in the outer annular area 504 needs to be processed for the cover image corresponding to the target audio work, and the color processing method also includes the following steps:
  • the image palette i.e., color data
  • an existing color library e.g., a set of colors given by a designer
  • match the target color value range with multiple color samples to determine the color samples and color value data corresponding to the three-dimensional optical disc element, and superimpose the color samples and color value data to obtain the optical disc color corresponding to the three-dimensional optical disc element, i.e., the specified color in the specified color picture displayed in the outer annular area 504.
  • the audio playback interface displays the opening animation of the 3D album element, and while showing the 3D disc element, it also displays the spectrum animation, background zoom animation, text dissipation animation, etc. corresponding to the target audio work.
  • the audio playback interface displays the opening animation of the 3D album element, and while showing the 3D disc element, it also displays the spectrum animation, background zoom animation, text dissipation animation, etc. corresponding to the target audio work.
  • Spectrum animation In some optional embodiments, during the playback of the target audio work, a spectrum animation corresponding to the target audio work is displayed.
  • the spectrum animation will change with the music rhythm corresponding to the target audio work.
  • the visual amplitude of the spectrum animation will increase; when the pitch and rhythm of the target audio work are low and slow, the visual amplitude of the spectrum animation will decrease.
  • the method for obtaining the above-mentioned spectrum animation includes the following steps: performing short-time Fourier transform on the pulse-code modulation (PCM) data corresponding to the target audio work, and calculating the amplitude value corresponding to the target audio work; processing the calculated amplitude value in accordance with the human ear's auditory transformation, for example: A-weighted filtering algorithm and Mel scale conversion; finally, performing intra-frame and inter-frame data smoothing on the processed amplitude value, and visually displaying the processed data, which is the spectrum animation.
  • PCM pulse-code modulation
  • the presentation forms of the spectrum animation include space spectrum animation and plane spectrum animation.
  • a spectrum animation 418 is played throughout a three-dimensional album element 417 and a three-dimensional optical disc element 415; or, as shown in Figure 11, in a three-dimensional display space 1111, a spectrum animation 1117 is played around a three-dimensional album element 1112 and a three-dimensional optical disc element 1115.
  • the two-dimensional spectrum animation can be displayed at any specified position of the audio playback interface, for example: the middle position of the three-dimensional display space; above the playback progress bar of the audio playback interface; at the bottom of the audio playback interface; on the sides (left and right) of the audio playback interface.
  • the plane spectrum animation can be switched to a display position in the audio playback interface according to the playback progress of the target audio work.
  • the spectrum animation 601 is displayed in the middle of the three-dimensional display space.
  • the spectrum animation 611 is displayed at the bottom of the audio playback interface 610 ;
  • the spectrum animation 621 is displayed on the right side of the audio playback interface 620 .
  • Background zoom animation in response to the target audio work switching to the playback state, the amplification parameters of the current playback frame of the target audio work are obtained, and the amplification parameters are used to indicate the loudness data of the audio corresponding to the target audio work between frames; in response to the amplification parameters of the current playback frame of the target audio work being greater than a preset threshold, a zoom animation of the playback background is displayed on the audio playback interface.
  • the method for obtaining the amplification parameters further includes the following steps:
  • the PCM data of the audio frame currently being played of the target audio work is obtained, the root mean square value of the loudness of the audio frame currently being played is calculated according to the PCM data, the root mean square value is normalized, and the amplification parameter is obtained.
  • the zooming animation of the playback background will start to play, because the playback time of the zooming animation is usually greater than the time corresponding to one audio frame; then during the playback of the zooming animation, the relationship between the amplification parameter corresponding to the second audio frame and the amplification parameter corresponding to the first audio frame will continue to be judged.
  • the currently playing zooming animation will be interrupted and the new zooming animation will be restarted; if the amplification parameter corresponding to the second audio frame is less than or equal to the amplification parameter corresponding to the first audio frame, the currently playing zooming animation will continue to play.
  • the currently playing zoom animation is finished, it is determined whether it is necessary to play the zoom animation of the playback background, and the magnitude relationship between the amplification parameter corresponding to the first audio frame after the zoom animation is finished and the preset threshold is compared.
  • a background image is displayed in the background interface of the audio playback interface, and the method for obtaining the background image includes: obtaining a cover image corresponding to the target audio work; performing Gaussian blur processing on the cover image to obtain a processed cover image, and the cover image is the background image of the audio playback interface.
  • the zoom animation of the playback background refers to an animation of restoring a part of the cover image that has been subjected to Gaussian blur processing from an enlarged display to a normal display; or an animation of restoring a part of the cover image that has been subjected to Gaussian blur processing from a reduced display to a normal display.
  • the three-dimensional album element cover image is displayed in the playback background of the audio playback interface, that is, interface 700 is obtained, wherein element 701 displayed in the background of interface 700 is the magnified object of the magnification animation; in response to the magnification parameter of the current playback frame of the target audio work being greater than a preset threshold, the magnification animation of element 701 will be displayed, that is, in interface 710, the display element 701 is enlarged to become the animation effect of element 711.
  • Text dissipation animation In some optional embodiments, the text data displayed in the above text display area is implemented as lyrics as an example for explanation, and the method for displaying text data also includes the following steps:
  • Step 1 In response to the target audio work switching to a playing state, a first text in the text to be displayed of the target audio work is determined according to the playing progress of the target audio work.
  • the lyrics corresponding to the song are displayed in real time in the text display area, where the first text refers to the lyrics of the current song being played. For example, if the sentence "I had a beautiful nightmare at night" is currently playing in the song, then the text corresponding to this sentence is the first text.
  • Step 2 Display the first text at a target position in the text display area with a first transparency, and display the second text below the first text with a second transparency.
  • the target position is a position whose distance from the first edge of the text display area is less than a preset distance, the first transparency is less than the second transparency, and the end display time of the second text is chronologically later than the end display time of the first text.
  • the second text is the next line of the lyrics of the current song being played.
  • the text display area 403 near the upper edge displays "I had a beautiful nightmare at night", which is the lyrics currently being played, or the first text; and below "I had a beautiful nightmare at night” displays "I want to wake up but I can't resist the beating of my heart", which is the next line of the lyrics currently being played, or the second text.
  • the second text is multiple lines of lyrics below the lyrics of the current song being played, that is, if the first text is the i-th line of lyrics, the i+1-th line of lyrics, the i+2-th line of lyrics, etc. are pre-displayed below the first text.
  • This embodiment of the present application does not limit this.
  • a first transparency of the first text is smaller than a second transparency of the second text; and a text size of the first text is larger than a text size of the second text, so as to highlight the first text.
  • Step three in response to the display time of the first text ending, displaying a fading animation of the first text in the text display area.
  • the dissipation animation refers to an animation in which the text in the first text is dispersed into multiple particles and disappears in a preset direction.
  • the dissipation animation mainly includes two parts: first, reducing the first transparency corresponding to the first text to a specified transparency; second, displaying the particle dispersion animation.
  • the specified transparency is the result of multiplying the transparency corresponding to the first text and the transparency corresponding to the particle dispersion animation. For example, if the transparency corresponding to the first text is 70% and the transparency corresponding to the particle dispersion animation is 20%, the specified transparency is 1.4%.
  • a particle sequence frame matching the first text is played according to the texture length corresponding to the first text; at the same time, the transparency corresponding to the first text is reduced to a specified transparency, thereby realizing the dissipation animation of the first text.
  • FIG 8 shows a schematic diagram of the process of a dissipation animation of a first text.
  • interface 800 after the song finishes playing lyrics 801, the dissipation animation of lyrics 801 begins to be displayed; in interface 810, the transparency of the texture of lyrics 811 is less than the transparency of the texture of lyrics 801, and particle sequence frames are covered on lyrics 811; in interface 820, the lyrics have been completely dispersed into particles, and the dissipation animation display ends.
  • the second text when the fading animation of the first text ends, the second text will move to the display position of the first text, and the transparency corresponding to the second text will be increased to the first transparency, and the text size corresponding to the second text will be increased to the text size corresponding to the first text.
  • the opening animation of the three-dimensional shell element is displayed on the audio playback interface, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens, so that in the process of switching the target audio state, the corresponding animation effect is displayed on the audio playback interface, which enriches the interaction form between user operation and interface display and improves the efficiency of human-computer interaction.
  • the three-dimensional shell element can be implemented as a three-dimensional album element
  • the three-dimensional audio carrier element can be implemented as a three-dimensional optical disc element, thereby enriching the animation display form of the three-dimensional shell element and the three-dimensional audio carrier element.
  • the method provided in the embodiment of the present application when switching the target audio work to the playback state, will display the album shell opening animation corresponding to the three-dimensional album element, and display the sliding-out animation of the three-dimensional optical disc element sliding out of the three-dimensional album element. On the one hand, it enriches the display form of the three-dimensional optical disc element, and on the other hand, it enhances the stereoscopic effect of the three-dimensional optical disc element during the display process.
  • the method provided in the embodiment of the present application provides at least two display methods of slide-out animation when displaying the slide-out animation of the three-dimensional album element, namely, uniform-speed slide-out animation and variable-speed slide-out animation, further enriching the display form of the three-dimensional optical disc element.
  • the method provided in the embodiment of the present application displays the spectrum animation corresponding to the target audio work when the target audio work is switched to the playback state, and visualizes the audio data corresponding to the target audio work, thereby improving the efficiency of human-computer interaction.
  • the method provided in the embodiment of the present application when switching the target audio work to the playback state, when the amplification parameter of the current playback frame of the target audio work is greater than a preset threshold, will display a zoom animation of the playback background on the audio playback interface, thereby enhancing the expressiveness of the audio display interface for the target audio work.
  • the method provided in the embodiment of the present application determines the disc color corresponding to the three-dimensional disc element according to the color data corresponding to the cover image of the target audio work, thereby improving the adaptability of the target audio work and the three-dimensional disc element during the display process.
  • the method provided in the embodiment of the present application displays a dissipation animation of text data on the audio playback interface when the target audio work is switched to the playback state, thereby enriching the display form of text data on the audio playback interface and improving the efficiency of human-computer interaction.
  • the three-dimensional shell element includes a three-dimensional album element
  • the three-dimensional audio carrier element includes a three-dimensional optical disc element
  • the three-dimensional optical disc element is placed in a disc slot in the three-dimensional album element, and appears as the album shell corresponding to the three-dimensional album element is opened.
  • FIG9 is a flowchart of a method for displaying a playback interface provided by another exemplary embodiment of the present application, and the method is described by taking the method applied to the terminal shown in FIG1 as an example. The method includes:
  • Step 901 display the audio playback interface.
  • the audio playback interface includes a three-dimensional album element corresponding to the target audio work, and the three-dimensional album element contains a three-dimensional optical disc element.
  • the audio playback interface is used to play the target audio work, and optionally, the audio playback interface includes a player element display area, a text display area, an operation area, etc.
  • the player element display area is implemented as a three-dimensional display space for displaying a three-dimensional album element and a three-dimensional optical disc element, wherein the three-dimensional optical disc element is contained in the three-dimensional album element and is invisible.
  • a three-dimensional display space 1001 is displayed.
  • the three-dimensional display space 1001 only displays a three-dimensional album element 1002 , and a three-dimensional CD element is contained in the invisible space inside the three-dimensional album element 1002 .
  • Step 902 in response to the target audio work switching to the playing state, displaying the album shell opening animation corresponding to the three-dimensional album element; wherein the three-dimensional optical disc element is placed in the optical disc slot in the three-dimensional album element, and as the album shell corresponding to the three-dimensional album element opens, the three-dimensional optical disc element appears from the three-dimensional album element.
  • the opening animation of the upper shell 1013 and the lower shell 1014 of the three-dimensional album element 1012 is displayed in the three-dimensional display space 1011 of the interface 1010, wherein the opening animation can be implemented as an animation in which the upper shell 1013 is fixed and the lower shell 1014 is unfolded downward; it can also be implemented as an animation in which the upper shell 1013 is unfolded upward and the lower shell 1014 is fixed; it can also be implemented as an animation in which the upper shell 1013 is unfolded upward and the lower shell 1014 is unfolded downward, and the embodiments of the present application are not limited to this.
  • the target audio work is played; and after the album shell opening animation corresponding to the three-dimensional album element is displayed, a rotating animation of the three-dimensional optical disc element rotating around the center of the optical disc slot in the three-dimensional album element is displayed.
  • Playback pause state in response to the target audio work switching to the pause state; the album shell closing animation corresponding to the three-dimensional album element is displayed.
  • playback of the target audio work is paused; and display of the rotation animation of the three-dimensional optical disc element rotating around the center of the optical disc slot in the three-dimensional album element is paused.
  • Switched state In response to the target audio work being switched to other audio works, a cut-out animation of the three-dimensional album element and the three-dimensional optical disc element in the audio playback interface is displayed.
  • the next song control 1016 in the interface 1010 is clicked, the currently playing song will be switched, and the upper shell 1013 and the lower shell 1014 displaying the 3D album element 1012 will close the storage space until the 3D optical disc element 1015 is completely stored in the 3D album element 1012 and becomes invisible, and then the 3D album element 1012 and the 3D optical disc element 1015 are cut out of the display screen. That is, when the song is switched, the 3D album element will be closed, and the 3D album element and the 3D optical disc element contained therein will be cut out of the display screen.
  • the display method of the playback interface switches the target audio work to the playback state, displays the opening animation of the three-dimensional shell element on the audio playback interface, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens, so that in the process of switching the target audio state, the corresponding animation effect is displayed on the audio playback interface, enriching the interaction form between user operation and interface display, and improving the efficiency of human-computer interaction.
  • the method provided in the embodiment of the present application displays an album shell opening animation corresponding to a three-dimensional album element after the target audio work is switched to the playback state; wherein the three-dimensional optical disc element is placed in a optical disc slot in the three-dimensional album element, and as the album shell corresponding to the three-dimensional album element opens, the three-dimensional optical disc element appears from the three-dimensional album element.
  • the display form of the three-dimensional optical disc element is enriched, and on the other hand, during the display process of the three-dimensional optical disc element, the three-dimensional optical disc element may not be dynamically displayed, thereby saving the computing resources of the computer.
  • the three-dimensional shell element includes a three-dimensional album element
  • the three-dimensional audio carrier element includes a three-dimensional optical disc element
  • FIG. 11 is a flowchart of a method for displaying a playback interface provided by another exemplary embodiment of the present application, and the method is described by taking the method applied to the terminal shown in FIG. 1 as an example. The method includes:
  • Step 1101 display the audio playback interface.
  • the audio playback interface includes a three-dimensional album element corresponding to the target audio work, and the three-dimensional album element contains a three-dimensional optical disc element.
  • the audio playback interface is used to play the target audio work.
  • the audio playback interface includes a player element display area, a text display area, an operation area, etc.
  • the player element display area is implemented as a three-dimensional display space for displaying a three-dimensional album element and a three-dimensional optical disc element, wherein the three-dimensional optical disc element is contained in the three-dimensional album element and is invisible.
  • Step 1102 in response to the target audio work being switched to the playing state, displaying an album shell opening animation corresponding to the three-dimensional album element.
  • step 302 The method for displaying the album shell opening animation is specifically described in step 302 and will not be repeated here.
  • Step 1103 after the album shell opening animation is finished, the CD picking animation is displayed.
  • the CD-taking animation is used to instruct the three-dimensional hand element to take out the three-dimensional CD element from the three-dimensional album element and place the three-dimensional CD element at a designated position.
  • the target audio work is played; and after the animation display of the three-dimensional optical disc element being placed at the specified position ends, a rotation animation of the three-dimensional optical disc element rotating around the specified center point is displayed.
  • a 3D optical disc player is also displayed in the audio playback interface, and the designated position is the playback slot of the 3D optical disc player.
  • the 3D optical disc element in the optical disc slot of the 3D album element is taken out through the hand model, and the 3D optical disc element is placed in the playback slot of the 3D optical disc player, and a rotation animation of the 3D optical disc element starting to rotate around the center of the playback slot is displayed.
  • Playback pause state In response to the target audio work switching to the pause state, the disc re-insertion animation is displayed; after the disc re-insertion animation is finished, the album shell closing animation corresponding to the three-dimensional album element is displayed.
  • the CD-replacing animation is used to instruct the three-dimensional hand element to take out the three-dimensional CD-ROM element from the specified position and put the three-dimensional CD-ROM element back into the CD-ROM slot of the three-dimensional album element.
  • the playback of the target audio work is paused; and the display of the rotation animation of the three-dimensional optical disc element rotating around a specified center point is paused.
  • Switched state In response to the target audio work being switched to other audio works, a cut-out animation of the three-dimensional album element and the three-dimensional optical disc element in the audio playback interface is displayed.
  • the display method of the cut-out animation includes at least one of the following situations:
  • Case 1 The three-dimensional optical disc element displayed in the current audio playback interface is moved from a specified position to outside a specified edge of the audio playback interface and cut out of the display screen.
  • Case 2 Display the disc putting back animation. After the disc putting back animation is finished, move the 3D album element displayed in the current audio playback interface and the 3D disc element contained therein from the specified position to the outside of the specified edge of the audio playback interface and cut out of the display screen.
  • the cut-out animation of the 3D album element can also be displayed.
  • the 3D album element is moved from the current display position to the designated edge of the audio playback interface, and the 3D album element is cut out of the display screen. That is, when the song starts playing, the 3D album element and the 3D optical disc element corresponding to the song will be displayed, and the animation of the 3D optical disc element being taken out of the 3D album element will be displayed.
  • the 3D album element can be moved out of the display screen, and only the 3D optical disc element will be displayed during the subsequent playback of the song.
  • the display method of the playback interface switches the target audio work to the playback state, displays the opening animation of the three-dimensional shell element on the audio playback interface, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens, so that in the process of switching the target audio state, the corresponding animation effect is displayed on the audio playback interface, enriching the interaction form between user operation and interface display, and improving the efficiency of human-computer interaction.
  • the method provided in the embodiment of the present application will display the album shell opening animation corresponding to the three-dimensional album element after the target audio work is switched to the playback state; after the album shell opening animation is played, an animation of a three-dimensional hand element taking out the three-dimensional optical disc element from the three-dimensional album element and placing the three-dimensional optical disc element to a specified position will be displayed.
  • the display form of the three-dimensional optical disc element is enriched, and on the other hand, the stereoscopic effect of the three-dimensional optical disc element during the display process is further enhanced.
  • FIG. 12 is a structural block diagram of a training device for a classification model provided by an exemplary embodiment of the present application. As shown in FIG. 12 , the device includes the following parts:
  • the display module 1200 is used to display an audio playback interface, wherein the audio playback interface includes a three-dimensional shell element corresponding to the target audio work, and the three-dimensional shell element contains a three-dimensional audio carrier element;
  • the display module 1200 is also used to display the opening animation of the three-dimensional shell element in response to the target audio work switching to the playing state, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens.
  • the three-dimensional shell element includes a three-dimensional album element
  • the three-dimensional audio carrier element includes a three-dimensional optical disc element.
  • the display module 1200 is further used to display an album shell opening animation corresponding to the three-dimensional album element in response to the target audio work being switched to a playback state; the display module 1200 is further used to display a sliding-out animation of the three-dimensional optical disc element sliding out of the three-dimensional album element.
  • the display module 1200 is further used to display a first sliding-out animation in which the three-dimensional optical disc element slides out of the three-dimensional album element at a constant speed; or to display a second sliding-out animation in which the three-dimensional optical disc element slides out of the three-dimensional album element at a variable speed.
  • the display module 1200 is further used to display an album shell opening animation corresponding to the three-dimensional album element in response to the target audio work being switched to a playback state; wherein the three-dimensional optical disc element is placed in a optical disc slot in the three-dimensional album element, and as the album shell corresponding to the three-dimensional album element opens, the three-dimensional optical disc element appears from the three-dimensional album element.
  • the display module 1200 is further used to display an album shell opening animation corresponding to the three-dimensional album element in response to the target audio work being switched to a playback state; the display module 1200 is further used to display a CD picking animation after the album shell opening animation is finished playing, wherein the CD picking animation is used to indicate an animation in which a three-dimensional hand element takes out the three-dimensional CD element from the three-dimensional album element and places the three-dimensional CD element at a designated position.
  • the display module 1200 is also used to display a closing animation of the three-dimensional shell element in response to the target audio work being switched to a playback pause state, and the three-dimensional audio carrier element is retracted into the three-dimensional shell element as the three-dimensional shell element is closed.
  • the audio playback interface includes a playback background; and the device further includes:
  • the acquisition module 1210 is used for acquiring the amplification parameter of the current playback frame of the target audio work in response to the target audio work being switched to the playback state, wherein the amplification parameter is used to indicate the loudness data of the audio corresponding to the target audio work between frames;
  • the display module 1200 is further configured to display a zoom animation of the playback background on the audio playback interface in response to a magnification parameter of the current playback frame of the target audio work being greater than a preset threshold.
  • the acquisition module 1210 is used to acquire color data corresponding to the cover image of the target audio work; the device further includes:
  • the determination module 1220 is used to determine the color sample corresponding to the 3D optical disc element based on the color data corresponding to the cover image;
  • the determination module 1220 is further used to match the color data corresponding to the cover image with a preset color library to determine the color value data corresponding to the 3D optical disc element;
  • the determination module 1220 is further configured to superimpose the color sample corresponding to the 3D optical disc element with the color value data corresponding to the 3D optical disc element to determine the optical disc color corresponding to the 3D optical disc element.
  • the audio playback interface includes a text display area, and the text display area is used to display text data corresponding to the target audio work; the determination module 1220 is also used to determine the first text in the text to be displayed of the target audio work according to the playback progress of the target audio work in response to the target audio work switching to the playback state; the display module 1200 is also used to display the first text with a first transparency at a target position in the text display area, and display the second text with a second transparency below the first text, the target position is a position where the distance from the first edge of the text display area is less than a preset distance, the first transparency is less than the second transparency, and the end display time of the second text is chronologically after the end display time of the first text; the display module 1200 is also used to display a dissipation animation of the first text in the text display area in response to reaching the end of the display time of the first text, and the dissipation animation refers to an animation in which the text in the first text is dis
  • the display device of the playback interface switches the target audio work to the playback state, displays the opening animation of the three-dimensional shell element on the audio playback interface, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens, so that in the process of switching the target audio state, the corresponding animation effect is displayed on the audio playback interface, enriching the interaction form between user operation and interface display, and improving the efficiency of human-computer interaction.
  • the display device of the playback interface provided in the above embodiment is only illustrated by the division of the above functional modules.
  • the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • the display device of the playback interface provided in the above embodiment and the display method embodiment of the playback interface belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
  • FIG14 shows a block diagram of a computer device 1400 provided by an exemplary embodiment of the present application.
  • the computer device 1400 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer.
  • the computer device 1400 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.
  • the computer device 1400 includes a processor 1401 and a memory 1402 .
  • the processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc.
  • the processor 1401 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array).
  • the processor 1401 may also include a main processor and a coprocessor.
  • the main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state.
  • the processor 1401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen.
  • the processor 1401 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
  • AI Artificial Intelligence
  • the memory 1402 may include one or more computer-readable storage media, which may be non-transitory.
  • the memory 1402 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices.
  • the non-transitory computer-readable storage medium in the memory 1402 is used to store at least one instruction, which is used to be executed by the processor 1401 to implement the training method and data classification method of the classification model provided in the method embodiment of the present application.
  • the computer device 1400 may optionally include other components.
  • the structure shown in FIG. 14 does not constitute a limitation on the computer device 1400, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
  • the computer-readable storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, the at least one program, the code set or instruction set is loaded and executed by the processor to implement the classification model training method and data classification method described in any of the above embodiments.
  • the computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a solid-state drive (SSD), or an optical disk.
  • the random access memory may include a resistive random access memory (ReRAM) and a dynamic random access memory (DRAM).
  • ReRAM resistive random access memory
  • DRAM dynamic random access memory

Abstract

Provided are a playback interface displaying method and apparatus, a device, a medium and a program product, relating to the technical field of players. The method comprises: displaying an audio playback interface, wherein the audio playback interface comprises a three-dimensional shell element corresponding to a target audio work, and a three-dimensional audio carrier element is contained in the three-dimensional shell element; and displaying an opening animation of the three-dimensional shell element in response to switching of the target audio work to a playback state, so that the three-dimensional audio carrier element is displayed from the three-dimensional shell element along with the opening of the three-dimensional shell element.

Description

播放界面的显示方法、装置、设备、介质及程序产品Playback interface display method, device, equipment, medium and program product 技术领域Technical Field
本申请实施例涉及播放器技术领域,特别涉及一种播放界面的显示方法、装置、设备、介质及程序产品。The embodiments of the present application relate to the field of player technology, and in particular to a method, device, equipment, medium and program product for displaying a playback interface.
背景技术Background technique
多媒体播放应用程序,例如:音乐应用程序中,在播放音乐时,通常会在音乐的播放界面中显示音乐展示区域以及操作区域。In a multimedia playback application, for example, a music application, when playing music, a music display area and an operation area are usually displayed in the music playback interface.
相关技术中,音乐展示区域中会简单展示正在播放的音乐的歌词、相关的专辑图片,或者与音乐相关的音乐短片等;响应于用户在操作区域的播放、暂停以及切歌等操作,音乐展示区域中的展示信息会相应的进行变化。In the related art, the music display area will simply display the lyrics of the music being played, related album pictures, or music videos related to the music; in response to the user's operations such as play, pause, and song change in the operation area, the display information in the music display area will change accordingly.
然而,在相关技术中音乐展示区域中仅能简单的展示音乐相关的信息,人机交互效率较低。However, in the related art, only music-related information can be simply displayed in the music display area, and the human-computer interaction efficiency is low.
发明内容Summary of the invention
本申请实施例提供了一种播放界面的显示方法、装置、设备、介质及程序产品,能够提高在播放界面的人机交互效率,所述技术方案如下:The embodiments of the present application provide a method, device, equipment, medium and program product for displaying a playback interface, which can improve the human-computer interaction efficiency on the playback interface. The technical solution is as follows:
一个方面,提供了一种播放界面的显示方法,所述方法包括:In one aspect, a method for displaying a playback interface is provided, the method comprising:
显示音频播放界面,所述音频播放界面中包括目标音频作品对应的三维壳体元素,所述三维壳体元素中容纳有三维音频载体元素;Displaying an audio playback interface, wherein the audio playback interface includes a three-dimensional shell element corresponding to the target audio work, wherein the three-dimensional shell element contains a three-dimensional audio carrier element;
响应于所述目标音频作品切换至播放状态,显示所述三维壳体元素的打开动画,所述三维音频载体元素随着所述三维壳体元素的打开从所述三维壳体元素中显现。In response to the target audio work being switched to a playing state, an opening animation of the three-dimensional shell element is displayed, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens.
另一方面,提供了一种播放界面的显示装置,所述装置包括:In another aspect, a display device for a playback interface is provided, the device comprising:
显示模块,用于显示音频播放界面,所述音频播放界面中包括目标音频作品对应的三维壳体元素,所述三维壳体元素中容纳有三维音频载体元素;A display module, used for displaying an audio playback interface, wherein the audio playback interface includes a three-dimensional shell element corresponding to the target audio work, wherein the three-dimensional shell element contains a three-dimensional audio carrier element;
所述显示模块,还用于响应于所述目标音频作品切换至播放状态,显示所述三维壳体元素的打开动画,所述三维音频载体元素随着所述三维壳体元素的 打开从所述三维壳体元素中显现。The display module is also used to display the opening animation of the three-dimensional shell element in response to the target audio work switching to the playing state, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens.
另一方面,提供了一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如上述实施例中任一所述播放界面的显示方法。On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement a method for displaying a playback interface as described in any of the above embodiments.
另一方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现如上述实施例中任一所述的播放界面的显示方法。On the other hand, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement a method for displaying a playback interface as described in any of the above embodiments.
另一方面,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述实施例中任一所述的播放界面的显示方法。On the other hand, a computer program product or a computer program is provided, the computer program product or the computer program includes a computer instruction, the computer instruction is stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the display method of the playback interface described in any of the above embodiments.
本申请实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:
通过将目标音频作品切换至播放状态,在音频播放界面上显示三维壳体元素的打开动画,三维音频载体元素随着三维壳体元素的打开从三维壳体元素中显现,使得在切换目标音频状态的过程中,音频播放界面上显示相应的动画效果,丰富了用户操作和界面显示之间的交互形式,提高了人机交互效率。By switching the target audio work to the playback state, the opening animation of the three-dimensional shell element is displayed on the audio playback interface, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens. In the process of switching the target audio state, the corresponding animation effect is displayed on the audio playback interface, which enriches the interaction form between user operation and interface display and improves the efficiency of human-computer interaction.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
图1是本申请一个示例性实施例提供的实施环境的流程图;FIG1 is a flow chart of an implementation environment provided by an exemplary embodiment of the present application;
图2是本申请一个示例性实施例提供的播放界面的显示方法的流程图;FIG2 is a flow chart of a method for displaying a playback interface provided by an exemplary embodiment of the present application;
图3是本申请另一个示例性实施例提供的播放界面的显示方法的流程图;FIG3 is a flow chart of a method for displaying a playback interface provided by another exemplary embodiment of the present application;
图4是本申请一个示例性实施例提供的播放界面的动画显示界面示意图;FIG4 is a schematic diagram of an animation display interface of a playback interface provided by an exemplary embodiment of the present application;
图5是本申请一个示例性实施例提供的三维专辑元素和三维光盘元素的平面显示示意图;FIG5 is a schematic diagram of a plane display of a three-dimensional album element and a three-dimensional optical disc element provided by an exemplary embodiment of the present application;
图6是本申请一个示例性实施例提供的频谱动画的显示示意图;FIG6 is a schematic diagram showing a spectrum animation provided by an exemplary embodiment of the present application;
图7是本申请一个示例性实施例提供的背景缩放动画的显示示意图;FIG7 is a schematic diagram showing a background zoom animation provided by an exemplary embodiment of the present application;
图8是本申请一个示例性实施例提供的文本消散动画的显示示意图;FIG8 is a display diagram of a text dissipation animation provided by an exemplary embodiment of the present application;
图9是本申请又一个示例性实施例提供的播放界面的显示方法的流程图;FIG9 is a flowchart of a method for displaying a playback interface provided by yet another exemplary embodiment of the present application;
图10是本申请另一个示例性实施例提供的播放界面的动画显示界面示意图;FIG10 is a schematic diagram of an animation display interface of a playback interface provided by another exemplary embodiment of the present application;
图11是本申请再一个示例性实施例提供的播放界面的显示方法的流程图;FIG11 is a flowchart of a method for displaying a playback interface provided by yet another exemplary embodiment of the present application;
图12是本申请一个示例性实施例提供的播放界面的显示装置的结构框图;FIG12 is a structural block diagram of a display device for a playback interface provided by an exemplary embodiment of the present application;
图13是本申请另一个示例性实施例提供的播放界面的显示装置的结构框图;FIG13 is a structural block diagram of a display device for a playback interface provided by another exemplary embodiment of the present application;
图14是本申请一个示例性实施例提供的计算机设备的结构框图。FIG. 14 is a structural block diagram of a computer device provided by an exemplary embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation mode of the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
本申请中术语“第一”、“第二”等字样用于对作用和功能基本相同的相同项或相似项进行区分,应理解,“第一”、“第二”之间不具有逻辑或时序上的依赖关系,也不对数量和执行顺序进行限定。In this application, the terms "first", "second", etc. are used to distinguish identical or similar items with substantially the same effects and functions. It should be understood that there is no logical or temporal dependency between "first" and "second", nor is there any limitation on quantity and execution order.
相关技术中,音乐展示区域中会简单展示正在播放的音乐的歌词、相关的专辑图片,或者与音乐相关的音乐短片等;响应于用户在操作区域的播放、暂停以及切歌等操作,音乐展示区域中的展示信息会相应的进行变化。然而,在相关技术中音乐展示区域中仅能简单的展示音乐相关的信息,人机交互效率较低。In the related art, the music display area will simply display the lyrics of the music being played, the related album pictures, or the music short films related to the music, etc.; in response to the user's operation of playing, pausing and switching songs in the operation area, the display information in the music display area will change accordingly. However, in the related art, the music display area can only simply display the music-related information, and the human-computer interaction efficiency is low.
本申请实施例提供了一种播放界面的显示方法,通过将目标音频作品切换至播放状态,在音频播放界面上显示三维壳体元素的打开动画,三维音频载体元素随着三维壳体元素的打开从三维壳体元素中显现,使得在切换目标音频状态的过程中,音频播放界面上显示相应的动画效果,丰富了用户操作和界面显 示之间的交互形式,提高了人机交互效率。An embodiment of the present application provides a method for displaying a playback interface, which switches the target audio work to a playback state, displays an opening animation of a three-dimensional shell element on the audio playback interface, and a three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens, so that in the process of switching the target audio state, a corresponding animation effect is displayed on the audio playback interface, thereby enriching the interaction form between user operation and interface display and improving the efficiency of human-computer interaction.
图1本申请一个示例性实施例提供的实施环境示意图,如图1所示,该实施环境中包括终端110、服务器120,终端110和服务器120之间通过通信网络130连接,在一些可选的实施例中,通信网络130可以是有线网络,也可以是无线网络,本实施例对此不加以限定。Figure 1 is a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application. As shown in Figure 1, the implementation environment includes a terminal 110 and a server 120. The terminal 110 and the server 120 are connected via a communication network 130. In some optional embodiments, the communication network 130 can be a wired network or a wireless network, which is not limited in this embodiment.
在一些可选的实施例中,终端110是智能手机、平板电脑、笔记本电脑、台式计算机、智能家电、智能车载终端、智能音箱、数码相机等,但并不局限于此。终端110中安装有目标应用程序,示意性地,该目标应用程序可以是传统应用程序,可以是云应用程序,可以实现为宿主应用程序中的小程序或应用模块,也可以是某个网页平台,本实施例对此不加以限定。该目标应用程序提供有三维动画显示功能和音频播放功能。In some optional embodiments, the terminal 110 is a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart home appliance, a smart car terminal, a smart speaker, a digital camera, etc., but is not limited thereto. The terminal 110 is installed with a target application. Schematically, the target application can be a traditional application, a cloud application, a small program or an application module in a host application, or a web page platform, which is not limited in this embodiment. The target application provides a three-dimensional animation display function and an audio playback function.
在一些可选的实施例中,服务器120为终端中安装的目标应用程序提供后台服务,示意性的,终端110接收目标音频作品播放操作时,发送目标音频作品播放指令至服务器120;服务器120接收到目标音频作品播放指令后,反馈音频播放界面渲染数据至终端110;终端110接收到音频播放界面渲染数据,则在终端110的音频播放界面上显示目标音频作品对应的三维壳体元素的打开动画,且三维音频载体元素随着三维壳体元素的打开从三维壳体元素中显现。In some optional embodiments, the server 120 provides background services for the target application installed in the terminal. Schematically, when the terminal 110 receives the target audio work playback operation, it sends the target audio work playback instruction to the server 120; after receiving the target audio work playback instruction, the server 120 feeds back the audio playback interface rendering data to the terminal 110; when the terminal 110 receives the audio playback interface rendering data, the opening animation of the three-dimensional shell element corresponding to the target audio work is displayed on the audio playback interface of the terminal 110, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens.
在一些可选的实施例中,上述音频播放界面渲染数据为离线数据,也就是说,终端110可以直接读取本地存储的音频播放界面渲染数据,从而在音频播放界面进行渲染显示。In some optional embodiments, the above-mentioned audio playback interface rendering data is offline data, that is, the terminal 110 can directly read the locally stored audio playback interface rendering data, and then render and display it on the audio playback interface.
值得注意的是,服务器120能够是独立的物理服务器,也能够是多个物理服务器构成的服务器集群或者分布式系统,还能够是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN(Content Delivery Network,内容分发网络)以及大数据和人工智能平台等基础云计算服务的云服务器。可选地,服务器120还可以实现为区块链系统中的节点。It is worth noting that the server 120 can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Optionally, the server 120 can also be implemented as a node in the blockchain system.
需要说明的是,本申请所涉及的信息(包括但不限于用户设备信息、用户个人信息等)、数据(包括但不限于用于分析的数据、存储的数据、展示的数据 等)以及信号,均为经用户授权或者经过各方充分授权的,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。例如,本申请中涉及到的三维壳体元素和三维音频载体元素都是在充分授权的情况下获取的。It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the three-dimensional shell elements and three-dimensional audio carrier elements involved in this application are obtained with full authorization.
结合上述介绍和实施环境,图2是本申请实施例提供的一种播放界面的显示方法的流程图,以该方法应用于如图1所示的终端中为例进行说明,该方法包括:In combination with the above introduction and implementation environment, FIG2 is a flowchart of a method for displaying a playback interface provided by an embodiment of the present application, and the method is described by taking the method applied to the terminal shown in FIG1 as an example. The method includes:
步骤201,显示音频播放界面。 Step 201, displaying the audio playback interface.
其中,音频播放界面中包括目标音频作品对应的三维壳体元素,三维壳体元素中容纳有三维音频载体元素。Among them, the audio playback interface includes a three-dimensional shell element corresponding to the target audio work, and the three-dimensional shell element contains a three-dimensional audio carrier element.
音频播放界面用于播放目标音频作品,可选地,音频播放界面中包括播放器元素显示区域,播放器元素显示区域实现为一个三维显示空间,用于显示三维壳体元素和三维音频载体元素。示意性的,终端可获取得到三维壳体元素和三维音频载体元素的各个顶点坐标,通过投影矩阵变换到音频播放界面的三维显示空间中,实现三维壳体元素和三维音频载体元素的立体效果。The audio playback interface is used to play the target audio work. Optionally, the audio playback interface includes a player element display area, which is implemented as a three-dimensional display space for displaying three-dimensional shell elements and three-dimensional audio carrier elements. Schematically, the terminal can obtain the coordinates of each vertex of the three-dimensional shell element and the three-dimensional audio carrier element, and transform them into the three-dimensional display space of the audio playback interface through the projection matrix to achieve the stereoscopic effect of the three-dimensional shell element and the three-dimensional audio carrier element.
可选地,三维音频载体元素是指与播放音频作品相关的元素,例如:三维光盘元素、三维磁带元素等;三维壳体元素是指可容纳三维音频载体元素的元素,例如:可容纳三维光盘元素的三维专辑元素,三维专辑元素可实现为光盘外壳的形式,该三维专辑元素可和实体光盘外壳一样打开,模拟物理世界中光盘外壳打开的立体效果;或者,可容纳三维磁带元素的三维磁带盒元素,该三维磁带盒元素可和实体磁带盒一样打开,模拟物理世界中磁带盒打开的立体效果。Optionally, a three-dimensional audio carrier element refers to an element related to the playing of audio works, such as a three-dimensional optical disc element, a three-dimensional magnetic tape element, etc.; a three-dimensional shell element refers to an element that can accommodate a three-dimensional audio carrier element, such as a three-dimensional album element that can accommodate a three-dimensional optical disc element, the three-dimensional album element can be implemented in the form of an optical disc shell, and the three-dimensional album element can be opened like a physical optical disc shell to simulate the stereoscopic effect of opening an optical disc shell in the physical world; or, a three-dimensional tape box element that can accommodate a three-dimensional magnetic tape element, the three-dimensional tape box element can be opened like a physical tape box to simulate the stereoscopic effect of opening a tape box in the physical world.
可选地,在音频播放界面中三维音频载体元素被完全收纳在三维壳体元素内,也即,此刻三维音频载体元素在音频播放界面是不可见的,示意性的,三维光盘元素收在三维专辑元素中,在音频播放界面中仅三维专辑元素是可见的;在音频播放界面中三维音频载体元素被部分收纳在三维壳体元素内,也即,此刻三维音频载体元素在音频播放界面是可见的,示意性的,三维光盘元素被从三维专辑元素中移动一部分,该部分在音频播放界面是可见的,另外一部分被收纳在三维壳体元素内,在音频播放界面是不可见的。Optionally, in the audio playback interface, the three-dimensional audio carrier element is completely contained in the three-dimensional shell element, that is, at this moment the three-dimensional audio carrier element is invisible in the audio playback interface, and indicatively, the three-dimensional optical disc element is contained in the three-dimensional album element, and only the three-dimensional album element is visible in the audio playback interface; in the audio playback interface, the three-dimensional audio carrier element is partially contained in the three-dimensional shell element, that is, at this moment the three-dimensional audio carrier element is visible in the audio playback interface, and indicatively, a part of the three-dimensional optical disc element is moved from the three-dimensional album element, and this part is visible in the audio playback interface, and the other part is contained in the three-dimensional shell element and is invisible in the audio playback interface.
可选地,显示音频播放界面的方法包括以下方法中的至少一种:Optionally, the method for displaying the audio playback interface includes at least one of the following methods:
1、响应于接收到在目标列表中对目标音频作品的选择操作,显示音频播放界面。1. In response to receiving a selection operation on a target audio work in a target list, displaying an audio playback interface.
示意性的,用户可在目标应用程序的歌单界面点击需要播放的目标歌曲,则歌单界面会跳转至音频播放界面,显示目标歌曲对应的三维壳体元素和三维音频载体元素。Illustratively, the user can click on the target song to be played in the playlist interface of the target application, and the playlist interface will jump to the audio playback interface, displaying the three-dimensional shell element and three-dimensional audio carrier element corresponding to the target song.
2、响应于接收到在音频播放界面切换至目标音频作品的切换操作,显示音频播放界面。2. In response to receiving a switch operation to switch to a target audio work in the audio playback interface, display the audio playback interface.
示意性的,用户当前在音频播放界面中正在播放的是其他歌曲,当用户点击下一首/上一首控件后,可将正在播放的其他歌曲切换成目标歌曲,并显示目标歌曲对应的三维壳体元素和三维音频载体元素。Illustratively, the user is currently playing other songs in the audio playback interface. When the user clicks the next/previous song control, the other songs being played can be switched to the target song, and the three-dimensional shell element and three-dimensional audio carrier element corresponding to the target song will be displayed.
3、响应于目标音频作品处于播放暂停状态,显示音频播放界面。3. In response to the target audio work being in a playback pause state, displaying an audio playback interface.
示意性的,在音频播放界面中目标歌曲处于播放暂停状态时,也会显示目标歌曲对应的三维壳体元素和三维音频载体元素。Indicatively, when the target song is in a playback pause state in the audio playback interface, the three-dimensional shell element and three-dimensional audio carrier element corresponding to the target song will also be displayed.
步骤202,响应于目标音频作品切换至播放状态,显示三维壳体元素的打开动画,三维音频载体元素随着三维壳体元素的打开从三维壳体元素中显现。 Step 202, in response to the target audio work switching to the playing state, the opening animation of the three-dimensional shell element is displayed, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens.
可选地,切换至播放状态是指在未加载有任何音频作品中的音频播放界面中加载目标音频作品,并播放目标音频作品;或者,切换至播放状态是指在音频播放界面将播放暂停状态下的目标音频作品切换至播放状态;或者,切换至播放状态是指在加载有其他音频作品中的音频播放界面,将其他音频作品切换为目标音频作品,并播放目标音频作品。Optionally, switching to the playback state means loading the target audio work in an audio playback interface that does not load any audio work, and playing the target audio work; or, switching to the playback state means switching the target audio work in a paused state to a playback state in the audio playback interface; or, switching to the playback state means switching other audio works to the target audio work in an audio playback interface that is loaded with other audio works, and playing the target audio work.
可选地,当目标音频作品切换至播放状态,三维壳体元素和三维音频载体元素可从音频播放界面的指定边缘切入音频播放界面中,然后显示三维壳体元素的打开动画;或者,当目标音频作品切换至播放状态,三维壳体元素和三维音频载体元素将直接显示在音频播放界面中,然后显示三维壳体元素的打开动画。Optionally, when the target audio work switches to the playback state, the three-dimensional shell element and the three-dimensional audio carrier element may cut into the audio playback interface from the specified edge of the audio playback interface, and then display the opening animation of the three-dimensional shell element; or, when the target audio work switches to the playback state, the three-dimensional shell element and the three-dimensional audio carrier element will be directly displayed in the audio playback interface, and then display the opening animation of the three-dimensional shell element.
可选地,三维壳体元素可实现为一个可打开的三维盒体结构,三维壳体元素的打开动画即展开该盒体的容纳空间。示意性的,若三维盒体结构包括上盒体和下盒体,则打开动画实现为下盒体固定,上盒体向上掀开的打开动画;或者,打开动画实现为上盒体固定,下盒体向下掀开的打开动画;或者,打开动画实现为上盒体向上掀开,下盒体向下掀开的打开动画。Optionally, the three-dimensional shell element can be implemented as an openable three-dimensional box structure, and the opening animation of the three-dimensional shell element is to expand the accommodation space of the box. Schematically, if the three-dimensional box structure includes an upper box and a lower box, the opening animation is implemented as an opening animation in which the lower box is fixed and the upper box is opened upward; or, the opening animation is implemented as an opening animation in which the upper box is fixed and the lower box is opened downward; or, the opening animation is implemented as an opening animation in which the upper box is opened upward and the lower box is opened downward.
可选地,三维音频载体元素随着三维壳体元素的打开从三维壳体元素中显现包括以下情况中的至少一种:Optionally, the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element is opened, which includes at least one of the following situations:
情况一:三维音频载体元素随着三维壳体元素的打开,从完全不可见状态切换为完全可见状态。Case 1: The three-dimensional audio carrier element switches from a completely invisible state to a completely visible state as the three-dimensional shell element is opened.
示意性的,目标音频作品在开始播放的起始时刻,三维音频载体元素完全收纳在三维壳体元素中,在音频播放界面中不可见;三维壳体元素的打开动画结束时刻,三维音频载体元素会显现出来,在音频播放界面中完整的展示。Indicatively, at the beginning moment of the playback of the target audio work, the three-dimensional audio carrier element is completely contained in the three-dimensional shell element and is invisible in the audio playback interface; when the opening animation of the three-dimensional shell element ends, the three-dimensional audio carrier element will appear and be fully displayed in the audio playback interface.
情况二:三维音频载体元素随着三维壳体元素的打开,从完全不可见状态切换为部分可见状态。Case 2: As the three-dimensional shell element is opened, the three-dimensional audio carrier element switches from a completely invisible state to a partially visible state.
示意性的,目标音频作品在开始播放的起始时刻,三维音频载体元素完全收纳在三维壳体元素中,在音频播放界面中不可见;三维壳体元素的打开动画结束时刻,三维音频载体元素中的一部分会显现出来,在音频播放界面中可见,另外一部分收纳在在三维壳体元素中,在音频播放界面中不可见。Indicatively, at the beginning moment of the playback of the target audio work, the three-dimensional audio carrier element is completely contained in the three-dimensional shell element and is invisible in the audio playback interface; at the end moment of the opening animation of the three-dimensional shell element, a part of the three-dimensional audio carrier element will appear and be visible in the audio playback interface, and the other part is contained in the three-dimensional shell element and is invisible in the audio playback interface.
情况三:三维音频载体元素随着三维壳体元素的打开,从部分可见状态切换为完全可见状态。Case 3: As the 3D shell element is opened, the 3D audio carrier element switches from a partially visible state to a fully visible state.
示意性的,目标音频作品在开始播放的起始时刻,三维音频载体元素有一部分是在三维壳体元素中,这一部分会随着三维壳体元素的打开开始显现;三维壳体元素的打开动画结束时刻,这一部分会完全显现出来,也就是说,当三维壳体元素打开动画结束后,三维音频载体元素在音频播放界面中完全可见。Indicatively, at the beginning moment of the playback of the target audio work, a part of the three-dimensional audio carrier element is in the three-dimensional shell element, and this part will begin to appear as the three-dimensional shell element opens; when the opening animation of the three-dimensional shell element ends, this part will be fully revealed, that is to say, when the opening animation of the three-dimensional shell element ends, the three-dimensional audio carrier element is fully visible in the audio playback interface.
情况四:三维音频载体元素随着三维壳体元素的打开,从第一部分可见状态切换为第二部分可见状态,其中,第一部分占三维音频载体元素的比例小于第二部分。Case 4: As the three-dimensional shell element is opened, the three-dimensional audio carrier element switches from a first-part visible state to a second-part visible state, wherein the first part accounts for a smaller proportion of the three-dimensional audio carrier element than the second part.
示意性的,目标音频作品在开始播放的起始时刻,三维音频载体元素有一部分是在三维壳体元素中,这一部分会随着三维壳体元素的打开开始显现;三维壳体元素的打开动画结束时刻,这一部分不会完全显现出来,仅显示了一小部分,也就是说,当三维壳体元素打开动画结束后,三维音频载体元素仍然有一部分在三维壳体元素中,是不可见的状态。Indicatively, at the beginning moment of the playback of the target audio work, a part of the three-dimensional audio carrier element is in the three-dimensional shell element, and this part will begin to appear as the three-dimensional shell element opens; at the end of the opening animation of the three-dimensional shell element, this part will not be fully revealed, and only a small part will be displayed, that is to say, when the opening animation of the three-dimensional shell element ends, a part of the three-dimensional audio carrier element is still in the three-dimensional shell element and is invisible.
在一些可选的实施例中,响应于目标音频作品切换至播放状态,在音频播放界面会播放该目标音频作品;同时显示三维音频载体元素的旋转动画。In some optional embodiments, in response to the target audio work switching to the playing state, the target audio work will be played on the audio playing interface; at the same time, the rotation animation of the three-dimensional audio carrier element will be displayed.
示意性的,以三维音频载体元素实现为三维光盘元素、三维壳体元素实现 为三维专辑元素为例进行说明,当目标歌曲播放时,会显示三维专辑元素的打开动画,三维光盘元素会随着三维专辑元素的打开从三维专辑元素中显现;在三维专辑元素的打开动画的结束时刻,三维光盘元素将绕着指定中心进行旋转,该指定中心可以位于三维专辑元素内,也可以位于三维专辑元素外。Schematically, taking the example of implementing the three-dimensional audio carrier element as a three-dimensional optical disc element and the three-dimensional shell element as a three-dimensional album element, when the target song is played, the opening animation of the three-dimensional album element will be displayed, and the three-dimensional optical disc element will appear from the three-dimensional album element as the three-dimensional album element opens; at the end of the opening animation of the three-dimensional album element, the three-dimensional optical disc element will rotate around the designated center, and the designated center can be located inside the three-dimensional album element or outside the three-dimensional album element.
示意性的,以三维音频载体元素实现为三维磁带元素、三维壳体元素实现为三维磁带盒元素为例进行说明,当目标歌曲播放时,会显示三维磁带盒元素的打开动画,三维磁带元素会随着三维磁带盒元素的打开从三维磁带元素中显现;在三维专辑元素的打开动画的结束时刻,三维磁带元素中的磁带将绕着三维磁带元素中的传送结构进行旋转。Schematically, taking the example of implementing the three-dimensional audio carrier element as a three-dimensional magnetic tape element and the three-dimensional shell element as a three-dimensional tape box element, when the target song is played, the opening animation of the three-dimensional tape box element will be displayed, and the three-dimensional magnetic tape element will appear from the three-dimensional magnetic tape element as the three-dimensional tape box element opens; at the end of the opening animation of the three-dimensional album element, the magnetic tape in the three-dimensional magnetic tape element will rotate around the transmission structure in the three-dimensional magnetic tape element.
在一些可选的实施例中,上述目标音频作品还包括播放暂停状态和被切换状态,下面分别对目标音频作品的播放暂停状态和被切换状态进行说明:In some optional embodiments, the target audio work further includes a playback pause state and a switched state. The playback pause state and the switched state of the target audio work are respectively described below:
播放暂停状态:可选地,响应于目标音频作品切换至播放暂停状态,显示三维壳体元素的合拢动画,三维音频载体元素随着三维壳体元素的合拢收纳入三维壳体元素中。Playback pause state: Optionally, in response to the target audio work switching to the playback pause state, a closing animation of the three-dimensional shell element is displayed, and the three-dimensional audio carrier element is retracted into the three-dimensional shell element as the three-dimensional shell element closes.
其中,播放暂停状态是指在音频播放界面中暂停播放目标音频作品,但是目标音频作品仍然被加载在音频播放界面。Among them, the playback pause state means that the playback of the target audio work is paused in the audio playback interface, but the target audio work is still loaded in the audio playback interface.
可选地,三维壳体元素可实现为一个可打开的三维盒体结构,三维壳体元素的合拢动画即合拢该盒体的容纳空间。示意性的,若三维盒体结构包括上盒体和下盒体,则打开动画实现为下盒体固定,上盒体向下盒体靠拢的合拢动画;或者,打开动画实现为上盒体固定,下盒体向上盒体靠拢的合拢动画;或者,打开动画实现为上盒体向下盒体靠拢,下盒体向上盒体靠拢的合拢动画。Optionally, the three-dimensional shell element can be implemented as an openable three-dimensional box structure, and the closing animation of the three-dimensional shell element is to close the containing space of the box. Schematically, if the three-dimensional box structure includes an upper box and a lower box, the opening animation is implemented as a closing animation in which the lower box is fixed and the upper box moves toward the lower box; or, the opening animation is implemented as a closing animation in which the upper box is fixed and the lower box moves toward the upper box; or, the opening animation is implemented as a closing animation in which the upper box moves toward the lower box and the lower box moves toward the upper box.
可选地,三维音频载体元素随着三维壳体元素的合拢收纳入三维壳体元素中的情况,包括以下情况中的至少一种:Optionally, the situation in which the three-dimensional audio carrier element is retracted into the three-dimensional shell element as the three-dimensional shell element is collapsed includes at least one of the following situations:
情况一:三维音频载体元素随着三维壳体元素的合拢,从完全可见状态切换为完全不可见状态。Case 1: The three-dimensional audio carrier element switches from a fully visible state to a fully invisible state as the three-dimensional shell element is closed.
情况二:三维音频载体元素随着三维壳体元素的合拢,从完全可见状态切换为部分可见状态。Case 2: As the three-dimensional shell element is closed, the three-dimensional audio carrier element switches from a fully visible state to a partially visible state.
情况三:三维音频载体元素随着三维壳体元素的合拢,从部分可见状态切换为完全不可见状态。Case 3: As the three-dimensional shell element is closed, the three-dimensional audio carrier element switches from a partially visible state to a completely invisible state.
情况四:三维音频载体元素随着三维壳体元素的合拢,从第三部分可见状 态切换为第四部分可见状态,其中,第三部分占三维音频载体元素的比例大于第四部分。Case 4: As the three-dimensional shell element is closed, the three-dimensional audio carrier element switches from the third part visible state to the fourth part visible state, wherein the proportion of the third part in the three-dimensional audio carrier element is greater than that of the fourth part.
在一些可选的实施例中,响应于目标音频作品切换至播放暂停状态,在音频播放界面停止播放该目标音频作品;同时停止三维音频载体元素的旋转动画。In some optional embodiments, in response to the target audio work switching to a playback pause state, the target audio work is stopped from being played in the audio playback interface; and at the same time, the rotation animation of the three-dimensional audio carrier element is stopped.
需要说明的是,可选地,当目标音频作品切换至播放暂停状态时,仅会停止三维音频载体元素的旋转动画,而不显示三维壳体元素的合拢动画,也没有三维音频载体元素随着三维壳体元素的合拢收纳入三维壳体元素中的过程;或者,当目标音频作品切换至播放暂停状态时,首先停止三维音频载体元素的旋转动画,然后显示三维壳体元素的合拢动画,三维音频载体元素随着三维壳体元素的合拢收纳入三维壳体元素中。It should be noted that, optionally, when the target audio work is switched to the playback pause state, only the rotation animation of the three-dimensional audio carrier element will be stopped, and the closing animation of the three-dimensional shell element will not be displayed, and there will be no process of the three-dimensional audio carrier element being retracted into the three-dimensional shell element as the three-dimensional shell element is closed; or, when the target audio work is switched to the playback pause state, the rotation animation of the three-dimensional audio carrier element will be stopped first, and then the closing animation of the three-dimensional shell element will be displayed, and the three-dimensional audio carrier element will be retracted into the three-dimensional shell element as the three-dimensional shell element is closed.
被切换状态:可选地,响应于目标音频作品被切换至其他音频作品,显示三维壳体元素和三维音频载体元素在音频播放界面中的切出动画。Switched state: Optionally, in response to the target audio work being switched to other audio works, a cut-out animation of the three-dimensional shell element and the three-dimensional audio carrier element in the audio playback interface is displayed.
可选地,目标音频作品被切换至其他音频作品是指在音频播放界面中替代目标音频作品而加载其他音频作品。Optionally, the target audio work being switched to other audio works means that other audio works are loaded in the audio playback interface instead of the target audio work.
可选地,切出动画可实现为将三维壳体元素和三维音频载体元素从当前显示位置移动到音频播放界面的指定边缘外的动画;切出动画还可实现为三维壳体元素和三维音频载体元素直接从音频播放界面中消失的动画。Optionally, the cut-out animation can be implemented as an animation that moves the three-dimensional shell element and the three-dimensional audio carrier element from the current display position to outside the specified edge of the audio playback interface; the cut-out animation can also be implemented as an animation in which the three-dimensional shell element and the three-dimensional audio carrier element disappear directly from the audio playback interface.
可选地,其中显示切出动画的情况包括以下情况中的至少一种:Optionally, the case where the cut-out animation is displayed includes at least one of the following cases:
1、在音频播放界面中直接显示三维壳体元素和三维音频载体元素的切出动画。1. Directly display the cut-out animation of 3D shell elements and 3D audio carrier elements in the audio playback interface.
2、在当前音频播放界面中显示显示三维壳体元素的合拢动画,三维音频载体元素随着三维壳体元素的合拢收纳入三维壳体元素中,再显示三维壳体元素和三维音频载体元素的切出动画。2. In the current audio playback interface, the closing animation of the three-dimensional shell element is displayed. As the three-dimensional shell element closes, the three-dimensional audio carrier element is retracted into the three-dimensional shell element. Then, the cutting-out animation of the three-dimensional shell element and the three-dimensional audio carrier element is displayed.
可选地,其中三维壳体元素和三维音频载体元素从当前显示位置移动到音频播放界面的指定边缘外的速度可以是匀速的,还可以变速的,其中变速的加速度将通过预设的摩擦力确定。示意性的,若预设的摩擦力实现为三维壳体元素和三维音频载体元素与有音频播放界面的背景的摩擦力,三维壳体元素和三维音频载体元素的显示边缘从当前显示位置移动到音频播放界面的指定边缘处的过程中,三维壳体元素和三维音频载体元素的速度是匀速的,当三维壳体元素和三维音频载体元素的显示边缘移动到指定边缘外,则三维壳体元素和三维 音频载体元素的速度将下降。Optionally, the speed at which the three-dimensional shell element and the three-dimensional audio carrier element move from the current display position to the outside of the specified edge of the audio playback interface can be uniform or variable, wherein the acceleration of the variable speed will be determined by a preset friction force. Schematically, if the preset friction force is implemented as the friction between the three-dimensional shell element and the three-dimensional audio carrier element and the background with the audio playback interface, the speed of the three-dimensional shell element and the three-dimensional audio carrier element is uniform during the process of the display edge of the three-dimensional shell element and the three-dimensional audio carrier element moving from the current display position to the specified edge of the audio playback interface. When the display edge of the three-dimensional shell element and the three-dimensional audio carrier element moves outside the specified edge, the speed of the three-dimensional shell element and the three-dimensional audio carrier element will decrease.
综上所述,本申请实施例提供的播放界面的显示方法通过将目标音频作品切换至播放状态,在音频播放界面上显示三维壳体元素的打开动画,三维音频载体元素随着三维壳体元素的打开从三维壳体元素中显现,使得在切换目标音频状态的过程中,音频播放界面上显示相应的动画效果,丰富了用户操作和界面显示之间的交互形式,提高了人机交互效率。To summarize, the display method of the playback interface provided in the embodiment of the present application switches the target audio work to the playback state, displays the opening animation of the three-dimensional shell element on the audio playback interface, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens, so that in the process of switching the target audio state, the corresponding animation effect is displayed on the audio playback interface, enriching the interaction form between user operation and interface display, and improving the efficiency of human-computer interaction.
本申请实施例提供的方法,通过将目标音频作品切换至播放暂停状态,在音频播放界面上显示三维壳体元素的合拢动画,三维音频载体元素随着三维壳体元素的合拢收纳入三维壳体元素中,进一步的丰富了用户操作和界面显示之间的交互形式,提高了人机交互效率;另外,由于打开动画和合拢动画为相互关联的过程,提高了对同一音频作品的播放操作和暂停操作的关联度。The method provided in the embodiment of the present application switches the target audio work to a playback pause state, displays a closing animation of a three-dimensional shell element on the audio playback interface, and retracts the three-dimensional audio carrier element into the three-dimensional shell element as the three-dimensional shell element closes, thereby further enriching the interaction form between user operations and interface displays and improving human-computer interaction efficiency. In addition, since the opening animation and the closing animation are interrelated processes, the correlation between the play operation and the pause operation of the same audio work is improved.
在一些可选的实施例中,上述三维壳体元素包括三维专辑元素,三维音频载体元素包括三维光盘元素,三维光盘元素的显现方式为从三维专辑元素中滑出,图3是本申请另一种示例性实施例提供的播放界面的显示方法的流程图,以该方法应用于如图1所示的终端中为例进行说明,该方法包括:In some optional embodiments, the three-dimensional shell element includes a three-dimensional album element, the three-dimensional audio carrier element includes a three-dimensional optical disc element, and the three-dimensional optical disc element is displayed by sliding out from the three-dimensional album element. FIG. 3 is a flowchart of a method for displaying a playback interface provided by another exemplary embodiment of the present application, and the method is described by taking the method applied to the terminal shown in FIG. 1 as an example. The method includes:
步骤301,显示音频播放界面。 Step 301, display the audio playback interface.
其中,音频播放界面中包括目标音频作品对应的三维专辑元素,三维专辑元素中容纳有三维光盘元素。The audio playback interface includes a three-dimensional album element corresponding to the target audio work, and the three-dimensional album element contains a three-dimensional optical disc element.
音频播放界面用于播放目标音频作品,可选地,音频播放界面中包括播放器元素显示区域、文本显示区域、操作区域等。The audio playback interface is used to play the target audio work. Optionally, the audio playback interface includes a player element display area, a text display area, an operation area, etc.
示意性的,播放器元素显示区域实现为一个三维显示空间,用于显示三维专辑元素和三维光盘元素,其中,三维光盘元素容纳在三维专辑元素中,为不可见状态。Schematically, the player element display area is implemented as a three-dimensional display space for displaying three-dimensional album elements and three-dimensional optical disc elements, wherein the three-dimensional optical disc element is contained in the three-dimensional album element and is in an invisible state.
示意性的,请参考图4,在界面400中,显示有三维显示空间401,当歌曲处于播放状态的开始时刻时,三维显示空间401仅显示三维专辑元素402,在三维专辑元素402的内部不可见空间中容纳有三维光盘元素。Schematically, please refer to Figure 4. In the interface 400, a three-dimensional display space 401 is displayed. When the song is at the beginning of the playback state, the three-dimensional display space 401 only displays the three-dimensional album element 402. The three-dimensional CD element is accommodated in the internal invisible space of the three-dimensional album element 402.
需要说明的是,歌曲播放状态的开始时刻可以是整首歌的起始播放时间点(例如:00:00),也可以是整首歌的中间某一播放时间点(例如:01:01)。It should be noted that the start time of the song playing state can be the starting playing time point of the whole song (for example: 00:00), or it can be a certain playing time point in the middle of the whole song (for example: 01:01).
可选地,文本显示区域用于显示目标音频作品对应的文本数据,例如:显 示歌曲的名称、歌手和歌词等,示意性的,请参考图4,在界面400中,显示有文本显示区域403,其中,显示有当前播放歌曲的歌词、名称和歌词等。Optionally, the text display area is used to display text data corresponding to the target audio work, for example: displaying the name, singer and lyrics of the song, etc. For illustration, please refer to Figure 4. In the interface 400, a text display area 403 is displayed, in which the lyrics, name and lyrics of the currently playing song are displayed.
可选地,操作区域用于触发对目标音频作品的指定操作,其中,指定操作包括播放操作、暂停操作、切换操作、添加至指定列表操作、评论操作、切换播放音质操作、播放对应的视频操作、拖动播放进度条操作等,本申请实施例对此不加以限定。Optionally, the operation area is used to trigger specified operations on the target audio work, wherein the specified operations include play operation, pause operation, switch operation, add to specified list operation, comment operation, switch playback sound quality operation, play corresponding video operation, drag playback progress bar operation, etc., which is not limited to the embodiments of the present application.
在一些可选的实施例中,用户可根据操作习惯,调整上述指定操作对应的控件显示在音频播放界面的位置,例如:将添加至指定列表操作、评论操作对应的控件集中显示在音频播放界面的左侧偏下方位置或者右侧偏下方位置。示意性的,请参考图4,在界面400中,显示有操作区域404,其中,控件405、控件406和控件407集中显示在操作区域404的右侧位置,方便用户单手进行操作。In some optional embodiments, the user can adjust the position of the controls corresponding to the above-mentioned specified operations on the audio playback interface according to the operation habits, for example: the controls corresponding to the add to specified list operation and the comment operation are displayed in the lower left position or the lower right position of the audio playback interface. Schematically, please refer to Figure 4, in the interface 400, an operation area 404 is displayed, wherein controls 405, controls 406 and controls 407 are displayed in the right position of the operation area 404, so that the user can operate with one hand.
在一些可选的实施例中,上述对目标音频作品的指定操作还可以直接在三维专辑元素和三维光盘元素上进行触发,例如:在歌曲播放时,单击三维光盘元素将暂停歌曲,在歌曲暂停时,单击三维光盘元素,将播放歌曲;在三维光盘元素向左滑动,将切换播放上一首歌曲,在三维光盘元素向右滑动,将切换播放下一首歌曲;在三维光盘元素顺时针滑动,将播放当前播放歌曲的下一句歌词,在三维光盘元素逆时针滑动,将播放当前播放歌曲的上一句歌词。In some optional embodiments, the above-mentioned designated operations on the target audio work can also be triggered directly on the three-dimensional album element and the three-dimensional optical disc element, for example: when a song is playing, single-clicking the three-dimensional optical disc element will pause the song, and when the song is paused, single-clicking the three-dimensional optical disc element will play the song; sliding on the three-dimensional optical disc element to the left will switch to playing the previous song, and sliding on the three-dimensional optical disc element to the right will switch to playing the next song; sliding on the three-dimensional optical disc element clockwise will play the next sentence of the lyrics of the currently playing song, and sliding on the three-dimensional optical disc element counterclockwise will play the previous sentence of the lyrics of the currently playing song.
步骤302,响应于目标音频作品切换至播放状态,显示三维专辑元素对应的专辑壳体打开动画。Step 302: In response to the target audio work being switched to a playing state, an album shell opening animation corresponding to the three-dimensional album element is displayed.
示意性的,请参考图4,当歌曲开始播放后,在界面410的三维显示空间411中显示三维专辑元素417的上壳体413和下壳体414的打开动画,其中,打开动画可以实现为上壳体413固定,下壳体414向后展开的动画;还可以实现为上壳体413向前展开,下壳体414固定的动画;还可以实现为上壳体413向前展开,下壳体414向后展开的动画,本申请实施例对此不加以限定。Schematically, please refer to Figure 4. When the song starts playing, the opening animation of the upper shell 413 and the lower shell 414 of the three-dimensional album element 417 is displayed in the three-dimensional display space 411 of the interface 410, wherein the opening animation can be implemented as an animation in which the upper shell 413 is fixed and the lower shell 414 is unfolded backward; it can also be implemented as an animation in which the upper shell 413 is unfolded forward and the lower shell 414 is fixed; it can also be implemented as an animation in which the upper shell 413 is unfolded forward and the lower shell 414 is unfolded backward, and the embodiments of the present application are not limited to this.
可选地,在显示三维专辑元素417的上壳体413和下壳体414的打开动画的播放过程中,还显示有三维专辑元素417的整体移动动画,示意性的,显示三维专辑元素417在打开的过程中向右移动了一段距离。Optionally, during the playing of the opening animation of the upper shell 413 and the lower shell 414 displaying the three-dimensional album element 417, the overall movement animation of the three-dimensional album element 417 is also displayed, schematically showing that the three-dimensional album element 417 moves a distance to the right during the opening process.
在一些可选的实施例中,显示打开动画之前,还可以显示三维专辑元素的切入动画,示意性的,当用户从歌曲1切换成歌曲2,则从音频播放界面的指定 边缘处将显示歌曲2对应的三维专辑元素和三维光盘元素平行移动到音频播放界面的三维显示空间中,到达指定位置后,显示歌曲2对应的三维专辑元素的专辑壳体打开动画。In some optional embodiments, before displaying the opening animation, a cutting-in animation of a three-dimensional album element may also be displayed. Schematically, when the user switches from song 1 to song 2, the three-dimensional album element and the three-dimensional optical disc element corresponding to song 2 are moved in parallel from the designated edge of the audio playback interface to the three-dimensional display space of the audio playback interface. After reaching the designated position, the album shell opening animation of the three-dimensional album element corresponding to song 2 is displayed.
步骤303,显示三维光盘元素从三维专辑元素中滑出的滑出动画。Step 303: Display a sliding-out animation of the 3D optical disc element sliding out of the 3D album element.
可选地,在三维专辑元素对应的专辑壳体打开动画的显示过程中,同时显示三维光盘元素从三维专辑元素中滑出的滑出动画;或者,在三维专辑元素对应的专辑壳体打开动画的显示结束后,显示三维光盘元素从三维专辑元素中滑出的滑出动画。Optionally, during the display of the album shell opening animation corresponding to the three-dimensional album element, a slide-out animation of the three-dimensional optical disc element sliding out of the three-dimensional album element is displayed simultaneously; or, after the display of the album shell opening animation corresponding to the three-dimensional album element ends, a slide-out animation of the three-dimensional optical disc element sliding out of the three-dimensional album element is displayed.
示意性的,请参考图4,在三维专辑元素417的上壳体413和下壳体414展开容纳空间的过程中,开始显现三维光盘元素415,并显示三维光盘元素415从三维专辑元素417中的容纳空间中向右平行滑出的滑出动画;或者,在三维专辑元素417的上壳体413和下壳体414展开容纳空间结束后,将三维光盘元素415从三维专辑元素417中的容纳空间中向右平行滑出的滑出动画。Schematically, please refer to Figure 4. During the process of the upper shell 413 and the lower shell 414 of the three-dimensional album element 417 expanding the storage space, the three-dimensional optical disc element 415 begins to appear, and a sliding-out animation of the three-dimensional optical disc element 415 sliding out parallel to the right from the storage space in the three-dimensional album element 417 is displayed; or, after the upper shell 413 and the lower shell 414 of the three-dimensional album element 417 have completed expanding the storage space, a sliding-out animation of the three-dimensional optical disc element 415 sliding out parallel to the right from the storage space in the three-dimensional album element 417 is displayed.
可选地,显示三维光盘元素从三维专辑元素中匀速滑出的第一滑出动画;或者,显示三维光盘元素从三维专辑元素中变速滑出的第二滑出动画。Optionally, a first slide-out animation is displayed in which the three-dimensional optical disc element slides out of the three-dimensional album element at a constant speed; or a second slide-out animation is displayed in which the three-dimensional optical disc element slides out of the three-dimensional album element at a variable speed.
其中,变速滑出的第二滑出动画根据预先设定的三维光盘元素对应的摩擦力确定其中的移动速度变化。示意性的,将摩擦力设定为三维光盘元素与音频播放界面的播放背景的摩擦力,则三维光盘元素在开始滑出的第一速度大于后续滑出过程中的速度,也即,滑出速度随着滑出距离的增大而减小。The second sliding animation of sliding out with variable speed determines the change of the moving speed according to the friction force corresponding to the preset three-dimensional optical disc element. Schematically, the friction force is set as the friction force between the three-dimensional optical disc element and the playback background of the audio playback interface, and the first speed of the three-dimensional optical disc element at the beginning of sliding out is greater than the speed in the subsequent sliding process, that is, the sliding speed decreases as the sliding distance increases.
可选地,响应于目标音频作品切换至播放状态,播放目标音频作品;并在三维光盘元素从三维专辑元素中滑出的滑出动画显示结束后,显示三维光盘元素围绕指定中心点进行旋转的旋转动画。Optionally, in response to the target audio work switching to the playing state, the target audio work is played; and after the sliding-out animation of the three-dimensional optical disc element sliding out of the three-dimensional album element is displayed, a rotation animation of the three-dimensional optical disc element rotating around a specified center point is displayed.
下面,对分别对播放暂停状态和被切换状态下的目标音频作品对应的三维光盘元素和三维专辑元素的显示动画进行说明:Next, the display animations of the 3D disc element and the 3D album element corresponding to the target audio work in the playback pause state and the switched state are described respectively:
播放暂停状态:响应于目标音频作品切换至暂停状态,显示三维光盘元素滑入三维专辑元素的滑入动画;显示三维专辑元素对应的专辑壳体合拢动画。Playback pause state: in response to the target audio work switching to the pause state, display the sliding animation of the 3D disc element sliding into the 3D album element; display the closing animation of the album shell corresponding to the 3D album element.
示意性的,请参考图4,当歌曲暂停时,会显示三维光盘元素415从三维专辑元素417中的容纳空间中向左平行滑入的滑入动画,同时显示三维专辑元素417的上壳体413和下壳体414合拢容纳空间,直至三维光盘元素415完全收纳入三维专辑元素417中,表现为不可见状态;或者,当三维光盘元素415从三 维专辑元素417中的容纳空间中向左平行滑入的滑入动画显示结束后,显示三维专辑元素417的上壳体413和下壳体414合拢容纳空间。Schematically, please refer to Figure 4. When the song is paused, the sliding-in animation of the three-dimensional optical disc element 415 sliding parallel to the left from the storage space in the three-dimensional album element 417 will be displayed, and at the same time, the upper shell 413 and the lower shell 414 of the three-dimensional album element 417 will be displayed to close the storage space until the three-dimensional optical disc element 415 is completely received in the three-dimensional album element 417 and appears to be invisible; or, after the sliding-in animation of the three-dimensional optical disc element 415 sliding parallel to the left from the storage space in the three-dimensional album element 417 ends, the upper shell 413 and the lower shell 414 of the three-dimensional album element 417 will be displayed to close the storage space.
可选地,响应于目标音频作品切换至播放暂停状态,暂停播放目标音频作品;并暂停显示三维光盘元素围绕指定中心点进行旋转的旋转动画。Optionally, in response to the target audio work switching to a playback pause state, the playback of the target audio work is paused; and the display of the rotation animation of the three-dimensional optical disc element rotating around a specified center point is paused.
被切换状态:可选地,响应于目标音频作品被切换至其他音频作品,显示三维专辑元素和三维光盘元素在音频播放界面中的切出动画。Switched state: Optionally, in response to the target audio work being switched to other audio works, a cut-out animation of the three-dimensional album element and the three-dimensional optical disc element in the audio playback interface is displayed.
示意性的,请参考图4,当点击界面410中的下一首控件416后,当前播放的歌曲将被切换,则会将当前显示下的三维专辑元素417和三维光盘元素415从当前位置移动到移动至音频播放界面的指定边缘外,并切出显示画面外。也即,当歌曲被切换时,会直接将正在显示的三维光盘元素和三维专辑元素切出显示画面外。Schematically, please refer to FIG. 4 , when the next song control 416 in the interface 410 is clicked, the currently playing song will be switched, and the currently displayed 3D album element 417 and 3D optical disc element 415 will be moved from the current position to the designated edge of the audio playback interface and cut out of the display screen. That is, when the song is switched, the currently displayed 3D optical disc element and 3D album element will be directly cut out of the display screen.
或者,当点击界面410中的下一首控件416后,当前播放的歌曲将被切换,显示三维光盘元素415从三维专辑元素417中的容纳空间中向左平行滑入的滑入动画,以及显示三维专辑元素417的上壳体413和下壳体414合拢容纳空间,直至三维光盘元素415完全收纳入三维专辑元素417中,表现为不可见状态后,将三维专辑元素417和三维光盘元素415切出显示画面外。也即,当歌曲被切换时,会将三维光盘元素收纳进三维专辑元素后,再将三维专辑元素和其中容纳的三维光盘元素切出显示画面外。Alternatively, when the next song control 416 in the interface 410 is clicked, the currently playing song will be switched, and the sliding-in animation of the 3D optical disc element 415 sliding parallel to the left from the accommodation space in the 3D album element 417 will be displayed, and the upper shell 413 and the lower shell 414 of the 3D album element 417 will be displayed to close the accommodation space, until the 3D optical disc element 415 is completely stored in the 3D album element 417 and becomes invisible, and then the 3D album element 417 and the 3D optical disc element 415 are cut out of the display screen. That is, when the song is switched, the 3D optical disc element will be stored in the 3D album element, and then the 3D album element and the 3D optical disc element contained therein will be cut out of the display screen.
在一些可选的实施例中,上述三维专辑元素和三维光盘元素中将会显示与目标音频作品相匹配的图像。In some optional embodiments, the 3D album element and the 3D optical disc element will display images matching the target audio work.
示意性的,请参考图5,图5为三维专辑元素和三维光盘元素的平面显示示意图,其中三维专辑元素501中显示的是目标音频作品对应的封面图;三维光盘元素502的内部圆形区域503显示的是目标音频作品对应的封面图,外部环形区域504显示的是指定颜色图片。For illustration, please refer to Figure 5, which is a planar display diagram of a three-dimensional album element and a three-dimensional optical disc element, wherein the three-dimensional album element 501 displays the cover image corresponding to the target audio work; the inner circular area 503 of the three-dimensional optical disc element 502 displays the cover image corresponding to the target audio work, and the outer ring area 504 displays a specified color image.
其中,三维专辑元素501和内部圆形区域503中显示的封面图可直接采样目标音频作品对应的封面图。其中,外部环形区域504显示的指定颜色图片中的指定颜色需要对目标音频作品对应的封面图进行取色处理,则取色处理的方法还包括如下步骤:The cover image displayed in the three-dimensional album element 501 and the inner circular area 503 can directly sample the cover image corresponding to the target audio work. The specified color in the specified color image displayed in the outer annular area 504 needs to be processed for the cover image corresponding to the target audio work, and the color processing method also includes the following steps:
获取目标音频作品的封面图对应的颜色数据;基于封面图对应的颜色数据,确定三维光盘元素对应的颜色样本;将封面图对应的颜色数据与预设颜色库匹 配,确定三维光盘元素对应的色值数据;将三维光盘元素对应的颜色样本与三维光盘元素对应的色值数据进行叠加,确定三维光盘元素对应的光盘颜色。Obtain color data corresponding to the cover image of the target audio work; determine color samples corresponding to the three-dimensional optical disc elements based on the color data corresponding to the cover image; match the color data corresponding to the cover image with a preset color library to determine color value data corresponding to the three-dimensional optical disc elements; superimpose the color samples corresponding to the three-dimensional optical disc elements with the color value data corresponding to the three-dimensional optical disc elements to determine the optical disc color corresponding to the three-dimensional optical disc elements.
示意性的,获取得到目标音频作品的封面图后,首先,从封面图中获取图像调色板(也即,颜色数据),并从中确定多个颜色样本;其次,对目标音频作品的封面图与已有色库(例如:设计师给定的一组颜色的集合)进行匹配,确定目标色值范围;最后,将目标色值范围和多个颜色样本进行匹配,确定三维光盘元素对应的颜色样本与色值数据,将该颜色样本和色值数据进行叠加得到三维光盘元素对应的光盘颜色,也即,外部环形区域504显示的指定颜色图片中的指定颜色。Illustratively, after obtaining the cover image of the target audio work, first, obtain the image palette (i.e., color data) from the cover image, and determine multiple color samples therefrom; secondly, match the cover image of the target audio work with an existing color library (e.g., a set of colors given by a designer) to determine the target color value range; finally, match the target color value range with multiple color samples to determine the color samples and color value data corresponding to the three-dimensional optical disc element, and superimpose the color samples and color value data to obtain the optical disc color corresponding to the three-dimensional optical disc element, i.e., the specified color in the specified color picture displayed in the outer annular area 504.
可选地,在目标音频作品的播放过程中,音频播放界面在显示三维专辑元素的打开动画,显现三维光盘元素的同时还会显示目标音频作品对应的频谱动画、背景缩放动画、文本消散动画等,下面分别对这三个动画的进行说明:Optionally, during the playback of the target audio work, the audio playback interface displays the opening animation of the 3D album element, and while showing the 3D disc element, it also displays the spectrum animation, background zoom animation, text dissipation animation, etc. corresponding to the target audio work. The following describes these three animations respectively:
频谱动画:在一些可选的实施例中,在目标音频作品的播放过程中,显示目标音频作品对应的频谱动画。Spectrum animation: In some optional embodiments, during the playback of the target audio work, a spectrum animation corresponding to the target audio work is displayed.
示意性的,在歌曲播放的过程中,频谱动画会随着目标音频作品对应的音乐节奏改变,表现为目标音频作品对应的音调高和节奏快时,频谱动画的视觉幅度会增强;目标音频作品对应的音调低和节奏慢时,频谱动画的视觉幅度会减弱。Indicatively, during the playback of a song, the spectrum animation will change with the music rhythm corresponding to the target audio work. When the pitch and rhythm of the target audio work are high and fast, the visual amplitude of the spectrum animation will increase; when the pitch and rhythm of the target audio work are low and slow, the visual amplitude of the spectrum animation will decrease.
可选地,上述频谱动画的获取方法包括以下步骤:对目标音频作品对应的脉冲调制编码(Pulse-Code Modulation,PCM)数据做短时傅里叶变换,计算目标音频作品对应的振幅值;对计算得到的振幅值进行符合人耳听觉变换的处理,例如:A计权(A-Weight)加权滤波算法以及梅尔(Mel)标度转换;最后,将处理过的振幅值进行帧内以及帧间的数据平滑处理,将处理后的数据进行可视化展示,即为频谱动画。Optionally, the method for obtaining the above-mentioned spectrum animation includes the following steps: performing short-time Fourier transform on the pulse-code modulation (PCM) data corresponding to the target audio work, and calculating the amplitude value corresponding to the target audio work; processing the calculated amplitude value in accordance with the human ear's auditory transformation, for example: A-weighted filtering algorithm and Mel scale conversion; finally, performing intra-frame and inter-frame data smoothing on the processed amplitude value, and visually displaying the processed data, which is the spectrum animation.
可选地,其中频谱动画的展现形式包括空间频谱动画和平面频谱动画。Optionally, the presentation forms of the spectrum animation include space spectrum animation and plane spectrum animation.
对于空间频谱动画可参考图4和图11,如图4所示,在三维显示空间411中,频谱动画418贯穿三维专辑元素417和三维光盘元素415进行播放;或者,如图11所示,在三维显示空间1111中,频谱动画1117围绕三维专辑元素1112和三维光盘元素1115进行播放。For the spatial spectrum animation, please refer to Figures 4 and 11. As shown in Figure 4, in a three-dimensional display space 411, a spectrum animation 418 is played throughout a three-dimensional album element 417 and a three-dimensional optical disc element 415; or, as shown in Figure 11, in a three-dimensional display space 1111, a spectrum animation 1117 is played around a three-dimensional album element 1112 and a three-dimensional optical disc element 1115.
对于平面频谱动画可参考图6,平面频谱动画可显示在音频播放界面的任一 指定位置,例如:三维显示空间的中间位置;音频播放界面的播放进度条上方;音频播放界面的底部;音频播放界面的侧边(左边和右边)。For the two-dimensional spectrum animation, please refer to Figure 6. The two-dimensional spectrum animation can be displayed at any specified position of the audio playback interface, for example: the middle position of the three-dimensional display space; above the playback progress bar of the audio playback interface; at the bottom of the audio playback interface; on the sides (left and right) of the audio playback interface.
可选地,平面频谱动画可根据目标音频作品的播放进度,切换在音频播放界面的显示位置。如图6所示,在音频播放界面600中,频谱动画601显示三维显示空间的中间位置,当目标音频作品播放一段时间后,音频播放界面610中,频谱动画611显示在音频播放界面610的底部;当目标音频作品再次播放一段时间后,音频播放界面620中,频谱动画621显示在音频播放界面620的右侧边。Optionally, the plane spectrum animation can be switched to a display position in the audio playback interface according to the playback progress of the target audio work. As shown in FIG6 , in the audio playback interface 600 , the spectrum animation 601 is displayed in the middle of the three-dimensional display space. When the target audio work is played for a period of time, in the audio playback interface 610 , the spectrum animation 611 is displayed at the bottom of the audio playback interface 610 ; when the target audio work is played again for a period of time, in the audio playback interface 620 , the spectrum animation 621 is displayed on the right side of the audio playback interface 620 .
背景缩放动画:在一些可选的实施例中,响应于目标音频作品切换至播放状态,获取目标音频作品当前播放帧的放大参数,放大参数用于指示目标音频作品对应的音频在帧间的响度数据;响应于目标音频作品当前播放帧的放大参数大于预设阈值,在音频播放界面显示播放背景的缩放动画。Background zoom animation: In some optional embodiments, in response to the target audio work switching to the playback state, the amplification parameters of the current playback frame of the target audio work are obtained, and the amplification parameters are used to indicate the loudness data of the audio corresponding to the target audio work between frames; in response to the amplification parameters of the current playback frame of the target audio work being greater than a preset threshold, a zoom animation of the playback background is displayed on the audio playback interface.
可选地,上述放大参数的获取方式还包括以下步骤:Optionally, the method for obtaining the amplification parameters further includes the following steps:
获取目标音频作品当前播放的音频帧的PCM数据,根据PCM数据计算当前播放的音频帧的响度的均方根值,将该均方根值进行归一化处理,得到放大参数。The PCM data of the audio frame currently being played of the target audio work is obtained, the root mean square value of the loudness of the audio frame currently being played is calculated according to the PCM data, the root mean square value is normalized, and the amplification parameter is obtained.
可选地,在目标音频作品播放的播放过程中,若第1个音频帧对应放大参数大于预设数据,即开始播放播放背景的缩放动画,由于缩放动画的播放时间通常大于1个音频帧对应的时间;则在缩放动画的播放过程中,会继续判断第2个音频帧对应的放大参数和第1个音频帧对应的放大参数之间的大小关系,若第2个音频帧对应的放大参数大于第1个音频帧对应的放大参数,则会中断当前正在播放的缩放动画,重新开始播放新的缩放动画;若第2个音频帧对应的放大参数小于或者等于第1个音频帧对应的放大参数,则会继续播放当前正在播放的缩放动画。Optionally, during the playback of the target audio work, if the amplification parameter corresponding to the first audio frame is greater than the preset data, the zooming animation of the playback background will start to play, because the playback time of the zooming animation is usually greater than the time corresponding to one audio frame; then during the playback of the zooming animation, the relationship between the amplification parameter corresponding to the second audio frame and the amplification parameter corresponding to the first audio frame will continue to be judged. If the amplification parameter corresponding to the second audio frame is greater than the amplification parameter corresponding to the first audio frame, the currently playing zooming animation will be interrupted and the new zooming animation will be restarted; if the amplification parameter corresponding to the second audio frame is less than or equal to the amplification parameter corresponding to the first audio frame, the currently playing zooming animation will continue to play.
或者,可选地,当前正在播放的缩放动画播放结束后,再判断是否需要播放播放背景的缩放动画,比较的是缩放动画的播放结束后的第1个音频帧对应的放大参数和预设阈值之间的大小关系。Or, optionally, after the currently playing zoom animation is finished, it is determined whether it is necessary to play the zoom animation of the playback background, and the magnitude relationship between the amplification parameter corresponding to the first audio frame after the zoom animation is finished and the preset threshold is compared.
可选地,音频播放界面中的背景界面中显示有背景图片,该背景图片的获取方式包括:获取目标音频作品对应的封面图;对该封面图进行高斯模糊处理,获得处理过的封面图,则该封面图即为音频播放界面的背景图片。可选地,上 述播放背景的缩放动画是指对经过高斯模糊处理的封面图中的部分区域的从放大显示恢复成正常显示的动画;或者,对经过高斯模糊处理的封面图中的部分区域的从缩小显示恢复成正常显示的动画。Optionally, a background image is displayed in the background interface of the audio playback interface, and the method for obtaining the background image includes: obtaining a cover image corresponding to the target audio work; performing Gaussian blur processing on the cover image to obtain a processed cover image, and the cover image is the background image of the audio playback interface. Optionally, the zoom animation of the playback background refers to an animation of restoring a part of the cover image that has been subjected to Gaussian blur processing from an enlarged display to a normal display; or an animation of restoring a part of the cover image that has been subjected to Gaussian blur processing from a reduced display to a normal display.
示意性的,请参考图7,将三维专辑元素封面图显示在音频播放界面的播放背景中,即得到了界面700,其中界面700背景中显示的元素701为放大动画的放大对象;响应于目标音频作品当前播放帧的放大参数大于预设阈值,则会显示元素701的放大动画,即在界面710中,显示元素701被放大成为元素711的动画效果。Schematically, please refer to Figure 7, the three-dimensional album element cover image is displayed in the playback background of the audio playback interface, that is, interface 700 is obtained, wherein element 701 displayed in the background of interface 700 is the magnified object of the magnification animation; in response to the magnification parameter of the current playback frame of the target audio work being greater than a preset threshold, the magnification animation of element 701 will be displayed, that is, in interface 710, the display element 701 is enlarged to become the animation effect of element 711.
文本消散动画:在一些可选的实施例中,以上述文本显示区域显示的文本数据实现为歌词为例进行说明,则文本数据的显示方法还包括以下步骤:Text dissipation animation: In some optional embodiments, the text data displayed in the above text display area is implemented as lyrics as an example for explanation, and the method for displaying text data also includes the following steps:
步骤一:响应于目标音频作品切换至播放状态,根据目标音频作品的播放进度,确定目标音频作品的待显示文本中的第一文本。Step 1: In response to the target audio work switching to a playing state, a first text in the text to be displayed of the target audio work is determined according to the playing progress of the target audio work.
示意性的,当歌曲开始播放时,在文本显示区域实时显示歌曲对应的歌词,其中,第一文本是指当前歌曲播放的歌词,例如:当前播放的是歌曲中的“夜里做了美丽的噩梦”这一句话,则该句歌词对应的文本即为第一文本。Illustratively, when a song starts playing, the lyrics corresponding to the song are displayed in real time in the text display area, where the first text refers to the lyrics of the current song being played. For example, if the sentence "I had a beautiful nightmare at night" is currently playing in the song, then the text corresponding to this sentence is the first text.
步骤二:在文本显示区域的目标位置以第一透明度显示第一文本,并在第一文本的下方以第二透明度显示第二文本。Step 2: Display the first text at a target position in the text display area with a first transparency, and display the second text below the first text with a second transparency.
其中,目标位置为与文本显示区域的第一边缘的距离小于预设距离的位置,第一透明度小于第二透明度,第二文本的结束显示时间在时序上位于第一文本的结束显示时间之后。The target position is a position whose distance from the first edge of the text display area is less than a preset distance, the first transparency is less than the second transparency, and the end display time of the second text is chronologically later than the end display time of the first text.
示意性的,第二文本为当前歌曲播放的歌词的下一句歌词,请参考图4,文本显示区域403靠近上边缘的位置显示有“夜里做了美丽的噩梦”,即为当前播放的歌词,也即第一文本;“夜里做了美丽的噩梦”下方显示有“想清醒我却抵不过心动”,即为当前播放的歌词的下一句歌词,也即第二文本。Illustratively, the second text is the next line of the lyrics of the current song being played. Please refer to Figure 4. The text display area 403 near the upper edge displays "I had a beautiful nightmare at night", which is the lyrics currently being played, or the first text; and below "I had a beautiful nightmare at night" displays "I want to wake up but I can't resist the beating of my heart", which is the next line of the lyrics currently being played, or the second text.
或者,上述第二文本为当前歌曲播放的歌词的下面多句歌词,也就是说,若第一文本为第i句歌词,第一文本的下方预显示第i+1句歌词、第i+2句歌词等,本申请实施例对此不加以限定。Alternatively, the second text is multiple lines of lyrics below the lyrics of the current song being played, that is, if the first text is the i-th line of lyrics, the i+1-th line of lyrics, the i+2-th line of lyrics, etc. are pre-displayed below the first text. This embodiment of the present application does not limit this.
可选地,第一文本的第一透明度小于第二文本的第二透明度;且第一文本的文本大小大于第二文本的文本大小,用于对第一文本进行突出显示。Optionally, a first transparency of the first text is smaller than a second transparency of the second text; and a text size of the first text is larger than a text size of the second text, so as to highlight the first text.
步骤三:响应于第一文本的显示时间结束,在文本显示区域显示第一文本 的消散动画。Step three: in response to the display time of the first text ending, displaying a fading animation of the first text in the text display area.
其中,消散动画是指第一文本中的文本分散成多个粒子向预设方向消失的动画。示意性的,消散动画主要包括两部分,第一、将第一文本对应的第一透明度下降为指定透明度;第二、显示粒子分散动画。The dissipation animation refers to an animation in which the text in the first text is dispersed into multiple particles and disappears in a preset direction. Schematically, the dissipation animation mainly includes two parts: first, reducing the first transparency corresponding to the first text to a specified transparency; second, displaying the particle dispersion animation.
可选地,上述指定透明度为第一文本对应的透明度和粒子分散动画对应的透明度相乘的结果,例如:第一文本对应的透明度为70%,粒子分散动画对应的透明度为20%,则指定透明度为1.4%。Optionally, the specified transparency is the result of multiplying the transparency corresponding to the first text and the transparency corresponding to the particle dispersion animation. For example, if the transparency corresponding to the first text is 70% and the transparency corresponding to the particle dispersion animation is 20%, the specified transparency is 1.4%.
示意性的,在第一文本的位置按照第一文本对应的纹理长度播放与之匹配的粒子序列帧;同时,将第一文本对应的透明度下降至指定透明度,则可实现第一文本的消散动画。Schematically, at the position of the first text, a particle sequence frame matching the first text is played according to the texture length corresponding to the first text; at the same time, the transparency corresponding to the first text is reduced to a specified transparency, thereby realizing the dissipation animation of the first text.
请参考图8,其示出了一个第一文本的消散动画的过程示意图,如图8所示,在界面800中,当歌曲播放完歌词801后,开始显示歌词801的消散动画;界面810中,歌词811纹理的透明度小于歌词801纹理的透明度,且在歌词811上覆盖有粒子序列帧;界面820中,歌词已完全分散成粒子,消散动画显示结束。Please refer to Figure 8, which shows a schematic diagram of the process of a dissipation animation of a first text. As shown in Figure 8, in interface 800, after the song finishes playing lyrics 801, the dissipation animation of lyrics 801 begins to be displayed; in interface 810, the transparency of the texture of lyrics 811 is less than the transparency of the texture of lyrics 801, and particle sequence frames are covered on lyrics 811; in interface 820, the lyrics have been completely dispersed into particles, and the dissipation animation display ends.
可选地,当第一文本的消散动画显示结束后,第二文本会移动到第一文本的显示位置,且第二文本对应的透明度将提高至第一透明度,且第二文本对应的文本大小将增大至第一文本对应的文本大小。Optionally, when the fading animation of the first text ends, the second text will move to the display position of the first text, and the transparency corresponding to the second text will be increased to the first transparency, and the text size corresponding to the second text will be increased to the text size corresponding to the first text.
综上所述,通过将目标音频作品切换至播放状态,在音频播放界面上显示三维壳体元素的打开动画,三维音频载体元素随着三维壳体元素的打开从三维壳体元素中显现,使得在切换目标音频状态的过程中,音频播放界面上显示相应的动画效果,丰富了用户操作和界面显示之间的交互形式,提高了人机交互效率。To summarize, by switching the target audio work to the playback state, the opening animation of the three-dimensional shell element is displayed on the audio playback interface, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens, so that in the process of switching the target audio state, the corresponding animation effect is displayed on the audio playback interface, which enriches the interaction form between user operation and interface display and improves the efficiency of human-computer interaction.
本申请实施例提供的方法,三维壳体元素可实现为三维专辑元素,三维音频载体元素可实现为三维光盘元素,丰富了三维壳体元素和三维音频载体元素的动画展现形式。According to the method provided in the embodiment of the present application, the three-dimensional shell element can be implemented as a three-dimensional album element, and the three-dimensional audio carrier element can be implemented as a three-dimensional optical disc element, thereby enriching the animation display form of the three-dimensional shell element and the three-dimensional audio carrier element.
本申请实施例提供的方法,在将目标音频作品切换至播放状态时,会显示三维专辑元素对应的专辑壳体打开动画,且显示三维光盘元素从三维专辑元素中滑出的滑出动画,一方面,丰富了三维光盘元素显现形式,另一方面,增强了三维光盘元素在显现过程中的立体效果。The method provided in the embodiment of the present application, when switching the target audio work to the playback state, will display the album shell opening animation corresponding to the three-dimensional album element, and display the sliding-out animation of the three-dimensional optical disc element sliding out of the three-dimensional album element. On the one hand, it enriches the display form of the three-dimensional optical disc element, and on the other hand, it enhances the stereoscopic effect of the three-dimensional optical disc element during the display process.
本申请实施例提供的方法,在显示三维专辑元素的滑出动画时,提供了至少两种滑出动画的显示方法,也即,匀速滑出动画和变速滑出动画,进一步的丰富了三维光盘元素显现形式。The method provided in the embodiment of the present application provides at least two display methods of slide-out animation when displaying the slide-out animation of the three-dimensional album element, namely, uniform-speed slide-out animation and variable-speed slide-out animation, further enriching the display form of the three-dimensional optical disc element.
本申请实施例提供的方法,在将目标音频作品切换至播放状态时,会显示目标音频作品对应的频谱动画,将目标音频作品对应的音频数据进行可视化展示,提高了人机交互效率。The method provided in the embodiment of the present application displays the spectrum animation corresponding to the target audio work when the target audio work is switched to the playback state, and visualizes the audio data corresponding to the target audio work, thereby improving the efficiency of human-computer interaction.
本申请实施例提供的方法,在将目标音频作品切换至播放状态时,当目标音频作品当前播放帧的放大参数大于预设阈值,会在音频播放界面显示播放背景的缩放动画,增强了音频显示界面对于目标音频作品的表现力。The method provided in the embodiment of the present application, when switching the target audio work to the playback state, when the amplification parameter of the current playback frame of the target audio work is greater than a preset threshold, will display a zoom animation of the playback background on the audio playback interface, thereby enhancing the expressiveness of the audio display interface for the target audio work.
本申请实施例提供的方法,会根据目标音频作品的封面图对应的颜色数据确定三维光盘元素对应的光盘颜色,提高了目标音频作品和三维光盘元素在显示过程中的适配度。The method provided in the embodiment of the present application determines the disc color corresponding to the three-dimensional disc element according to the color data corresponding to the cover image of the target audio work, thereby improving the adaptability of the target audio work and the three-dimensional disc element during the display process.
本申请实施例提供的方法,在将目标音频作品切换至播放状态时,会在音频播放界面显示文本数据的消散动画,丰富了文本数据在音频播放界面的显示形式,提高了人机交互效率。The method provided in the embodiment of the present application displays a dissipation animation of text data on the audio playback interface when the target audio work is switched to the playback state, thereby enriching the display form of text data on the audio playback interface and improving the efficiency of human-computer interaction.
在一些可选的实施例中,上述三维壳体元素包括三维专辑元素,三维音频载体元素包括三维光盘元素,三维光盘元素置于三维专辑元素中的光盘槽内,随着三维专辑元素对应的专辑壳体打开而显现,图9是本申请另一种示例性实施例提供的播放界面的显示方法的流程图,以该方法应用于如图1所示的终端中为例进行说明,该方法包括:In some optional embodiments, the three-dimensional shell element includes a three-dimensional album element, the three-dimensional audio carrier element includes a three-dimensional optical disc element, and the three-dimensional optical disc element is placed in a disc slot in the three-dimensional album element, and appears as the album shell corresponding to the three-dimensional album element is opened. FIG9 is a flowchart of a method for displaying a playback interface provided by another exemplary embodiment of the present application, and the method is described by taking the method applied to the terminal shown in FIG1 as an example. The method includes:
步骤901,显示音频播放界面。 Step 901, display the audio playback interface.
其中,音频播放界面中包括目标音频作品对应的三维专辑元素,三维专辑元素中容纳有三维光盘元素。The audio playback interface includes a three-dimensional album element corresponding to the target audio work, and the three-dimensional album element contains a three-dimensional optical disc element.
音频播放界面用于播放目标音频作品,可选地,音频播放界面中包括播放器元素显示区域、文本显示区域、操作区域等。示意性的,播放器元素显示区域实现为一个三维显示空间,用于显示三维专辑元素和三维光盘元素,其中,三维光盘元素容纳在三维专辑元素中,为不可见状态。The audio playback interface is used to play the target audio work, and optionally, the audio playback interface includes a player element display area, a text display area, an operation area, etc. Schematically, the player element display area is implemented as a three-dimensional display space for displaying a three-dimensional album element and a three-dimensional optical disc element, wherein the three-dimensional optical disc element is contained in the three-dimensional album element and is invisible.
示意性的,请参考图10,在界面1000中,显示有三维显示空间1001,当歌曲处于播放状态的开始时刻时,三维显示空间1001仅显示三维专辑元素1002, 在三维专辑元素1002的内部不可见空间中容纳有三维光盘元素。10 , in the interface 1000 , a three-dimensional display space 1001 is displayed. When the song starts playing, the three-dimensional display space 1001 only displays a three-dimensional album element 1002 , and a three-dimensional CD element is contained in the invisible space inside the three-dimensional album element 1002 .
步骤902,响应于目标音频作品切换至播放状态,显示三维专辑元素对应的专辑壳体打开动画;其中,三维光盘元素置于三维专辑元素中的光盘槽内,随着三维专辑元素对应的专辑壳体打开,三维光盘元素从三维专辑元素中显现。 Step 902, in response to the target audio work switching to the playing state, displaying the album shell opening animation corresponding to the three-dimensional album element; wherein the three-dimensional optical disc element is placed in the optical disc slot in the three-dimensional album element, and as the album shell corresponding to the three-dimensional album element opens, the three-dimensional optical disc element appears from the three-dimensional album element.
示意性的,请参考图10,当歌曲开始播放后,在界面1010的三维显示空间1011中显示三维专辑元素1012的上壳体1013和下壳体1014的打开动画,其中,打开动画可以实现为上壳体1013固定,下壳体1014向下展开的动画;还可以实现为上壳体1013向上展开,下壳体1014固定的动画;还可以实现为上壳体1013向上展开,下壳体1014向下展开的动画,本申请实施例对此不加以限定。Schematically, please refer to Figure 10. When the song starts playing, the opening animation of the upper shell 1013 and the lower shell 1014 of the three-dimensional album element 1012 is displayed in the three-dimensional display space 1011 of the interface 1010, wherein the opening animation can be implemented as an animation in which the upper shell 1013 is fixed and the lower shell 1014 is unfolded downward; it can also be implemented as an animation in which the upper shell 1013 is unfolded upward and the lower shell 1014 is fixed; it can also be implemented as an animation in which the upper shell 1013 is unfolded upward and the lower shell 1014 is unfolded downward, and the embodiments of the present application are not limited to this.
示意性的,在上壳体1013和下壳体1014的打开动画显示结束后,即三维专辑元素1012对应的专辑壳体打开后,其中容纳的三维光盘元素1015置于三维专辑元素1012中的光盘槽内,随着三维专辑元素1012对应的专辑壳体的打开而显现出来。Schematically, after the opening animation display of the upper shell 1013 and the lower shell 1014 is completed, that is, after the album shell corresponding to the three-dimensional album element 1012 is opened, the three-dimensional optical disc element 1015 contained therein is placed in the optical disc slot in the three-dimensional album element 1012, and appears as the album shell corresponding to the three-dimensional album element 1012 is opened.
可选地,响应于目标音频作品切换至播放状态,播放目标音频作品;并三维专辑元素对应的专辑壳体打开动画显示结束后,显示三维光盘元素围绕三维专辑元素中的光盘槽的中心进行旋转的旋转动画。Optionally, in response to the target audio work switching to the playing state, the target audio work is played; and after the album shell opening animation corresponding to the three-dimensional album element is displayed, a rotating animation of the three-dimensional optical disc element rotating around the center of the optical disc slot in the three-dimensional album element is displayed.
下面,对分别对播放暂停状态和被切换状态下的目标音频作品对应的三维光盘元素和三维专辑元素的显示动画进行说明:Next, the display animations of the 3D disc element and the 3D album element corresponding to the target audio work in the playback pause state and the switched state are described respectively:
播放暂停状态:响应于目标音频作品切换至暂停状态;显示三维专辑元素对应的专辑壳体合拢动画。Playback pause state: in response to the target audio work switching to the pause state; the album shell closing animation corresponding to the three-dimensional album element is displayed.
示意性的,请参考图10,当歌曲暂停时,会显示三维专辑元素1012的上壳体1013和下壳体1014合拢容纳空间,直至三维光盘元素1015完全收纳入三维专辑元素1012中,表现为不可见状态。Schematically, please refer to Figure 10. When the song is paused, the upper shell 1013 and the lower shell 1014 of the three-dimensional album element 1012 will be displayed to close the storage space until the three-dimensional optical disc element 1015 is completely received in the three-dimensional album element 1012, and it appears invisible.
可选地,响应于目标音频作品切换至播放暂停状态,暂停播放目标音频作品;并暂停显示三维光盘元素围绕三维专辑元素中的光盘槽的中心进行旋转的旋转动画。Optionally, in response to the target audio work being switched to a playback pause state, playback of the target audio work is paused; and display of the rotation animation of the three-dimensional optical disc element rotating around the center of the optical disc slot in the three-dimensional album element is paused.
被切换状态:可选地,响应于目标音频作品被切换至其他音频作品,显示三维专辑元素和三维光盘元素在音频播放界面中的切出动画。Switched state: Optionally, in response to the target audio work being switched to other audio works, a cut-out animation of the three-dimensional album element and the three-dimensional optical disc element in the audio playback interface is displayed.
示意性的,请参考图10,当点击界面1010中的下一首控件1016后,当前播放的歌曲将被切换,则会将当前显示下的三维专辑元素1012和三维光盘元素 1015从当前位置移动到移动至音频播放界面的指定边缘外,并切出显示画面外。也即,当歌曲被切换时,会直接将正在显示的三维光盘元素和三维专辑元素切出显示画面外。Schematically, please refer to FIG. 10 , when the next song control 1016 in the interface 1010 is clicked, the currently playing song will be switched, and the currently displayed 3D album element 1012 and 3D optical disc element 1015 will be moved from the current position to the designated edge of the audio playback interface and cut out of the display screen. That is, when the song is switched, the currently displayed 3D optical disc element and 3D album element will be directly cut out of the display screen.
或者,当点击界面1010中的下一首控件1016后,当前播放的歌曲将被切换,显示三维专辑元素1012的上壳体1013和下壳体1014合拢容纳空间,直至三维光盘元素1015完全收纳入三维专辑元素1012中,表现为不可见状态后,将三维专辑元素1012和三维光盘元素1015切出显示画面外。也即,当歌曲被切换时,会将三维专辑元素合上后,三维专辑元素和其中容纳的三维光盘元素切出显示画面外。Alternatively, when the next song control 1016 in the interface 1010 is clicked, the currently playing song will be switched, and the upper shell 1013 and the lower shell 1014 displaying the 3D album element 1012 will close the storage space until the 3D optical disc element 1015 is completely stored in the 3D album element 1012 and becomes invisible, and then the 3D album element 1012 and the 3D optical disc element 1015 are cut out of the display screen. That is, when the song is switched, the 3D album element will be closed, and the 3D album element and the 3D optical disc element contained therein will be cut out of the display screen.
综上所述,本申请实施例提供的播放界面的显示方法通过将目标音频作品切换至播放状态,在音频播放界面上显示三维壳体元素的打开动画,三维音频载体元素随着三维壳体元素的打开从三维壳体元素中显现,使得在切换目标音频状态的过程中,音频播放界面上显示相应的动画效果,丰富了用户操作和界面显示之间的交互形式,提高了人机交互效率。To summarize, the display method of the playback interface provided in the embodiment of the present application switches the target audio work to the playback state, displays the opening animation of the three-dimensional shell element on the audio playback interface, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens, so that in the process of switching the target audio state, the corresponding animation effect is displayed on the audio playback interface, enriching the interaction form between user operation and interface display, and improving the efficiency of human-computer interaction.
本申请实施例提供的方法,在将目标音频作品切换至播放状态后,会显示三维专辑元素对应的专辑壳体打开动画;其中,三维光盘元素置于三维专辑元素中的光盘槽内,随着三维专辑元素对应的专辑壳体打开,三维光盘元素从三维专辑元素中显现,一方面,丰富了三维光盘元素的显现形式,另一方面,三维光盘元素显现过程中,三维光盘元素可以不进行动态显示,节省了计算机的计算资源。The method provided in the embodiment of the present application displays an album shell opening animation corresponding to a three-dimensional album element after the target audio work is switched to the playback state; wherein the three-dimensional optical disc element is placed in a optical disc slot in the three-dimensional album element, and as the album shell corresponding to the three-dimensional album element opens, the three-dimensional optical disc element appears from the three-dimensional album element. On the one hand, the display form of the three-dimensional optical disc element is enriched, and on the other hand, during the display process of the three-dimensional optical disc element, the three-dimensional optical disc element may not be dynamically displayed, thereby saving the computing resources of the computer.
在一些可选的实施例中,上述三维壳体元素包括三维专辑元素,三维音频载体元素包括三维光盘元素,在专辑壳体打开动画播放结束后,还显示光盘拿取动画,图11是本申请另一种示例性实施例提供的播放界面的显示方法的流程图,以该方法应用于如图1所示的终端中为例进行说明,该方法包括:In some optional embodiments, the three-dimensional shell element includes a three-dimensional album element, the three-dimensional audio carrier element includes a three-dimensional optical disc element, and after the album shell opening animation is played, the optical disc picking animation is also displayed. FIG. 11 is a flowchart of a method for displaying a playback interface provided by another exemplary embodiment of the present application, and the method is described by taking the method applied to the terminal shown in FIG. 1 as an example. The method includes:
步骤1101,显示音频播放界面。 Step 1101, display the audio playback interface.
其中,音频播放界面中包括目标音频作品对应的三维专辑元素,三维专辑元素中容纳有三维光盘元素。The audio playback interface includes a three-dimensional album element corresponding to the target audio work, and the three-dimensional album element contains a three-dimensional optical disc element.
音频播放界面用于播放目标音频作品,可选地,音频播放界面中包括播放器元素显示区域、文本显示区域、操作区域等。示意性的,播放器元素显示区 域实现为一个三维显示空间,用于显示三维专辑元素和三维光盘元素,其中,三维光盘元素容纳在三维专辑元素中,为不可见状态。The audio playback interface is used to play the target audio work. Optionally, the audio playback interface includes a player element display area, a text display area, an operation area, etc. Schematically, the player element display area is implemented as a three-dimensional display space for displaying a three-dimensional album element and a three-dimensional optical disc element, wherein the three-dimensional optical disc element is contained in the three-dimensional album element and is invisible.
步骤1102,响应于目标音频作品切换至播放状态,显示三维专辑元素对应的专辑壳体打开动画。 Step 1102, in response to the target audio work being switched to the playing state, displaying an album shell opening animation corresponding to the three-dimensional album element.
其中,专辑壳体打开动画的显示方法在步骤302中具体进行了说明,此处不再赘述。The method for displaying the album shell opening animation is specifically described in step 302 and will not be repeated here.
步骤1103,在专辑壳体打开动画播放结束后,显示光盘拿取动画。Step 1103, after the album shell opening animation is finished, the CD picking animation is displayed.
其中,光盘拿取动画用于指示三维手部元素从三维专辑元素中取出三维光盘元素,并将三维光盘元素放置至指定位置的动画。The CD-taking animation is used to instruct the three-dimensional hand element to take out the three-dimensional CD element from the three-dimensional album element and place the three-dimensional CD element at a designated position.
可选地,响应于目标音频作品切换至播放状态,播放目标音频作品;并在三维光盘元素放置至指定位置的动画显示结束后,显示三维光盘元素围绕指定中心点进行旋转的旋转动画。Optionally, in response to the target audio work switching to the playing state, the target audio work is played; and after the animation display of the three-dimensional optical disc element being placed at the specified position ends, a rotation animation of the three-dimensional optical disc element rotating around the specified center point is displayed.
可选地,在音频播放界面还显示有三维光盘播放器,则指定位置为三维光盘播放器的播放槽。示意性的,三维专辑元素对应的专辑壳体打开后,通过手部模型取出在三维专辑元素的光盘槽中的三维光盘元素,并将该三维光盘元素放置在三维光盘播放器的播放槽中,并显示三维光盘元素围绕播放槽中心开始旋转的旋转动画。Optionally, a 3D optical disc player is also displayed in the audio playback interface, and the designated position is the playback slot of the 3D optical disc player. Schematically, after the album shell corresponding to the 3D album element is opened, the 3D optical disc element in the optical disc slot of the 3D album element is taken out through the hand model, and the 3D optical disc element is placed in the playback slot of the 3D optical disc player, and a rotation animation of the 3D optical disc element starting to rotate around the center of the playback slot is displayed.
下面,对分别对播放暂停状态和被切换状态下的目标音频作品对应的三维光盘元素和三维专辑元素的显示动画进行说明:Next, the display animations of the 3D disc element and the 3D album element corresponding to the target audio work in the playback pause state and the switched state are described respectively:
播放暂停状态:响应于目标音频作品切换至暂停状态,显示光盘放回动画;在光盘放回动画播放结束后,显示三维专辑元素对应的专辑壳体合拢动画。Playback pause state: In response to the target audio work switching to the pause state, the disc re-insertion animation is displayed; after the disc re-insertion animation is finished, the album shell closing animation corresponding to the three-dimensional album element is displayed.
其中,光盘放回动画用于指示三维手部元素从指定位置中取出三维光盘元素,并将三维光盘元素放回至三维专辑元素的光盘槽中的动画。The CD-replacing animation is used to instruct the three-dimensional hand element to take out the three-dimensional CD-ROM element from the specified position and put the three-dimensional CD-ROM element back into the CD-ROM slot of the three-dimensional album element.
可选地,响应于目标音频作品切换至播放暂停状态,暂停播放目标音频作品;并暂停显示三维光盘元素围绕指定中心点进行旋转的旋转动画。Optionally, in response to the target audio work switching to a playback pause state, the playback of the target audio work is paused; and the display of the rotation animation of the three-dimensional optical disc element rotating around a specified center point is paused.
被切换状态:可选地,响应于目标音频作品被切换至其他音频作品,显示三维专辑元素和三维光盘元素在音频播放界面中的切出动画。Switched state: Optionally, in response to the target audio work being switched to other audio works, a cut-out animation of the three-dimensional album element and the three-dimensional optical disc element in the audio playback interface is displayed.
其中,切出动画的显示方法包括以下情况中的至少一种:The display method of the cut-out animation includes at least one of the following situations:
情况一:将当前音频播放界面中显示的三维光盘元素从指定位置移动至音频播放界面的指定边缘外,并切出显示画面外。Case 1: The three-dimensional optical disc element displayed in the current audio playback interface is moved from a specified position to outside a specified edge of the audio playback interface and cut out of the display screen.
情况二:显示光盘放回动画,在光盘放回动画播放结束后,将当前音频播放界面中显示的三维专辑元素和其中容纳的三维光盘元素从指定位置移动至音频播放界面的指定边缘外,并切出显示画面外。Case 2: Display the disc putting back animation. After the disc putting back animation is finished, move the 3D album element displayed in the current audio playback interface and the 3D disc element contained therein from the specified position to the outside of the specified edge of the audio playback interface and cut out of the display screen.
在一些可选的实施例中,显示打开动画之后,还可以显示三维专辑元素的切出动画,示意性的,当三维专辑元素对应的专辑壳体打开显现三维光盘元素后,单独将三维专辑元素从当前显示位置移动至音频播放界面的指定边缘外,将三维专辑元素切出显示画面外。也即,在歌曲的开始播放的时候,会显示歌曲对应的三维专辑元素和三维光盘元素,并显示三维光盘元素从三维专辑元素中取出的动画,当三维光盘元素从三维专辑元素中取出后,可以将三维专辑元素移出显示画面,在接下来歌曲的播放过程中,只显示三维光盘元素。In some optional embodiments, after the opening animation is displayed, the cut-out animation of the 3D album element can also be displayed. Schematically, when the album shell corresponding to the 3D album element opens to reveal the 3D optical disc element, the 3D album element is moved from the current display position to the designated edge of the audio playback interface, and the 3D album element is cut out of the display screen. That is, when the song starts playing, the 3D album element and the 3D optical disc element corresponding to the song will be displayed, and the animation of the 3D optical disc element being taken out of the 3D album element will be displayed. After the 3D optical disc element is taken out of the 3D album element, the 3D album element can be moved out of the display screen, and only the 3D optical disc element will be displayed during the subsequent playback of the song.
综上所述,本申请实施例提供的播放界面的显示方法通过将目标音频作品切换至播放状态,在音频播放界面上显示三维壳体元素的打开动画,三维音频载体元素随着三维壳体元素的打开从三维壳体元素中显现,使得在切换目标音频状态的过程中,音频播放界面上显示相应的动画效果,丰富了用户操作和界面显示之间的交互形式,提高了人机交互效率。To summarize, the display method of the playback interface provided in the embodiment of the present application switches the target audio work to the playback state, displays the opening animation of the three-dimensional shell element on the audio playback interface, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens, so that in the process of switching the target audio state, the corresponding animation effect is displayed on the audio playback interface, enriching the interaction form between user operation and interface display, and improving the efficiency of human-computer interaction.
本申请实施例提供的方法,在将目标音频作品切换至播放状态后,会显示三维专辑元素对应的专辑壳体打开动画;在专辑壳体打开动画播放结束后,会显示三维手部元素从三维专辑元素中取出三维光盘元素,并将三维光盘元素放置至指定位置的动画,一方面,丰富了三维光盘元素的显现形式,另一方面,进一步增强了三维光盘元素在显现过程中的立体效果。The method provided in the embodiment of the present application will display the album shell opening animation corresponding to the three-dimensional album element after the target audio work is switched to the playback state; after the album shell opening animation is played, an animation of a three-dimensional hand element taking out the three-dimensional optical disc element from the three-dimensional album element and placing the three-dimensional optical disc element to a specified position will be displayed. On the one hand, the display form of the three-dimensional optical disc element is enriched, and on the other hand, the stereoscopic effect of the three-dimensional optical disc element during the display process is further enhanced.
图12是本申请一个示例性实施例提供的分类模型的训练装置的结构框图,如图12所示,该装置包括如下部分:FIG. 12 is a structural block diagram of a training device for a classification model provided by an exemplary embodiment of the present application. As shown in FIG. 12 , the device includes the following parts:
显示模块1200,用于显示音频播放界面,所述音频播放界面中包括目标音频作品对应的三维壳体元素,所述三维壳体元素中容纳有三维音频载体元素;The display module 1200 is used to display an audio playback interface, wherein the audio playback interface includes a three-dimensional shell element corresponding to the target audio work, and the three-dimensional shell element contains a three-dimensional audio carrier element;
所述显示模块1200,还用于响应于所述目标音频作品切换至播放状态,显示所述三维壳体元素的打开动画,所述三维音频载体元素随着所述三维壳体元素的打开从所述三维壳体元素中显现。The display module 1200 is also used to display the opening animation of the three-dimensional shell element in response to the target audio work switching to the playing state, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens.
请参考图13,在一些可选的实施例中,所述三维壳体元素包括三维专辑元素,所述三维音频载体元素包括三维光盘元素。Please refer to FIG. 13 , in some optional embodiments, the three-dimensional shell element includes a three-dimensional album element, and the three-dimensional audio carrier element includes a three-dimensional optical disc element.
在一些可选的实施例中,所述显示模块1200,还用于响应于所述目标音频作品切换至播放状态,显示所述三维专辑元素对应的专辑壳体打开动画;所述显示模块1200,还用于显示所述三维光盘元素从所述三维专辑元素中滑出的滑出动画。In some optional embodiments, the display module 1200 is further used to display an album shell opening animation corresponding to the three-dimensional album element in response to the target audio work being switched to a playback state; the display module 1200 is further used to display a sliding-out animation of the three-dimensional optical disc element sliding out of the three-dimensional album element.
在一些可选的实施例中,所述显示模块1200,还用于显示所述三维光盘元素从所述三维专辑元素中匀速滑出的第一滑出动画;或者,用于显示所述三维光盘元素从所述三维专辑元素中变速滑出的第二滑出动画。In some optional embodiments, the display module 1200 is further used to display a first sliding-out animation in which the three-dimensional optical disc element slides out of the three-dimensional album element at a constant speed; or to display a second sliding-out animation in which the three-dimensional optical disc element slides out of the three-dimensional album element at a variable speed.
在一些可选的实施例中,所述显示模块1200,还用于响应于所述目标音频作品切换至播放状态,显示所述三维专辑元素对应的专辑壳体打开动画;其中,所述三维光盘元素置于所述三维专辑元素中的光盘槽内,随着所述三维专辑元素对应的专辑壳体打开,所述三维光盘元素从所述三维专辑元素中显现。In some optional embodiments, the display module 1200 is further used to display an album shell opening animation corresponding to the three-dimensional album element in response to the target audio work being switched to a playback state; wherein the three-dimensional optical disc element is placed in a optical disc slot in the three-dimensional album element, and as the album shell corresponding to the three-dimensional album element opens, the three-dimensional optical disc element appears from the three-dimensional album element.
在一些可选的实施例中,所述显示模块1200,还用于响应于所述目标音频作品切换至播放状态,显示所述三维专辑元素对应的专辑壳体打开动画;所述显示模块1200,还用于在所述专辑壳体打开动画播放结束后,显示光盘拿取动画,所述光盘拿取动画用于指示三维手部元素从所述三维专辑元素中取出所述三维光盘元素,并将所述三维光盘元素放置至指定位置的动画。In some optional embodiments, the display module 1200 is further used to display an album shell opening animation corresponding to the three-dimensional album element in response to the target audio work being switched to a playback state; the display module 1200 is further used to display a CD picking animation after the album shell opening animation is finished playing, wherein the CD picking animation is used to indicate an animation in which a three-dimensional hand element takes out the three-dimensional CD element from the three-dimensional album element and places the three-dimensional CD element at a designated position.
在一些可选的实施例中,所述显示模块1200,还用于响应于所述目标音频作品切换至播放暂停状态,显示所述三维壳体元素的合拢动画,所述三维音频载体元素随着所述三维壳体元素的合拢收纳入所述三维壳体元素中。In some optional embodiments, the display module 1200 is also used to display a closing animation of the three-dimensional shell element in response to the target audio work being switched to a playback pause state, and the three-dimensional audio carrier element is retracted into the three-dimensional shell element as the three-dimensional shell element is closed.
在一些可选的实施例中,所述音频播放界面中包括播放背景;所述装置还包括:In some optional embodiments, the audio playback interface includes a playback background; and the device further includes:
获取模块1210,用于响应于所述目标音频作品切换至播放状态,获取所述目标音频作品当前播放帧的放大参数,所述放大参数用于指示所述目标音频作品对应的音频在帧间的响度数据;The acquisition module 1210 is used for acquiring the amplification parameter of the current playback frame of the target audio work in response to the target audio work being switched to the playback state, wherein the amplification parameter is used to indicate the loudness data of the audio corresponding to the target audio work between frames;
所述显示模块1200,还用于响应于所述目标音频作品当前播放帧的放大参数大于预设阈值,在所述音频播放界面显示所述播放背景的缩放动画。The display module 1200 is further configured to display a zoom animation of the playback background on the audio playback interface in response to a magnification parameter of the current playback frame of the target audio work being greater than a preset threshold.
在一些可选的实施例中,所述获取模块1210,用于获取所述目标音频作品的封面图对应的颜色数据;所述装置还包括:In some optional embodiments, the acquisition module 1210 is used to acquire color data corresponding to the cover image of the target audio work; the device further includes:
确定模块1220,用于基于所述封面图对应的颜色数据,确定所述三维光盘 元素对应的颜色样本;The determination module 1220 is used to determine the color sample corresponding to the 3D optical disc element based on the color data corresponding to the cover image;
所述确定模块1220,还用于将所述封面图对应的颜色数据与预设颜色库匹配,确定所述三维光盘元素对应的色值数据;The determination module 1220 is further used to match the color data corresponding to the cover image with a preset color library to determine the color value data corresponding to the 3D optical disc element;
所述确定模块1220,还用于将所述三维光盘元素对应的颜色样本与所述三维光盘元素对应的色值数据进行叠加,确定所述三维光盘元素对应的光盘颜色。The determination module 1220 is further configured to superimpose the color sample corresponding to the 3D optical disc element with the color value data corresponding to the 3D optical disc element to determine the optical disc color corresponding to the 3D optical disc element.
在一些可选的实施例中,所述音频播放界面中包括文本显示区域,所述文本显示区域用于显示所述目标音频作品对应的文本数据;所述确定模块1220,还用于响应于所述目标音频作品切换至播放状态,根据所述目标音频作品的播放进度,确定所述目标音频作品的待显示文本中的第一文本;所述显示模块1200,还用于在所述文本显示区域的目标位置以第一透明度显示第一文本,并在所述第一文本的下方以第二透明度显示第二文本,所述目标位置为与所述文本显示区域的第一边缘的距离小于预设距离的位置,所述第一透明度小于所述第二透明度,所述第二文本的结束显示时间在时序上位于所述第一文本的结束显示时间之后;所述显示模块1200,还用于响应于到达所述第一文本的显示时间结束,在所述文本显示区域显示所述第一文本的消散动画,所述消散动画是指所述第一文本中的文本分散成多个粒子向预设方向消失的动画。In some optional embodiments, the audio playback interface includes a text display area, and the text display area is used to display text data corresponding to the target audio work; the determination module 1220 is also used to determine the first text in the text to be displayed of the target audio work according to the playback progress of the target audio work in response to the target audio work switching to the playback state; the display module 1200 is also used to display the first text with a first transparency at a target position in the text display area, and display the second text with a second transparency below the first text, the target position is a position where the distance from the first edge of the text display area is less than a preset distance, the first transparency is less than the second transparency, and the end display time of the second text is chronologically after the end display time of the first text; the display module 1200 is also used to display a dissipation animation of the first text in the text display area in response to reaching the end of the display time of the first text, and the dissipation animation refers to an animation in which the text in the first text is dispersed into multiple particles and disappears in a preset direction.
综上所述,本申请实施例提供的播放界面的显示装置通过将目标音频作品切换至播放状态,在音频播放界面上显示三维壳体元素的打开动画,三维音频载体元素随着三维壳体元素的打开从三维壳体元素中显现,使得在切换目标音频状态的过程中,音频播放界面上显示相应的动画效果,丰富了用户操作和界面显示之间的交互形式,提高了人机交互效率。To summarize, the display device of the playback interface provided in the embodiment of the present application switches the target audio work to the playback state, displays the opening animation of the three-dimensional shell element on the audio playback interface, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens, so that in the process of switching the target audio state, the corresponding animation effect is displayed on the audio playback interface, enriching the interaction form between user operation and interface display, and improving the efficiency of human-computer interaction.
需要说明的是:上述实施例提供的播放界面的显示装置,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的播放界面的显示装置与播放界面的显示方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that the display device of the playback interface provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the display device of the playback interface provided in the above embodiment and the display method embodiment of the playback interface belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
图14示出了本申请一个示例性实施例提供的计算机设备1400的结构框图。 该计算机设备1400可以是便携式移动终端,比如:智能手机、平板电脑、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、笔记本电脑或台式电脑。计算机设备1400还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。FIG14 shows a block diagram of a computer device 1400 provided by an exemplary embodiment of the present application. The computer device 1400 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The computer device 1400 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.
通常,计算机设备1400包括有:处理器1401和存储器1402。Typically, the computer device 1400 includes a processor 1401 and a memory 1402 .
处理器1401可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1401可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1401也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1401可以集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1401还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1401 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1401 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1401 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
存储器1402可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器1402还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1402中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器1401所执行以实现本申请中方法实施例提供的分类模型的训练方法和数据分类方法。The memory 1402 may include one or more computer-readable storage media, which may be non-transitory. The memory 1402 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1402 is used to store at least one instruction, which is used to be executed by the processor 1401 to implement the training method and data classification method of the classification model provided in the method embodiment of the present application.
在一些实施例中,计算机设备1400还可选包括其他组件,本领域技术人员可以理解,图14中示出的结构并不构成对计算机设备1400的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。In some embodiments, the computer device 1400 may optionally include other components. Those skilled in the art will understand that the structure shown in FIG. 14 does not constitute a limitation on the computer device 1400, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,该计算机可读存储介质可以是上述实施例中的存储器中所包含的计算机可读存储介质;也可以是单独存在,未装配入终端中的计算机可读存储介 质。该计算机可读存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现上述实施例中任一所述的分类模型的训练方法和数据分类方法。A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, which can be a computer-readable storage medium contained in the memory in the above embodiments; or a computer-readable storage medium that exists independently and is not assembled in the terminal. The computer-readable storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, the at least one program, the code set or instruction set is loaded and executed by the processor to implement the classification model training method and data classification method described in any of the above embodiments.
可选的,该计算机可读存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、固态硬盘(SSD,Solid State Drives)或光盘等。其中,随机存取记忆体可以包括电阻式随机存取记忆体(ReRAM,Resistance Random Access Memory)和动态随机存取存储器(DRAM,Dynamic Random Access Memory)。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。Optionally, the computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a solid-state drive (SSD), or an optical disk. Among them, the random access memory may include a resistive random access memory (ReRAM) and a dynamic random access memory (DRAM). The serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (14)

  1. 一种播放界面的显示方法,其特征在于,所述方法包括:A method for displaying a playback interface, characterized in that the method comprises:
    显示音频播放界面,所述音频播放界面中包括目标音频作品对应的三维壳体元素,所述三维壳体元素中容纳有三维音频载体元素;Displaying an audio playback interface, wherein the audio playback interface includes a three-dimensional shell element corresponding to the target audio work, wherein the three-dimensional shell element contains a three-dimensional audio carrier element;
    响应于所述目标音频作品切换至播放状态,显示所述三维壳体元素的打开动画,所述三维音频载体元素随着所述三维壳体元素的打开从所述三维壳体元素中显现。In response to the target audio work being switched to a playing state, an opening animation of the three-dimensional shell element is displayed, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens.
  2. 根据权利要求1所述的方法,其特征在于,The method according to claim 1, characterized in that
    所述三维壳体元素包括三维专辑元素,所述三维音频载体元素包括三维光盘元素。The three-dimensional shell element includes a three-dimensional album element, and the three-dimensional audio carrier element includes a three-dimensional optical disc element.
  3. 根据权利要求2所述的方法,其特征在于,所述响应于所述目标音频作品切换至播放状态,显示所述三维壳体元素的打开动画,包括:The method according to claim 2, characterized in that, in response to the target audio work being switched to a playing state, displaying an opening animation of the three-dimensional shell element comprises:
    响应于所述目标音频作品切换至播放状态,显示所述三维专辑元素对应的专辑壳体打开动画;In response to the target audio work being switched to a playing state, displaying an album shell opening animation corresponding to the three-dimensional album element;
    显示所述三维光盘元素从所述三维专辑元素中滑出的滑出动画。A slide-out animation of the 3D optical disc element sliding out of the 3D album element is displayed.
  4. 根据权利要求3所述的方法,其特征在于,所述显示所述三维光盘元素从所述三维专辑元素中滑出的滑出动画,包括:The method according to claim 3, characterized in that the step of displaying the slide-out animation of the 3D optical disc element sliding out of the 3D album element comprises:
    显示所述三维光盘元素从所述三维专辑元素中匀速滑出的第一滑出动画;或者,Displaying a first sliding-out animation in which the three-dimensional optical disc element slides out of the three-dimensional album element at a constant speed; or,
    显示所述三维光盘元素从所述三维专辑元素中变速滑出的第二滑出动画。A second slide-out animation is displayed in which the three-dimensional optical disc element slides out from the three-dimensional album element at a variable speed.
  5. 根据权利要求2所述的方法,其特征在于,所述响应于所述目标音频作品切换至播放状态,显示所述三维壳体元素的打开动画,包括:The method according to claim 2, characterized in that, in response to the target audio work being switched to a playing state, displaying an opening animation of the three-dimensional shell element comprises:
    响应于所述目标音频作品切换至播放状态,显示所述三维专辑元素对应的专辑壳体打开动画;其中,所述三维光盘元素置于所述三维专辑元素中的光盘槽内,随着所述三维专辑元素对应的专辑壳体打开,所述三维光盘元素从所述三维专辑元素中显现。In response to the target audio work being switched to a playback state, an album shell opening animation corresponding to the three-dimensional album element is displayed; wherein the three-dimensional optical disc element is placed in a optical disc slot in the three-dimensional album element, and as the album shell corresponding to the three-dimensional album element opens, the three-dimensional optical disc element appears from the three-dimensional album element.
  6. 根据权利要求2所述的方法,其特征在于,所述响应于所述目标音频作品切换至播放状态,显示所述三维壳体元素的打开动画,包括:The method according to claim 2, characterized in that, in response to the target audio work being switched to a playing state, displaying an opening animation of the three-dimensional shell element comprises:
    响应于所述目标音频作品切换至播放状态,显示所述三维专辑元素对应的专辑壳体打开动画;In response to the target audio work being switched to a playing state, displaying an album shell opening animation corresponding to the three-dimensional album element;
    在所述专辑壳体打开动画播放结束后,显示光盘拿取动画,所述光盘拿取动画用于指示三维手部元素从所述三维专辑元素中取出所述三维光盘元素,并将所述三维光盘元素放置至指定位置的动画。After the album shell opening animation is finished, the CD picking animation is displayed, and the CD picking animation is used to instruct the three-dimensional hand element to take out the three-dimensional CD element from the three-dimensional album element and place the three-dimensional CD element to a specified position.
  7. 根据权利要求1至6任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 6, characterized in that the method further comprises:
    响应于所述目标音频作品切换至播放暂停状态,显示所述三维壳体元素的合拢动画,所述三维音频载体元素随着所述三维壳体元素的合拢收纳入所述三维壳体元素中。In response to the target audio work being switched to a playback pause state, a collapse animation of the three-dimensional shell element is displayed, and the three-dimensional audio carrier element is retracted into the three-dimensional shell element as the three-dimensional shell element collapses.
  8. 根据权利要求1至6任一所述的方法,其特征在于,所述音频播放界面中包括播放背景;The method according to any one of claims 1 to 6, characterized in that the audio playback interface includes a playback background;
    所述方法还包括:The method further comprises:
    响应于所述目标音频作品切换至播放状态,获取所述目标音频作品当前播放帧的放大参数,所述放大参数用于指示所述目标音频作品对应的音频在帧间的响度数据;In response to the target audio work being switched to a playing state, obtaining an amplification parameter of a current playing frame of the target audio work, wherein the amplification parameter is used to indicate loudness data of audio corresponding to the target audio work between frames;
    响应于所述目标音频作品当前播放帧的放大参数大于预设阈值,在所述音频播放界面显示所述播放背景的缩放动画。In response to a magnification parameter of a current playback frame of the target audio work being greater than a preset threshold, a zoom animation of the playback background is displayed on the audio playback interface.
  9. 根据权利要求2至6任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 2 to 6, characterized in that the method further comprises:
    获取所述目标音频作品的封面图对应的颜色数据;Obtaining color data corresponding to the cover image of the target audio work;
    基于所述封面图对应的颜色数据,确定所述三维光盘元素对应的颜色样本;Determine the color sample corresponding to the three-dimensional optical disc element based on the color data corresponding to the cover image;
    将所述封面图对应的颜色数据与预设颜色库匹配,确定所述三维光盘元素对应的色值数据;Matching the color data corresponding to the cover image with a preset color library to determine the color value data corresponding to the three-dimensional optical disc element;
    将所述三维光盘元素对应的颜色样本与所述三维光盘元素对应的色值数据进行叠加,确定所述三维光盘元素对应的光盘颜色。The color sample corresponding to the three-dimensional optical disc element is superimposed with the color value data corresponding to the three-dimensional optical disc element to determine the optical disc color corresponding to the three-dimensional optical disc element.
  10. 根据权利要求1至6任一所述的方法,其特征在于,所述音频播放界面中包括文本显示区域,所述文本显示区域用于显示所述目标音频作品对应的文本数据;The method according to any one of claims 1 to 6, characterized in that the audio playback interface includes a text display area, and the text display area is used to display text data corresponding to the target audio work;
    所述方法还包括:The method further comprises:
    响应于所述目标音频作品切换至播放状态,根据所述目标音频作品的播放进度,确定所述目标音频作品的待显示文本中的第一文本;In response to the target audio work being switched to a playing state, determining a first text in the texts to be displayed of the target audio work according to the playing progress of the target audio work;
    在所述文本显示区域的目标位置以第一透明度显示第一文本,并在所述第一文本的下方以第二透明度显示第二文本,所述目标位置为与所述文本显示区域的第一边缘的距离小于预设距离的位置,所述第一透明度小于所述第二透明度,所述第二文本的结束显示时间在时序上位于所述第一文本的结束显示时间之后;Displaying a first text at a target position of the text display area with a first transparency, and displaying a second text at a second transparency below the first text, wherein the target position is a position whose distance from a first edge of the text display area is less than a preset distance, the first transparency is less than the second transparency, and an end display time of the second text is located after an end display time of the first text in terms of timing;
    响应于到达所述第一文本的显示时间结束,在所述文本显示区域显示所述第一文本的消散动画,所述消散动画是指所述第一文本中的文本分散成多个粒子向预设方向消失的动画。In response to reaching the end of the display time of the first text, a dissipation animation of the first text is displayed in the text display area, where the dissipation animation refers to an animation in which text in the first text is dispersed into multiple particles and disappears in a preset direction.
  11. 一种播放界面的显示装置,其特征在于,所述装置包括:A display device for a playback interface, characterized in that the device comprises:
    显示模块,用于显示音频播放界面,所述音频播放界面中包括目标音频作品对应的三维壳体元素,所述三维壳体元素中容纳有三维音频载体元素;A display module, used for displaying an audio playback interface, wherein the audio playback interface includes a three-dimensional shell element corresponding to the target audio work, wherein the three-dimensional shell element contains a three-dimensional audio carrier element;
    所述显示模块,还用于响应于所述目标音频作品切换至播放状态,显示所述三维壳体元素的打开动画,所述三维音频载体元素随着所述三维壳体元素的打开从所述三维壳体元素中显现。The display module is also used to display the opening animation of the three-dimensional shell element in response to the target audio work switching to the playing state, and the three-dimensional audio carrier element appears from the three-dimensional shell element as the three-dimensional shell element opens.
  12. 一种计算机设备,其特征在于,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如权利要求1至10任一所述的播放界面的显示方法。A computer device, characterized in that the computer device includes a processor and a memory, the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the display method of the playback interface as described in any one of claims 1 to 10.
  13. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令,所述至少一条指令由处理器加载并执行以实现如权利要求1至10任一所述的播放界面的显示方法。A computer-readable storage medium, characterized in that at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement the display method of the playback interface as described in any one of claims 1 to 10.
  14. 一种计算机程序产品,其特征在于,包括计算机指令,所述计算机指令被处理器执行时实现如权利要求1至10任一所述的播放界面的显示方法。A computer program product, characterized in that it includes computer instructions, and when the computer instructions are executed by a processor, the display method of the playback interface as described in any one of claims 1 to 10 is implemented.
PCT/CN2022/124701 2022-10-11 2022-10-11 Playback interface displaying method and apparatus, device, medium and program product WO2024077492A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2022/124701 WO2024077492A1 (en) 2022-10-11 2022-10-11 Playback interface displaying method and apparatus, device, medium and program product
CN202280003532.3A CN115997196A (en) 2022-10-11 2022-10-11 Display method, device, equipment, medium and program product of playing interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/124701 WO2024077492A1 (en) 2022-10-11 2022-10-11 Playback interface displaying method and apparatus, device, medium and program product

Publications (1)

Publication Number Publication Date
WO2024077492A1 true WO2024077492A1 (en) 2024-04-18

Family

ID=85993907

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/124701 WO2024077492A1 (en) 2022-10-11 2022-10-11 Playback interface displaying method and apparatus, device, medium and program product

Country Status (2)

Country Link
CN (1) CN115997196A (en)
WO (1) WO2024077492A1 (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831912A (en) * 2012-08-10 2012-12-19 上海量明科技发展有限公司 Method, client and system for displaying playing progress of audio information
US20170206055A1 (en) * 2016-01-19 2017-07-20 Apple Inc. Realtime audio effects control
CN107329980A (en) * 2017-05-31 2017-11-07 福建星网视易信息系统有限公司 A kind of real-time linkage display methods and storage device based on audio
CN110139143A (en) * 2019-05-23 2019-08-16 广州酷狗计算机科技有限公司 Virtual objects display methods, device, computer equipment and storage medium
CN112259062A (en) * 2020-10-20 2021-01-22 北京字节跳动网络技术有限公司 Special effect display method and device, electronic equipment and computer readable medium
CN113157369A (en) * 2021-04-07 2021-07-23 杭州网易云音乐科技有限公司 Music playing interaction method and device, storage medium and electronic equipment
CN113190156A (en) * 2021-05-13 2021-07-30 杭州网易云音乐科技有限公司 Music playing control method and device, storage medium and electronic equipment
CN113347483A (en) * 2018-12-20 2021-09-03 聚好看科技股份有限公司 Multimedia file display method and smart television
CN113920225A (en) * 2021-10-20 2022-01-11 杭州网易云音乐科技有限公司 Animation special effect generation method, medium, device and computing equipment
CN114924704A (en) * 2022-05-31 2022-08-19 杭州网易云音乐科技有限公司 Animation special effect display control method and device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831912A (en) * 2012-08-10 2012-12-19 上海量明科技发展有限公司 Method, client and system for displaying playing progress of audio information
US20170206055A1 (en) * 2016-01-19 2017-07-20 Apple Inc. Realtime audio effects control
CN107329980A (en) * 2017-05-31 2017-11-07 福建星网视易信息系统有限公司 A kind of real-time linkage display methods and storage device based on audio
CN113347483A (en) * 2018-12-20 2021-09-03 聚好看科技股份有限公司 Multimedia file display method and smart television
CN110139143A (en) * 2019-05-23 2019-08-16 广州酷狗计算机科技有限公司 Virtual objects display methods, device, computer equipment and storage medium
CN112259062A (en) * 2020-10-20 2021-01-22 北京字节跳动网络技术有限公司 Special effect display method and device, electronic equipment and computer readable medium
CN113157369A (en) * 2021-04-07 2021-07-23 杭州网易云音乐科技有限公司 Music playing interaction method and device, storage medium and electronic equipment
CN113190156A (en) * 2021-05-13 2021-07-30 杭州网易云音乐科技有限公司 Music playing control method and device, storage medium and electronic equipment
CN113920225A (en) * 2021-10-20 2022-01-11 杭州网易云音乐科技有限公司 Animation special effect generation method, medium, device and computing equipment
CN114924704A (en) * 2022-05-31 2022-08-19 杭州网易云音乐科技有限公司 Animation special effect display control method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115997196A (en) 2023-04-21

Similar Documents

Publication Publication Date Title
US20170192661A1 (en) Presenting Image Objects in a User Interface
TWI732240B (en) Video file generation method, device, and storage medium
US9443337B2 (en) Run-time techniques for playing large-scale cloud-based animations
WO2007005272A2 (en) Aspects of media content rendering
US11653072B2 (en) Method and system for generating interactive media content
US10319411B2 (en) Device and method for playing an interactive audiovisual movie
US20190098372A1 (en) Method and apparatus for adjusting virtual reality scene, and storage medium
US20180143741A1 (en) Intelligent graphical feature generation for user content
CN107872685A (en) A kind of player method of multi-medium data, device and computer installation
CN110727629A (en) Playing method of audio electronic book, electronic equipment and computer storage medium
CN104994920B (en) Presenting has the function of the digital content item of layer-stepping
US20230343056A1 (en) Media resource display method and apparatus, device, and storage medium
WO2024077492A1 (en) Playback interface displaying method and apparatus, device, medium and program product
CN105094823B (en) A kind of method and apparatus for generating interface of input method
US20230030502A1 (en) Information play control method and apparatus, electronic device, computer-readable storage medium and computer program product
CN116017082A (en) Information processing method and electronic equipment
CN108416830A (en) Animation display control method, device, equipment and storage medium
WO2024077498A1 (en) Playback interface display method and apparatus, device, and readable storage medium
CN113038014A (en) Video processing method of application program and electronic equipment
CN112734940B (en) VR content playing modification method, device, computer equipment and storage medium
KR102512259B1 (en) Method, apparatus and system for generating and exposing advertisement content for three-dimensional visual effect
KR102276789B1 (en) Method and apparatus for editing video
JP6964918B1 (en) Content creation support system, content creation support method and program
CN112734942A (en) AR content playing modification method and device, computer equipment and storage medium
CN117234648A (en) Interface display method, device, terminal equipment and storage medium