WO2019037566A1 - Information display method and apparatus, device, and computer-readable storage medium - Google Patents

Information display method and apparatus, device, and computer-readable storage medium Download PDF

Info

Publication number
WO2019037566A1
WO2019037566A1 PCT/CN2018/096786 CN2018096786W WO2019037566A1 WO 2019037566 A1 WO2019037566 A1 WO 2019037566A1 CN 2018096786 W CN2018096786 W CN 2018096786W WO 2019037566 A1 WO2019037566 A1 WO 2019037566A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
audio
identifier
information
target audio
Prior art date
Application number
PCT/CN2018/096786
Other languages
French (fr)
Chinese (zh)
Inventor
戚超杰
梁军
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2019037566A1 publication Critical patent/WO2019037566A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/04Time compression or expansion
    • G10L21/055Time compression or expansion for synchronising with other signals, e.g. video signals
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data

Definitions

  • the present application relates to the field of computer and Internet technologies, and in particular, to an information display method, apparatus, device, and computer readable storage medium.
  • the audio player software is a software for playing various audio files.
  • common audio playback software includes music playing software, listening software, radio software, and the like.
  • some audio playback software also has the function of displaying and posting messages (or called barrage, comments).
  • the music playing software acquires the audio content and the message of a certain song, and when playing the audio content of the song, all the messages of the song can be collectively displayed in the message display interface.
  • the client of the music playing software displays the lyrics display interface 11 during the process of playing the song.
  • the lyric display interface 11 includes a message display control 12, and the client obtains a trigger signal corresponding to the message display control 12 .
  • the message display interface 13 is superimposed on the upper layer of the lyric display interface 11, and all the messages 14 of the song are scrolled in turn in the message display interface 13.
  • the message display method provided by the related art described above displays the message in a relatively independent manner, and can only reflect the relationship between the message and the entire song. For example, when a user listens to the lyrics of the first minute of the song, he feels a message and posts a message, but other users can only view the message in the message display interface during the process of playing the song, but the user cannot know the message. The user is a message about which part of the song is posted.
  • the embodiment of the present application provides an information display method, device, device and computer readable storage medium.
  • the message information of the target audio represents information related to the message for the target audio, including the identifier of the message and the timestamp, wherein the identifier of the message is used to uniquely identify a message, and the identifier corresponding to the different message is also Not the same; the timestamp of the message is used to indicate the corresponding playing time of the message in the target audio.
  • the identifier of each message corresponds to a timestamp, but a timestamp can correspond to the identifier of multiple messages.
  • the message mark described in this application is used to mark a message on the track.
  • the identifier of the message and the identifier of the message are in a one-to-one correspondence.
  • an information display method which is applied to a terminal device, and the method includes:
  • the message information includes an identifier of the message and a timestamp, and the timestamp of the message is used to indicate a corresponding playing time of the message in the target audio;
  • an information display method which is applied to a server device, and the method includes:
  • the terminal Sending an information acquisition response to the terminal, the information acquisition response including audio content and message information of the target audio, so that the terminal displays a message mark and a corresponding content of the audio content in a play interface of the target audio a track, wherein the message mark, the identifier of the message, and the time stamp of the message are in one-to-one correspondence, and the display position of each message mark is based on the time stamp of the message corresponding to the message mark.
  • the position in the track is determined.
  • an information display apparatus comprising:
  • An information obtaining module configured to acquire audio content and message information of the target audio, where the message information includes an identifier of the message and a timestamp, and the timestamp of the message is used to indicate that the message corresponds to the target audio Play time
  • An information display module configured to display a message mark and a track corresponding to the audio content in a play interface of the target audio, wherein the message mark, the identifier of the message, and a timestamp of the message correspond one-to-one
  • the display position of each message mark is determined according to the position of the time stamp of the message corresponding to the message mark in the track.
  • an information display apparatus comprising:
  • a request receiving module configured to receive an information acquisition request sent by the terminal, where the information acquisition request includes an identifier of the target audio
  • An information obtaining module configured to acquire audio content and message information of the target audio according to the identifier of the target audio, where the message information includes an identifier of a message and a timestamp, and a timestamp of the message is used to indicate Determining a corresponding playing time in the target audio;
  • a response sending module configured to send an information acquisition response to the terminal, where the information acquisition response includes audio content and message information of the target audio, so that the terminal displays a message mark and a play interface in the target audio a track corresponding to the audio content, wherein the message mark, the identifier of the message, and the time stamp of the message are in one-to-one correspondence, and the display position of each message mark is according to the message corresponding to the message mark The position of the time stamp in the track is determined.
  • an information display system comprising: a terminal and a server;
  • the terminal includes the apparatus of the third aspect
  • the server includes the apparatus of the fourth aspect.
  • 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 a set of instructions, the at least one instruction, the at least one instruction A program, the set of codes, or the set of instructions, when executed by the processor, implements the method of the first aspect or the method of the second aspect.
  • the computer device is a terminal, and the at least one instruction, the at least one program, the code set, or the instruction set, when executed by a processor of the terminal, implements the first aspect The information display method.
  • the computer device is a server, and the at least one instruction, the at least one program, the code set, or the instruction set is implemented as a second when executed by a processor of the server.
  • a computer readable storage medium stores at least one instruction, at least one program, a code set, or a set of instructions, the at least one instruction, the at least one program, and the code
  • the set or the set of instructions when executed, implements the information display method as described in the first aspect.
  • a computer readable storage medium stores at least one instruction, at least one program, a code set, or a set of instructions, the at least one instruction, the at least one program, and the code
  • the set or the set of instructions when executed, implements the information display method as described in the second aspect.
  • a computer program product for performing the information display method of the first aspect described above when the computer program product is executed.
  • a computer program product for performing the information display method of the second aspect described above when the computer program product is executed.
  • the time track of each message is recorded, and the audio track and the message mark corresponding to the audio content are displayed in the audio play interface, which embodies the relationship between the message and the playing time, so that the message can be directed to a certain playing time.
  • the audio content is no longer just for the entire audio.
  • Each message mark corresponds to a message, and the display position of each message mark is determined according to the position of the time stamp of the message corresponding to the message mark in the track.
  • the message is displayed in the form of a message mark, which saves interface space and helps to optimize the interface layout.
  • FIG. 1 is a schematic diagram of a message display interface provided by the related art
  • FIG. 2 is a schematic diagram of an implementation environment provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of an implementation environment provided by another embodiment of the present application.
  • 4A is a flowchart of an information display method provided by an embodiment of the present application.
  • 4B is a schematic diagram of text content provided by an embodiment of the present application.
  • 4C is a schematic diagram of an audio play interface provided by another embodiment of the present application.
  • FIG. 5 is a flowchart of a message update process provided by an embodiment of the present application.
  • 6A is a flowchart of a message acquisition process provided by an embodiment of the present application.
  • 6B is a schematic diagram of a message display interface provided by an embodiment of the present application.
  • FIG. 7A is a flowchart of a message posting process provided by an embodiment of the present application.
  • FIG. 7B is a schematic diagram of a message posting interface provided by an embodiment of the present application.
  • FIG. 8A is a flowchart of an initial playing process provided by an embodiment of the present application.
  • FIG. 8B is a flowchart of a message update process provided by an embodiment of the present application.
  • FIG. 8C is a flowchart of a message acquisition process provided by an embodiment of the present application.
  • FIG. 8D is a flowchart of a message posting process provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of an information display apparatus according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of an information display apparatus according to another embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a terminal according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a server according to an embodiment of the present application.
  • the message information of the target audio represents a message with respect to the target audio.
  • Relevant information including the identifier of the message and the timestamp, wherein the identifier of the message is used to uniquely identify a message, and the identifier corresponding to the different message is also different; and the timestamp of the message is used to indicate that the message corresponds to the target audio.
  • the time stamp of the different messages may be different or the same. That is, the identifier of each message corresponds to a timestamp, but a timestamp can correspond to the identifier of multiple messages.
  • the message mark is used to mark a message on the audio track, and each message has a message mark corresponding thereto.
  • the identifier of the message and the identifier of the message are in a one-to-one correspondence. That is, a message for the target audio will correspond to the identifier of a message, a timestamp, and a message tag.
  • FIG. 2 shows a schematic diagram of an implementation environment provided by an embodiment of the present application.
  • the implementation environment includes a terminal 210 and a server 220.
  • the terminal 210 may be an electronic device such as a mobile phone, a tablet computer, an e-book reader, a multimedia playback device, a wearable device, a personal computer (PC), or the like.
  • a client running the audio playing software is installed in the terminal 210.
  • the audio playing software has functions such as audio playing, message posting, and message display.
  • the audio playing software can be music playing software, listening software, radio software, and the like.
  • the terminal 210 establishes a communication connection with the server 220 via a wired network or a wireless network.
  • the server 220 can be a server, a server cluster composed of multiple servers, or a cloud computing service center.
  • the server 220 may be a background server for providing a background server for the above client.
  • the server 220 when the server 220 is a server cluster composed of a plurality of servers, the server 220 includes an audio server 222, a message server 224, and a user server 226.
  • the audio server 222 is configured to provide audio content information to the terminal, the content information including audio content and text content.
  • the message server 224 is configured to provide audio messages and message information to the terminal, and the message information includes at least one of the following: an identifier of the message, a message time, a time stamp of the message, and a user account corresponding to the message.
  • the user server 226 is configured to provide user information to the terminal, where the user information includes at least one of the following: a Uniform Resource Locator (URL) of the user avatar, a user avatar, and a user nickname.
  • a Uniform Resource Locator URL
  • a communication connection can be established between the message server 224 and the user server 226 via the network.
  • a communication connection can also be established between the audio server 222 and the terminal 210, and between the message server 224 and the terminal 210 via the network.
  • the network can be either a wireless network or a wired network.
  • FIG. 4A is a flowchart of an information display method provided by an embodiment of the present application. This method can be applied to the implementation environment shown in FIG. 2. The method can include the following steps:
  • Step 401 The terminal acquires an identifier of the target audio.
  • Audio can be songs, ghost stories, storytelling and audio books.
  • the audio is a song as an example, but the description is not limited thereto.
  • the target audio can be any audio, such as the audio that the terminal is about to play.
  • the identifier of the audio is used to uniquely identify the audio, and the identifiers corresponding to the different audios are also different.
  • the terminal displays an audio list that acquires an identification of the target audio when a selection signal corresponding to the target audio in the audio list is acquired.
  • the selection signal refers to a signal triggered by an operation performed by the user to select an audio. For example, the user selects the target audio by clicking, and when the user clicks the target audio in the audio list, the click operation triggers the target audio. The signal is selected and the terminal acquires the selection signal.
  • the terminal selects the next audio in the audio list as the target audio within a preset time period before the end of the currently played audio playback, and acquires the identifier of the target audio.
  • the above preset time period can be set according to actual needs, such as within 10 seconds before the audio playback ends.
  • Step 402 The terminal sends an information acquisition request to the server.
  • the terminal After acquiring the identifier of the target audio, the terminal sends an information acquisition request to the server, where the information acquisition request includes the identifier of the target audio.
  • the server receives the information acquisition request sent by the terminal.
  • Step 403 The server acquires audio content and message information of the target audio according to the identifier of the target audio.
  • the server stores the correspondence between the identifier of the audio and the audio content of the audio and the message information of the audio, and the server can query the corresponding relationship to obtain the audio content and the message information of the target audio according to the identifier of the target audio.
  • the audio content refers to an audio file in which an audio sound is recorded.
  • the message information includes the identifier of the message and the timestamp.
  • the identifier of the message is used to uniquely identify the message, and the identifier corresponding to the different message is also different.
  • the timestamp of the message is used to indicate the corresponding playing time of the message in the target audio.
  • the timestamp of a message is 00: 15.63
  • the message corresponds to the playing time of the target audio is 00: 15.63.
  • the time instant indicated by the timestamp is accurate to milliseconds.
  • the message information includes respective identifiers and time stamps of the n messages, where n is a positive integer.
  • the message refers to a speech made by the user to the played audio during the audio playing process. Messages can also be called barrage, comments, listening feelings, etc.
  • the message information of the target audio further includes at least one of the following: n messages, a message time corresponding to each of the n messages, and a user account corresponding to each of the n messages.
  • the message is the message content.
  • the message time corresponding to the message refers to the time when the message was posted, for example, July 8th, 2017 at 14:28:01.
  • the user account corresponding to the message refers to the user account that posted the message.
  • the message information of the song is as shown in Table 1 below:
  • the message information is indexed by the identifier of the message, including the correspondence between the message identifier, the user account, the audio identifier, the time stamp, the message, and the message time.
  • the identifier of the first message is 001
  • the user account that posted the message is 1234567
  • the message is published when listening to the audio with the identifier 001, and the message is in the audio.
  • the corresponding playing time is 00:18.48
  • the content of the message is "This lyric is very meaningful"
  • the time for posting the message is 14:28:01 on July 8, 2017.
  • the identifier of each message corresponds to a timestamp, but a timestamp can correspond to the identifier of multiple messages, that is, a message can have multiple messages at a play time.
  • the above multiple messages may be from the same user or from different users.
  • multiple messages from the same user may have different timestamps, ie the same user may post multiple messages at different playback times.
  • the server further obtains the text content of the target audio according to the identifier of the target audio.
  • the audio content refers to an audio file in which an audio sound is recorded, and the text content is a text corresponding to the audio sound.
  • the target audio is a song
  • the audio content is the audio file of the song
  • the text content is the lyrics of the song.
  • the text content of an audio includes at least one text content, and each text content corresponds to a starting playing time, and the starting playing time refers to a starting moment of playing the text content in the audio.
  • the server After acquiring the identifier of the song sent by the terminal: audio 002, the server acquires content information corresponding to the audio 002, and the content information includes the audio content and the text content.
  • the text content is as shown in FIG. 4B, and the text content shown in FIG. 4B is the lyrics of the song, wherein each lyrics corresponds to a starting playing time, for example, the playing time corresponding to the lyrics “I love you”. It is 00:18.48.
  • step 404 the server sends an information acquisition response to the terminal.
  • the server After obtaining the audio content and the message information of the target audio, the server sends an information acquisition response to the terminal, where the information acquisition response includes the audio content and the message information of the target audio. Accordingly, the terminal receives an information acquisition response sent by the server.
  • the information acquisition response further includes text content of the target audio.
  • Step 405 The terminal displays a track corresponding to the message mark and the audio content in the play interface of the target audio.
  • the terminal After receiving the information acquisition response, the terminal generates a corresponding audio track according to the audio content, and the audio track can reflect the sound color, volume and other attributes of each audio time of the audio content.
  • the message mark, the identifier of the message and the time stamp of the message are in one-to-one correspondence, and each message mark corresponds to a message, and the display position of each message mark is determined according to the position of the time stamp of the message corresponding to the message mark in the track.
  • the message mark is used to mark a message, and the message is used to indicate the message, instead of directly displaying the message, thereby avoiding the situation that when the message is too much, the message cannot be clearly displayed in the play interface.
  • the message mark may be a picture, a graphic or a character, and is not limited in this embodiment of the present application.
  • the audio track corresponding to the audio content may only reflect the playing time of the audio content.
  • the terminal divides the playing time of the target audio into several time segments, and the time length of each time segment may be the same or different. For example, a playing time is two minutes of audio, and the terminal will play. The time is divided into 60 time periods, and the time length of each time period is 2 seconds. The terminal determines the message mark corresponding to the message in the same time period corresponding to the playing time of the time stamp as a group of message marks.
  • the audio track corresponding to the audio content is displayed, and each group of message marks is displayed according to the starting playing time of the time period to which each group of message marks belongs, wherein the start of the time period to which each group of message marks belongs
  • the playing time is in one-to-one correspondence with the playing time in the track, and each message mark in each group of message marks is sequentially arranged.
  • the terminal divides the time period according to the text content of the target audio, and uses a time period between the start time of each text content and the start time of the next text content as a time period.
  • some or all of the text content of the target audio is also displayed in the play interface of the target audio.
  • part of the text content related to the current playing time such as the preset text content before and after the current playing time, can be displayed in the playing interface of the target audio.
  • step 406 is further included.
  • Step 406 The terminal highlights the current play time in the audio track and the message mark corresponding to the current play time in the process of playing the audio content.
  • highlighting the current playing time in the audio track means displaying the current playing time in the audio track, for example, displaying the current playing time value, and displaying some of the audio tracks before the current playing time and the current playing time. Part of the track after the moment is displayed differently, and so on.
  • Highlighting the message mark corresponding to the current play time means that the message mark corresponding to the current play time is displayed differently from other message marks, for example, using different colors, graphics, styles, or adding a mark on top of the message mark.
  • the user can intuitively associate the current play time with the message mark corresponding to the current play time.
  • the terminal highlights the current play time in the audio track, the message mark corresponding to the current play time, and the text content corresponding to the current play time.
  • the highlighting of the text content corresponding to the current playing time means that the text content corresponding to the current playing time is displayed differently from other text content, for example, using different colors, fonts, or underlining under the text content.
  • the current play time in the track, the message mark corresponding to the current play time, and the text content corresponding to the current play time are highlighted in a timeline manner.
  • a timeline is a line, such as a horizontal line.
  • FIG. 4C shows a schematic diagram of an interface when a terminal plays audio in one embodiment.
  • the audio track 46 corresponding to the audio content is displayed on the left side of the play interface 41, and a part of the track before the current play time 43 in the track 46 and a part of the track after the current play time 43 are used in different colors. The difference is displayed.
  • the message mark corresponding to the message in the same time period corresponding to the play time corresponding to the time stamp is arranged as a group of message marks, and each group of message marks is displayed in the middle of the play interface 41.
  • the text content is displayed on the right side of the playback interface 41.
  • the current play time 43 is marked on the track 46 as 00:15.25, and the current play time 43 in the track 46, the message mark 44 corresponding to the current play time 43, and the text content 45 corresponding to the current play time 43 are connected through the time line 42. To achieve the purpose of highlighting. Further, the text content 45 corresponding to the current play time 43 is appropriately enlarged and displayed.
  • the message sent by the server to the terminal further includes: a user avatar corresponding to each of the n messages, or a URL of the user avatar corresponding to each of the n messages.
  • the user avatar corresponding to a certain message refers to the avatar of the user account corresponding to the message
  • the URL of the avatar corresponding to the message refers to the download address of the avatar of the user account corresponding to the message.
  • the terminal displays the user avatar as a message mark.
  • the terminal downloads the corresponding user of the n messages according to the URL.
  • the information acquisition response sent by the server to the terminal may include an audio address of the target audio, where the audio address is audio content for downloading the target audio and / or the download address of the text content.
  • the terminal downloads the audio content and/or the text content of the target audio from other servers according to the received audio address.
  • the audio track and the message mark corresponding to the audio content are displayed in the audio play interface, and each message mark corresponds to a message, and the display position of each message mark is displayed.
  • the position of the time stamp corresponding to the message mark in the track the relationship between the message and the playing time is reflected, so that the message is no longer only for the entire audio, but can be audio content for a certain playing time.
  • the message is displayed in the form of a message mark, which can save interface space and help optimize the layout of the interface.
  • the relationship between the current playing time and the message is more intuitively reflected.
  • the current play time in the audio track the message mark corresponding to the current play time, and the text content corresponding to the current play time are highlighted, thereby more intuitively reflecting the current play time, The relevance between the message and the text content.
  • the terminal requests the audio content, the text content, and the message information of the target audio from the server as an example.
  • the terminal may also store the audio content, the text content, and the message information of the target audio locally, and obtain the audio content, the text content, and the message information of the target audio locally, and perform subsequent display. limited.
  • the message update process is mainly described, including the following steps:
  • Step 501 The terminal sends a message update request to the server every preset time interval in the process of playing the audio content.
  • the message update request includes an identifier of the target audio, and the message update request is used to request to obtain updated message information.
  • the message update request further includes: a latest message time, where the latest message time refers to a message time that is closest to the current time in the message information received by the terminal.
  • the preset time interval can be preset according to actual needs.
  • the preset time interval is 10 seconds, and the two adjacent preset time intervals may be the same or different.
  • Step 502 The server acquires updated message information of the target audio.
  • the updated message information includes the identifier and time stamp of the updated message.
  • the updated message information includes an identifier and a timestamp of each of the updated m messages, where m is a positive integer.
  • the identifier of the above-mentioned updated message refers to the identifier of the message of the target audio that has not been previously sent to the terminal.
  • the server After receiving the message update request sent by the terminal, the server determines the identifier of the message corresponding to the target audio that has been sent to the terminal according to the identifier of the target audio, and obtains the identifier of the updated message according to the identifier of the sent message.
  • the server can obtain the identifier of the message of the target audio after the latest message time according to the latest message time, as the identifier of the updated message. .
  • the complexity of obtaining the identifier of the updated message by the server can be simplified, and the server does not need to store the identifier of the message of each audio that has been sent to each terminal, thereby saving a large amount of storage space.
  • the updated message information further includes at least one of the following: m message, m message time corresponding to each message, and user account corresponding to each m message.
  • the updated message information further includes: a user avatar corresponding to each of the m messages, or a URL of the user avatar corresponding to each of the m messages.
  • step 503 the server sends a message update response to the terminal.
  • the message update response includes the above updated message information.
  • the terminal receives a message update response sent by the server.
  • Step 504 The terminal adds a display message mark in the play interface.
  • the display of the displayed message mark, the identifier of the updated message, and the time stamp of the updated message are in one-to-one correspondence, and each message mark corresponds to a message.
  • the terminal After receiving the message update response, the terminal adds the message mark corresponding to the updated message to the play interface according to the time stamp of the message in the received updated message information.
  • the timeliness of the displayed message is ensured by updating the message in real time during the audio playing process.
  • the message acquisition process is mainly described, including the following steps:
  • Step 601 If the terminal acquires a trigger signal corresponding to the first message mark, send a message acquisition request to the server.
  • the terminal After the user clicks the first message mark, the terminal obtains a trigger signal corresponding to the first message mark, and then sends a message acquisition request to the server, where the message acquisition request includes: the identifier of the target audio and the first message corresponding to the first message mark. logo.
  • the first message mark may be any one of all the message marks displayed in the play interface.
  • Step 602 The server acquires the first message according to the identifier of the first message.
  • each message corresponds to the identifier of a message
  • all servers can obtain the first message according to the identifier of the first message.
  • the server is further configured to obtain, according to the identifier of the first message, a user account corresponding to the first message or a user nickname corresponding to the first message.
  • Step 603 The server sends a message acquisition response to the terminal.
  • the first message is included in the message acquisition response.
  • the message obtaining response further includes a user account corresponding to the first message or a user nickname corresponding to the first message.
  • the terminal receives a message acquisition response sent by the server.
  • Step 604 The terminal displays a message display interface on the upper layer of the play interface, and displays the first message in the message display interface.
  • the terminal is further configured to display, in the message display interface, a user account corresponding to the first message or a user nickname corresponding to the first message.
  • the message obtaining request sent by the terminal to the server includes: an identifier of the target audio and an identifier of a message corresponding to all the message tags of the time period to which the first message tag belongs.
  • the server obtains the message corresponding to all the message tags of the time zone to which the first message tag belongs according to the identifier of the message, and the obtained message is included in the message acquisition response and sent to the terminal.
  • the terminal displays, in the message display interface, the message corresponding to all the message tags of the time period of the received first message mark.
  • the terminal does not send the message acquisition request after obtaining the trigger signal corresponding to the first message mark, and directly displays the first message in the message display interface.
  • FIG. 6B a schematic diagram of the message display interface 47 in one embodiment is shown.
  • the terminal After the terminal obtains the trigger signal corresponding to the message mark 44, the terminal displays the first message corresponding to the message display interface 47. All the messages of the playing time, wherein, as shown in FIG. 6B, the headline message is the user's nickname 48 is the corresponding message 49 of the pea: the music is too good.
  • the display of the message content is achieved.
  • the message publishing process is mainly introduced, including the following steps:
  • Step 701 The terminal displays a message posting interface if a trigger signal corresponding to the message posting control is obtained during the process of playing the audio content.
  • the terminal When the user clicks the message posting control in the playing interface, the terminal acquires a trigger signal corresponding to the message posting control, and then displays a message posting interface. In the message posting interface, the user enters the second message that he wants to post.
  • the terminal displays the name of the target audio, the performer, the playing time corresponding to the message to be published, and the text content corresponding to the playing time.
  • FIG. 7B shows a schematic diagram of the message posting interface 71 in one embodiment.
  • the terminal displays the song name 72: Save Me, performer.
  • You put the light the user can input the message to be published through the keyboard 76, for example, the input second message 77 is "true good”.
  • Step 702 The terminal acquires a second message input in the message posting interface.
  • the terminal After the user inputs the second message to be published, the terminal acquires the second message.
  • the terminal detects whether the obtained second message has a Cross Site Scripting (XSS), and the XSS is a security vulnerability attack of the website application, which is generally referred to by using the webpage.
  • XSS Cross Site Scripting
  • Vulnerabilities left during development ingeniously inject malicious instruction code into web pages, allowing users to load and execute web programs that are maliciously crafted by an attacker.
  • the attacker can use the normal input means to carry malicious HyperText Markup Language (HTML) script code in the input.
  • HTML HyperText Markup Language
  • the malicious script is executed. Therefore, it is necessary to detect whether XSS exists in the message content. If there is an XSS, the special characters in the second message are escaped. For example, when there is XSS in the second message, the special characters ⁇ >&" are escaped; if not, the Do any processing.
  • Step 703 The terminal sends a message posting request to the server.
  • the message posting request includes an identifier of the target audio, a time stamp of the second message, and the second message.
  • the message posting request is used to instruct the server to store the second message.
  • the message posting request further includes at least one of the following: a message time corresponding to the second message, and a user account corresponding to the second message.
  • Step 704 The server generates an identifier of the second message according to the identifier of the target audio, the second message, and the timestamp of the second message.
  • the server can determine a message according to the identifier of the audio, the message, and the timestamp of the message. Therefore, the identifier of the second message is generated according to the identifier of the target audio, the second message, and the timestamp of the second message.
  • the server is further configured to generate an identifier of the second message according to the identifier of the target audio, the message time corresponding to the second message, the second message of the user account corresponding to the second message, and the time stamp of the second message.
  • the server detects whether the second message has an XSS. If the XSS is present, the server performs the escaping process on the special character in the second message; if not, does not perform any processing.
  • Step 705 The server stores the identifier of the target audio, the second message, the timestamp of the second message, and the identifier of the second message.
  • the server After determining the identifier corresponding to the second message, the server stores the identifier of the target audio, the second message, the time stamp of the second message, and the identifier of the second message.
  • the server is further configured to store an identifier, a timestamp, a message time, and a user account corresponding to the second message.
  • step 706 the server sends a message posting response to the terminal.
  • the message posting response includes an identifier corresponding to the second message.
  • Step 707 The terminal adds the message mark corresponding to the second message to the play interface.
  • Each message tag corresponds to a message.
  • the terminal After receiving the message posting response, the terminal adds the message mark corresponding to the second message to the playing interface according to the time stamp of the second message, and records the correspondence between the identifier of the second message and the message tag corresponding to the second message. relationship.
  • the posting of the message content is achieved.
  • the identifier of the target audio, the second message, and the time stamp of the second message in the message posting request the playing time, the second message, and the text content can be associated and displayed in the subsequent display of the second message.
  • FIG. 8A/8B/8C/8D shows a flowchart of an information display method provided by another embodiment of the present application. This method can be applied to the implementation environment shown in FIG.
  • the following describes the initial playback process, the message update process, the message acquisition process, and the message posting process in the embodiment.
  • the initial playback process includes the following steps:
  • Step 801 The terminal acquires an identifier of the target audio.
  • Step 802 The terminal sends a content information acquisition request to the audio server.
  • the content information acquisition request includes an identification of the target audio.
  • Step 803 The terminal sends a message information acquisition request to the message server.
  • the message information acquisition request includes an identifier of the target audio.
  • the step 803 can be performed after the step 802, and can be performed before the step 802, and can also be performed simultaneously with the step 802, which is not limited by the embodiment of the present application.
  • Step 804 The audio server acquires content information of the target audio according to the identifier of the target audio.
  • the content information of the target audio includes audio content and text content of the target audio.
  • Step 805 The message server obtains message information of the target audio according to the identifier of the target audio.
  • the message information includes the respective identifiers and time stamps of the n messages.
  • Step 806 The message server sends a user information acquisition request to the user server.
  • the user information acquisition request includes the user account of the above n messages.
  • Step 807 The user server acquires a user avatar URL or a user avatar corresponding to the user account of the n messages.
  • the user server obtains the URL or the user avatar of the user avatar corresponding to the user account of the n messages according to the user accounts of the n messages.
  • Step 808 The user server sends a user information acquisition response to the message server.
  • the user information acquisition response includes the URL of the user avatar corresponding to the user account of the above n messages or the user avatar.
  • Step 809 The audio server sends a content information acquisition response to the terminal.
  • the content information acquisition response includes content information of the target audio.
  • Step 810 The message server sends a message information acquisition response to the terminal.
  • the message information acquisition response includes message information of the target audio.
  • the message information also includes at least one of the following: n message messages, a message time corresponding to each of the n messages, and a user account corresponding to each of the n messages.
  • the message information further includes: a user avatar corresponding to each of the n messages, or a URL of the user avatar corresponding to each of the n messages.
  • Step 811 The terminal displays the audio track corresponding to the audio content, the n message marks, and the text content in the play interface of the target audio.
  • the content information acquisition response that the audio server acquires and sends to the terminal may include an audio address, where the audio address is a download address of the content information for downloading the target audio.
  • the terminal acquires content information of the target audio from other servers according to the received audio address.
  • the message update process includes the following steps:
  • Step 812 The terminal sends a message update request to the message server every preset time interval during the process of playing the audio content.
  • step 813 the message server obtains the updated message information of the target audio.
  • the updated message information includes the respective identifiers and time stamps of the updated m messages, and m is a positive integer.
  • step 814 the message server sends a user update request to the user server.
  • the user update request includes the user account of the above m messages.
  • Step 815 The user server obtains a user avatar URL or a user avatar corresponding to the user account of the m messages.
  • the user server obtains the user avatar URL or the user avatar corresponding to the user account of the m-message message according to the user account of the m-message message.
  • step 816 the user server sends a user update response to the message server.
  • the user update response includes the user avatar URL or the user avatar corresponding to the user account of the above m messages.
  • step 817 the message server sends a message update response to the terminal.
  • the message information acquisition response includes updated message information.
  • the message information also includes at least one of the following: m message, m message corresponding to each message time, and m message corresponding to each user account.
  • the message information further includes: a user avatar corresponding to each of the m messages, or a URL of the user avatar corresponding to each of the m messages.
  • step 818 the terminal adds and displays m message tags in the play interface.
  • the message acquisition process includes the following steps:
  • Step 819 If the terminal acquires a trigger signal corresponding to the first message mark, the message sending request is sent to the message server.
  • Step 820 The message server obtains the first message according to the identifier of the first message.
  • step 821 the message server sends a message acquisition response to the terminal.
  • Step 822 The terminal displays a message display interface on the upper layer of the play interface, and displays the first message in the message display interface.
  • the message posting process includes the following steps:
  • Step 823 The terminal displays a message posting interface if a trigger signal corresponding to the message posting control is obtained during the process of playing the audio content.
  • Step 824 The terminal acquires the second message input in the message posting interface.
  • step 825 the terminal sends a message posting request to the message server.
  • Step 826 The message server generates an identifier of the second message according to the identifier of the target audio, the second message, and the timestamp of the second message.
  • Step 827 The message server stores the identifier of the target audio, the second message, the timestamp of the second message, and the identifier of the second message.
  • step 828 the message server sends a message posting response to the terminal.
  • Step 829 The terminal adds the message mark corresponding to the second message to the play interface.
  • FIG. 9 is a block diagram of an information display apparatus provided by an embodiment of the present application.
  • the device has the function of implementing the terminal side method in the above embodiment, and the function may be implemented by hardware, or may be implemented by hardware to execute corresponding software.
  • the apparatus may include an information acquisition module 901 and an information display module 902.
  • the information obtaining module 901 is configured to obtain the audio content and the message information of the target audio, where the message information includes an identifier of the message and a timestamp, and the timestamp of the message is used to indicate that the message corresponds to the target audio. Play time.
  • the information display module 902 is configured to display a message mark and a sound track corresponding to the audio content in a play interface of the target audio, wherein the message mark, the identifier of the message, and a time stamp of the message are one by one Correspondingly, the display position of each message mark is determined according to the position of the time stamp of the message corresponding to the message mark in the audio track.
  • the audio track and the message mark corresponding to the audio content are displayed in the audio play interface, and each message mark corresponds to a message, and the display position of each message mark is displayed.
  • the position of the time stamp corresponding to the message mark in the track the relationship between the message and the playing time is reflected, so that the message is no longer only for the entire audio, but can be audio content for a certain playing time.
  • the message is displayed in the form of a message mark, which can save interface space and help optimize the layout of the interface.
  • the information display module 902 is further configured to: during the playing of the audio content, highlight a current play time in the audio track and a message mark corresponding to the current play time.
  • the information acquiring module 901 is further configured to: acquire text content of the target audio.
  • the information display module 902 is further configured to highlight, in the process of playing the audio content, a current play time in the audio track, a message mark corresponding to the current play time, and a text content corresponding to the current play time. display.
  • the information obtaining module 901 is further configured to: obtain an identifier of the target audio, send an information acquisition request to the server, where the information acquisition request includes an identifier of the target audio, and receive information acquired by the server.
  • the information acquisition response includes audio content and message information of the target audio.
  • the information obtaining module 901 is further configured to: in a process of playing the audio content, send a message update request to the server at a preset time interval, where the message update request includes an identifier of the target audio; Receiving a message update response sent by the server, where the message update response includes updated message information of the target audio, and the updated message information includes an identifier of the updated message and a timestamp.
  • the information display module 902 is further configured to: add a display message mark in the play interface, and the added display message mark, the updated message identifier, and the updated message time stamp are in one-to-one correspondence.
  • the information obtaining module 901 is further configured to: when the trigger signal corresponding to the first message mark is acquired, send a message obtaining request to the server, where the message obtaining request includes: the identifier and the location of the target audio An identifier of the first message corresponding to the first message mark; receiving a message acquisition response sent by the server, where the message acquisition response includes the first message.
  • the information display module 902 is further configured to: display a message display interface on the upper layer of the play interface, and display the first message in the message display interface.
  • the information display module 902 is further configured to display a message publishing interface when a trigger signal corresponding to the message posting control is acquired in the process of playing the audio content.
  • the information obtaining module 901 is further configured to: acquire a second message input in the message posting interface; send a message publishing request to the server, where the message publishing request includes the identifier of the target audio, the second message, and The timestamp of the second message.
  • FIG. 10 is a block diagram of an information display apparatus provided by another embodiment of the present application.
  • the device has the function of implementing the server side method in the above embodiment, and the function may be implemented by hardware, or may be implemented by hardware corresponding software.
  • the apparatus may include a request receiving module 1001, an information obtaining module 1002, and a response sending module 1003.
  • the request receiving module 1001 is configured to receive an information acquisition request sent by the terminal, where the information acquisition request includes an identifier of the target audio.
  • the information obtaining module 1002 is configured to acquire the audio content and the message information of the target audio according to the identifier of the target audio, where the message information includes an identifier of the message and a timestamp, and the timestamp of the message is used to indicate The message is in a corresponding playing time in the target audio.
  • the response sending module 1003 is configured to send an information acquisition response to the terminal, where the information acquisition response includes audio content and message information of the target audio, so that the terminal displays a message mark in a play interface of the target audio.
  • the time stamp is determined by the position in the track.
  • the audio track and the message mark corresponding to the audio content are displayed in the audio play interface, and each message mark corresponds to a message, and the display position of each message mark is displayed.
  • the position of the time stamp corresponding to the message mark in the track the relationship between the message and the playing time is reflected, so that the message is no longer only for the entire audio, but can be audio content for a certain playing time.
  • the message is displayed in the form of a message mark, which can save interface space and help optimize the layout of the interface.
  • the request receiving module 1001 is further configured to receive a message update request sent by the terminal, where the message update request includes an identifier of the target audio.
  • the information obtaining module 1002 is further configured to acquire updated message information of the target audio according to the identifier of the target audio, where the updated message information includes an identifier of the updated message and a timestamp.
  • the response sending module 1003 is further configured to send a message update response to the terminal, where the message update response includes the updated message information, so that the terminal adds a display message mark in the play interface, the adding The displayed message mark, the identifier of the updated message, and the time stamp of the updated message are in one-to-one correspondence.
  • the request receiving module 1001 is further configured to receive a message obtaining request sent by the terminal, where the message obtaining request includes: an identifier of the target audio and an identifier of a first message corresponding to the first message mark. .
  • the information obtaining module 1002 is further configured to acquire the first message according to the identifier of the first message.
  • the response sending module 1003 is further configured to send a message obtaining response to the terminal, where the message obtaining response includes the first message, so that the terminal displays a message display interface on the upper layer of the playing interface, and in the The first message is displayed in the message display interface.
  • the request receiving module 1001 is further configured to receive a message posting request sent by the terminal, where the message posting request includes an identifier of the target audio, a second message, and a timestamp of the second message.
  • the information obtaining module 1002 is further configured to generate an identifier of the second message according to the identifier of the target audio, the second message, and a timestamp of the second message.
  • the device also includes an information storage module. The information storage module is configured to store the identifier of the target audio, the second message, the timestamp of the second message, and the identifier of the second message.
  • An exemplary embodiment of the present application also provides an information display system including: a terminal and a server.
  • the terminal includes an information display device provided by the embodiment shown in FIG.
  • the server includes the information display device provided by the embodiment shown in FIG.
  • FIG. 11 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • the terminal is used to implement the foregoing embodiment to provide an information display method on the terminal side. Specifically:
  • the terminal 1100 may include an RF (Radio Frequency) circuit 1110, a memory 1120 including one or more computer readable storage media, an input unit 1130, a display unit 1140, a sensor 1150, an audio circuit 1160, and a WiFi (wireless fidelity, wireless).
  • the fidelity module 1170 includes a processor 1180 having one or more processing cores, and a power supply 1190 and the like. It will be understood by those skilled in the art that the terminal structure shown in FIG. 11 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
  • the RF circuit 1110 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, receiving downlink information of the base station and then processing it by one or more processors 1180; in addition, transmitting data related to the uplink to the base station.
  • the RF circuit 1110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
  • SIM Subscriber Identity Module
  • RF circuitry 1110 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • the memory 1120 can be used to store software programs and modules, and the processor 1180 executes various functional applications and data processing by running software programs and modules stored in the memory 1120.
  • the memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 1100 (such as audio data, phone book, etc.) and the like.
  • memory 1120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 1120 can also include a memory controller to provide access to the memory 1120 by the processor 1180 and the input unit 1130.
  • the input unit 1130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • the input unit 1130 may include an image input device 1131 and other input devices 1132.
  • the image input device 1131 may be a camera or an optical scanning device.
  • the input unit 1130 may also include other input devices 1132.
  • other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 1140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal 1100, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 1140 may include a display panel 1141.
  • the display panel 1141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • Terminal 1100 can also include at least one type of sensor 1150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1141 when the terminal 1100 moves to the ear. / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the terminal 1,100 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
  • Audio circuit 1160, speaker 1161, and microphone 1162 can provide an audio interface between the user and terminal 1100.
  • the audio circuit 1160 can transmit the converted electrical data of the received audio data to the speaker 1161, and convert it into a sound signal output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signal into an electrical signal, and the audio circuit 1160 After receiving, it is converted into audio data, and then processed by the audio data output processor 1180, sent to, for example, another terminal via the RF circuit 1110, or outputted to the memory 1120 for further processing.
  • the audio circuit 1160 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 1100.
  • WiFi is a short-range wireless transmission technology
  • the terminal 1100 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 1170, which provides wireless broadband Internet access for users.
  • FIG. 11 shows the WiFi module 1170, it can be understood that it does not belong to the essential configuration of the terminal 1100, and may be omitted as needed within the scope of not changing the essence of the application.
  • the processor 1180 is a control center of the terminal 1100 that connects various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1120, and recalling data stored in the memory 1120, The various functions and processing data of the terminal 1100 are performed to perform overall monitoring of the mobile phone.
  • the processor 1180 may include one or more processing cores; preferably, the processor 1180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1180.
  • the terminal 1100 also includes a power source 1190 (such as a battery) for powering various components.
  • the power source can be logically coupled to the processor 1180 through a power management system to implement functions such as managing charging, discharging, and power management through the power management system.
  • the power supply 1190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the terminal 1100 may further include a Bluetooth module and the like, and details are not described herein again.
  • the terminal 1100 further includes a memory, and at least one instruction, at least one program, a code set, or a set of instructions, wherein the at least one instruction, the at least one program, the code set, or the instruction set is stored in a memory, And configured to be executed by one or more processors to implement the functions of the various steps on the terminal side in the above information display method.
  • FIG. 12 is a schematic structural diagram of a server provided by an embodiment of the present application.
  • the server is configured to implement the server-side information display method provided by the foregoing embodiment. Specifically:
  • the server 1200 includes a central processing unit (CPU) 1201, a system memory 1204 including a random access memory (RAM) 1202 and a read only memory (ROM) 1203, and a system bus 1205 that connects the system memory 1204 and the central processing unit 1201.
  • the server 1200 also includes a basic input/output system (I/O system) 1206 that facilitates transfer of information between various devices within the computer, and mass storage for storing the operating system 1213, applications 1214, and other program modules 1215.
  • I/O system basic input/output system
  • the basic input/output system 1206 includes a display 1208 for displaying information and an input device 1209 such as a mouse, keyboard, etc. for user input of information.
  • the display 1208 and the input device 1209 are both connected to the central processing unit 1201 via an input-output controller 1210 that is coupled to the system bus 1205.
  • the basic input/output system 1206 can also include an input output controller 1210 for receiving and processing input from a plurality of other devices, such as a keyboard, mouse, or electronic stylus.
  • input-output controller 1210 also provides output to a display screen, printer, or other type of output device.
  • the mass storage device 1207 is connected to the central processing unit 1201 by a mass storage controller (not shown) connected to the system bus 1205.
  • the mass storage device 1207 and its associated computer readable medium provide non-volatile storage for the server 1200. That is, the mass storage device 1207 can include a computer readable medium (not shown) such as a hard disk or a CD-ROM drive.
  • the computer readable medium can include computer storage media and communication media.
  • Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data.
  • Computer storage media include RAM, ROM, EPROM, EEPROM, flash memory or other solid state storage technologies, CD-ROM, DVD or other optical storage, tape cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices.
  • RAM random access memory
  • ROM read only memory
  • EPROM Erasable programmable read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • the server 1200 can also be operated by a remote computer connected to the network through a network such as the Internet. That is, the server 1200 can be connected to the network 1212 through the network interface unit 1211 connected to the system bus 1205, or the network interface unit 1211 can be used to connect to other types of networks or remote computer systems.
  • a computer readable storage medium having stored therein at least one instruction, at least one program, a code set or a set of instructions, the at least one instruction, the at least one program
  • the code set or the instruction set when executed by the processor of the terminal, implements the functions of the respective steps on the terminal side in the information display method described above.
  • a computer readable storage medium having stored therein at least one instruction, at least one program, a code set or a set of instructions, the at least one instruction, the at least one program
  • the code set or the set of instructions when executed by a processor of the server, implements the functions of the various steps on the server side in the information display method described above.
  • the computer readable storage medium described above may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a plurality as referred to herein means two or more.
  • "and/or” describes the association relationship of the associated objects, indicating that there may be three kinds of relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately.
  • the character "/" generally indicates that the contextual object is an "or" relationship.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computational Linguistics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present application relates to the field of computers and the Internet. Disclosed are an information display method and apparatus, a device, and a computer-readable storage medium. The method comprises: obtaining audio content of target audio and message information, the message information comprising an identifier and a timestamp of a message, the timestamp being used for indicating a playback moment of the message in the target audio; displaying a message tag and a track corresponding to the audio content in a playback interface of the target audio, the message tag, the identifier of the message, and the timestamp of the message being in one-to-one correspondence, and the display position of each message tag being determined according to the position of the timestamp of the message corresponding to the message tag in the track. Embodiments of the present application indicate the correlation between a message and a playback moment, so that the message is not directed at the entire audio but at audio content at a certain payback moment.

Description

信息显示方法、装置、设备及计算机可读存储介质Information display method, device, device and computer readable storage medium
本申请要求于2017年8月23日提交中国专利局、申请号为201710731625.9、发明名称为“信息显示方法、装置及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application, the entire disclosure of which is hereby incorporated by reference. .
技术领域Technical field
本申请涉及计算机和互联网技术领域,特别涉及一种信息显示方法、装置、设备和计算机可读存储介质。The present application relates to the field of computer and Internet technologies, and in particular, to an information display method, apparatus, device, and computer readable storage medium.
技术背景technical background
音频播放软件是一种用于播放各种音频文件的软件。例如,常见的音频播放软件包括音乐播放软件、听书软件、电台软件等。一些音频播放软件除了具备播放音频文件的功能之外,还具备显示和发表留言(或称为弹幕、评论)的功能。The audio player software is a software for playing various audio files. For example, common audio playback software includes music playing software, listening software, radio software, and the like. In addition to the function of playing audio files, some audio playback software also has the function of displaying and posting messages (or called barrage, comments).
以音乐播放软件为例,在相关技术中,音乐播放软件获取某一歌曲的音频内容和留言,在播放该歌曲的音频内容时,能够在留言展示界面中集中显示该歌曲的所有留言。如图1所示,音乐播放软件的客户端在播放歌曲的过程中显示歌词展示界面11,歌词展示界面11中包括留言展示控件12,客户端在获取到对应于该留言展示控件12的触发信号之后,在歌词展示界面11上层叠加显示留言展示界面13,留言展示界面13中依次滚动显示该歌曲的所有留言14。Taking the music playing software as an example, in the related art, the music playing software acquires the audio content and the message of a certain song, and when playing the audio content of the song, all the messages of the song can be collectively displayed in the message display interface. As shown in FIG. 1 , the client of the music playing software displays the lyrics display interface 11 during the process of playing the song. The lyric display interface 11 includes a message display control 12, and the client obtains a trigger signal corresponding to the message display control 12 . Thereafter, the message display interface 13 is superimposed on the upper layer of the lyric display interface 11, and all the messages 14 of the song are scrolled in turn in the message display interface 13.
上述相关技术提供的留言显示方法,将留言以一个相对独立的方式进行显示,且只能体现留言与整首歌曲之间的关联性。例如,某一用户在收听到歌曲第1分钟的歌词时有所感慨并发表了一条留言,但其他用户仅能够在播放该歌曲的过程中在留言展示界面中查看到该留言,但无法获知该用户是针对歌曲的哪部分内容发表的留言。The message display method provided by the related art described above displays the message in a relatively independent manner, and can only reflect the relationship between the message and the entire song. For example, when a user listens to the lyrics of the first minute of the song, he feels a message and posts a message, but other users can only view the message in the message display interface during the process of playing the song, but the user cannot know the message. The user is a message about which part of the song is posted.
技术内容Technical content
为了解决相关技术提供的留言显示方法,仅能够体现留言与整首歌曲之间的关联性的问题,本申请实施例提供了一种信息显示方法、装置、设备和计算机可读存储介质备。在本申请中,目标音频的留言信息表示与针对该目标音频的留言有关的信息,包括留言的标识和时间戳,其中,留言的标识用于唯一标识一条留言,不同 的留言对应的标识也各不相同;而留言的时间戳用于指示该留言在目标音频中对应的播放时刻。其中,每一条留言的标识都对应着一个时间戳,但一个时间戳可以对应多条留言的标识。本申请所述的留言标记则用于在音轨上标记一条留言。其中,留言标记与留言的标识是一一对应的关系。In order to solve the problem that the message display method provided by the related art can only reflect the relationship between the message and the whole song, the embodiment of the present application provides an information display method, device, device and computer readable storage medium. In the present application, the message information of the target audio represents information related to the message for the target audio, including the identifier of the message and the timestamp, wherein the identifier of the message is used to uniquely identify a message, and the identifier corresponding to the different message is also Not the same; the timestamp of the message is used to indicate the corresponding playing time of the message in the target audio. The identifier of each message corresponds to a timestamp, but a timestamp can correspond to the identifier of multiple messages. The message mark described in this application is used to mark a message on the track. The identifier of the message and the identifier of the message are in a one-to-one correspondence.
本申请所述技术方案如下:The technical solutions described in the present application are as follows:
第一方面,提供了一种信息显示方法,应用于终端设备,所述方法包括:In a first aspect, an information display method is provided, which is applied to a terminal device, and the method includes:
获取目标音频的音频内容和留言信息,其中,所述留言信息包括留言的标识和时间戳,所述留言的时间戳用于指示所述留言在所述目标音频中对应的播放时刻;Obtaining audio content and message information of the target audio, where the message information includes an identifier of the message and a timestamp, and the timestamp of the message is used to indicate a corresponding playing time of the message in the target audio;
在所述目标音频的播放界面中显示留言标记和所述音频内容对应的音轨,其中,所述留言标记、所述留言的标识和所述留言的时间戳一一对应,每个留言标记的显示位置根据所述留言标记对应的所述留言的时间戳在所述音轨中的位置决定。Displaying a message mark and a track corresponding to the audio content in a play interface of the target audio, wherein the message mark, the identifier of the message, and a time stamp of the message are in one-to-one correspondence, and each message mark is The display position is determined according to the position of the time stamp of the message corresponding to the message mark in the track.
第二方面,提供了一种信息显示方法,应用于服务器设备,所述方法包括:In a second aspect, an information display method is provided, which is applied to a server device, and the method includes:
接收终端发送的信息获取请求,所述信息获取请求包括目标音频的标识;Receiving an information acquisition request sent by the terminal, where the information acquisition request includes an identifier of the target audio;
根据所述目标音频的标识,获取所述目标音频的音频内容和留言信息,其中,所述留言信息包括留言的标识和时间戳,所述留言的时间戳用于指示所述留言在所述目标音频中对应的播放时刻;Acquiring audio content and message information of the target audio according to the identifier of the target audio, where the message information includes an identifier of a message and a timestamp, and a timestamp of the message is used to indicate that the message is at the target The corresponding playback time in the audio;
向所述终端发送信息获取响应,所述信息获取响应包括所述目标音频的音频内容和留言信息,以使得所述终端在所述目标音频的播放界面中显示留言标记和所述音频内容对应的音轨,其中,所述留言标记、所述留言的标识和所述留言的时间戳一一对应,每个留言标记的显示位置根据所述留言标记对应的所述留言的时间戳在所述音轨中的位置决定。Sending an information acquisition response to the terminal, the information acquisition response including audio content and message information of the target audio, so that the terminal displays a message mark and a corresponding content of the audio content in a play interface of the target audio a track, wherein the message mark, the identifier of the message, and the time stamp of the message are in one-to-one correspondence, and the display position of each message mark is based on the time stamp of the message corresponding to the message mark. The position in the track is determined.
第三方面,提供了一种信息显示装置,所述装置包括:In a third aspect, an information display apparatus is provided, the apparatus comprising:
信息获取模块,用于获取目标音频的音频内容和留言信息,其中,所述留言信息包括留言的标识和时间戳,所述留言的时间戳用于指示所述留言在所述目标音频中对应的播放时刻;An information obtaining module, configured to acquire audio content and message information of the target audio, where the message information includes an identifier of the message and a timestamp, and the timestamp of the message is used to indicate that the message corresponds to the target audio Play time
信息显示模块,用于在所述目标音频的播放界面中显示留言标记和所述音频内容对应的音轨,其中,所述留言标记、所述留言的标识和所述留言的时间戳一一对应,每个留言标记的显示位置根据所述留言标记对应的所述留言的时间戳在所述音轨中的位置决定。An information display module, configured to display a message mark and a track corresponding to the audio content in a play interface of the target audio, wherein the message mark, the identifier of the message, and a timestamp of the message correspond one-to-one The display position of each message mark is determined according to the position of the time stamp of the message corresponding to the message mark in the track.
第四方面,提供了一种信息显示装置,所述装置包括:In a fourth aspect, an information display apparatus is provided, the apparatus comprising:
请求接收模块,用于接收终端发送的信息获取请求,所述信息获取请求包括目标音频的标识;a request receiving module, configured to receive an information acquisition request sent by the terminal, where the information acquisition request includes an identifier of the target audio;
信息获取模块,用于根据所述目标音频的标识,获取所述目标音频的音频内容和留言信息,其中,所述留言信息包括留言的标识和时间戳,所述留言的时间戳用于指示所述留言在所述目标音频中对应的播放时刻;An information obtaining module, configured to acquire audio content and message information of the target audio according to the identifier of the target audio, where the message information includes an identifier of a message and a timestamp, and a timestamp of the message is used to indicate Determining a corresponding playing time in the target audio;
响应发送模块,用于向所述终端发送信息获取响应,所述信息获取响应包括所述目标音频的音频内容和留言信息,以使得所述终端在所述目标音频的播放界面中显示留言标记和所述音频内容对应的音轨,其中,所述留言标记、所述留言的标识和所述留言的时间戳一一对应,每个留言标记的显示位置根据所述留言标记对应的所述留言的时间戳在所述音轨中的位置决定。a response sending module, configured to send an information acquisition response to the terminal, where the information acquisition response includes audio content and message information of the target audio, so that the terminal displays a message mark and a play interface in the target audio a track corresponding to the audio content, wherein the message mark, the identifier of the message, and the time stamp of the message are in one-to-one correspondence, and the display position of each message mark is according to the message corresponding to the message mark The position of the time stamp in the track is determined.
第五方面,提供了一种信息显示系统,所述系统包括:终端和服务器;In a fifth aspect, an information display system is provided, the system comprising: a terminal and a server;
所述终端包括如第三方面所述的装置;The terminal includes the apparatus of the third aspect;
所述服务器包括如第四方面所述的装置。The server includes the apparatus of the fourth aspect.
第六方面,提供了一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或所述指令集在被所述处理器执行时实现如第一方面所述的方法或者如第二方面所述的方法。In a sixth aspect, a computer device is provided, the computer device comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or a set of instructions, the at least one instruction, the at least one instruction A program, the set of codes, or the set of instructions, when executed by the processor, implements the method of the first aspect or the method of the second aspect.
在一个可能的设计中,所述计算机设备为终端,所述至少一条指令、所述至少一段程序、所述代码集或所述指令集在被所述终端的处理器执行时实现如第一方面所述的信息显示方法。In one possible design, the computer device is a terminal, and the at least one instruction, the at least one program, the code set, or the instruction set, when executed by a processor of the terminal, implements the first aspect The information display method.
在另一个可能的设计中,所述计算机设备为服务器,所述至少一条指令、所述至少一段程序、所述代码集或所述指令集在被所述服务器的处理器执行时实现如第二方面所述的信息显示方法。In another possible design, the computer device is a server, and the at least one instruction, the at least one program, the code set, or the instruction set is implemented as a second when executed by a processor of the server The information display method described in the aspect.
第七方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或所述指令集在被执行时实现如第一方面所述的信息显示方法。According to a seventh aspect, a computer readable storage medium is provided, where the storage medium stores at least one instruction, at least one program, a code set, or a set of instructions, the at least one instruction, the at least one program, and the code The set or the set of instructions, when executed, implements the information display method as described in the first aspect.
第八方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、 所述代码集或所述指令集在被执行时实现如第二方面所述的信息显示方法。According to an eighth aspect, a computer readable storage medium is provided, where the storage medium stores at least one instruction, at least one program, a code set, or a set of instructions, the at least one instruction, the at least one program, and the code The set or the set of instructions, when executed, implements the information display method as described in the second aspect.
第九方面,提供了一种计算机程序产品,当该计算机程序产品被执行时,其用于执行上述第一方面所述的信息显示方法。According to a ninth aspect, there is provided a computer program product for performing the information display method of the first aspect described above when the computer program product is executed.
第十方面,提供了一种计算机程序产品,当该计算机程序产品被执行时,其用于执行上述第二方面所述的信息显示方法。According to a tenth aspect, there is provided a computer program product for performing the information display method of the second aspect described above when the computer program product is executed.
本申请实施例通过记录各条留言的时间戳,在音频的播放界面中显示音频内容对应的音轨和留言标记,体现了留言与播放时刻之间的关联性,使得留言能够针对某一播放时刻的音频内容,而不再只是针对整个音频。其中,每个留言标记对应于一条留言,每个留言标记的显示位置根据该留言标记对应的留言的时间戳在音轨中的位置决定。此外,将留言以留言标记的形式展现,能够节约界面空间,有助于优化界面布局。In the embodiment of the present application, the time track of each message is recorded, and the audio track and the message mark corresponding to the audio content are displayed in the audio play interface, which embodies the relationship between the message and the playing time, so that the message can be directed to a certain playing time. The audio content is no longer just for the entire audio. Each message mark corresponds to a message, and the display position of each message mark is determined according to the position of the time stamp of the message corresponding to the message mark in the track. In addition, the message is displayed in the form of a message mark, which saves interface space and helps to optimize the interface layout.
附图简要说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1是相关技术提供的留言显示界面的示意图;1 is a schematic diagram of a message display interface provided by the related art;
图2是本申请一实施例提供的实施环境的示意图;2 is a schematic diagram of an implementation environment provided by an embodiment of the present application;
图3是本申请另一实施例提供的实施环境的示意图;3 is a schematic diagram of an implementation environment provided by another embodiment of the present application;
图4A是本申请一个实施例提供的信息显示方法的流程图;4A is a flowchart of an information display method provided by an embodiment of the present application;
图4B是本申请一个实施例提供的文字内容的示意图;4B is a schematic diagram of text content provided by an embodiment of the present application;
图4C是本申请另一个实施例提供的音频播放界面的示意图;4C is a schematic diagram of an audio play interface provided by another embodiment of the present application;
图5是本申请一个实施例提供的留言更新过程的流程图;FIG. 5 is a flowchart of a message update process provided by an embodiment of the present application; FIG.
图6A是本申请一个实施例提供的留言获取过程的流程图;6A is a flowchart of a message acquisition process provided by an embodiment of the present application;
图6B是本申请一个实施例提供的留言显示界面的示意图;6B is a schematic diagram of a message display interface provided by an embodiment of the present application;
图7A是本申请一个实施例提供的留言发表过程的流程图;7A is a flowchart of a message posting process provided by an embodiment of the present application;
图7B是本申请一个实施例提供的留言发表界面的示意图;7B is a schematic diagram of a message posting interface provided by an embodiment of the present application;
图8A是本申请一个实施例提供的初始播放过程的流程图;FIG. 8A is a flowchart of an initial playing process provided by an embodiment of the present application; FIG.
图8B是本申请一个实施例提供的留言更新过程的流程图;FIG. 8B is a flowchart of a message update process provided by an embodiment of the present application; FIG.
图8C是本申请一个实施例提供的留言获取过程的流程图;FIG. 8C is a flowchart of a message acquisition process provided by an embodiment of the present application; FIG.
图8D是本申请一个实施例提供的留言发表过程的流程图;FIG. 8D is a flowchart of a message posting process provided by an embodiment of the present application; FIG.
图9是本申请一个实施例提供的信息显示装置的示意图;FIG. 9 is a schematic diagram of an information display apparatus according to an embodiment of the present application; FIG.
图10是本申请另一个实施例提供的信息显示装置的示意图;FIG. 10 is a schematic diagram of an information display apparatus according to another embodiment of the present application; FIG.
图11是本申请一个实施例提供的终端的结构示意图;FIG. 11 is a schematic structural diagram of a terminal according to an embodiment of the present application;
图12是本申请一个实施例提供的服务器的结构示意图。FIG. 12 is a schematic structural diagram of a server according to an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请的实施方式作进一步地详细描述。In order to make the objects, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
为了对本申请的技术方案进行清楚及详细地说明,在描述具体的实施方式之前,首先对几个概念进行说明,在本申请的实施例中,目标音频的留言信息表示与针对该目标音频的留言有关的信息,包括留言的标识和时间戳,其中,留言的标识用于唯一标识一条留言,不同的留言对应的标识也各不相同;而留言的时间戳用于指示该留言在目标音频中对应的播放时刻,不同留言对应的时间戳可以不同也可以相同。也即,每一条留言的标识都对应着一个时间戳,但一个时间戳可以对应多条留言的标识。此外,本申请实施例中,留言标记则用于在音轨上标记一条留言,每条留言都有与之对应的留言标记。其中,留言标记与留言的标识是一一对应的关系。也即针对目标音频的一条留言会对应一个留言的标识、一个时间戳以及一个留言标记。In order to clearly and specifically explain the technical solutions of the present application, before describing a specific implementation manner, several concepts are first described. In the embodiment of the present application, the message information of the target audio represents a message with respect to the target audio. Relevant information, including the identifier of the message and the timestamp, wherein the identifier of the message is used to uniquely identify a message, and the identifier corresponding to the different message is also different; and the timestamp of the message is used to indicate that the message corresponds to the target audio. The time stamp of the different messages may be different or the same. That is, the identifier of each message corresponds to a timestamp, but a timestamp can correspond to the identifier of multiple messages. In addition, in the embodiment of the present application, the message mark is used to mark a message on the audio track, and each message has a message mark corresponding thereto. The identifier of the message and the identifier of the message are in a one-to-one correspondence. That is, a message for the target audio will correspond to the identifier of a message, a timestamp, and a message tag.
请参考图2,其示出了本申请一个实施例提供的实施环境的示意图。该实施环境包括:终端210和服务器220。Please refer to FIG. 2, which shows a schematic diagram of an implementation environment provided by an embodiment of the present application. The implementation environment includes a terminal 210 and a server 220.
终端210可以是诸如手机、平板电脑、电子书阅读器、多媒体播放设备、可穿戴设备、个人计算机(Personal Computer,PC)等电子设备。可选地,终端210中安装运行有音频播放软件的客户端。该音频播放软件具有音频播放、留言发表、留言显示等功能。该音频播放软件可以是音乐播放软件、听书软件、电台软件等。The terminal 210 may be an electronic device such as a mobile phone, a tablet computer, an e-book reader, a multimedia playback device, a wearable device, a personal computer (PC), or the like. Optionally, a client running the audio playing software is installed in the terminal 210. The audio playing software has functions such as audio playing, message posting, and message display. The audio playing software can be music playing software, listening software, radio software, and the like.
终端210通过有线网络或者无线网络与服务器220建立通信连接。The terminal 210 establishes a communication connection with the server 220 via a wired network or a wireless network.
服务器220可以是一台服务器,也可以是由多台服务器组成的服务器集群,或者是一个云计算服务中心。服务器220可以是用于为上述客户端提供后台服务器的后台服务器。The server 220 can be a server, a server cluster composed of multiple servers, or a cloud computing service center. The server 220 may be a background server for providing a background server for the above client.
在一个示例中,如图3所示,当服务器220是由多台服务器组成的服务器集群时, 服务器220包括:音频服务器222、留言服务器224和用户服务器226。In one example, as shown in FIG. 3, when the server 220 is a server cluster composed of a plurality of servers, the server 220 includes an audio server 222, a message server 224, and a user server 226.
音频服务器222用于向终端提供音频的内容信息,内容信息包括音频内容和文字内容。The audio server 222 is configured to provide audio content information to the terminal, the content information including audio content and text content.
留言服务器224用于向终端提供音频的留言和留言信息,留言信息包括以下至少一项:留言的标识、留言时间、留言的时间戳、留言对应的用户帐号。The message server 224 is configured to provide audio messages and message information to the terminal, and the message information includes at least one of the following: an identifier of the message, a message time, a time stamp of the message, and a user account corresponding to the message.
用户服务器226用于向终端提供用户信息,用户信息包括以下至少一项:用户头像的统一资源定位符(Uniform Resource Locator,URL),用户头像和用户昵称。The user server 226 is configured to provide user information to the terminal, where the user information includes at least one of the following: a Uniform Resource Locator (URL) of the user avatar, a user avatar, and a user nickname.
留言服务器224和用户服务器226之间可通过网络建立通信连接。音频服务器222和终端210之间,以及留言服务器224和终端210之间也可以通过网络建立通信连接。该网络可以是无线网络,也可以是有线网络。A communication connection can be established between the message server 224 and the user server 226 via the network. A communication connection can also be established between the audio server 222 and the terminal 210, and between the message server 224 and the terminal 210 via the network. The network can be either a wireless network or a wired network.
请参考图4A,其示出了本申请一个实施例提供的信息显示方法的流程图。该方法可应用于图2所示的实施环境中。该方法可以包括如下几个步骤:Please refer to FIG. 4A, which is a flowchart of an information display method provided by an embodiment of the present application. This method can be applied to the implementation environment shown in FIG. 2. The method can include the following steps:
步骤401,终端获取目标音频的标识。Step 401: The terminal acquires an identifier of the target audio.
音频可以是歌曲、鬼故事、评书和有声读物等。在本申请实施例中,主要以音频是歌曲为例进行介绍说明,但对此不构成限定。目标音频可以是任意一个音频,如终端即将播放的音频。音频的标识用于唯一标识音频,不同音频对应的标识也各不相同。Audio can be songs, ghost stories, storytelling and audio books. In the embodiment of the present application, the audio is a song as an example, but the description is not limited thereto. The target audio can be any audio, such as the audio that the terminal is about to play. The identifier of the audio is used to uniquely identify the audio, and the identifiers corresponding to the different audios are also different.
在一个示例中,终端显示音频列表,在获取到对应于音频列表中的目标音频的选择信号时,获取目标音频的标识。其中,选择信号是指用户所执行的选取音频的操作所触发的信号,例如,用户通过点击操作选取目标音频,则当用户点击音频列表中的目标音频时,该点击操作触发对应于目标音频的选择信号,并且终端获取该选择信号。在另一个示例中,终端在当前播放的音频播放结束前的预设时间段内,选取音频列表中的下一个音频作为目标音频,并获取该目标音频的标识。上述预设时间段可以根据实际需求设定,如音频播放结束前的10秒内。In one example, the terminal displays an audio list that acquires an identification of the target audio when a selection signal corresponding to the target audio in the audio list is acquired. The selection signal refers to a signal triggered by an operation performed by the user to select an audio. For example, the user selects the target audio by clicking, and when the user clicks the target audio in the audio list, the click operation triggers the target audio. The signal is selected and the terminal acquires the selection signal. In another example, the terminal selects the next audio in the audio list as the target audio within a preset time period before the end of the currently played audio playback, and acquires the identifier of the target audio. The above preset time period can be set according to actual needs, such as within 10 seconds before the audio playback ends.
步骤402,终端向服务器发送信息获取请求。Step 402: The terminal sends an information acquisition request to the server.
终端在获取目标音频的标识后,向服务器发送信息获取请求,该信息获取请求中包括上述目标音频的标识。相应地,服务器接收终端发送的信息获取请求。After acquiring the identifier of the target audio, the terminal sends an information acquisition request to the server, where the information acquisition request includes the identifier of the target audio. Correspondingly, the server receives the information acquisition request sent by the terminal.
步骤403,服务器根据目标音频的标识,获取目标音频的音频内容和留言信息。Step 403: The server acquires audio content and message information of the target audio according to the identifier of the target audio.
服务器中存储有音频的标识和音频的音频内容、音频的留言信息之间的对应关 系,服务器能够根据目标音频的标识,查询上述对应关系获取目标音频的音频内容和留言信息。其中,音频内容是指记录有音频声音的音频文件。留言信息包括留言的标识和时间戳。留言的标识用于唯一标识留言,不同的留言对应的标识也各不相同。留言的时间戳用于指示该留言在目标音频中对应的播放时刻,例如,一条留言的时间戳是00:15.63,则该留言对应着目标音频的播放时刻为00:15.63。可选地,时间戳指示的播放时刻精确到毫秒。可选地,留言信息包括n条留言各自的标识和时间戳,n为正整数。The server stores the correspondence between the identifier of the audio and the audio content of the audio and the message information of the audio, and the server can query the corresponding relationship to obtain the audio content and the message information of the target audio according to the identifier of the target audio. Among them, the audio content refers to an audio file in which an audio sound is recorded. The message information includes the identifier of the message and the timestamp. The identifier of the message is used to uniquely identify the message, and the identifier corresponding to the different message is also different. The timestamp of the message is used to indicate the corresponding playing time of the message in the target audio. For example, the timestamp of a message is 00: 15.63, and the message corresponds to the playing time of the target audio is 00: 15.63. Optionally, the time instant indicated by the timestamp is accurate to milliseconds. Optionally, the message information includes respective identifiers and time stamps of the n messages, where n is a positive integer.
在本申请实施例中,留言是指用户在音频播放过程中对播放的音频所发表的言论。留言也可以称为弹幕、评论、收听感受等。In the embodiment of the present application, the message refers to a speech made by the user to the played audio during the audio playing process. Messages can also be called barrage, comments, listening feelings, etc.
可选地,目标音频的留言信息还包括以下至少一项:n条留言、n条留言各自对应的留言时间和n条留言各自对应的用户帐号。留言即是指留言内容。留言对应的留言时间是指发表该留言的时间,例如2017年7月8日14:28:01。留言对应的用户帐号是指发表该留言的用户帐号。Optionally, the message information of the target audio further includes at least one of the following: n messages, a message time corresponding to each of the n messages, and a user account corresponding to each of the n messages. The message is the message content. The message time corresponding to the message refers to the time when the message was posted, for example, July 8th, 2017 at 14:28:01. The user account corresponding to the message refers to the user account that posted the message.
示例性地,以目标音频为某一歌曲为例,该歌曲的留言信息如下表1所示:Illustratively, taking the target audio as a certain song as an example, the message information of the song is as shown in Table 1 below:
Figure PCTCN2018096786-appb-000001
Figure PCTCN2018096786-appb-000001
表1Table 1
如表1所示,留言信息以留言的标识为索引,包括留言的标识、用户帐号、音频的标识、时间戳、留言、留言时间之间的对应关系。以上述表1中的第一条留言为例,该第一条留言的标识是001,发表该留言的用户帐号为1234567,该留言是在收听标识为001的音频时发表的,该留言在音频中对应的播放时刻为00:18.48,该留言的内容为“这句歌词很有深意”,发表该留言的时间为2017年7月8日14:28:01。另外,每一条留言的标识都对应着一个时间戳,但一个时间戳可以对应多条留言的标识,即目 标音频的一个播放时刻可以有多条留言。其中,上述多条留言可能来自同一用户,也可能来自不同用户。此外,来自同一用户的多条留言可能有着不同的时间戳,即同一用户可能在不同的播放时刻发表多条留言。As shown in Table 1, the message information is indexed by the identifier of the message, including the correspondence between the message identifier, the user account, the audio identifier, the time stamp, the message, and the message time. Taking the first message in the above table 1 as an example, the identifier of the first message is 001, and the user account that posted the message is 1234567, and the message is published when listening to the audio with the identifier 001, and the message is in the audio. The corresponding playing time is 00:18.48, the content of the message is "This lyric is very meaningful", and the time for posting the message is 14:28:01 on July 8, 2017. In addition, the identifier of each message corresponds to a timestamp, but a timestamp can correspond to the identifier of multiple messages, that is, a message can have multiple messages at a play time. Among them, the above multiple messages may be from the same user or from different users. In addition, multiple messages from the same user may have different timestamps, ie the same user may post multiple messages at different playback times.
可选地,服务器还根据目标音频的标识获取目标音频的文字内容。音频内容是指记录有音频声音的音频文件,而文字内容是音频声音对应的文字。例如,假设目标音频是一首歌曲,则音频内容是歌曲的音频文件,文字内容是歌曲的歌词。一个音频的文字内容包括至少一条文字内容,每一条文字内容都对应着一个起始播放时刻,该起始播放时刻是指在音频中播放该条文字内容的起始时刻。Optionally, the server further obtains the text content of the target audio according to the identifier of the target audio. The audio content refers to an audio file in which an audio sound is recorded, and the text content is a text corresponding to the audio sound. For example, if the target audio is a song, the audio content is the audio file of the song, and the text content is the lyrics of the song. The text content of an audio includes at least one text content, and each text content corresponds to a starting playing time, and the starting playing time refers to a starting moment of playing the text content in the audio.
示例性地,以目标音频为某一歌曲为例,服务器在获取终端发送的该歌曲的标识:音频002后,获取音频002对应的内容信息,内容信息包括音频内容和文字内容。其中,文字内容如图4B所示,图4B所示的文字内容是该歌曲的歌词,其中,每句歌词都对应着一个起始播放时刻,例如“我爱你”这句歌词对应的播放时刻是00:18.48。For example, taking the target audio as a certain song as an example, after acquiring the identifier of the song sent by the terminal: audio 002, the server acquires content information corresponding to the audio 002, and the content information includes the audio content and the text content. The text content is as shown in FIG. 4B, and the text content shown in FIG. 4B is the lyrics of the song, wherein each lyrics corresponds to a starting playing time, for example, the playing time corresponding to the lyrics “I love you”. It is 00:18.48.
步骤404,服务器向终端发送信息获取响应。In step 404, the server sends an information acquisition response to the terminal.
服务器在获取目标音频的音频内容和留言信息后,向终端发送信息获取响应,信息获取响应包括上述目标音频的音频内容和留言信息。相应地,终端接收服务器发送的信息获取响应。After obtaining the audio content and the message information of the target audio, the server sends an information acquisition response to the terminal, where the information acquisition response includes the audio content and the message information of the target audio. Accordingly, the terminal receives an information acquisition response sent by the server.
可选地,信息获取响应中还包括目标音频的文字内容。Optionally, the information acquisition response further includes text content of the target audio.
步骤405,终端在目标音频的播放界面中显示留言标记和音频内容对应的音轨。Step 405: The terminal displays a track corresponding to the message mark and the audio content in the play interface of the target audio.
终端在接收到信息获取响应后,根据音频内容生成对应的音轨,音轨能够反映音频内容各个播放时刻的音色、音量等属性。留言标记、留言的标识和留言的时间戳一一对应,每个留言标记对应着一条留言,每个留言标记的显示位置根据留言标记对应的留言的时间戳在音轨中的位置决定。在本申请实施例中,留言标记用于标记一条留言,通过使用留言标记来表示留言,而不是直接显示留言,避免当留言过多时造成无法在播放界面中清晰显示全部留言的情况。留言标记可以是图片、图形或字符等样式,本申请实施例对此不作限定。After receiving the information acquisition response, the terminal generates a corresponding audio track according to the audio content, and the audio track can reflect the sound color, volume and other attributes of each audio time of the audio content. The message mark, the identifier of the message and the time stamp of the message are in one-to-one correspondence, and each message mark corresponds to a message, and the display position of each message mark is determined according to the position of the time stamp of the message corresponding to the message mark in the track. In the embodiment of the present application, the message mark is used to mark a message, and the message is used to indicate the message, instead of directly displaying the message, thereby avoiding the situation that when the message is too much, the message cannot be clearly displayed in the play interface. The message mark may be a picture, a graphic or a character, and is not limited in this embodiment of the present application.
可选地,音频内容对应的音轨可以仅反映该音频内容的播放时长。Optionally, the audio track corresponding to the audio content may only reflect the playing time of the audio content.
在一种可能的实现方式中,终端将目标音频的播放时间划分为若干个时间段,每个时间段的时间长度可以相同也可以不同,例如,一个播放时间为两分钟的音频,终端将播放时间划分60个时间段,每个时间段的时间长度均为2秒。终端将时间戳对 应的播放时刻在同一时间段内的留言对应的留言标记确定为一组留言标记。在播放界面中,显示音频内容对应的音轨,再根据各组留言标记所属的时间段的起始的播放时刻,显示各组留言标记,其中,各组留言标记所属的时间段的起始的播放时刻与音轨中的播放时刻一一对应,且每组留言标记中的各个留言标记依次排列显示。可选地,终端根据目标音频的文字内容划分时间段,将每一条文字内容的起始播放时刻与其下一条文字内容的起始播放时刻之间的时间段作为一个时间段。In a possible implementation manner, the terminal divides the playing time of the target audio into several time segments, and the time length of each time segment may be the same or different. For example, a playing time is two minutes of audio, and the terminal will play. The time is divided into 60 time periods, and the time length of each time period is 2 seconds. The terminal determines the message mark corresponding to the message in the same time period corresponding to the playing time of the time stamp as a group of message marks. In the playing interface, the audio track corresponding to the audio content is displayed, and each group of message marks is displayed according to the starting playing time of the time period to which each group of message marks belongs, wherein the start of the time period to which each group of message marks belongs The playing time is in one-to-one correspondence with the playing time in the track, and each message mark in each group of message marks is sequentially arranged. Optionally, the terminal divides the time period according to the text content of the target audio, and uses a time period between the start time of each text content and the start time of the next text content as a time period.
可选地,目标音频的播放界面中还显示有目标音频的部分或全部文字内容。考虑到显示全部文字内容需要占用较多界面空间,可以在目标音频的播放界面中显示与当前播放时刻相关的部分文字内容,如当前播放时刻之前和之后的预设条数的文字内容。Optionally, some or all of the text content of the target audio is also displayed in the play interface of the target audio. Considering that all the text content needs to occupy more interface space, part of the text content related to the current playing time, such as the preset text content before and after the current playing time, can be displayed in the playing interface of the target audio.
可选地,步骤405之后还包括如下步骤406。Optionally, after step 405, the following step 406 is further included.
步骤406,终端在播放音频内容的过程中,将音轨中的当前播放时刻以及当前播放时刻对应的留言标记突出显示。Step 406: The terminal highlights the current play time in the audio track and the message mark corresponding to the current play time in the process of playing the audio content.
在本申请实施例中,将音轨中的当前播放时刻进行突出显示是指在音轨中展现出当前播放时刻,例如显示当前播放时刻的数值、将当前播放时刻之前的部分音轨与当前播放时刻之后的部分音轨区别显示,等等。将当前播放时刻对应的留言标记突出显示是指将当前播放时刻对应的留言标记与其它留言标记区别显示,例如采用不同的颜色、图形、样式、或在留言标记上方添加标注等。In the embodiment of the present application, highlighting the current playing time in the audio track means displaying the current playing time in the audio track, for example, displaying the current playing time value, and displaying some of the audio tracks before the current playing time and the current playing time. Part of the track after the moment is displayed differently, and so on. Highlighting the message mark corresponding to the current play time means that the message mark corresponding to the current play time is displayed differently from other message marks, for example, using different colors, graphics, styles, or adding a mark on top of the message mark.
通过将音轨中的当前播放时刻以及当前播放时刻对应的留言标记突出显示,使得用户能够直观地将当前播放时刻与当前播放时刻对应的留言标记对应起来。By highlighting the current play time in the track and the message mark corresponding to the current play time, the user can intuitively associate the current play time with the message mark corresponding to the current play time.
可选地,在目标音频的播放界面中还显示有目标音频的文字内容的情况下,终端将音轨中的当前播放时刻、当前播放时刻对应的留言标记以及当前播放时刻对应的文字内容突出显示。将当前播放时刻对应的文字内容突出显示是指将当前播放时刻对应的文字内容和其它文字内容区别显示,例如采用不同的颜色、字体、或在文字内容下方添加下划线等。通过将音轨中的当前播放时刻、当前播放时刻对应的留言标记以及当前播放时刻对应的文字内容突出显示,使得用户能够直观地将当前播放时刻、当前播放时刻对应的留言标记以及当前播放时刻对应的文字内容对应起来。Optionally, when the text content of the target audio is further displayed in the play interface of the target audio, the terminal highlights the current play time in the audio track, the message mark corresponding to the current play time, and the text content corresponding to the current play time. . The highlighting of the text content corresponding to the current playing time means that the text content corresponding to the current playing time is displayed differently from other text content, for example, using different colors, fonts, or underlining under the text content. By highlighting the current playing time in the audio track, the message mark corresponding to the current playing time, and the text content corresponding to the current playing time, the user can intuitively correspond to the current playing time, the current message time corresponding to the current playing time, and the current playing time. The text content corresponds.
在一个示例中,以时间线的方式将音轨中的当前播放时刻、当前播放时刻对应的留言标记以及当前播放时刻对应的文字内容突出显示。时间线是指一条线条,例 如一条横向的直线。示例性地,请参考图4C,其示出了一个实施例中终端播放音频时的界面示意图。在播放界面41中,将音频内容对应的音轨46显示在播放界面41的左边,并用不同的颜色将音轨46中当前播放时刻43之前的部分音轨与当前播放时刻43之后的部分音轨区别显示。在播放界面41中,将时间戳对应的播放时刻在同一时间段内的留言对应的留言标记排列为一组留言标记,并在播放界面41的中部显示各组留言标记。在播放界面41的右部显示文字内容。在音轨46上标记当前播放时刻43为00:15.25,通过时间线42将音轨46中的当前播放时刻43、当前播放时刻43对应的留言标记44和当前播放时刻43对应的文字内容45连接,以达到突出显示的目的。另外,将当前播放时刻43对应的文字内容45适当放大显示。In one example, the current play time in the track, the message mark corresponding to the current play time, and the text content corresponding to the current play time are highlighted in a timeline manner. A timeline is a line, such as a horizontal line. Illustratively, please refer to FIG. 4C, which shows a schematic diagram of an interface when a terminal plays audio in one embodiment. In the play interface 41, the audio track 46 corresponding to the audio content is displayed on the left side of the play interface 41, and a part of the track before the current play time 43 in the track 46 and a part of the track after the current play time 43 are used in different colors. The difference is displayed. In the play interface 41, the message mark corresponding to the message in the same time period corresponding to the play time corresponding to the time stamp is arranged as a group of message marks, and each group of message marks is displayed in the middle of the play interface 41. The text content is displayed on the right side of the playback interface 41. The current play time 43 is marked on the track 46 as 00:15.25, and the current play time 43 in the track 46, the message mark 44 corresponding to the current play time 43, and the text content 45 corresponding to the current play time 43 are connected through the time line 42. To achieve the purpose of highlighting. Further, the text content 45 corresponding to the current play time 43 is appropriately enlarged and displayed.
可选地,服务器向终端发送的留言信息中还包括:n条留言各自对应的用户头像,或者,n条留言各自对应的用户头像的URL。某一条留言对应的用户头像是指发表该留言对应的用户帐号的头像,某一条留言对应的用户头像的URL是指发表该留言对应的用户帐号的头像的下载地址。终端获取到n条留言各自对应的用户头像之后,将用户头像作为留言标记进行显示;或者,终端获取到n条留言各自对应的用户头像的URL之后,根据上述URL下载n条留言各自对应的用户头像,并将用户头像作为留言标记进行显示。通过将用户头像作为留言标记进行显示,使得用户能够更为直观地了解到发表留言的用户。Optionally, the message sent by the server to the terminal further includes: a user avatar corresponding to each of the n messages, or a URL of the user avatar corresponding to each of the n messages. The user avatar corresponding to a certain message refers to the avatar of the user account corresponding to the message, and the URL of the avatar corresponding to the message refers to the download address of the avatar of the user account corresponding to the message. After the terminal obtains the user avatar corresponding to each of the n messages, the terminal displays the user avatar as a message mark. Alternatively, after the terminal obtains the URL of the user avatar corresponding to each of the n messages, the terminal downloads the corresponding user of the n messages according to the URL. An avatar and display the user's avatar as a message tag. By displaying the user's avatar as a message mark, the user can more intuitively understand the user who posted the message.
可选地,当服务器没有存储目标音频的音频内容和/或文字内容时,服务器向终端发送的信息获取响应中可以包括目标音频的音频地址,该音频地址是用于下载目标音频的音频内容和/或文字内容的下载地址。终端根据接收到的音频地址,从其它服务器下载获取目标音频的音频内容和/或文字内容。Optionally, when the server does not store the audio content and/or the text content of the target audio, the information acquisition response sent by the server to the terminal may include an audio address of the target audio, where the audio address is audio content for downloading the target audio and / or the download address of the text content. The terminal downloads the audio content and/or the text content of the target audio from other servers according to the received audio address.
在本申请实施例中,通过记录各条留言的时间戳,从而在音频的播放界面中显示音频内容对应的音轨和留言标记,每个留言标记对应于一条留言,每个留言标记的显示位置根据该留言标记对应的时间戳在音轨中的位置决定,从而体现了留言与播放时刻之间的关联性,使得留言不再只是针对整个音频,而是能够针对某一播放时刻的音频内容。另外,将留言以留言标记的形式展现,能够节约界面空间,有助于优化界面布局。In the embodiment of the present application, by recording the time stamp of each message, the audio track and the message mark corresponding to the audio content are displayed in the audio play interface, and each message mark corresponds to a message, and the display position of each message mark is displayed. According to the position of the time stamp corresponding to the message mark in the track, the relationship between the message and the playing time is reflected, so that the message is no longer only for the entire audio, but can be audio content for a certain playing time. In addition, the message is displayed in the form of a message mark, which can save interface space and help optimize the layout of the interface.
另外,通过在播放音频内容的过程中,将音轨中的当前播放时刻以及当前播放时刻对应的留言标记突出显示,从而更为直观地体现了当前播放时刻和留言之间的 关联性。In addition, by highlighting the current playing time in the audio track and the message mark corresponding to the current playing time during the playing of the audio content, the relationship between the current playing time and the message is more intuitively reflected.
另外,通过在播放音频内容的过程中,将音轨中的当前播放时刻、当前播放时刻对应的留言标记以及当前播放时刻对应的文字内容进行突出显示,从而更为直观地体现了当前播放时刻、留言和文字内容之间的关联性。In addition, during the process of playing the audio content, the current play time in the audio track, the message mark corresponding to the current play time, and the text content corresponding to the current play time are highlighted, thereby more intuitively reflecting the current play time, The relevance between the message and the text content.
需要说明的是,在图4A实施例中,仅以终端从服务器请求获取目标音频的音频内容、文字内容和留言信息为例。在其它实施例中,终端也可预先将目标音频的音频内容、文字内容和留言信息存储在本地,在本地获取目标音频的音频内容、文字内容和留言信息,并进行后续的显示,在此不作限定。It should be noted that, in the embodiment of FIG. 4A, only the terminal requests the audio content, the text content, and the message information of the target audio from the server as an example. In other embodiments, the terminal may also store the audio content, the text content, and the message information of the target audio locally, and obtain the audio content, the text content, and the message information of the target audio locally, and perform subsequent display. limited.
在基于图4A实施例提供的一个可选实施例中,如图5所示,在本实施例中主要对留言更新过程进行介绍说明,包括如下几个步骤:In an optional embodiment provided by the embodiment of FIG. 4A, as shown in FIG. 5, in the embodiment, the message update process is mainly described, including the following steps:
步骤501,终端在播放音频内容的过程中,每隔预设时间间隔向服务器发送留言更新请求。Step 501: The terminal sends a message update request to the server every preset time interval in the process of playing the audio content.
其中,留言更新请求包括目标音频的标识,留言更新请求用于请求获取更新的留言信息。The message update request includes an identifier of the target audio, and the message update request is used to request to obtain updated message information.
可选地,留言更新请求还包括:最新留言时间,最新留言时间是指终端接收到的留言信息中距离当前时刻最近的留言时间。Optionally, the message update request further includes: a latest message time, where the latest message time refers to a message time that is closest to the current time in the message information received by the terminal.
预设时间间隔可以根据实际需求预先设定。示例性地,预设时间间隔是10秒,并且相邻的两个预设时间间隔可以相同,也可以不同。The preset time interval can be preset according to actual needs. Illustratively, the preset time interval is 10 seconds, and the two adjacent preset time intervals may be the same or different.
步骤502,服务器获取目标音频的更新的留言信息。Step 502: The server acquires updated message information of the target audio.
更新的留言信息包括更新的留言的标识和时间戳。可选地,更新的留言信息包括更新的m条留言各自的标识和时间戳,m为正整数。上述更新的留言的标识是指之前未发送给终端的、该目标音频的留言的标识。服务器在接收到终端发送的留言更新请求后,根据目标音频的标识,确定已发送给终端的该目标音频对应的留言的标识,再根据上述已发送的留言的标识,获取更新的留言的标识。The updated message information includes the identifier and time stamp of the updated message. Optionally, the updated message information includes an identifier and a timestamp of each of the updated m messages, where m is a positive integer. The identifier of the above-mentioned updated message refers to the identifier of the message of the target audio that has not been previously sent to the terminal. After receiving the message update request sent by the terminal, the server determines the identifier of the message corresponding to the target audio that has been sent to the terminal according to the identifier of the target audio, and obtains the identifier of the updated message according to the identifier of the sent message.
可选地,在留言更新请求中还包括最新留言时间的情况下,服务器能够根据上述最新留言时间,获取留言时间在最新留言时间之后的、该目标音频的留言的标识,作为更新的留言的标识。通过上述方式,能够简化服务器获取更新的留言的标识的复杂度,且服务器端无需存储已发送给各个终端的、各个音频的留言的标识,节省了大量的存储空间。Optionally, in the case that the message update request further includes the latest message time, the server can obtain the identifier of the message of the target audio after the latest message time according to the latest message time, as the identifier of the updated message. . In the above manner, the complexity of obtaining the identifier of the updated message by the server can be simplified, and the server does not need to store the identifier of the message of each audio that has been sent to each terminal, thereby saving a large amount of storage space.
可选地,上述更新的留言信息还包括以下至少一项:m条留言、m条留言各自对应的留言时间、m条留言各自对应的用户帐号。可选地,更新的留言信息中还包括:m条留言各自对应的用户头像,或者,m条留言各自对应的用户头像的URL。Optionally, the updated message information further includes at least one of the following: m message, m message time corresponding to each message, and user account corresponding to each m message. Optionally, the updated message information further includes: a user avatar corresponding to each of the m messages, or a URL of the user avatar corresponding to each of the m messages.
步骤503,服务器向终端发送留言更新响应。In step 503, the server sends a message update response to the terminal.
留言更新响应中包括上述更新的留言信息。相应地,终端接收服务器发送的留言更新响应。The message update response includes the above updated message information. Correspondingly, the terminal receives a message update response sent by the server.
步骤504,终端在播放界面中添加显示留言标记。Step 504: The terminal adds a display message mark in the play interface.
添加显示的留言标记、更新的留言的标识和更新的留言的时间戳一一对应,每个留言标记对应着一条留言。终端在接收到留言更新响应后,根据接收到的更新的留言信息中的留言的时间戳,将更新的留言对应的留言标记添加到播放界面中。The display of the displayed message mark, the identifier of the updated message, and the time stamp of the updated message are in one-to-one correspondence, and each message mark corresponds to a message. After receiving the message update response, the terminal adds the message mark corresponding to the updated message to the play interface according to the time stamp of the message in the received updated message information.
在本申请实施例中,通过在音频播放过程中实时更新留言,确保了显示的留言的时效性。In the embodiment of the present application, the timeliness of the displayed message is ensured by updating the message in real time during the audio playing process.
在基于图4A实施例提供的一个可选实施例中,如图6A所示,在本实施例中主要对留言获取过程进行介绍说明,包括如下几个步骤:In an optional embodiment provided by the embodiment of FIG. 4A, as shown in FIG. 6A, in the embodiment, the message acquisition process is mainly described, including the following steps:
步骤601,若终端获取到对应于第一留言标记的触发信号,则向服务器发送留言获取请求。Step 601: If the terminal acquires a trigger signal corresponding to the first message mark, send a message acquisition request to the server.
终端在用户点击第一留言标记后,获取到对应于第一留言标记的触发信号,而后向服务器发送留言获取请求,留言获取请求中包括:目标音频的标识和第一留言标记对应的第一留言的标识。其中,第一留言标记可以是上述播放界面中显示的所有留言标记中的任意一个。After the user clicks the first message mark, the terminal obtains a trigger signal corresponding to the first message mark, and then sends a message acquisition request to the server, where the message acquisition request includes: the identifier of the target audio and the first message corresponding to the first message mark. Logo. The first message mark may be any one of all the message marks displayed in the play interface.
步骤602,服务器根据第一留言的标识,获取第一留言。Step 602: The server acquires the first message according to the identifier of the first message.
因为每一条留言都对应着一个留言的标识,所有服务器能够根据第一留言的标识,获取第一留言。Because each message corresponds to the identifier of a message, all servers can obtain the first message according to the identifier of the first message.
可选地,服务器还能够根据第一留言的标识,获取第一留言对应的用户帐号或第一留言对应的用户昵称。Optionally, the server is further configured to obtain, according to the identifier of the first message, a user account corresponding to the first message or a user nickname corresponding to the first message.
步骤603,服务器向终端发送留言获取响应。Step 603: The server sends a message acquisition response to the terminal.
留言获取响应中包括第一留言。可选地,留言获取响应中还包括第一留言对应的用户帐号或第一留言对应的用户昵称。相应地,终端接收服务器发送的留言获取响应。The first message is included in the message acquisition response. Optionally, the message obtaining response further includes a user account corresponding to the first message or a user nickname corresponding to the first message. Correspondingly, the terminal receives a message acquisition response sent by the server.
步骤604,终端在播放界面上层显示留言显示界面,并在留言显示界面中显示第一留言。Step 604: The terminal displays a message display interface on the upper layer of the play interface, and displays the first message in the message display interface.
可选地,终端还能够在留言显示界面中显示第一留言对应的用户帐号或第一留言对应的用户昵称。Optionally, the terminal is further configured to display, in the message display interface, a user account corresponding to the first message or a user nickname corresponding to the first message.
可选地,终端向服务器发送的留言获取请求中包括:目标音频的标识和第一留言标记所属时间段的所有留言标记对应的留言的标识。服务器根据上述留言的标识,获取第一留言标记所属时间段的所有留言标记对应的留言,并将获取的留言包含在留言获取响应中发送给终端。终端在留言显示界面中显示接收的第一留言标记所属时间段的所有留言标记对应的留言。Optionally, the message obtaining request sent by the terminal to the server includes: an identifier of the target audio and an identifier of a message corresponding to all the message tags of the time period to which the first message tag belongs. The server obtains the message corresponding to all the message tags of the time zone to which the first message tag belongs according to the identifier of the message, and the obtained message is included in the message acquisition response and sent to the terminal. The terminal displays, in the message display interface, the message corresponding to all the message tags of the time period of the received first message mark.
可选地,若终端已接收到的留言信息中包含第一留言,则终端获取到对应于第一留言标记的触发信号后,不发送留言获取请求,直接在留言显示界面中显示第一留言。Optionally, if the message received by the terminal includes the first message, the terminal does not send the message acquisition request after obtaining the trigger signal corresponding to the first message mark, and directly displays the first message in the message display interface.
示例性地,参考图6B,其示出了一个实施例中的留言显示界面47的示意图,终端在获取到对应于留言标记44的触发信号后,在该留言显示界面47中显示第一留言对应的播放时刻的所有留言,其中,如图6B所示,头条留言是用户昵称48为豆豆对应的留言49为:这音乐太好听了。Illustratively, referring to FIG. 6B, a schematic diagram of the message display interface 47 in one embodiment is shown. After the terminal obtains the trigger signal corresponding to the message mark 44, the terminal displays the first message corresponding to the message display interface 47. All the messages of the playing time, wherein, as shown in FIG. 6B, the headline message is the user's nickname 48 is the corresponding message 49 of the pea: the music is too good.
在本实施例中,实现了留言内容的展示。In this embodiment, the display of the message content is achieved.
在基于图4A实施例提供的一个可选实施例中,如图7所示,在本实施例中主要对留言发表过程进行介绍说明,包括如下几个步骤:In an optional embodiment provided by the embodiment of FIG. 4A, as shown in FIG. 7, in the embodiment, the message publishing process is mainly introduced, including the following steps:
步骤701,终端在播放音频内容的过程中,若获取到对应于留言发表控件的触发信号,则显示留言发表界面。Step 701: The terminal displays a message posting interface if a trigger signal corresponding to the message posting control is obtained during the process of playing the audio content.
当用户在播放界面中点击留言发表控件时,终端会获取到对应于留言发表控件的触发信号,然后显示留言发表界面。在留言发表界面中,用户输入想要发表的第二留言。When the user clicks the message posting control in the playing interface, the terminal acquires a trigger signal corresponding to the message posting control, and then displays a message posting interface. In the message posting interface, the user enters the second message that he wants to post.
可选地,在留言发表界面中,终端显示目标音频的名称、表演者、该将要发表的留言对应的播放时刻、以及该播放时刻对应的文字内容。Optionally, in the message posting interface, the terminal displays the name of the target audio, the performer, the playing time corresponding to the message to be published, and the text content corresponding to the playing time.
示例性地,请参考图7B,其示出了一个实施例中的留言发表界面71的示意图,如图7B所示,在留言发表界面71中,终端显示了歌曲名称72:Save Me,表演者73:张三,播放时刻74:00:15.25,歌词75:你放着光芒,用户能够通过键盘76输入想要 发表的留言,例如输入的第二留言77为“真好听”。Illustratively, please refer to FIG. 7B, which shows a schematic diagram of the message posting interface 71 in one embodiment. As shown in FIG. 7B, in the message posting interface 71, the terminal displays the song name 72: Save Me, performer. 73: Zhang San, playing time 74:00: 15.25, lyrics 75: You put the light, the user can input the message to be published through the keyboard 76, for example, the input second message 77 is "true good".
步骤702,终端获取在留言发表界面中输入的第二留言。Step 702: The terminal acquires a second message input in the message posting interface.
在用户输入想要发表的第二留言后,终端获取上述第二留言。After the user inputs the second message to be published, the terminal acquires the second message.
可选地,终端获取上述第二留言之后,检测获取的第二留言是否存在跨脚本攻击(Cross Site Scripting,XSS),XSS是一种网站应用程序的安全漏洞攻击,通常指的是通过利用网页开发时留下的漏洞,通过巧妙的方法注入恶意指令代码到网页,使用户加载并执行攻击者恶意制造的网页程序。攻击者能够通过正常的输入手段,在输入内容中夹带恶意的超文本标记语言(HyperText Markup Language,HTML)脚本代码。当受害者的访问服务器上被注入恶意脚本的页面内容后,恶意脚本就会被执行。因此,需要检测留言内容中是否存在XSS。若存在XSS,则对第二留言中的特殊字符进行转义处理,示例性地,当第二留言中有XSS时,对特殊字符<>&“”进行转义处理;若不存在,则不进行任何处理。Optionally, after obtaining the foregoing second message, the terminal detects whether the obtained second message has a Cross Site Scripting (XSS), and the XSS is a security vulnerability attack of the website application, which is generally referred to by using the webpage. Vulnerabilities left during development, ingeniously inject malicious instruction code into web pages, allowing users to load and execute web programs that are maliciously crafted by an attacker. The attacker can use the normal input means to carry malicious HyperText Markup Language (HTML) script code in the input. When the content of the page of the malicious script is injected on the victim's access server, the malicious script is executed. Therefore, it is necessary to detect whether XSS exists in the message content. If there is an XSS, the special characters in the second message are escaped. For example, when there is XSS in the second message, the special characters <>&" are escaped; if not, the Do any processing.
步骤703,终端向服务器发送留言发表请求。Step 703: The terminal sends a message posting request to the server.
留言发表请求中包括目标音频的标识、第二留言和第二留言的时间戳。留言发表请求用于指示服务器对第二留言进行存储。The message posting request includes an identifier of the target audio, a time stamp of the second message, and the second message. The message posting request is used to instruct the server to store the second message.
可选地,留言发表请求中还包括以下至少一项:第二留言对应的留言时间、第二留言对应的用户帐号。Optionally, the message posting request further includes at least one of the following: a message time corresponding to the second message, and a user account corresponding to the second message.
步骤704,服务器根据目标音频的标识、第二留言和第二留言的时间戳,生成第二留言的标识。Step 704: The server generates an identifier of the second message according to the identifier of the target audio, the second message, and the timestamp of the second message.
服务器能够根据音频的标识、留言和留言的时间戳确定一条留言,因此,根据目标音频的标识、第二留言和第二留言的时间戳,生成第二留言的标识。The server can determine a message according to the identifier of the audio, the message, and the timestamp of the message. Therefore, the identifier of the second message is generated according to the identifier of the target audio, the second message, and the timestamp of the second message.
可选地,服务器还能够根据目标音频的标识、第二留言对应的留言时间、第二留言对应的用户帐号第二留言和第二留言的时间戳,生成第二留言的标识。Optionally, the server is further configured to generate an identifier of the second message according to the identifier of the target audio, the message time corresponding to the second message, the second message of the user account corresponding to the second message, and the time stamp of the second message.
可选地,服务器在获取第二留言后,检测第二留言是否存在XSS,若存在XSS,则对第二留言中的特殊字符进行转义处理;若不存在,则不进行任何处理。Optionally, after obtaining the second message, the server detects whether the second message has an XSS. If the XSS is present, the server performs the escaping process on the special character in the second message; if not, does not perform any processing.
步骤705,服务器存储目标音频的标识、第二留言、第二留言的时间戳和第二留言的标识。Step 705: The server stores the identifier of the target audio, the second message, the timestamp of the second message, and the identifier of the second message.
在确定第二留言对应的标识后,服务器对目标音频的标识、第二留言、第二留言的时间戳和第二留言的标识进行存储。After determining the identifier corresponding to the second message, the server stores the identifier of the target audio, the second message, the time stamp of the second message, and the identifier of the second message.
可选地,服务器还能够对第二留言对应的标识、时间戳、留言时间和用户帐号进行存储。Optionally, the server is further configured to store an identifier, a timestamp, a message time, and a user account corresponding to the second message.
步骤706,服务器向终端发送留言发表响应。In step 706, the server sends a message posting response to the terminal.
留言发表响应包括第二留言对应的标识。The message posting response includes an identifier corresponding to the second message.
步骤707,终端将第二留言对应的留言标记添加到播放界面中。Step 707: The terminal adds the message mark corresponding to the second message to the play interface.
每个留言标记对应着一条留言。终端在接收到留言发表响应后,根据第二留言的时间戳,将第二留言对应的留言标记添加到播放界面中,并记录第二留言的标识与第二留言对应的留言标记之间的对应关系。Each message tag corresponds to a message. After receiving the message posting response, the terminal adds the message mark corresponding to the second message to the playing interface according to the time stamp of the second message, and records the correspondence between the identifier of the second message and the message tag corresponding to the second message. relationship.
在本实施例中,实现了留言内容的发表。另外,通过在留言发表请求中携带目标音频的标识、第二留言和第二留言的时间戳,以便后续在展示第二留言时,能够将播放时刻、第二留言以及文字内容关联显示。In the present embodiment, the posting of the message content is achieved. In addition, by carrying the identifier of the target audio, the second message, and the time stamp of the second message in the message posting request, the playing time, the second message, and the text content can be associated and displayed in the subsequent display of the second message.
请参考图8A/8B/8C/8D,其示出了本申请另一个实施例提供的信息显示方法的流程图。该方法可应用于图3所示的实施环境中。Please refer to FIG. 8A/8B/8C/8D, which shows a flowchart of an information display method provided by another embodiment of the present application. This method can be applied to the implementation environment shown in FIG.
下面对实施例中的初始播放过程,留言更新过程,留言获取过程和留言发表过程分别进行介绍。The following describes the initial playback process, the message update process, the message acquisition process, and the message posting process in the embodiment.
如图8A所示,初始播放过程包括如下步骤:As shown in FIG. 8A, the initial playback process includes the following steps:
步骤801,终端获取目标音频的标识。Step 801: The terminal acquires an identifier of the target audio.
步骤802,终端向音频服务器发送内容信息获取请求。Step 802: The terminal sends a content information acquisition request to the audio server.
内容信息获取请求包括目标音频的标识。The content information acquisition request includes an identification of the target audio.
步骤803,终端向留言服务器发送留言信息获取请求。Step 803: The terminal sends a message information acquisition request to the message server.
留言信息获取请求包括目标音频的标识。The message information acquisition request includes an identifier of the target audio.
步骤803能够在步骤802之后执行,也能够在步骤802之前执行,还能够和步骤802同时执行,本申请实施例对此不作限定。The step 803 can be performed after the step 802, and can be performed before the step 802, and can also be performed simultaneously with the step 802, which is not limited by the embodiment of the present application.
步骤804,音频服务器根据目标音频的标识,获取目标音频的内容信息。Step 804: The audio server acquires content information of the target audio according to the identifier of the target audio.
目标音频的内容信息包括目标音频的音频内容和文字内容。The content information of the target audio includes audio content and text content of the target audio.
步骤805,留言服务器根据目标音频的标识,获取目标音频的留言信息。Step 805: The message server obtains message information of the target audio according to the identifier of the target audio.
留言信息包括n条留言各自的标识和时间戳。The message information includes the respective identifiers and time stamps of the n messages.
步骤806,留言服务器向用户服务器发送用户信息获取请求。Step 806: The message server sends a user information acquisition request to the user server.
用户信息获取请求包括上述n条留言的用户帐号。The user information acquisition request includes the user account of the above n messages.
步骤807,用户服务器获取n条留言的用户帐号对应的用户头像URL或用户头像。Step 807: The user server acquires a user avatar URL or a user avatar corresponding to the user account of the n messages.
用户服务器根据上述n条留言的用户帐号,获取上述n条留言的用户帐号对应的用户头像的URL或用户头像。The user server obtains the URL or the user avatar of the user avatar corresponding to the user account of the n messages according to the user accounts of the n messages.
步骤808,用户服务器向留言服务器发送用户信息获取响应。Step 808: The user server sends a user information acquisition response to the message server.
用户信息获取响应中包括上述n条留言的用户帐号对应的用户头像的URL或用户头像。The user information acquisition response includes the URL of the user avatar corresponding to the user account of the above n messages or the user avatar.
步骤809,音频服务器向终端发送内容信息获取响应。Step 809: The audio server sends a content information acquisition response to the terminal.
内容信息获取响应中包括目标音频的内容信息。The content information acquisition response includes content information of the target audio.
步骤810,留言服务器向终端发送留言信息获取响应。Step 810: The message server sends a message information acquisition response to the terminal.
留言信息获取响应中包括目标音频的留言信息。The message information acquisition response includes message information of the target audio.
留言信息还包括以下至少一项:n条留言、n条留言各自对应的留言时间和n条留言各自对应的用户帐号。The message information also includes at least one of the following: n message messages, a message time corresponding to each of the n messages, and a user account corresponding to each of the n messages.
可选地,留言信息中还包括:n条留言各自对应的用户头像,或者,n条留言各自对应的用户头像的URL。Optionally, the message information further includes: a user avatar corresponding to each of the n messages, or a URL of the user avatar corresponding to each of the n messages.
步骤811,终端在目标音频的播放界面中显示音频内容对应的音轨、n个留言标记和文字内容。Step 811: The terminal displays the audio track corresponding to the audio content, the n message marks, and the text content in the play interface of the target audio.
可选地,当音频服务器没有存储目标音频的内容信息时,音频服务器获取并向终端发送的内容信息获取响应中可以包括音频地址,该音频地址是用于下载目标音频的内容信息的下载地址。终端根据接收到的音频地址,从其他服务器获取目标音频的内容信息。Optionally, when the audio server does not store the content information of the target audio, the content information acquisition response that the audio server acquires and sends to the terminal may include an audio address, where the audio address is a download address of the content information for downloading the target audio. The terminal acquires content information of the target audio from other servers according to the received audio address.
如图8B所示,留言更新过程包括如下步骤:As shown in FIG. 8B, the message update process includes the following steps:
步骤812,终端在播放音频内容的过程中,每隔预设时间间隔向留言服务器发送留言更新请求。Step 812: The terminal sends a message update request to the message server every preset time interval during the process of playing the audio content.
步骤813,留言服务器获取目标音频的更新的留言信息。In step 813, the message server obtains the updated message information of the target audio.
更新的留言信息包括更新的m条留言各自的标识和时间戳,m为正整数。The updated message information includes the respective identifiers and time stamps of the updated m messages, and m is a positive integer.
步骤814,留言服务器向用户服务器发送用户更新请求。In step 814, the message server sends a user update request to the user server.
用户更新请求包括上述m条留言的用户帐号。The user update request includes the user account of the above m messages.
步骤815,用户服务器获取m条留言的用户帐号对应的用户头像URL或用户头像。Step 815: The user server obtains a user avatar URL or a user avatar corresponding to the user account of the m messages.
用户服务器根据上述m条留言的用户帐号,获取上述m条留言的用户帐号对应的 用户头像URL或用户头像。The user server obtains the user avatar URL or the user avatar corresponding to the user account of the m-message message according to the user account of the m-message message.
步骤816,用户服务器向留言服务器发送用户更新响应。In step 816, the user server sends a user update response to the message server.
用户更新响应中包括上述m条留言的用户帐号对应的用户头像URL或用户头像。The user update response includes the user avatar URL or the user avatar corresponding to the user account of the above m messages.
步骤817,留言服务器向终端发送留言更新响应。In step 817, the message server sends a message update response to the terminal.
留言信息获取响应中包括更新的留言信息。The message information acquisition response includes updated message information.
留言信息还包括以下至少一项:m条留言、m条留言各自对应的留言时间和m条留言各自对应的用户帐号。The message information also includes at least one of the following: m message, m message corresponding to each message time, and m message corresponding to each user account.
可选地,留言信息中还包括:m条留言各自对应的用户头像,或者,m条留言各自对应的用户头像的URL。Optionally, the message information further includes: a user avatar corresponding to each of the m messages, or a URL of the user avatar corresponding to each of the m messages.
步骤818,终端在播放界面中添加显示m个留言标记。In step 818, the terminal adds and displays m message tags in the play interface.
如图8C所示,留言获取过程包括如下步骤:As shown in FIG. 8C, the message acquisition process includes the following steps:
步骤819,若终端获取到对应于第一留言标记的触发信号,则向留言服务器发送留言获取请求。Step 819: If the terminal acquires a trigger signal corresponding to the first message mark, the message sending request is sent to the message server.
步骤820,留言服务器根据第一留言的标识,获取第一留言。Step 820: The message server obtains the first message according to the identifier of the first message.
步骤821,留言服务器向终端发送留言获取响应。In step 821, the message server sends a message acquisition response to the terminal.
步骤822,终端在播放界面上层显示留言显示界面,并在留言显示界面中显示第一留言。Step 822: The terminal displays a message display interface on the upper layer of the play interface, and displays the first message in the message display interface.
如图8D所示,留言发表过程包括如下步骤:As shown in FIG. 8D, the message posting process includes the following steps:
步骤823,终端在播放音频内容的过程中,若获取到对应于留言发表控件的触发信号,则显示留言发表界面。Step 823: The terminal displays a message posting interface if a trigger signal corresponding to the message posting control is obtained during the process of playing the audio content.
步骤824,终端获取在留言发表界面中输入的第二留言。Step 824: The terminal acquires the second message input in the message posting interface.
步骤825,终端向留言服务器发送留言发表请求。In step 825, the terminal sends a message posting request to the message server.
步骤826,留言服务器根据目标音频的标识、第二留言和第二留言的时间戳,生成第二留言的标识。Step 826: The message server generates an identifier of the second message according to the identifier of the target audio, the second message, and the timestamp of the second message.
步骤827,留言服务器存储目标音频的标识、第二留言、第二留言的时间戳和第二留言的标识。Step 827: The message server stores the identifier of the target audio, the second message, the timestamp of the second message, and the identifier of the second message.
步骤828,留言服务器向终端发送留言发表响应。In step 828, the message server sends a message posting response to the terminal.
步骤829,终端将第二留言对应的留言标记添加到播放界面中。Step 829: The terminal adds the message mark corresponding to the second message to the play interface.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置 实施例中未披露的细节,请参照本申请方法实施例。The following is an embodiment of the apparatus of the present application, which may be used to implement the method embodiments of the present application. For details not disclosed in the embodiment of the present application, please refer to the method embodiment of the present application.
请参考图9,其示出了本申请一个实施例提供的信息显示装置的框图。该装置具有实现上述实施例中终端侧方法的功能,所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置可以包括:信息获取模块901和信息显示模块902。Please refer to FIG. 9, which is a block diagram of an information display apparatus provided by an embodiment of the present application. The device has the function of implementing the terminal side method in the above embodiment, and the function may be implemented by hardware, or may be implemented by hardware to execute corresponding software. The apparatus may include an information acquisition module 901 and an information display module 902.
信息获取模块901,用于获取目标音频的音频内容和留言信息,其中,所述留言信息包括留言的标识和时间戳,所述留言的时间戳用于指示所述留言在所述目标音频中对应的播放时刻。The information obtaining module 901 is configured to obtain the audio content and the message information of the target audio, where the message information includes an identifier of the message and a timestamp, and the timestamp of the message is used to indicate that the message corresponds to the target audio. Play time.
信息显示模块902,用于在所述目标音频的播放界面中显示留言标记和所述音频内容对应的音轨,其中,所述留言标记、所述留言的标识和所述留言的时间戳一一对应,每个留言标记的显示位置根据所述留言标记对应的所述留言的时间戳在所述音轨中的位置决定。The information display module 902 is configured to display a message mark and a sound track corresponding to the audio content in a play interface of the target audio, wherein the message mark, the identifier of the message, and a time stamp of the message are one by one Correspondingly, the display position of each message mark is determined according to the position of the time stamp of the message corresponding to the message mark in the audio track.
在本申请实施例中,通过记录各条留言的时间戳,从而在音频的播放界面中显示音频内容对应的音轨和留言标记,每个留言标记对应于一条留言,每个留言标记的显示位置根据该留言标记对应的时间戳在音轨中的位置决定,从而体现了留言与播放时刻之间的关联性,使得留言不再只是针对整个音频,而是能够针对某一播放时刻的音频内容。另外,将留言以留言标记的形式展现,能够节约界面空间,有助于优化界面布局。In the embodiment of the present application, by recording the time stamp of each message, the audio track and the message mark corresponding to the audio content are displayed in the audio play interface, and each message mark corresponds to a message, and the display position of each message mark is displayed. According to the position of the time stamp corresponding to the message mark in the track, the relationship between the message and the playing time is reflected, so that the message is no longer only for the entire audio, but can be audio content for a certain playing time. In addition, the message is displayed in the form of a message mark, which can save interface space and help optimize the layout of the interface.
可选地,信息显示模块902,还用于:在播放所述音频内容的过程中,将所述音轨中的当前播放时刻以及所述当前播放时刻对应的留言标记突出显示。Optionally, the information display module 902 is further configured to: during the playing of the audio content, highlight a current play time in the audio track and a message mark corresponding to the current play time.
可选地,信息获取模块901,还用于:获取所述目标音频的文字内容。信息显示模块902,还用于:在播放所述音频内容的过程中,将所述音轨中的当前播放时刻、所述当前播放时刻对应的留言标记以及所述当前播放时刻对应的文字内容突出显示。Optionally, the information acquiring module 901 is further configured to: acquire text content of the target audio. The information display module 902 is further configured to highlight, in the process of playing the audio content, a current play time in the audio track, a message mark corresponding to the current play time, and a text content corresponding to the current play time. display.
可选地,信息获取模块901,还用于:获取所述目标音频的标识;向服务器发送信息获取请求,所述信息获取请求中包括所述目标音频的标识;接收所述服务器发送的信息获取响应,所述信息获取响应中包括所述目标音频的音频内容和留言信息。Optionally, the information obtaining module 901 is further configured to: obtain an identifier of the target audio, send an information acquisition request to the server, where the information acquisition request includes an identifier of the target audio, and receive information acquired by the server. In response, the information acquisition response includes audio content and message information of the target audio.
可选地,信息获取模块901,还用于:在播放所述音频内容的过程中,每隔预设时间间隔向服务器发送留言更新请求,所述留言更新请求中包括所述目标音频的标识;接收所述服务器发送的留言更新响应,所述留言更新响应中包括所述目标音频的更新的留言信息,所述更新的留言信息包括更新的留言的标识和时间戳。信息显 示模块902,还用于:在所述播放界面中添加显示留言标记,所述添加显示的留言标记、所述更新的留言的标识和所述更新的留言的时间戳一一对应。Optionally, the information obtaining module 901 is further configured to: in a process of playing the audio content, send a message update request to the server at a preset time interval, where the message update request includes an identifier of the target audio; Receiving a message update response sent by the server, where the message update response includes updated message information of the target audio, and the updated message information includes an identifier of the updated message and a timestamp. The information display module 902 is further configured to: add a display message mark in the play interface, and the added display message mark, the updated message identifier, and the updated message time stamp are in one-to-one correspondence.
可选地,信息获取模块901,还用于:当获取到对应于第一留言标记的触发信号时,向服务器发送留言获取请求,所述留言获取请求中包括:所述目标音频的标识和所述第一留言标记对应的第一留言的标识;接收所述服务器发送的留言获取响应,所述留言获取响应中包括所述第一留言。信息显示模块902,还用于:在所述播放界面上层显示留言显示界面,并在所述留言显示界面中显示所述第一留言。Optionally, the information obtaining module 901 is further configured to: when the trigger signal corresponding to the first message mark is acquired, send a message obtaining request to the server, where the message obtaining request includes: the identifier and the location of the target audio An identifier of the first message corresponding to the first message mark; receiving a message acquisition response sent by the server, where the message acquisition response includes the first message. The information display module 902 is further configured to: display a message display interface on the upper layer of the play interface, and display the first message in the message display interface.
可选地,信息显示模块902,还用于:在播放所述音频内容的过程中,当获取到对应于留言发表控件的触发信号时,显示留言发表界面。信息获取模块901,还用于:获取在所述留言发表界面中输入的第二留言;向服务器发送留言发表请求,所述留言发表请求中包括所述目标音频的标识、所述第二留言和所述第二留言的时间戳。Optionally, the information display module 902 is further configured to display a message publishing interface when a trigger signal corresponding to the message posting control is acquired in the process of playing the audio content. The information obtaining module 901 is further configured to: acquire a second message input in the message posting interface; send a message publishing request to the server, where the message publishing request includes the identifier of the target audio, the second message, and The timestamp of the second message.
请参考图10,其示出了本申请另一个实施例提供的信息显示装置的框图。该装置具有实现上述实施例中服务器侧方法的功能,所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置可以包括:请求接收模块1001,信息获取模块1002和响应发送模块1003。Please refer to FIG. 10, which is a block diagram of an information display apparatus provided by another embodiment of the present application. The device has the function of implementing the server side method in the above embodiment, and the function may be implemented by hardware, or may be implemented by hardware corresponding software. The apparatus may include a request receiving module 1001, an information obtaining module 1002, and a response sending module 1003.
请求接收模块1001,用于接收终端发送的信息获取请求,所述信息获取请求包括目标音频的标识。The request receiving module 1001 is configured to receive an information acquisition request sent by the terminal, where the information acquisition request includes an identifier of the target audio.
信息获取模块1002,用于根据所述目标音频的标识,获取所述目标音频的音频内容和留言信息,其中,所述留言信息包括留言的标识和时间戳,所述留言的时间戳用于指示所述留言在所述目标音频中对应的播放时刻。The information obtaining module 1002 is configured to acquire the audio content and the message information of the target audio according to the identifier of the target audio, where the message information includes an identifier of the message and a timestamp, and the timestamp of the message is used to indicate The message is in a corresponding playing time in the target audio.
响应发送模块1003,用于向所述终端发送信息获取响应,所述信息获取响应包括所述目标音频的音频内容和留言信息,以使得所述终端在所述目标音频的播放界面中显示留言标记和所述音频内容对应的音轨,其中,所述留言标记、所述留言的标识和所述留言的时间戳一一对应,每个留言标记的显示位置根据所述留言标记对应的所述留言的时间戳在所述音轨中的位置决定。The response sending module 1003 is configured to send an information acquisition response to the terminal, where the information acquisition response includes audio content and message information of the target audio, so that the terminal displays a message mark in a play interface of the target audio. a track corresponding to the audio content, wherein the message mark, the identifier of the message, and the time stamp of the message are in one-to-one correspondence, and the display position of each message mark is according to the message corresponding to the message mark The time stamp is determined by the position in the track.
在本申请实施例中,通过记录各条留言的时间戳,从而在音频的播放界面中显示音频内容对应的音轨和留言标记,每个留言标记对应于一条留言,每个留言标记的显示位置根据该留言标记对应的时间戳在音轨中的位置决定,从而体现了留言与播放时刻之间的关联性,使得留言不再只是针对整个音频,而是能够针对某一播放 时刻的音频内容。另外,将留言以留言标记的形式展现,能够节约界面空间,有助于优化界面布局。In the embodiment of the present application, by recording the time stamp of each message, the audio track and the message mark corresponding to the audio content are displayed in the audio play interface, and each message mark corresponds to a message, and the display position of each message mark is displayed. According to the position of the time stamp corresponding to the message mark in the track, the relationship between the message and the playing time is reflected, so that the message is no longer only for the entire audio, but can be audio content for a certain playing time. In addition, the message is displayed in the form of a message mark, which can save interface space and help optimize the layout of the interface.
可选地,请求接收模块1001,还用于接收所述终端发送的留言更新请求,所述留言更新请求包括所述目标音频的标识。信息获取模块1002,还用于根据所述目标音频的标识,获取所述目标音频的更新的留言信息,所述更新的留言信息包括更新的留言的标识和时间戳。响应发送模块1003,还用于向所述终端发送留言更新响应,所述留言更新响应中包括所述更新的留言信息,以使得所述终端在所述播放界面中添加显示留言标记,所述添加显示的留言标记、所述更新的留言的标识和所述更新的留言的时间戳一一对应。Optionally, the request receiving module 1001 is further configured to receive a message update request sent by the terminal, where the message update request includes an identifier of the target audio. The information obtaining module 1002 is further configured to acquire updated message information of the target audio according to the identifier of the target audio, where the updated message information includes an identifier of the updated message and a timestamp. The response sending module 1003 is further configured to send a message update response to the terminal, where the message update response includes the updated message information, so that the terminal adds a display message mark in the play interface, the adding The displayed message mark, the identifier of the updated message, and the time stamp of the updated message are in one-to-one correspondence.
可选地,请求接收模块1001,还用于接收所述终端发送的留言获取请求,所述留言获取请求中包括:所述目标音频的标识和所述第一留言标记对应的第一留言的标识。信息获取模块1002,还用于根据所述第一留言的标识,获取所述第一留言。响应发送模块1003,还用于向所述终端发送留言获取响应,所述留言获取响应中包括所述第一留言,以使得所述终端在所述播放界面上层显示留言显示界面,并在所述留言显示界面中显示所述第一留言。Optionally, the request receiving module 1001 is further configured to receive a message obtaining request sent by the terminal, where the message obtaining request includes: an identifier of the target audio and an identifier of a first message corresponding to the first message mark. . The information obtaining module 1002 is further configured to acquire the first message according to the identifier of the first message. The response sending module 1003 is further configured to send a message obtaining response to the terminal, where the message obtaining response includes the first message, so that the terminal displays a message display interface on the upper layer of the playing interface, and in the The first message is displayed in the message display interface.
可选地,请求接收模块1001,还用于接收所述终端发送的留言发表请求,所述留言发表请求中包括所述目标音频的标识、所述第二留言和所述第二留言的时间戳。信息获取模块1002,还用于根据所述目标音频的标识、所述第二留言和所述第二留言的时间戳,生成第二留言的标识。所述装置还包括:信息存储模块。信息存储模块,用于将所述目标音频的标识、所述第二留言、所述第二留言的时间戳和所述第二留言的标识对应存储。Optionally, the request receiving module 1001 is further configured to receive a message posting request sent by the terminal, where the message posting request includes an identifier of the target audio, a second message, and a timestamp of the second message. . The information obtaining module 1002 is further configured to generate an identifier of the second message according to the identifier of the target audio, the second message, and a timestamp of the second message. The device also includes an information storage module. The information storage module is configured to store the identifier of the target audio, the second message, the timestamp of the second message, and the identifier of the second message.
本申请一示例性实施例还提供了一种信息显示系统,该系统包括:终端和服务器。终端包括如图9所示实施例提供的信息显示装置。服务器包括如图10所示实施例提供的信息显示装置。An exemplary embodiment of the present application also provides an information display system including: a terminal and a server. The terminal includes an information display device provided by the embodiment shown in FIG. The server includes the information display device provided by the embodiment shown in FIG.
需要说明的是,上述实施例提供的装置在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when the device provided by the foregoing embodiment implements its function, only the division of the foregoing functional modules is illustrated. In actual applications, the function distribution may be completed by different functional modules according to requirements, that is, the device is required. The internal structure is divided into different functional modules to perform all or part of the functions described above. In addition, the apparatus and method embodiments provided in the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
请参考图11,其示出了本申请一个实施例提供的终端的结构示意图。该终端用于实施上述实施例提供终端侧的信息显示方法。具体来讲:Please refer to FIG. 11 , which is a schematic structural diagram of a terminal provided by an embodiment of the present application. The terminal is used to implement the foregoing embodiment to provide an information display method on the terminal side. Specifically:
终端1100可以包括RF(Radio Frequency,射频)电路1110、包括有一个或一个以上计算机可读存储介质的存储器1120、输入单元1130、显示单元1140、传感器1150、音频电路1160、WiFi(wireless fidelity,无线保真)模块1170、包括有一个或者一个以上处理核心的处理器1180、以及电源1190等部件。本领域技术人员可以理解,图11中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The terminal 1100 may include an RF (Radio Frequency) circuit 1110, a memory 1120 including one or more computer readable storage media, an input unit 1130, a display unit 1140, a sensor 1150, an audio circuit 1160, and a WiFi (wireless fidelity, wireless). The fidelity module 1170 includes a processor 1180 having one or more processing cores, and a power supply 1190 and the like. It will be understood by those skilled in the art that the terminal structure shown in FIG. 11 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
RF电路1110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器1180处理;另外,将涉及上行的数据发送给基站。通常,RF电路1110包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路1110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。The RF circuit 1110 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, receiving downlink information of the base station and then processing it by one or more processors 1180; in addition, transmitting data related to the uplink to the base station. . Generally, the RF circuit 1110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc. In addition, RF circuitry 1110 can also communicate with the network and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
存储器1120可用于存储软件程序以及模块,处理器1180通过运行存储在存储器1120的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器1120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端1100的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器1120还可以包括存储器控制器,以提供处理器1180和输入单元1130对存储器1120的访问。The memory 1120 can be used to store software programs and modules, and the processor 1180 executes various functional applications and data processing by running software programs and modules stored in the memory 1120. The memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 1100 (such as audio data, phone book, etc.) and the like. Moreover, memory 1120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 1120 can also include a memory controller to provide access to the memory 1120 by the processor 1180 and the input unit 1130.
输入单元1130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元 1130可包括图像输入设备1131以及其他输入设备1132。图像输入设备1131可以是摄像头,也可以是光电扫描设备。除了图像输入设备1131,输入单元1130还可以包括其他输入设备1132。具体地,其他输入设备1132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 1130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. Specifically, the input unit 1130 may include an image input device 1131 and other input devices 1132. The image input device 1131 may be a camera or an optical scanning device. In addition to the image input device 1131, the input unit 1130 may also include other input devices 1132. Specifically, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元1140可用于显示由用户输入的信息或提供给用户的信息以及终端1100的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元1140可包括显示面板1141,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板1141。The display unit 1140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal 1100, which can be composed of graphics, text, icons, video, and any combination thereof. The display unit 1140 may include a display panel 1141. Alternatively, the display panel 1141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
终端1100还可包括至少一种传感器1150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1141的亮度,接近传感器可在终端1100移动到耳边时,关闭显示面板1141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端1100还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Terminal 1100 can also include at least one type of sensor 1150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1141 when the terminal 1100 moves to the ear. / or backlight. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the terminal 1,100 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
音频电路1160、扬声器1161,传声器1162可提供用户与终端1100之间的音频接口。音频电路1160可将接收到的音频数据转换后的电信号,传输到扬声器1161,由扬声器1161转换为声音信号输出;另一方面,传声器1162将收集的声音信号转换为电信号,由音频电路1160接收后转换为音频数据,再将音频数据输出处理器1180处理后,经RF电路1110以发送给比如另一终端,或者将音频数据输出至存储器1120以便进一步处理。音频电路1160还可能包括耳塞插孔,以提供外设耳机与终端1100的通信。 Audio circuit 1160, speaker 1161, and microphone 1162 can provide an audio interface between the user and terminal 1100. The audio circuit 1160 can transmit the converted electrical data of the received audio data to the speaker 1161, and convert it into a sound signal output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signal into an electrical signal, and the audio circuit 1160 After receiving, it is converted into audio data, and then processed by the audio data output processor 1180, sent to, for example, another terminal via the RF circuit 1110, or outputted to the memory 1120 for further processing. The audio circuit 1160 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 1100.
WiFi属于短距离无线传输技术,终端1100通过WiFi模块1170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图11示出了WiFi模块1170,但是可以理解的是,其并不属于终端1100的必须构成,完全可以根据需要在不改变申请的本质的范围内而省略。WiFi is a short-range wireless transmission technology, and the terminal 1100 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 1170, which provides wireless broadband Internet access for users. Although FIG. 11 shows the WiFi module 1170, it can be understood that it does not belong to the essential configuration of the terminal 1100, and may be omitted as needed within the scope of not changing the essence of the application.
处理器1180是终端1100的控制中心,利用各种接口和线路连接整个手机的各个 部分,通过运行或执行存储在存储器1120内的软件程序和/或模块,以及调用存储在存储器1120内的数据,执行终端1100的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器1180可包括一个或多个处理核心;优选的,处理器1180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1180中。The processor 1180 is a control center of the terminal 1100 that connects various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1120, and recalling data stored in the memory 1120, The various functions and processing data of the terminal 1100 are performed to perform overall monitoring of the mobile phone. Optionally, the processor 1180 may include one or more processing cores; preferably, the processor 1180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1180.
终端1100还包括给各个部件供电的电源1190(比如电池),优选的,电源可以通过电源管理系统与处理器1180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源1190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The terminal 1100 also includes a power source 1190 (such as a battery) for powering various components. Preferably, the power source can be logically coupled to the processor 1180 through a power management system to implement functions such as managing charging, discharging, and power management through the power management system. The power supply 1190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
尽管未示出,终端1100还可以包括蓝牙模块等,在此不再赘述。Although not shown, the terminal 1100 may further include a Bluetooth module and the like, and details are not described herein again.
具体在本实施例中,终端1100还包括有存储器,以及至少一条指令、至少一段程序、代码集或指令集,其中所述至少一条指令、至少一段程序、代码集或指令集存储于存储器中,且经配置以由一个或者一个以上处理器执行,以实现上述信息显示方法中终端侧各个步骤的功能。Specifically, in this embodiment, the terminal 1100 further includes a memory, and at least one instruction, at least one program, a code set, or a set of instructions, wherein the at least one instruction, the at least one program, the code set, or the instruction set is stored in a memory, And configured to be executed by one or more processors to implement the functions of the various steps on the terminal side in the above information display method.
请参考图12,其示出了本申请一个实施例提供的服务器的结构示意图。该服务器用于实施上述实施例提供的服务器侧的信息显示方法。具体来讲:Please refer to FIG. 12, which is a schematic structural diagram of a server provided by an embodiment of the present application. The server is configured to implement the server-side information display method provided by the foregoing embodiment. Specifically:
所述服务器1200包括中央处理单元(CPU)1201、包括随机存取存储器(RAM)1202和只读存储器(ROM)1203的系统存储器1204,以及连接系统存储器1204和中央处理单元1201的系统总线1205。所述服务器1200还包括帮助计算机内的各个器件之间传输信息的基本输入/输出系统(I/O系统)1206,和用于存储操作系统1213、应用程序1214和其他程序模块1215的大容量存储设备1207。The server 1200 includes a central processing unit (CPU) 1201, a system memory 1204 including a random access memory (RAM) 1202 and a read only memory (ROM) 1203, and a system bus 1205 that connects the system memory 1204 and the central processing unit 1201. The server 1200 also includes a basic input/output system (I/O system) 1206 that facilitates transfer of information between various devices within the computer, and mass storage for storing the operating system 1213, applications 1214, and other program modules 1215. Device 1207.
所述基本输入/输出系统1206包括有用于显示信息的显示器1208和用于用户输入信息的诸如鼠标、键盘之类的输入设备1209。其中所述显示器1208和输入设备1209都通过连接到系统总线1205的输入输出控制器1210连接到中央处理单元1201。所述基本输入/输出系统1206还可以包括输入输出控制器1210以用于接收和处理来自键盘、鼠标、或电子触控笔等多个其他设备的输入。类似地,输入输出控制器1210还提供输出到显示屏、打印机或其他类型的输出设备。The basic input/output system 1206 includes a display 1208 for displaying information and an input device 1209 such as a mouse, keyboard, etc. for user input of information. The display 1208 and the input device 1209 are both connected to the central processing unit 1201 via an input-output controller 1210 that is coupled to the system bus 1205. The basic input/output system 1206 can also include an input output controller 1210 for receiving and processing input from a plurality of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 1210 also provides output to a display screen, printer, or other type of output device.
所述大容量存储设备1207通过连接到系统总线1205的大容量存储控制器(未示出)连接到中央处理单元1201。所述大容量存储设备1207及其相关联的计算机可读介质为服务器1200提供非易失性存储。也就是说,所述大容量存储设备1207可以包括诸如硬盘或者CD-ROM驱动器之类的计算机可读介质(未示出)。The mass storage device 1207 is connected to the central processing unit 1201 by a mass storage controller (not shown) connected to the system bus 1205. The mass storage device 1207 and its associated computer readable medium provide non-volatile storage for the server 1200. That is, the mass storage device 1207 can include a computer readable medium (not shown) such as a hard disk or a CD-ROM drive.
不失一般性,所述计算机可读介质可以包括计算机存储介质和通信介质。计算机存储介质包括以用于存储诸如计算机可读指令、数据结构、程序模块或其他数据等信息的任何方法或技术实现的易失性和非易失性、可移动和不可移动介质。计算机存储介质包括RAM、ROM、EPROM、EEPROM、闪存或其他固态存储其技术,CD-ROM、DVD或其他光学存储、磁带盒、磁带、磁盘存储或其他磁性存储设备。当然,本领域技术人员可知所述计算机存储介质不局限于上述几种。上述的系统存储器1204和大容量存储设备1207可以统称为存储器。Without loss of generality, the computer readable medium can include computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, EPROM, EEPROM, flash memory or other solid state storage technologies, CD-ROM, DVD or other optical storage, tape cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage medium is not limited to the above. The system memory 1204 and the mass storage device 1207 described above may be collectively referred to as a memory.
根据本申请的各种实施例,所述服务器1200还可以通过诸如因特网等网络连接到网络上的远程计算机运行。也即服务器1200可以通过连接在所述系统总线1205上的网络接口单元1211连接到网络1212,或者说,也可以使用网络接口单元1211来连接到其他类型的网络或远程计算机系统。According to various embodiments of the present application, the server 1200 can also be operated by a remote computer connected to the network through a network such as the Internet. That is, the server 1200 can be connected to the network 1212 through the network interface unit 1211 connected to the system bus 1205, or the network interface unit 1211 can be used to connect to other types of networks or remote computer systems.
所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、至少一段程序、代码集或指令集经配置以由一个或者一个以上处理器执行,以实现上述信息显示方法中服务器侧各个步骤的功能。Storing at least one instruction, at least one program, code set, or set of instructions, the at least one instruction, the at least one program, the code set, or the set of instructions being configured to be executed by one or more processors to implement the The function of each step of the server side in the information display method.
在示例性实施例中,还提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或所述指令集在被终端的处理器执行时实现如上述信息显示方法中终端侧各个步骤的功能。In an exemplary embodiment, there is also provided a computer readable storage medium having stored therein at least one instruction, at least one program, a code set or a set of instructions, the at least one instruction, the at least one program The code set or the instruction set, when executed by the processor of the terminal, implements the functions of the respective steps on the terminal side in the information display method described above.
在示例性实施例中,还提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或所述指令集在被服务器的处理器执行时实现如上述信息显示方法中服务器侧各个步骤的功能。In an exemplary embodiment, there is also provided a computer readable storage medium having stored therein at least one instruction, at least one program, a code set or a set of instructions, the at least one instruction, the at least one program The code set or the set of instructions, when executed by a processor of the server, implements the functions of the various steps on the server side in the information display method described above.
可选地,上述计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。Alternatively, the computer readable storage medium described above may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
应当理解的是,在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关 联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。It should be understood that "a plurality" as referred to herein means two or more. "and/or" describes the association relationship of the associated objects, indicating that there may be three kinds of relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately. The character "/" generally indicates that the contextual object is an "or" relationship.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only exemplary embodiments of the present application, and is not intended to limit the present application. Any modifications, equivalents, improvements, etc. made within the spirit and principles of the present application are included in the protection of the present application. Within the scope.

Claims (15)

  1. 一种信息显示方法,其特征在于,应用于终端设备,所述方法包括:An information display method is characterized in that it is applied to a terminal device, and the method includes:
    获取目标音频的音频内容和留言信息,其中,所述留言信息包括留言的标识和时间戳,所述留言的时间戳用于指示所述留言在所述目标音频中对应的播放时刻;Obtaining audio content and message information of the target audio, where the message information includes an identifier of the message and a timestamp, and the timestamp of the message is used to indicate a corresponding playing time of the message in the target audio;
    在所述目标音频的播放界面中显示留言标记和所述音频内容对应的音轨,其中,所述留言标记、所述留言的标识和所述留言的时间戳一一对应,每个留言标记的显示位置根据所述留言标记对应的所述留言的时间戳在所述音轨中的位置决定。Displaying a message mark and a track corresponding to the audio content in a play interface of the target audio, wherein the message mark, the identifier of the message, and a time stamp of the message are in one-to-one correspondence, and each message mark is The display position is determined according to the position of the time stamp of the message corresponding to the message mark in the track.
  2. 根据权利要求1所述的方法,其特征在于,所述在所述目标音频的播放界面中显示留言标记和所述音频内容对应的音轨之后,还包括:The method according to claim 1, wherein after the displaying the message mark and the audio track corresponding to the audio content in the play interface of the target audio, the method further comprises:
    在播放所述音频内容的过程中,将所述音轨中的当前播放时刻以及所述当前播放时刻对应的留言标记突出显示。In the process of playing the audio content, a current play time in the audio track and a message mark corresponding to the current play time are highlighted.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, wherein the method further comprises:
    获取所述目标音频的文字内容;Obtaining text content of the target audio;
    所述在播放所述音频内容的过程中,将所述音轨中的当前播放时刻以及所述当前播放时刻对应的留言标记突出显示,包括:In the process of playing the audio content, the current play time in the audio track and the message mark corresponding to the current play time are highlighted, including:
    在播放所述音频内容的过程中,将所述音轨中的当前播放时刻、所述当前播放时刻对应的留言标记以及所述当前播放时刻对应的文字内容突出显示。During the playing of the audio content, the current playing time in the audio track, the message mark corresponding to the current playing time, and the text content corresponding to the current playing time are highlighted.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述获取目标音频的音频内容和留言信息,包括:The method according to any one of claims 1 to 3, wherein the obtaining the audio content and the message information of the target audio comprises:
    获取所述目标音频的标识;Obtaining an identifier of the target audio;
    向服务器发送信息获取请求,所述信息获取请求中包括所述目标音频的标识;Sending an information acquisition request to the server, where the information acquisition request includes an identifier of the target audio;
    接收所述服务器发送的信息获取响应,所述信息获取响应中包括所述目标音频的音频内容和留言信息。Receiving an information acquisition response sent by the server, where the information acquisition response includes audio content and message information of the target audio.
  5. 根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, further comprising:
    在播放所述音频内容的过程中,每隔预设时间间隔向服务器发送留言更新请求,所述留言更新请求中包括所述目标音频的标识;In the process of playing the audio content, sending a message update request to the server every preset time interval, where the message update request includes an identifier of the target audio;
    接收所述服务器发送的留言更新响应,所述留言更新响应中包括所述目标音频的更新的留言信息,所述更新的留言信息包括更新的留言的标识和时间戳;Receiving a message update response sent by the server, where the message update response includes updated message information of the target audio, and the updated message information includes an identifier of an updated message and a timestamp;
    在所述播放界面中添加显示留言标记,所述添加显示的留言标记、所述更新的 留言的标识和所述更新的留言的时间戳一一对应。A display message mark is added to the play interface, and the added display message mark, the updated message identifier, and the updated message time stamp are in one-to-one correspondence.
  6. 根据权利要求1至3中任一项所述的方法,其特征在于,所述在所述目标音频的播放界面中显示留言标记和所述音频内容对应的音轨之后,还包括:The method according to any one of claims 1 to 3, further comprising: after displaying the message mark and the audio track corresponding to the audio content in the play interface of the target audio, further comprising:
    当获取到对应于第一留言标记的触发信号时,向服务器发送留言获取请求,所述留言获取请求中包括:所述目标音频的标识和所述第一留言标记对应的第一留言的标识;When the trigger signal corresponding to the first message mark is obtained, the message acquisition request is sent to the server, where the message acquisition request includes: an identifier of the target audio and an identifier of the first message corresponding to the first message mark;
    接收所述服务器发送的留言获取响应,所述留言获取响应中包括所述第一留言;Receiving a message acquisition response sent by the server, where the message acquisition response includes the first message;
    在所述播放界面上层显示留言显示界面,并在所述留言显示界面中显示所述第一留言。Displaying a message display interface on the upper layer of the play interface, and displaying the first message in the message display interface.
  7. 根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, further comprising:
    在播放所述音频内容的过程中,若获取到对应于留言发表控件的触发信号,则显示留言发表界面;In the process of playing the audio content, if a trigger signal corresponding to the message posting control is obtained, a message posting interface is displayed;
    获取在所述留言发表界面中输入的第二留言;Obtaining a second message input in the message posting interface;
    向服务器发送留言发表请求,所述留言发表请求中包括所述目标音频的标识、所述第二留言和所述第二留言的时间戳。Sending a message posting request to the server, where the message posting request includes an identifier of the target audio, a second message, and a time stamp of the second message.
  8. 一种信息显示方法,其特征在于,应用于服务器设备,所述方法包括:An information display method is characterized in that it is applied to a server device, and the method includes:
    接收终端发送的信息获取请求,所述信息获取请求包括目标音频的标识;Receiving an information acquisition request sent by the terminal, where the information acquisition request includes an identifier of the target audio;
    根据所述目标音频的标识,获取所述目标音频的音频内容和留言信息,其中,所述留言信息包括留言的标识和时间戳,所述留言的时间戳用于指示所述留言在所述目标音频中对应的播放时刻;Acquiring audio content and message information of the target audio according to the identifier of the target audio, where the message information includes an identifier of a message and a timestamp, and a timestamp of the message is used to indicate that the message is at the target The corresponding playback time in the audio;
    向所述终端发送信息获取响应,所述信息获取响应包括所述目标音频的音频内容和留言信息,以使得所述终端在所述目标音频的播放界面中显示留言标记和所述音频内容对应的音轨,其中,所述留言标记、所述留言的标识和所述留言的时间戳一一对应,每个留言标记的显示位置根据所述留言标记对应的所述留言的时间戳在所述音轨中的位置决定。Sending an information acquisition response to the terminal, the information acquisition response including audio content and message information of the target audio, so that the terminal displays a message mark and a corresponding content of the audio content in a play interface of the target audio a track, wherein the message mark, the identifier of the message, and the time stamp of the message are in one-to-one correspondence, and the display position of each message mark is based on the time stamp of the message corresponding to the message mark. The position in the track is determined.
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method of claim 8 further comprising:
    接收所述终端发送的留言更新请求,所述留言更新请求包括所述目标音频的标识;Receiving a message update request sent by the terminal, where the message update request includes an identifier of the target audio;
    根据所述目标音频的标识,获取所述目标音频的更新的留言信息,所述更新的 留言信息包括更新的留言的标识和时间戳;Obtaining updated message information of the target audio according to the identifier of the target audio, where the updated message information includes an identifier of an updated message and a timestamp;
    向所述终端发送留言更新响应,所述留言更新响应中包括所述更新的留言信息,以使得所述终端在所述播放界面中添加显示留言标记,所述添加显示的留言标记、所述更新的留言的标识和所述更新的留言的时间戳一一对应。Sending a message update response to the terminal, where the message update response includes the updated message information, so that the terminal adds a display message mark in the play interface, the added message mark, the update The identifier of the message is in one-to-one correspondence with the time stamp of the updated message.
  10. 根据权利要求8所述的方法,其特征在于,所述向所述终端发送信息获取响应之后,还包括:The method according to claim 8, wherein after the sending the information acquisition response to the terminal, the method further comprises:
    接收所述终端发送的留言获取请求,所述留言获取请求中包括:所述目标音频的标识和所述第一留言标记对应的第一留言的标识;Receiving a message acquisition request sent by the terminal, where the message acquisition request includes: an identifier of the target audio and an identifier of a first message corresponding to the first message mark;
    根据所述第一留言的标识,获取所述第一留言;Acquiring the first message according to the identifier of the first message;
    向所述终端发送留言获取响应,所述留言获取响应中包括所述第一留言,以使得所述终端在所述播放界面上层显示留言显示界面,并在所述留言显示界面中显示所述第一留言。Sending a message acquisition response to the terminal, where the message acquisition response includes the first message, so that the terminal displays a message display interface on the upper layer of the play interface, and displays the message in the message display interface. A message.
  11. 根据权利要求8所述的方法,其特征在于,所述向所述终端发送信息获取响应之后,还包括:The method according to claim 8, wherein after the sending the information acquisition response to the terminal, the method further comprises:
    接收所述终端发送的留言发表请求,所述留言发表请求中包括所述目标音频的标识、所述第二留言和所述第二留言的时间戳;Receiving a message posting request sent by the terminal, where the message posting request includes an identifier of the target audio, a second message, and a time stamp of the second message;
    根据所述目标音频的标识、所述第二留言和所述第二留言的时间戳,生成第二留言的标识;Generating an identifier of the second message according to the identifier of the target audio, the second message, and the timestamp of the second message;
    将所述目标音频的标识、所述第二留言、所述第二留言的时间戳和所述第二留言的标识对应存储。And correspondingly storing the identifier of the target audio, the second message, the timestamp of the second message, and the identifier of the second message.
  12. 一种信息显示装置,其特征在于,所述装置包括:An information display device, characterized in that the device comprises:
    信息获取模块,用于获取目标音频的音频内容和留言信息,其中,所述留言信息包括留言的标识和时间戳,所述留言的时间戳用于指示所述留言在所述目标音频中对应的播放时刻;An information obtaining module, configured to acquire audio content and message information of the target audio, where the message information includes an identifier of the message and a timestamp, and the timestamp of the message is used to indicate that the message corresponds to the target audio Play time
    信息显示模块,用于在所述目标音频的播放界面中显示留言标记和所述音频内容对应的音轨,其中,所述留言标记、所述留言的标识和所述留言的时间戳一一对应,每个留言标记的显示位置根据所述留言标记对应的所述留言的时间戳在所述音轨中的位置决定。An information display module, configured to display a message mark and a track corresponding to the audio content in a play interface of the target audio, wherein the message mark, the identifier of the message, and a timestamp of the message correspond one-to-one The display position of each message mark is determined according to the position of the time stamp of the message corresponding to the message mark in the track.
  13. 一种信息显示装置,其特征在于,所述装置包括:An information display device, characterized in that the device comprises:
    请求接收模块,用于接收终端发送的信息获取请求,所述信息获取请求包括目标音频的标识;a request receiving module, configured to receive an information acquisition request sent by the terminal, where the information acquisition request includes an identifier of the target audio;
    信息获取模块,用于根据所述目标音频的标识,获取所述目标音频的音频内容和留言信息,其中,所述留言信息包括留言的标识和时间戳,所述留言的时间戳用于指示所述留言在所述目标音频中对应的播放时刻;An information obtaining module, configured to acquire audio content and message information of the target audio according to the identifier of the target audio, where the message information includes an identifier of a message and a timestamp, and a timestamp of the message is used to indicate Determining a corresponding playing time in the target audio;
    响应发送模块,用于向所述终端发送信息获取响应,所述信息获取响应包括所述目标音频的音频内容和留言信息,以使得所述终端在所述目标音频的播放界面中显示留言标识和所述音频内容对应的音轨,其中,所述留言标记、所述留言的标识和所述留言的时间戳一一对应,每个留言标记的显示位置根据所述留言标记对应的所述留言的时间戳在所述音轨中的位置决定。a response sending module, configured to send an information acquisition response to the terminal, where the information acquisition response includes audio content and message information of the target audio, so that the terminal displays a message identifier in a play interface of the target audio a track corresponding to the audio content, wherein the message mark, the identifier of the message, and the time stamp of the message are in one-to-one correspondence, and the display position of each message mark is according to the message corresponding to the message mark The position of the time stamp in the track is determined.
  14. 一种计算机设备,其特征在于,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或所述指令集在被所述处理器执行时实现如权利要求1至7任一项所述的信息显示方法或者如权利要求8至11任一项所述的信息显示方法。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 a set of instructions, the at least one instruction, the at least one program The information display method according to any one of claims 1 to 7 or the information display method according to any one of claims 8 to 11 when the code set or the instruction set is executed by the processor .
  15. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或所述指令集在被执行时实现如权利要求1至7任一项所述的信息显示方法或者如权利要求8至11任一项所述的信息显示方法。A computer readable storage medium, wherein the storage medium stores at least one instruction, at least one program, a code set or a set of instructions, the at least one instruction, the at least one program, the code set or The instruction set, when executed, implements the information display method according to any one of claims 1 to 7 or the information display method according to any one of claims 8 to 11.
PCT/CN2018/096786 2017-08-23 2018-07-24 Information display method and apparatus, device, and computer-readable storage medium WO2019037566A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710731625.9A CN109428908B (en) 2017-08-23 2017-08-23 Information display method, device and equipment
CN201710731625.9 2017-08-23

Publications (1)

Publication Number Publication Date
WO2019037566A1 true WO2019037566A1 (en) 2019-02-28

Family

ID=65439696

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/096786 WO2019037566A1 (en) 2017-08-23 2018-07-24 Information display method and apparatus, device, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN109428908B (en)
WO (1) WO2019037566A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118477A (en) * 2020-09-21 2020-12-22 北京达佳互联信息技术有限公司 Virtual gift display method, device, equipment and storage medium
CN113810494A (en) * 2021-09-16 2021-12-17 腾讯科技(深圳)有限公司 Audio playing control method, device, terminal and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110752983B (en) * 2019-10-12 2022-05-20 杭州网易云音乐科技有限公司 Interaction method, device, interface, medium and computing equipment
CN113377326B (en) * 2021-06-08 2023-02-03 广州博冠信息科技有限公司 Audio data processing method and device, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105228013A (en) * 2015-09-28 2016-01-06 百度在线网络技术(北京)有限公司 Barrage information processing method, device and barrage video player
CN105357587A (en) * 2015-10-28 2016-02-24 广州华多网络科技有限公司 Method and system for realizing music barrage
CN105828100A (en) * 2016-03-21 2016-08-03 乐视网信息技术(北京)股份有限公司 Audio and video files simultaneous playing method, device and system
CN106936830A (en) * 2017-03-13 2017-07-07 广州视源电子科技股份有限公司 A kind of playing method and device of multi-medium data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914464B (en) * 2012-12-31 2017-05-24 上海证大喜马拉雅网络科技有限公司 Streaming media based interactive display method and system of accompanied comments

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105228013A (en) * 2015-09-28 2016-01-06 百度在线网络技术(北京)有限公司 Barrage information processing method, device and barrage video player
CN105357587A (en) * 2015-10-28 2016-02-24 广州华多网络科技有限公司 Method and system for realizing music barrage
CN105828100A (en) * 2016-03-21 2016-08-03 乐视网信息技术(北京)股份有限公司 Audio and video files simultaneous playing method, device and system
CN106936830A (en) * 2017-03-13 2017-07-07 广州视源电子科技股份有限公司 A kind of playing method and device of multi-medium data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118477A (en) * 2020-09-21 2020-12-22 北京达佳互联信息技术有限公司 Virtual gift display method, device, equipment and storage medium
CN112118477B (en) * 2020-09-21 2023-05-09 北京达佳互联信息技术有限公司 Virtual gift display method, device, equipment and storage medium
CN113810494A (en) * 2021-09-16 2021-12-17 腾讯科技(深圳)有限公司 Audio playing control method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN109428908A (en) 2019-03-05
CN109428908B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
US20210004419A1 (en) Web page annotation displaying method and apparatus, and mobile terminal
KR102084977B1 (en) Multimedia poster generation method and terminal
WO2018196588A1 (en) Information sharing method, apparatus and system
JP6511541B2 (en) Message updating method, apparatus and terminal
CN106878406B (en) Information sharing method, device and system
WO2019037566A1 (en) Information display method and apparatus, device, and computer-readable storage medium
WO2017088357A1 (en) Lyrics page generating method and apparatus
CN106713323B (en) page content preview method, client, server and system
JP6910300B2 (en) A method for displaying chat history records and a device for displaying chat history records
CN107908765B (en) Game resource processing method, mobile terminal and server
CN109857297B (en) Information processing method and terminal equipment
WO2015003636A1 (en) Method and device for interception of page elements
WO2017028692A1 (en) Method, device and storage medium for calling video player
CN106156097B (en) Method and device for processing browser input records
JP2017509051A (en) Method and system for collecting statistics on streaming media data and associated apparatus
US9582584B2 (en) Method, apparatus and system for filtering data of web page
WO2015081911A2 (en) Instant communications system and method
CN111367444A (en) Application function execution method and device, electronic equipment and storage medium
CN108108338B (en) Lyric processing method, lyric display method, server and mobile terminal
US20240089223A1 (en) Information display method and apparatus, and electronic device
CN109145182B (en) Data acquisition method and device, computer equipment and system
CN109728918B (en) Virtual article transmission method, virtual article reception method, device, and storage medium
US20220232287A1 (en) Method and device for acquiring virtual resource and storage medium
CN106331887B (en) Calling method of webpage player, playing method and device of multimedia file
CN107798008B (en) Content pushing system, method and device

Legal Events

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

Ref document number: 18847861

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18847861

Country of ref document: EP

Kind code of ref document: A1