WO2020224294A1 - Method, system, and apparatus for processing information - Google Patents

Method, system, and apparatus for processing information Download PDF

Info

Publication number
WO2020224294A1
WO2020224294A1 PCT/CN2020/071147 CN2020071147W WO2020224294A1 WO 2020224294 A1 WO2020224294 A1 WO 2020224294A1 CN 2020071147 W CN2020071147 W CN 2020071147W WO 2020224294 A1 WO2020224294 A1 WO 2020224294A1
Authority
WO
WIPO (PCT)
Prior art keywords
sentence
time
playback
currently displayed
target
Prior art date
Application number
PCT/CN2020/071147
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 WO2020224294A1 publication Critical patent/WO2020224294A1/en

Links

Images

Classifications

    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • 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/488Data services, e.g. news ticker
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8106Monomedia components thereof involving special audio data, e.g. different tracks for different languages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/84Generation or processing of descriptive data, e.g. content descriptors
    • H04N21/8405Generation or processing of descriptive data, e.g. content descriptors represented by keywords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream

Definitions

  • the embodiments of the present disclosure relate to the field of computer technology, in particular to systems, methods, and devices for processing information.
  • audio applications may be applications with audio-related functions.
  • audio applications can not only play songs, but also record songs sung by users.
  • audio applications can display the lyrics of songs to users when playing songs or recording songs sung by users.
  • the embodiments of the present disclosure propose systems, methods, and devices for processing information.
  • the embodiments of the present disclosure provide a system for processing information.
  • the system includes a time source module, a data source module, and a view module;
  • the data source module is configured to store target lyrics;
  • the time source module is It is configured to determine the playback position of the target lyrics based on the received playback information related to the target lyrics, and send prompt information for indicating the playback position to the view module;
  • the view module is configured to obtain from the data source module based on the prompt information And display the sentences in the target lyrics, or adjust the display effect of the sentences in the target lyrics currently displayed.
  • the sentence in the target lyrics corresponds to the time range
  • the playback information includes the playback time
  • the time source module is further configured to: if the view module currently displays the sentence in the target lyrics, based on the playback time and the current view module The time range corresponding to the displayed sentence determines whether the playback time corresponds to the currently displayed sentence; if the playback time does not correspond to the currently displayed sentence, the playback position is determined based on the next sentence of the currently displayed sentence, where the playback position includes the next The position of the sentence in the target lyrics.
  • the time range corresponding to the sentence in the target lyrics includes the start time and the duration; and the time source module is further configured to: determine the time range of the currently displayed sentence based on the time range corresponding to the currently displayed sentence End time; determine whether the playback time meets the following conditions: not earlier than the start time of the currently displayed sentence and not later than the end time of the currently displayed sentence; if the playback time meets the conditions, determine whether the playback time corresponds to the currently displayed sentence.
  • the time source module is further configured to: if the playing time does not satisfy the condition, it is determined that the playing time does not correspond to the currently displayed sentence.
  • the view module is further configured to: if the playback position indicated by the prompt information is used to indicate the next sentence, based on the prompt information, obtain the next sentence from the data source module and display the next sentence.
  • the words in the sentence in the target lyrics correspond to the time range; and the time source module is further configured to: if the playing time corresponds to the currently displayed sentence, based on the playing time and the word in the currently displayed sentence Determine the target word corresponding to the playback time according to the corresponding time range; determine the playback progress of the target word based on the playback time and the time range corresponding to the target word; determine the playback position based on the target word and the playback progress, where the playback position includes the target word Position and playback progress in the currently displayed sentence.
  • the playback position includes not only the position of the target word in the currently displayed sentence and the playback progress, but also the length of the target word.
  • the time range corresponding to the words in the sentence in the target lyrics includes the start time and the duration; and the time source module is further configured to find out that the start time is not too late in the currently displayed sentence Words at the playing time; for each word found, determine the end time of the word based on the time range corresponding to the word; determine the word with the ending time not earlier than the playing time in the searched word as the playing time The corresponding target word.
  • the display effect includes a color gradual effect; and the view module is further configured to: if the playback position indicated by the prompt information is used to indicate the target word and playback progress, adjust the color of the currently displayed sentence based on the prompt information Progressive effect.
  • the view module is further configured to adjust the color gradual effect of the currently displayed sentence by using the mask channel.
  • an embodiment of the present disclosure provides a method for processing information, the method includes: determining the playback position of the target lyrics based on the received playback information related to the target lyrics; and sending instructions to the view module The prompt information of the playback position, so that the view module obtains and displays the sentence in the target lyrics from the data source module based on the prompt information, or adjusts the display effect of the sentence in the target lyrics currently displayed, where the data source module is used to store Target lyrics.
  • the sentence in the target lyrics corresponds to the time range
  • the playback information includes the playback time
  • determining the playback position of the target lyrics includes: if the view module currently displays the target For sentences in the lyrics, based on the playback time and the time range corresponding to the sentence currently displayed by the view module, determine whether the playback time corresponds to the currently displayed sentence; if the playback time does not correspond to the currently displayed sentence, it will be based on the next sentence of the currently displayed sentence.
  • a sentence determines the playback position, where the playback position includes the position of the next sentence in the target lyrics.
  • the view module is used to indicate the next sentence in response to the playback position indicated by the prompt information, and based on the prompt information, obtains the next sentence from the data source module, and displays the next sentence.
  • the words in the sentence in the target lyrics correspond to the time range; and determining the playback position of the target lyrics based on the received playback information related to the target lyrics, further includes: if the playback time corresponds to the currently displayed sentence, Based on the playback time and the time range corresponding to the words in the currently displayed sentence, determine the target word corresponding to the playback time; determine the playback progress of the target word based on the playback time and the time range corresponding to the target word; based on the target word and The playback progress determines the playback position, where the playback position includes the position of the target word in the currently displayed sentence and the playback progress.
  • the display effect includes a color progressive effect
  • the view module is used to indicate the target word and the playback progress in response to the playback position indicated by the prompt information, and adjusts the color progressive effect of the currently displayed sentence based on the prompt information.
  • the view module uses the mask channel to adjust the color gradual effect of the currently displayed sentence.
  • an embodiment of the present disclosure provides an apparatus for processing information, the apparatus including: a determining unit configured to determine the playback position of the target lyrics based on the received playback information related to the target lyrics; and send; The unit is configured to send prompt information for indicating the playback position to the view module, so that the view module obtains and displays sentences in the target lyrics from the data source module based on the prompt information, or adjusts the sentences in the target lyrics currently displayed
  • the display effect of the data source module is used to store the target lyrics.
  • the sentence in the target lyrics corresponds to the time range
  • the playback information includes the playback time
  • the determining unit is further configured to: if the view module currently displays the sentence in the target lyrics, based on the playback time and the current display of the view module Determine whether the playback time corresponds to the currently displayed sentence; if the playback time does not correspond to the currently displayed sentence, determine the playback position based on the next sentence of the currently displayed sentence, where the playback position includes the next sentence The position in the target lyrics.
  • the view module is used to indicate the next sentence in response to the playback position indicated by the prompt information, and based on the prompt information, obtains the next sentence from the data source module, and displays the next sentence.
  • the words in the sentences in the target lyrics correspond to the time range; and the determining unit is further configured to: if the playing time corresponds to the currently displayed sentence, based on the playing time and the words in the currently displayed sentence corresponding Determine the target word corresponding to the playback time; determine the playback progress of the target word based on the playback time and the time range corresponding to the target word; determine the playback position based on the target word and playback progress, where the playback position includes the target word in The position and playback progress in the currently displayed sentence.
  • the display effect includes a color progressive effect
  • the view module is used to indicate the target word and the playback progress in response to the playback position indicated by the prompt information, and adjusts the color progressive effect of the currently displayed sentence based on the prompt information.
  • the view module uses the mask channel to adjust the color gradual effect of the currently displayed sentence.
  • an embodiment of the present disclosure provides an electronic device that includes: one or more processors; a storage device on which one or more programs are stored; when the one or more programs are used by the One or more processors execute, so that the one or more processors implement the method described in any implementation manner of the second aspect.
  • the embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the method as described in any implementation manner in the second aspect is implemented.
  • the system, method, and device for processing information provided by the above-mentioned embodiments of the present disclosure store the target lyrics through the data source module, and determine the playback position of the target lyrics based on the received playback information related to the target lyrics through the time source module , And send prompt information for indicating the playback position to the view module, so that the view module can obtain and display the sentence in the target lyrics from the data source module based on the prompt information, or adjust the display effect of the sentence in the target lyrics currently displayed .
  • the solution described in the above embodiment of the present disclosure can realize the control of the playback progress of the words in the target lyrics through the interaction between the time source module, the data source module and the view module, and can realize the progressive effect of the target lyrics. For example, color progressive effects.
  • FIG. 1 is an exemplary system architecture diagram in which some embodiments of the present disclosure can be applied;
  • FIG. 2 is a sequence diagram of an embodiment of the system for processing information according to the present disclosure
  • Fig. 3 is a schematic diagram of an application scenario of the system for processing information according to the present disclosure
  • Fig. 4 is a flowchart of an embodiment of a method for processing information according to the present disclosure
  • Fig. 5 is a schematic structural diagram of an embodiment of an apparatus for processing information according to the present disclosure
  • Fig. 6 is a schematic structural diagram of a computer system suitable for implementing some embodiments of the electronic device of the present disclosure.
  • FIG. 1 shows an exemplary system architecture 100 to which an embodiment of the method for processing information or the apparatus for processing information of the present disclosure can be applied.
  • the system architecture 100 may include a terminal device 101.
  • client applications may be installed on the terminal device 101, such as social platform software, audio applications (for example, singing software), and so on.
  • the terminal device 101 may include a time source module 1011, a view module 1012, and a data source module 1013.
  • the time source module 1011, the view module 1012, and the data source module 1013 can run on the operating system of the terminal device 101.
  • the terminal device 101 may be hardware or software. When the terminal device 101 is hardware, it may be various electronic devices, including but not limited to smart phones, tablet computers, and so on. When the terminal device 101 is software, it can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, multiple software or software modules used to provide distributed services), or as a single software or software module. There is no specific limitation here.
  • the time source module 1011, the view module 1012, and the data source module 1013 may be multiple software or software modules that can be installed in the terminal device 101, or may be implemented as a single software or software module. There is no specific limitation here.
  • the time source module 1011, the view module 1012, and the data source module 1013 may be client applications installed on the terminal device 101.
  • the time source module 1011, the view module 1012, and the data source module 1013 may be tools, frameworks, libraries, etc. that can be installed in the operating system of the terminal device 101 or in client applications installed on the terminal device 101.
  • the data source module 1013 can be used to store target lyrics.
  • the time source module 1011 may perform corresponding information processing based on the received playback information related to the target lyrics, and send the processing result (for example, prompt information for indicating the playback position of the target lyrics) to the view module 1012.
  • the view module 1012 can perform corresponding information processing based on the processing result.
  • the method for processing information provided by some embodiments of the present disclosure is generally executed by the time source module 1011, and accordingly, the device for processing information is generally set in the time source module 1011.
  • terminal devices time source modules, data source modules, and view modules in FIG. 1 are merely illustrative. According to implementation needs, there can be any number of terminal devices, time source modules, data source modules, and view modules.
  • FIG. 2 shows a sequence diagram of an embodiment of the system for processing information according to the present disclosure.
  • the system for processing information in this embodiment may include a time source module (for example, the time source module 1011 shown in FIG. 1), a data source module (for example, the data source module 1013 shown in FIG. 1), and a view module (for example, FIG. The view module 1012 shown in 1);
  • the data source module is configured to store the target lyrics;
  • the time source module is configured to determine the playback position of the target lyrics based on the received playback information related to the target lyrics, and send it to the view module Send prompt information for indicating the playback position;
  • the view module is configured to obtain and display sentences in the target lyrics from the data source module based on the prompt information, or adjust the display effect of the sentences in the target lyrics currently displayed.
  • step 201 the time source module determines the playback position of the target lyrics based on the received playback information related to the target lyrics.
  • the target lyrics may be the lyrics of the song being played.
  • the time source module can receive the playback information related to the target lyrics in real time, and determine the playback position of the target lyrics based on the playback information.
  • the playback information may be sent to the time source module by the player used to play the song. It should be understood that this embodiment does not limit the sender of the playback information.
  • the playback information may include, but is not limited to, the current playback time of the song, for example.
  • the target lyrics may be parsed lyrics.
  • Each sentence in the target lyrics can correspond to a time range.
  • the time range may include the start time and at least one of the following: duration and end time.
  • the words in each sentence may also correspond to a time range, and the time range may also include a starting time and at least one of the following: duration and ending time.
  • the word can be a single Chinese character or a foreign language (for example, English) word, which is not specifically limited here.
  • the time source module can determine the playback position of the target lyrics in the following manner: if the view module currently displays a sentence in the target lyrics, the playback time is determined based on the playback time and the time range corresponding to the sentence currently displayed by the view module. Whether the time corresponds to the above currently displayed sentence; if the above playback time does not correspond to the above currently displayed sentence, the playback position is determined based on the next sentence of the above currently displayed sentence, where the playback position may include the next sentence in the target lyrics In the location.
  • the time source module can determine whether the above-mentioned playback time corresponds to the above-mentioned currently displayed sentence in the following manner: based on the above-mentioned currently displayed sentence Time range, determine the ending time of the sentence currently displayed; determine whether the playing time meets the following conditions: not earlier than the start time of the currently displayed sentence and not later than the ending time of the currently displayed sentence; if the above playback When the time meets this condition, it is determined that the above-mentioned playing time corresponds to the above-mentioned currently displayed sentence; otherwise, it is determined that the above-mentioned playing time does not correspond to the above-mentioned currently displayed sentence.
  • the time source module can determine whether the above-mentioned play time corresponds to the above-mentioned currently displayed sentence in the following manner: determine whether the above-mentioned play time meets the above conditions; if the above-mentioned play When the time meets the above conditions, it is determined that the above-mentioned playing time corresponds to the above-mentioned currently displayed sentence; otherwise, it is determined that the above-mentioned playing time does not correspond to the above-mentioned currently displayed sentence.
  • the time source module may determine the playback position of the target lyrics in the following manner: based on the playback time and the current display The time range corresponding to the words in the sentence, determine the target word corresponding to the above-mentioned playback time; determine the playback progress of the target word based on the above-mentioned playback time and the time range corresponding to the target word; based on the target word and the playback The progress determines the playback position of the target lyrics, where the playback position may include the position of the target word in the currently displayed sentence and the playback progress.
  • the playback position includes the position of the target word in the currently displayed sentence and the playback progress, as well as the length of the target word.
  • the time source module can determine the target word corresponding to the above-mentioned playback time in the following manner: search in the above-mentioned currently displayed sentence Find the words whose start time is not later than the above-mentioned playing time; for each word found, determine the end time of the word based on the time range corresponding to the word; the end time of the found word is not earlier than the above The word of the playing time is determined as the target word corresponding to the above playing time.
  • the time source module can directly search the above currently displayed sentence for the start time not later than the above playback time and the end time not earlier than The word of the above-mentioned playing time, and the found word is determined as the target word corresponding to the above-mentioned playing time.
  • step 202 the time source module sends prompt information for indicating the playback position to the view module.
  • the time source module may send prompt information indicating the playback position to the viewing module, so that the viewing module executes step 203 or step 204 based on the prompt information.
  • step 203 the view module obtains and displays the sentence in the target lyrics from the data source module based on the prompt information.
  • the view module can obtain and display the sentences in the target lyrics from the data source module based on the prompt information. For example, if the playback position indicated by the prompt information corresponds to the next sentence of the currently displayed sentence, the view module may obtain the next sentence from the data source module based on the prompt information.
  • step 204 the view module adjusts the display effect of the sentence in the currently displayed target lyrics based on the prompt information.
  • the view module can adjust the display effect of sentences in the currently displayed target lyrics based on the prompt information. For example, if the playback position indicated by the prompt information corresponds to the target word, the view module can adjust the display effect of the sentence currently displayed.
  • the display effect may include, but is not limited to, a color progressive effect, for example.
  • the view module can adjust the color of the part of the target word corresponding to the playback progress of the target word from the initial color (for example, white) to another designated color (for example, red).
  • the view module can use the mask channel to adjust the color gradual effect of the currently displayed sentence.
  • the view module can use two overlapping text controls to display the sentence where the target word is located.
  • the color of the sentence displayed by the text control at the bottom layer may be the aforementioned initial color
  • the color of the sentence displayed by the text control at the top layer may be the color specified above.
  • the text control on the top layer can correspond to the mask channel.
  • the view module can adjust the size of the mask channel based on the playback progress of the target word, so as to achieve the purpose of adjusting the color gradual effect of the currently displayed sentence.
  • FIG. 3 is a schematic diagram of an application scenario of the system for processing information according to this embodiment.
  • the display effect of the sentence includes the color gradual effect.
  • Singing software can be installed on the user's smartphone.
  • the singing software can include a player, a time source module, a view module, and a data source module.
  • the player 301 can play the song A that the user is singing.
  • the data source module can store lyrics B of song A.
  • the view module can display sentences in lyrics B.
  • the player can send the playing time of song A to the time source module in real time, as shown by reference number 301.
  • the time source module can determine the playback position of the lyrics B based on the playback time and the time range corresponding to the sentences and words in the lyrics B in response to receiving the playback time of the song A.
  • the playback position corresponds to the word C in the sentence currently displayed by the view module, and the playback position includes the position of the word C in the currently displayed sentence and the playback progress of the word C.
  • the time source module may send prompt information for indicating the playback position to the view module.
  • the view module can adjust the color effect of word C based on the prompt information as shown by reference number 304, so as to realize the adjustment of the color gradual effect of the currently displayed sentence.
  • the target lyrics are stored through the data source module, and the time source module determines the playback position of the target lyrics based on the received playback information related to the target lyrics, and sends instructions to the view module Prompt information of the playback position, so that the view module obtains and displays the sentence in the target lyrics from the data source module based on the prompt information, or adjusts the display effect of the sentence in the target lyrics currently displayed.
  • the solution described in the above embodiment of the present disclosure can realize the control of the playback progress of the words in the target lyrics through the interaction between the time source module, the data source module and the view module, and can realize the progressive effect of the target lyrics. For example, color progressive effects.
  • FIG. 4 shows a flow 400 of an embodiment of a method for processing information.
  • the method for processing information is applied to a time source module (for example, the time source module 1011 shown in FIG. 1), and includes the following steps:
  • Step 401 Determine a playback position of the target lyrics based on the received playback information related to the target lyrics.
  • the target lyrics may be the lyrics of the song being played.
  • the time source module can receive the playback information related to the target lyrics in real time, and determine the playback position of the target lyrics based on the playback information.
  • the playback information may be sent to the time source module by the player used to play the song. It should be understood that this embodiment does not limit the sender of the playback information.
  • the playback information may include, but is not limited to, the current playback time of the song, for example.
  • the target lyrics may be parsed lyrics.
  • Each sentence in the target lyrics can correspond to a time range.
  • the time range may include the start time and at least one of the following: duration and end time.
  • the words in each sentence may also correspond to a time range, and the time range may also include a starting time and at least one of the following: duration and ending time.
  • the word can be a single Chinese character or a foreign language (for example, English) word, which is not specifically limited here.
  • Step 402 Send prompt information for indicating the playback position to the view module, so that the view module obtains and displays the sentences in the target lyrics from the data source module based on the prompt information, or adjusts the display of the sentences in the target lyrics currently displayed effect.
  • the time source module can send prompt information for indicating the playback position to the viewing module (for example, the viewing module 1012 shown in FIG. 1), so that the viewing module is based on the prompt information , Obtain the sentences in the target lyrics from the data source module (for example, the data source module 1013 shown in FIG. 1) and display them, or adjust the display effect of the sentences in the target lyrics currently displayed, such as the color gradual effect.
  • the data source module for example, the data source module 1013 shown in FIG. 1
  • step 402 please refer to the related explanation in the embodiment shown in FIG. 2, which will not be repeated here.
  • the method provided by the above-mentioned embodiment of the present disclosure determines the playback position of the target lyrics based on the received playback information related to the target lyrics, and then sends prompt information indicating the playback position to the viewing module so that the viewing module can be based on the prompt Information, obtain the sentence in the target lyrics from the data source module and display it, or adjust the display effect of the sentence in the target lyrics currently displayed.
  • the solution described in the above embodiment of the present disclosure can realize the control of the playback progress of the words in the target lyrics through the interaction between the time source module, the data source module and the view module, and can realize the progressive effect of the target lyrics. For example, color progressive effects.
  • the present disclosure provides an embodiment of a device for processing information.
  • the device embodiment corresponds to the method embodiment shown in FIG.
  • the device can be specifically applied to various electronic devices.
  • the apparatus 500 for processing information of this embodiment may include: the determining unit 501 is configured to determine the playback position of the target lyrics based on the received playback information related to the target lyrics; the sending unit 502 is configured Sends prompt information to the view module to indicate the playback position, so that the view module obtains and displays the sentence in the target lyrics from the data source module based on the prompt information, or adjusts the display effect of the sentence in the target lyrics currently displayed , Among them, the data source module can be used to store target lyrics.
  • the specific processing of the determining unit 501 and the sending unit 502 and the technical effects brought by them can refer to step 401 and step 402 in the embodiment shown in FIG. 4, respectively.
  • the relevant description of, will not repeat them here.
  • the sentences in the target lyrics may correspond to the time range
  • the playback information may include the playback time
  • the determining unit 501 may be further configured to: if the view module currently displays the words in the target lyrics Sentence, based on the playback time and the time range corresponding to the sentence currently displayed in the view module, determine whether the playback time corresponds to the currently displayed sentence; if the playback time does not correspond to the currently displayed sentence, it is determined based on the next sentence of the currently displayed sentence The playback position, where the playback position includes the position of the next sentence in the target lyrics.
  • the view module may be used to indicate the next sentence in response to the playback position indicated by the prompt information, and based on the prompt information, obtain the next sentence from the data source module and display the next sentence .
  • the words in the sentence in the target lyrics may correspond to the time range; and the determining unit 501 may be further configured to: if the playing time corresponds to the currently displayed sentence, it is based on the playing time Determine the target word corresponding to the playback time based on the time range corresponding to the word in the currently displayed sentence; determine the playback progress of the target word based on the playback time and the time range corresponding to the target word; determine based on the target word and the playback progress The playback position, where the playback position may include the position of the target word in the currently displayed sentence and the playback progress.
  • the display effect may include a color gradual effect
  • the view module may respond to the playback position indicated by the prompt information to indicate the target word and the above-mentioned playback progress, and adjust the current display based on the prompt information.
  • the progressive effect of the color of the sentence may include a color gradual effect
  • the view module may use the mask channel to adjust the color gradual effect of the currently displayed sentence.
  • the device provided in the above-mentioned embodiment of the present disclosure determines the playback position of the target lyrics based on the received playback information related to the target lyrics, and then sends prompt information indicating the playback position to the viewing module so that the viewing module can be based on the prompt Information, obtain the sentence in the target lyrics from the data source module and display it, or adjust the display effect of the sentence in the target lyrics currently displayed.
  • the solution described in the above embodiment of the present disclosure can realize the control of the playback progress of the words in the target lyrics through the interaction between the time source module, the data source module and the view module, and can realize the progressive effect of the target lyrics. For example, color progressive effects.
  • FIG. 6 shows a schematic structural diagram of an electronic device (such as the terminal device 101 shown in FIG. 1) 600 suitable for implementing embodiments of the present disclosure.
  • the terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals ( For example, mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs and desktop computers.
  • the electronic device shown in FIG. 6 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the electronic device 600 may include a processing device (such as a central processing unit, a graphics processor, etc.) 601, which can be loaded into a random access device according to a program stored in a read-only memory (ROM) 602 or from a storage device 608.
  • the program in the memory (RAM) 603 executes various appropriate actions and processing.
  • the RAM 603 also stores various programs and data required for the operation of the electronic device 600.
  • the processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604.
  • An input/output (I/O) interface 605 is also connected to the bus 604.
  • the following devices can be connected to the I/O interface 605: including input devices 606 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, liquid crystal display (LCD), speakers, vibration An output device 607 such as a computer; a storage device 608 such as a hard disk; and a communication device 609.
  • the communication device 609 may allow the electronic device 600 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 6 shows an electronic device 600 having various devices, it should be understood that it is not required to implement or have all the illustrated devices. It may alternatively be implemented or provided with more or fewer devices. Each block shown in FIG. 6 can represent one device, or can represent multiple devices as needed.
  • the process described above with reference to the flowchart can be implemented as a computer software program.
  • the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602.
  • the processing device 601 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the computer-readable medium described in the embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate or transmit the program for use by or in combination with the instruction execution system, apparatus or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is caused to determine the playback position of the target lyrics based on the received playback information related to the target lyrics ; Send prompt information for indicating the playback position to the view module, so that the view module obtains and displays the sentence in the target lyrics from the data source module based on the prompt information, or adjusts the display effect of the sentence in the target lyrics currently displayed , Among them, the data source module is used to store the target lyrics.
  • the computer program code for performing the operations of the embodiments of the present disclosure can be written in one or more programming languages or a combination thereof, the programming languages including object-oriented programming languages such as Java, Smalltalk, C++, It also includes conventional procedural programming languages-such as "C" language or similar programming languages.
  • the program code may be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user’s computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagram can represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented in a software manner, or may be implemented in a hardware manner.
  • the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
  • the determining unit can also be described as a "unit for determining the playback position of the target lyrics".

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed in the embodiments of the present disclosure are a method, a system, and an apparatus for processing information. One specific embodiment of the system comprises: the system comprises a time source module, a data source module, and a view module; the data source module is configured to store a target song lyrics; the time source module is configured to determine the playback position of the target song lyrics on the basis of received playback information relating to the target song lyrics and to send to the view module prompting information indicating the playback position; and the view module is configured to, on the basis of the prompting information, acquire from the data source module sentences in the target song lyrics and display same, or adjust the display effect of the sentences in the currently displayed target song lyrics. By means of the interaction between the time source module, the data source module, and the view module, the present embodiment can control the playback progress of words in target song lyrics and can implement the gradual progression of the song lyrics.

Description

用于处理信息的系统、方法和装置System, method and device for processing information
相关申请的交叉引用Cross references to related applications
本申请基于申请号为201910371719.9、申请日为2019年05月06日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is filed based on a Chinese patent application with an application number of 201910371719.9 and an application date of May 6, 2019, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application by reference.
技术领域Technical field
本公开的实施例涉及计算机技术领域,具体涉及用于处理信息的系统、方法和装置。The embodiments of the present disclosure relate to the field of computer technology, in particular to systems, methods, and devices for processing information.
背景技术Background technique
随着移动互联网的飞速发展,音频类应用的功能在不断的扩充。其中,音频类应用可以是具有与音频有关的功能的应用。With the rapid development of the mobile Internet, the functions of audio applications are constantly expanding. Among them, audio applications may be applications with audio-related functions.
目前,音频类应用不仅可以播放歌曲,还可以用于用户演唱的歌曲的录制。另外,音频类应用在播放歌曲或者对用户演唱的歌曲进行录制时,可以向用户显示歌曲的歌词。Currently, audio applications can not only play songs, but also record songs sung by users. In addition, audio applications can display the lyrics of songs to users when playing songs or recording songs sung by users.
发明内容Summary of the invention
本公开的实施例提出了用于处理信息的系统、方法和装置。The embodiments of the present disclosure propose systems, methods, and devices for processing information.
第一方面,本公开的实施例提供了一种用于处理信息的系统,该系统包括时间源模块、数据源模块和视图模块;数据源模块,被配置成存储目标歌词;时间源模块,被配置成基于接收到的与目标歌词有关的播放信息,确定目标歌词的播放位置,并向视图模块发送用于指示播放位置的提示信息;视图模块,被配置成基于提示信息,从数据源模块获取目标歌词中的句子并进行显示,或者调整当前显示的目标歌词中的句子的显示效果。In the first aspect, the embodiments of the present disclosure provide a system for processing information. The system includes a time source module, a data source module, and a view module; the data source module is configured to store target lyrics; the time source module is It is configured to determine the playback position of the target lyrics based on the received playback information related to the target lyrics, and send prompt information for indicating the playback position to the view module; the view module is configured to obtain from the data source module based on the prompt information And display the sentences in the target lyrics, or adjust the display effect of the sentences in the target lyrics currently displayed.
在一些实施例中,目标歌词中的句子对应时间范围,播放信息包括播放时间;以及时间源模块进一步被配置成:若视图模块当前显示 有目标歌词中的句子,则基于播放时间和视图模块当前显示的句子所对应的时间范围,确定播放时间是否对应当前显示的句子;若播放时间不对应当前显示的句子,则基于当前显示的句子的下一个句子确定播放位置,其中,播放位置包括下一个句子在目标歌词中的位置。In some embodiments, the sentence in the target lyrics corresponds to the time range, and the playback information includes the playback time; and the time source module is further configured to: if the view module currently displays the sentence in the target lyrics, based on the playback time and the current view module The time range corresponding to the displayed sentence determines whether the playback time corresponds to the currently displayed sentence; if the playback time does not correspond to the currently displayed sentence, the playback position is determined based on the next sentence of the currently displayed sentence, where the playback position includes the next The position of the sentence in the target lyrics.
在一些实施例中,目标歌词中的句子所对应的时间范围包括起始时间和持续时长;以及时间源模块进一步被配置成:基于当前显示的句子所对应的时间范围,确定当前显示的句子的结束时间;确定播放时间是否满足以下条件:不早于当前显示的句子的起始时间且不晚于当前显示的句子的结束时间;若播放时间满足条件,则确定播放时间对应当前显示的句子。In some embodiments, the time range corresponding to the sentence in the target lyrics includes the start time and the duration; and the time source module is further configured to: determine the time range of the currently displayed sentence based on the time range corresponding to the currently displayed sentence End time; determine whether the playback time meets the following conditions: not earlier than the start time of the currently displayed sentence and not later than the end time of the currently displayed sentence; if the playback time meets the conditions, determine whether the playback time corresponds to the currently displayed sentence.
在一些实施例中,时间源模块还进一步被配置成:若播放时间不满足条件,则确定播放时间不对应当前显示的句子。In some embodiments, the time source module is further configured to: if the playing time does not satisfy the condition, it is determined that the playing time does not correspond to the currently displayed sentence.
在一些实施例中,视图模块进一步被配置成:若提示信息所指示的播放位置用于指示下一个句子,则基于提示信息,从数据源模块获取下一个句子,并显示下一个句子。In some embodiments, the view module is further configured to: if the playback position indicated by the prompt information is used to indicate the next sentence, based on the prompt information, obtain the next sentence from the data source module and display the next sentence.
在一些实施例中,目标歌词中的句子中的单词对应时间范围;以及时间源模块还进一步被配置成:若播放时间对应当前显示的句子,则基于播放时间和当前显示的句子中的单词所对应的时间范围,确定播放时间所对应的目标单词;基于播放时间和目标单词所对应的时间范围,确定目标单词的播放进度;基于目标单词和播放进度确定播放位置,其中,播放位置包括目标单词在当前显示的句子中的位置和播放进度。In some embodiments, the words in the sentence in the target lyrics correspond to the time range; and the time source module is further configured to: if the playing time corresponds to the currently displayed sentence, based on the playing time and the word in the currently displayed sentence Determine the target word corresponding to the playback time according to the corresponding time range; determine the playback progress of the target word based on the playback time and the time range corresponding to the target word; determine the playback position based on the target word and the playback progress, where the playback position includes the target word Position and playback progress in the currently displayed sentence.
在一些实施例中,播放位置在包括目标单词在当前显示的句子中的位置和播放进度的同时,还包括目标单词的长度。In some embodiments, the playback position includes not only the position of the target word in the currently displayed sentence and the playback progress, but also the length of the target word.
在一些实施例中,目标歌词中的句子中的单词所对应的时间范围包括起始时间和持续时长;以及时间源模块还进一步被配置成:在当前显示的句子中查找出起始时间不晚于播放时间的单词;对于查找出的每个单词,基于该单词所对应的时间范围,确定该单词的结束时间;将查找出的单词中的结束时间不早于播放时间的单词确定为播放时间所对应的目标单词。In some embodiments, the time range corresponding to the words in the sentence in the target lyrics includes the start time and the duration; and the time source module is further configured to find out that the start time is not too late in the currently displayed sentence Words at the playing time; for each word found, determine the end time of the word based on the time range corresponding to the word; determine the word with the ending time not earlier than the playing time in the searched word as the playing time The corresponding target word.
在一些实施例中,显示效果包括颜色渐进效果;以及视图模块进一步被配置成:若提示信息所指示的播放位置用于指示目标单词以及播放进度,则基于提示信息,调整当前显示的句子的颜色渐进效果。In some embodiments, the display effect includes a color gradual effect; and the view module is further configured to: if the playback position indicated by the prompt information is used to indicate the target word and playback progress, adjust the color of the currently displayed sentence based on the prompt information Progressive effect.
在一些实施例中,视图模块进一步被配置成:利用蒙层通道,调整当前显示的句子的颜色渐进效果。In some embodiments, the view module is further configured to adjust the color gradual effect of the currently displayed sentence by using the mask channel.
第二方面,本公开的实施例提供了一种用于处理信息的方法,该方法包括:基于接收到的与目标歌词有关的播放信息,确定目标歌词的播放位置;向视图模块发送用于指示播放位置的提示信息,以使视图模块基于提示信息,从数据源模块获取目标歌词中的句子并进行显示,或者调整当前显示的目标歌词中的句子的显示效果,其中,数据源模块用于存储目标歌词。In a second aspect, an embodiment of the present disclosure provides a method for processing information, the method includes: determining the playback position of the target lyrics based on the received playback information related to the target lyrics; and sending instructions to the view module The prompt information of the playback position, so that the view module obtains and displays the sentence in the target lyrics from the data source module based on the prompt information, or adjusts the display effect of the sentence in the target lyrics currently displayed, where the data source module is used to store Target lyrics.
在一些实施例中,目标歌词中的句子对应时间范围,播放信息包括播放时间;以及基于接收到的与目标歌词有关的播放信息,确定目标歌词的播放位置,包括:若视图模块当前显示有目标歌词中的句子,则基于播放时间和视图模块当前显示的句子所对应的时间范围,确定播放时间是否对应当前显示的句子;若播放时间不对应当前显示的句子,则基于当前显示的句子的下一个句子确定播放位置,其中,播放位置包括下一个句子在目标歌词中的位置。In some embodiments, the sentence in the target lyrics corresponds to the time range, and the playback information includes the playback time; and based on the received playback information related to the target lyrics, determining the playback position of the target lyrics includes: if the view module currently displays the target For sentences in the lyrics, based on the playback time and the time range corresponding to the sentence currently displayed by the view module, determine whether the playback time corresponds to the currently displayed sentence; if the playback time does not correspond to the currently displayed sentence, it will be based on the next sentence of the currently displayed sentence. A sentence determines the playback position, where the playback position includes the position of the next sentence in the target lyrics.
在一些实施例中,视图模块响应于提示信息所指示的播放位置用于指示下一个句子,基于提示信息,从数据源模块获取下一个句子,并显示下一个句子。In some embodiments, the view module is used to indicate the next sentence in response to the playback position indicated by the prompt information, and based on the prompt information, obtains the next sentence from the data source module, and displays the next sentence.
在一些实施例中,目标歌词中的句子中的单词对应时间范围;以及基于接收到的与目标歌词有关的播放信息,确定目标歌词的播放位置,还包括:若播放时间对应当前显示的句子,则基于播放时间和当前显示的句子中的单词所对应的时间范围,确定播放时间所对应的目标单词;基于播放时间和目标单词所对应的时间范围,确定目标单词的播放进度;基于目标单词和播放进度确定播放位置,其中,播放位置包括目标单词在当前显示的句子中的位置和播放进度。In some embodiments, the words in the sentence in the target lyrics correspond to the time range; and determining the playback position of the target lyrics based on the received playback information related to the target lyrics, further includes: if the playback time corresponds to the currently displayed sentence, Based on the playback time and the time range corresponding to the words in the currently displayed sentence, determine the target word corresponding to the playback time; determine the playback progress of the target word based on the playback time and the time range corresponding to the target word; based on the target word and The playback progress determines the playback position, where the playback position includes the position of the target word in the currently displayed sentence and the playback progress.
在一些实施例中,显示效果包括颜色渐进效果,视图模块响应于提示信息所指示的播放位置用于指示目标单词以及播放进度,基于提 示信息,调整当前显示的句子的颜色渐进效果。In some embodiments, the display effect includes a color progressive effect, and the view module is used to indicate the target word and the playback progress in response to the playback position indicated by the prompt information, and adjusts the color progressive effect of the currently displayed sentence based on the prompt information.
在一些实施例中,视图模块利用蒙层通道调整当前显示的句子的颜色渐进效果。In some embodiments, the view module uses the mask channel to adjust the color gradual effect of the currently displayed sentence.
第三方面,本公开的实施例提供了一种用于处理信息的装置,该装置包括:确定单元,被配置成基于接收到的与目标歌词有关的播放信息,确定目标歌词的播放位置;发送单元,被配置成向视图模块发送用于指示播放位置的提示信息,以使视图模块基于提示信息,从数据源模块获取目标歌词中的句子并进行显示,或者调整当前显示的目标歌词中的句子的显示效果,其中,数据源模块用于存储目标歌词。In a third aspect, an embodiment of the present disclosure provides an apparatus for processing information, the apparatus including: a determining unit configured to determine the playback position of the target lyrics based on the received playback information related to the target lyrics; and send; The unit is configured to send prompt information for indicating the playback position to the view module, so that the view module obtains and displays sentences in the target lyrics from the data source module based on the prompt information, or adjusts the sentences in the target lyrics currently displayed The display effect of the data source module is used to store the target lyrics.
在一些实施例中,目标歌词中的句子对应时间范围,播放信息包括播放时间;以及确定单元进一步被配置成:若视图模块当前显示有目标歌词中的句子,则基于播放时间和视图模块当前显示的句子所对应的时间范围,确定播放时间是否对应当前显示的句子;若播放时间不对应当前显示的句子,则基于当前显示的句子的下一个句子确定播放位置,其中,播放位置包括下一个句子在目标歌词中的位置。In some embodiments, the sentence in the target lyrics corresponds to the time range, and the playback information includes the playback time; and the determining unit is further configured to: if the view module currently displays the sentence in the target lyrics, based on the playback time and the current display of the view module Determine whether the playback time corresponds to the currently displayed sentence; if the playback time does not correspond to the currently displayed sentence, determine the playback position based on the next sentence of the currently displayed sentence, where the playback position includes the next sentence The position in the target lyrics.
在一些实施例中,视图模块响应于提示信息所指示的播放位置用于指示下一个句子,基于提示信息,从数据源模块获取下一个句子,并显示下一个句子。In some embodiments, the view module is used to indicate the next sentence in response to the playback position indicated by the prompt information, and based on the prompt information, obtains the next sentence from the data source module, and displays the next sentence.
在一些实施例中,目标歌词中的句子中的单词对应时间范围;以及确定单元还进一步被配置成:若播放时间对应当前显示的句子,则基于播放时间和当前显示的句子中的单词所对应的时间范围,确定播放时间所对应的目标单词;基于播放时间和目标单词所对应的时间范围,确定目标单词的播放进度;基于目标单词和播放进度确定播放位置,其中,播放位置包括目标单词在当前显示的句子中的位置和播放进度。In some embodiments, the words in the sentences in the target lyrics correspond to the time range; and the determining unit is further configured to: if the playing time corresponds to the currently displayed sentence, based on the playing time and the words in the currently displayed sentence corresponding Determine the target word corresponding to the playback time; determine the playback progress of the target word based on the playback time and the time range corresponding to the target word; determine the playback position based on the target word and playback progress, where the playback position includes the target word in The position and playback progress in the currently displayed sentence.
在一些实施例中,显示效果包括颜色渐进效果,视图模块响应于提示信息所指示的播放位置用于指示目标单词以及播放进度,基于提示信息,调整当前显示的句子的颜色渐进效果。In some embodiments, the display effect includes a color progressive effect, and the view module is used to indicate the target word and the playback progress in response to the playback position indicated by the prompt information, and adjusts the color progressive effect of the currently displayed sentence based on the prompt information.
在一些实施例中,视图模块利用蒙层通道调整当前显示的句子的颜色渐进效果。In some embodiments, the view module uses the mask channel to adjust the color gradual effect of the currently displayed sentence.
第四方面,本公开的实施例提供了一种电子设备,该电子设备包括:一个或多个处理器;存储装置,其上存储有一个或多个程序;当该一个或多个程序被该一个或多个处理器执行,使得该一个或多个处理器实现如第二方面中任一实现方式描述的方法。In a fourth aspect, an embodiment of the present disclosure provides an electronic device that includes: one or more processors; a storage device on which one or more programs are stored; when the one or more programs are used by the One or more processors execute, so that the one or more processors implement the method described in any implementation manner of the second aspect.
第五方面,本公开的实施例提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现如第二方面中任一实现方式描述的方法。In the fifth aspect, the embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the method as described in any implementation manner in the second aspect is implemented.
本公开的上述实施例提供的用于处理信息的系统、方法和装置,通过数据源模块存储目标歌词,以及通过时间源模块基于接收到的与目标歌词有关的播放信息,确定目标歌词的播放位置,并向视图模块发送用于指示播放位置的提示信息,以便视图模块基于该提示信息,从数据源模块获取目标歌词中的句子并进行显示,或者调整当前显示的目标歌词中的句子的显示效果。本公开的上述实施例描述的方案通过时间源模块、数据源模块和视图模块三者之间的交互,可以实现对目标歌词中的单词的播放进度的控制,以及可以实现目标歌词的渐进效果,例如颜色渐进效果。The system, method, and device for processing information provided by the above-mentioned embodiments of the present disclosure store the target lyrics through the data source module, and determine the playback position of the target lyrics based on the received playback information related to the target lyrics through the time source module , And send prompt information for indicating the playback position to the view module, so that the view module can obtain and display the sentence in the target lyrics from the data source module based on the prompt information, or adjust the display effect of the sentence in the target lyrics currently displayed . The solution described in the above embodiment of the present disclosure can realize the control of the playback progress of the words in the target lyrics through the interaction between the time source module, the data source module and the view module, and can realize the progressive effect of the target lyrics. For example, color progressive effects.
附图说明Description of the drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本公开的其它特征、目的和优点将会变得更明显:By reading the detailed description of the non-limiting embodiments with reference to the following drawings, other features, purposes and advantages of the present disclosure will become more apparent:
图1是本公开的一些实施例可以应用于其中的示例性系统架构图;FIG. 1 is an exemplary system architecture diagram in which some embodiments of the present disclosure can be applied;
图2是根据本公开的用于处理信息的系统的一个实施例的时序图;FIG. 2 is a sequence diagram of an embodiment of the system for processing information according to the present disclosure;
图3是根据本公开的用于处理信息的系统的一个应用场景的示意图;Fig. 3 is a schematic diagram of an application scenario of the system for processing information according to the present disclosure;
图4是根据本公开的用于处理信息的方法的一个实施例的流程图;Fig. 4 is a flowchart of an embodiment of a method for processing information according to the present disclosure;
图5是根据本公开的用于处理信息的装置的一个实施例的结构示意图;Fig. 5 is a schematic structural diagram of an embodiment of an apparatus for processing information according to the present disclosure;
图6是适于用来实现本公开的一些实施例的电子设备的计算机系统的结构示意图。Fig. 6 is a schematic structural diagram of a computer system suitable for implementing some embodiments of the electronic device of the present disclosure.
具体实施方式Detailed ways
下面结合附图和实施例对本公开作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关公开,而非对该公开的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关公开相关的部分。The present disclosure will be further described in detail below in conjunction with the drawings and embodiments. It can be understood that the specific embodiments described here are only used to explain the relevant disclosure, but not to limit the disclosure. In addition, it should be noted that, for ease of description, only the parts related to the relevant disclosure are shown in the drawings.
需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本公开。It should be noted that the embodiments in the present disclosure and the features in the embodiments can be combined with each other if there is no conflict. Hereinafter, the present disclosure will be described in detail with reference to the drawings and in conjunction with embodiments.
图1示出了可以应用本公开的用于处理信息的方法或用于处理信息的装置的实施例的示例性系统架构100。FIG. 1 shows an exemplary system architecture 100 to which an embodiment of the method for processing information or the apparatus for processing information of the present disclosure can be applied.
如图1所示,系统架构100可以包括终端设备101。终端设备101上可以安装有各种客户端应用,例如社交平台软件、音频类应用(例如唱歌软件)等等。As shown in FIG. 1, the system architecture 100 may include a terminal device 101. Various client applications may be installed on the terminal device 101, such as social platform software, audio applications (for example, singing software), and so on.
终端设备101可以包括时间源模块1011、视图模块1012和数据源模块1013。时间源模块1011、视图模块1012和数据源模块1013可以运行于终端设备101的操作系统之上。The terminal device 101 may include a time source module 1011, a view module 1012, and a data source module 1013. The time source module 1011, the view module 1012, and the data source module 1013 can run on the operating system of the terminal device 101.
终端设备101可以是硬件,也可以是软件。当终端设备101为硬件时,其可以是各种电子设备,包括但不限于智能手机、平板电脑等等。当终端设备101为软件时,其可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务的多个软件或软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。The terminal device 101 may be hardware or software. When the terminal device 101 is hardware, it may be various electronic devices, including but not limited to smart phones, tablet computers, and so on. When the terminal device 101 is software, it can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, multiple software or software modules used to provide distributed services), or as a single software or software module. There is no specific limitation here.
时间源模块1011、视图模块1012和数据源模块1013可以是能够安装在终端设备101中的多个软件或软件模块,也可以实现成单个软件或软件模块。在此不做具体限定。例如,时间源模块1011、视图模块1012和数据源模块1013可以是安装在终端设备101上的客户端应用。又例如,时间源模块1011、视图模块1012和数据源模块1013可 以是能够安装在终端设备101的操作系统中或终端设备101上所安装的客户端应用中的工具、框架、库等。The time source module 1011, the view module 1012, and the data source module 1013 may be multiple software or software modules that can be installed in the terminal device 101, or may be implemented as a single software or software module. There is no specific limitation here. For example, the time source module 1011, the view module 1012, and the data source module 1013 may be client applications installed on the terminal device 101. For another example, the time source module 1011, the view module 1012, and the data source module 1013 may be tools, frameworks, libraries, etc. that can be installed in the operating system of the terminal device 101 or in client applications installed on the terminal device 101.
其中,数据源模块1013可以用于存储目标歌词。时间源模块1011可以基于接收到的与目标歌词有关的播放信息,进行相应的信息处理,并将处理结果(例如用于指示目标歌词的播放位置的提示信息)发送至视图模块1012。视图模块1012可以基于该处理结果进行相应的信息处理。Among them, the data source module 1013 can be used to store target lyrics. The time source module 1011 may perform corresponding information processing based on the received playback information related to the target lyrics, and send the processing result (for example, prompt information for indicating the playback position of the target lyrics) to the view module 1012. The view module 1012 can perform corresponding information processing based on the processing result.
需要说明的是,本公开的一些实施例提供的用于处理信息的方法一般由时间源模块1011执行,相应地,用于处理信息的装置一般设置于时间源模块1011中。It should be noted that the method for processing information provided by some embodiments of the present disclosure is generally executed by the time source module 1011, and accordingly, the device for processing information is generally set in the time source module 1011.
应该理解,图1中的终端设备、时间源模块、数据源模块和视图模块的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、时间源模块、数据源模块和视图模块。It should be understood that the numbers of terminal devices, time source modules, data source modules, and view modules in FIG. 1 are merely illustrative. According to implementation needs, there can be any number of terminal devices, time source modules, data source modules, and view modules.
继续参考图2,其示出了根据本公开的用于处理信息的系统的一个实施例的时序图。Continuing to refer to FIG. 2, it shows a sequence diagram of an embodiment of the system for processing information according to the present disclosure.
本实施例中的用于处理信息的系统可以包括时间源模块(例如图1所示的时间源模块1011)、数据源模块(例如图1所示的数据源模块1013)和视图模块(例如图1所示的视图模块1012);数据源模块,被配置成存储目标歌词;时间源模块,被配置成基于接收到的与目标歌词有关的播放信息,确定目标歌词的播放位置,并向视图模块发送用于指示该播放位置的提示信息;视图模块,被配置成基于该提示信息,从数据源模块获取目标歌词中的句子并进行显示,或者调整当前显示的目标歌词中的句子的显示效果。The system for processing information in this embodiment may include a time source module (for example, the time source module 1011 shown in FIG. 1), a data source module (for example, the data source module 1013 shown in FIG. 1), and a view module (for example, FIG. The view module 1012 shown in 1); the data source module is configured to store the target lyrics; the time source module is configured to determine the playback position of the target lyrics based on the received playback information related to the target lyrics, and send it to the view module Send prompt information for indicating the playback position; the view module is configured to obtain and display sentences in the target lyrics from the data source module based on the prompt information, or adjust the display effect of the sentences in the target lyrics currently displayed.
如图2所示,在步骤201中,时间源模块基于接收到的与目标歌词有关的播放信息,确定目标歌词的播放位置。As shown in FIG. 2, in step 201, the time source module determines the playback position of the target lyrics based on the received playback information related to the target lyrics.
在本实施例中,目标歌词可以是正在播放的歌曲的歌词。时间源模块可以实时地接收与目标歌词有关的播放信息,并基于该播放信息确定目标歌词的播放位置。该播放信息可以是用于播放该歌曲的播放器发送给时间源模块的。应该理解,本实施例不对该播放信息的发送方做任何限定。此外,该播放信息例如可以包括但不限于该歌曲当前 的播放时间等等。In this embodiment, the target lyrics may be the lyrics of the song being played. The time source module can receive the playback information related to the target lyrics in real time, and determine the playback position of the target lyrics based on the playback information. The playback information may be sent to the time source module by the player used to play the song. It should be understood that this embodiment does not limit the sender of the playback information. In addition, the playback information may include, but is not limited to, the current playback time of the song, for example.
需要说明的是,目标歌词可以是经解析后的歌词。目标歌词中的每个句子可以对应时间范围。该时间范围可以包括起始时间和以下至少一项:持续时长、结束时间。另外,每个句子中的单词也可以对应时间范围,该时间范围也可以包括起始时间和以下至少一项:持续时长、结束时间。其中,单词可以是单个汉字,也可以是外文(例如英文)单词,在此不做具体限定。It should be noted that the target lyrics may be parsed lyrics. Each sentence in the target lyrics can correspond to a time range. The time range may include the start time and at least one of the following: duration and end time. In addition, the words in each sentence may also correspond to a time range, and the time range may also include a starting time and at least one of the following: duration and ending time. Among them, the word can be a single Chinese character or a foreign language (for example, English) word, which is not specifically limited here.
作为示例,时间源模块可以采用以下方式确定目标歌词的播放位置:若视图模块当前显示有目标歌词中的句子,则基于上述播放时间和视图模块当前显示的句子所对应的时间范围,确定上述播放时间是否对应上述当前显示的句子;若上述播放时间不对应上述当前显示的句子,则基于上述当前显示的句子的下一个句子确定播放位置,其中,该播放位置可以包括该下一个句子在目标歌词中的位置。As an example, the time source module can determine the playback position of the target lyrics in the following manner: if the view module currently displays a sentence in the target lyrics, the playback time is determined based on the playback time and the time range corresponding to the sentence currently displayed by the view module. Whether the time corresponds to the above currently displayed sentence; if the above playback time does not correspond to the above currently displayed sentence, the playback position is determined based on the next sentence of the above currently displayed sentence, where the playback position may include the next sentence in the target lyrics In the location.
具体地,若目标歌词中的句子所对应的时间范围包括起始时间和持续时长,时间源模块可以采用以下方式确定上述播放时间是否对应上述当前显示的句子:基于上述当前显示的句子所对应的时间范围,确定上述当前显示的句子的结束时间;确定上述播放时间是否满足以下条件:不早于上述当前显示的句子的起始时间且不晚于上述当前显示的句子的结束时间;若上述播放时间满足该条件,则确定上述播放时间对应上述当前显示的句子;否则,确定上述播放时间不对应上述当前显示的句子。Specifically, if the time range corresponding to the sentence in the target lyrics includes the start time and the duration, the time source module can determine whether the above-mentioned playback time corresponds to the above-mentioned currently displayed sentence in the following manner: based on the above-mentioned currently displayed sentence Time range, determine the ending time of the sentence currently displayed; determine whether the playing time meets the following conditions: not earlier than the start time of the currently displayed sentence and not later than the ending time of the currently displayed sentence; if the above playback When the time meets this condition, it is determined that the above-mentioned playing time corresponds to the above-mentioned currently displayed sentence; otherwise, it is determined that the above-mentioned playing time does not correspond to the above-mentioned currently displayed sentence.
若目标歌词中的句子所对应的时间范围包括起始时间和结束时间,时间源模块可以采用以下方式确定上述播放时间是否对应上述当前显示的句子:确定上述播放时间是否满足上述条件;若上述播放时间满足上述条件,则确定上述播放时间对应上述当前显示的句子;否则,确定上述播放时间不对应上述当前显示的句子。If the time range corresponding to the sentence in the target lyrics includes the start time and the end time, the time source module can determine whether the above-mentioned play time corresponds to the above-mentioned currently displayed sentence in the following manner: determine whether the above-mentioned play time meets the above conditions; if the above-mentioned play When the time meets the above conditions, it is determined that the above-mentioned playing time corresponds to the above-mentioned currently displayed sentence; otherwise, it is determined that the above-mentioned playing time does not correspond to the above-mentioned currently displayed sentence.
在本实施例的一些可选的实现方式中,若时间源模块确定上述播放时间对应上述当前显示的句子,时间源模块可以采用以下方式确定目标歌词的播放位置:基于上述播放时间和上述当前显示的句子中的单词所对应的时间范围,确定上述播放时间所对应的目标单词;基于 上述播放时间和该目标单词所对应的时间范围,确定该目标单词的播放进度;基于该目标单词和该播放进度确定目标歌词的播放位置,其中,该播放位置可以包括该目标单词在上述当前显示的句子中的位置和该播放进度。可选地,该播放位置在包括该目标单词在上述当前显示的句子中的位置和该播放进度的同时,还可以包括该目标单词的长度。In some optional implementations of this embodiment, if the time source module determines that the playback time corresponds to the currently displayed sentence, the time source module may determine the playback position of the target lyrics in the following manner: based on the playback time and the current display The time range corresponding to the words in the sentence, determine the target word corresponding to the above-mentioned playback time; determine the playback progress of the target word based on the above-mentioned playback time and the time range corresponding to the target word; based on the target word and the playback The progress determines the playback position of the target lyrics, where the playback position may include the position of the target word in the currently displayed sentence and the playback progress. Optionally, the playback position includes the position of the target word in the currently displayed sentence and the playback progress, as well as the length of the target word.
具体地,若目标歌词中的句子中的单词所对应的时间范围包括起始时间和持续时长,时间源模块可以采用以下方式确定上述播放时间所对应的目标单词:在上述当前显示的句子中查找出起始时间不晚于上述播放时间的单词;对于查找出的每个单词,基于该单词所对应的时间范围,确定该单词的结束时间;将查找出的单词中的结束时间不早于上述播放时间的单词确定为上述播放时间所对应的目标单词。Specifically, if the time range corresponding to the words in the sentence in the target lyrics includes the start time and the duration, the time source module can determine the target word corresponding to the above-mentioned playback time in the following manner: search in the above-mentioned currently displayed sentence Find the words whose start time is not later than the above-mentioned playing time; for each word found, determine the end time of the word based on the time range corresponding to the word; the end time of the found word is not earlier than the above The word of the playing time is determined as the target word corresponding to the above playing time.
若目标歌词中的句子中的单词所对应的时间范围包括起始时间和结束时间,时间源模块可以直接在上述当前显示的句子中查找起始时间不晚于上述播放时间且结束时间不早于上述播放时间的单词,并将查找出的单词确定为上述播放时间所对应的目标单词。If the time range corresponding to the words in the sentence in the target lyrics includes the start time and the end time, the time source module can directly search the above currently displayed sentence for the start time not later than the above playback time and the end time not earlier than The word of the above-mentioned playing time, and the found word is determined as the target word corresponding to the above-mentioned playing time.
在步骤202中,时间源模块向视图模块发送用于指示播放位置的提示信息。In step 202, the time source module sends prompt information for indicating the playback position to the view module.
在本实施例中,时间源模块在确定目标歌词的播放位置后,可以向视图模块发送用于指示该播放位置的提示信息,以使视图模块基于该提示信息执行步骤203或步骤204。In this embodiment, after determining the playback position of the target lyrics, the time source module may send prompt information indicating the playback position to the viewing module, so that the viewing module executes step 203 or step 204 based on the prompt information.
在步骤203中,视图模块基于提示信息,从数据源模块获取目标歌词中的句子并进行显示。In step 203, the view module obtains and displays the sentence in the target lyrics from the data source module based on the prompt information.
在本实施例中,视图模块可以基于提示信息,从数据源模块获取目标歌词中的句子并进行显示。例如,若上述提示信息所指示的播放位置对应上述当前显示的句子的下一个句子,则视图模块可以基于上述提示信息,从数据源模块获取该下一个句子。In this embodiment, the view module can obtain and display the sentences in the target lyrics from the data source module based on the prompt information. For example, if the playback position indicated by the prompt information corresponds to the next sentence of the currently displayed sentence, the view module may obtain the next sentence from the data source module based on the prompt information.
在步骤204中,视图模块基于提示信息,调整当前显示的目标歌词中的句子的显示效果。In step 204, the view module adjusts the display effect of the sentence in the currently displayed target lyrics based on the prompt information.
在本实施例中,视图模块可以基于提示信息,调整当前显示的目 标歌词中的句子的显示效果。例如,若该提示信息所指示的播放位置对应目标单词,视图模块可以调整上述当前显示的句子的显示效果。其中,显示效果例如可以包括但不限于颜色渐进效果。例如,视图模块可以将目标单词中的、与目标单词的播放进度相应的部分的颜色从初始颜色(例如白色)调整到另一种指定的颜色(例如红色)。In this embodiment, the view module can adjust the display effect of sentences in the currently displayed target lyrics based on the prompt information. For example, if the playback position indicated by the prompt information corresponds to the target word, the view module can adjust the display effect of the sentence currently displayed. Among them, the display effect may include, but is not limited to, a color progressive effect, for example. For example, the view module can adjust the color of the part of the target word corresponding to the playback progress of the target word from the initial color (for example, white) to another designated color (for example, red).
实践中,视图模块可以利用蒙层通道,调整当前显示的句子的颜色渐进效果。例如,视图模块可以采用两个重叠的文字控件显示目标单词所在的句子。其中,处于底层的文字控件显示的句子的颜色可以是上述初始颜色,处于顶层的文字控件显示的句子的颜色可以是上述指定的颜色。另外,处于顶层的文字控件可以对应蒙层通道。视图模块可以基于目标单词的播放进度调整该蒙层通道的大小,以达到调整当前显示的句子的颜色渐进效果的目的。In practice, the view module can use the mask channel to adjust the color gradual effect of the currently displayed sentence. For example, the view module can use two overlapping text controls to display the sentence where the target word is located. The color of the sentence displayed by the text control at the bottom layer may be the aforementioned initial color, and the color of the sentence displayed by the text control at the top layer may be the color specified above. In addition, the text control on the top layer can correspond to the mask channel. The view module can adjust the size of the mask channel based on the playback progress of the target word, so as to achieve the purpose of adjusting the color gradual effect of the currently displayed sentence.
继续参见图3,图3是根据本实施例的用于处理信息的系统的应用场景的一个示意图。在图3的应用场景中,句子的显示效果包括颜色渐进效果。用户的智能手机上可以安装有唱歌软件。唱歌软件可以包括播放器、时间源模块、视图模块和数据源模块。其中,播放器301可以播放用户正在演唱的歌曲A。数据源模块可以存储有歌曲A的歌词B。视图模块可以显示有歌词B中的句子。在本应用场景中,播放器可以实时地向时间源模块发送歌曲A的播放时间,如标号301所示。如标号302所示,时间源模块可以响应于接收到歌曲A的播放时间,基于该播放时间以及歌词B中的句子和单词分别对应的时间范围,确定歌词B的播放位置。这里,假设该播放位置对应视图模块当前显示的句子中的单词C,该播放位置包括单词C在该当前显示的句子中所处的位置以及单词C的播放进度。而后,如标号303所示,时间源模块可以向视图模块发送用于指示该播放位置的提示信息。然后,视图模块在接收到该提示信息后,可以如标号304所示,基于该提示信息,调整单词C的颜色效果,以实现对当前显示的句子的颜色渐进效果的调整。Continue to refer to FIG. 3, which is a schematic diagram of an application scenario of the system for processing information according to this embodiment. In the application scenario of Figure 3, the display effect of the sentence includes the color gradual effect. Singing software can be installed on the user's smartphone. The singing software can include a player, a time source module, a view module, and a data source module. Among them, the player 301 can play the song A that the user is singing. The data source module can store lyrics B of song A. The view module can display sentences in lyrics B. In this application scenario, the player can send the playing time of song A to the time source module in real time, as shown by reference number 301. As indicated by the reference number 302, the time source module can determine the playback position of the lyrics B based on the playback time and the time range corresponding to the sentences and words in the lyrics B in response to receiving the playback time of the song A. Here, it is assumed that the playback position corresponds to the word C in the sentence currently displayed by the view module, and the playback position includes the position of the word C in the currently displayed sentence and the playback progress of the word C. Then, as shown by reference number 303, the time source module may send prompt information for indicating the playback position to the view module. Then, after receiving the prompt information, the view module can adjust the color effect of word C based on the prompt information as shown by reference number 304, so as to realize the adjustment of the color gradual effect of the currently displayed sentence.
本公开的上述实施例提供的系统,通过数据源模块存储目标歌词,以及通过时间源模块基于接收到的与目标歌词有关的播放信息,确定 目标歌词的播放位置,并向视图模块发送用于指示播放位置的提示信息,以便视图模块基于该提示信息,从数据源模块获取目标歌词中的句子并进行显示,或者调整当前显示的目标歌词中的句子的显示效果。本公开的上述实施例描述的方案通过时间源模块、数据源模块和视图模块三者之间的交互,可以实现对目标歌词中的单词的播放进度的控制,以及可以实现目标歌词的渐进效果,例如颜色渐进效果。In the system provided by the above-mentioned embodiment of the present disclosure, the target lyrics are stored through the data source module, and the time source module determines the playback position of the target lyrics based on the received playback information related to the target lyrics, and sends instructions to the view module Prompt information of the playback position, so that the view module obtains and displays the sentence in the target lyrics from the data source module based on the prompt information, or adjusts the display effect of the sentence in the target lyrics currently displayed. The solution described in the above embodiment of the present disclosure can realize the control of the playback progress of the words in the target lyrics through the interaction between the time source module, the data source module and the view module, and can realize the progressive effect of the target lyrics. For example, color progressive effects.
进一步参考图4,其示出了用于处理信息的方法的一个实施例的流程400。该用于处理信息的方法应用于时间源模块(例如图1所示的时间源模块1011),包括以下步骤:With further reference to FIG. 4, it shows a flow 400 of an embodiment of a method for processing information. The method for processing information is applied to a time source module (for example, the time source module 1011 shown in FIG. 1), and includes the following steps:
步骤401,基于接收到的与目标歌词有关的播放信息,确定目标歌词的播放位置。Step 401: Determine a playback position of the target lyrics based on the received playback information related to the target lyrics.
在本实施例中,目标歌词可以是正在播放的歌曲的歌词。时间源模块可以实时地接收与目标歌词有关的播放信息,并基于该播放信息确定目标歌词的播放位置。该播放信息可以是用于播放该歌曲的播放器发送给时间源模块的。应该理解,本实施例不对该播放信息的发送方做任何限定。此外,该播放信息例如可以包括但不限于该歌曲当前的播放时间等等。In this embodiment, the target lyrics may be the lyrics of the song being played. The time source module can receive the playback information related to the target lyrics in real time, and determine the playback position of the target lyrics based on the playback information. The playback information may be sent to the time source module by the player used to play the song. It should be understood that this embodiment does not limit the sender of the playback information. In addition, the playback information may include, but is not limited to, the current playback time of the song, for example.
需要说明的是,目标歌词可以是经解析后的歌词。目标歌词中的每个句子可以对应时间范围。该时间范围可以包括起始时间和以下至少一项:持续时长、结束时间。另外,每个句子中的单词也可以对应时间范围,该时间范围也可以包括起始时间和以下至少一项:持续时长、结束时间。其中,单词可以是单个汉字,也可以是外文(例如英文)单词,在此不做具体限定。It should be noted that the target lyrics may be parsed lyrics. Each sentence in the target lyrics can correspond to a time range. The time range may include the start time and at least one of the following: duration and end time. In addition, the words in each sentence may also correspond to a time range, and the time range may also include a starting time and at least one of the following: duration and ending time. Among them, the word can be a single Chinese character or a foreign language (for example, English) word, which is not specifically limited here.
需要指出的是,确定目标歌词的播放位置的方法,可参看图2所示实施例中的相关说明,在此不再赘述。It should be pointed out that, for the method of determining the playback position of the target lyrics, refer to the related description in the embodiment shown in FIG. 2, which will not be repeated here.
步骤402,向视图模块发送用于指示播放位置的提示信息,以使视图模块基于提示信息,从数据源模块获取目标歌词中的句子并进行显示,或者调整当前显示的目标歌词中的句子的显示效果。Step 402: Send prompt information for indicating the playback position to the view module, so that the view module obtains and displays the sentences in the target lyrics from the data source module based on the prompt information, or adjusts the display of the sentences in the target lyrics currently displayed effect.
在本实施例中,时间源模块在确定目标歌词的播放位置后,可以向视图模块(例如图1所示的视图模块1012)发送用于指示播放位置 的提示信息,以使视图模块基于提示信息,从数据源模块(例如图1所示的数据源模块1013)获取目标歌词中的句子并进行显示,或者调整当前显示的目标歌词中的句子的显示效果,例如颜色渐进效果等。这里,针对步骤402的解释说明,可参看图2所示实施例中的相关说明,在此不再赘述。In this embodiment, after determining the playback position of the target lyrics, the time source module can send prompt information for indicating the playback position to the viewing module (for example, the viewing module 1012 shown in FIG. 1), so that the viewing module is based on the prompt information , Obtain the sentences in the target lyrics from the data source module (for example, the data source module 1013 shown in FIG. 1) and display them, or adjust the display effect of the sentences in the target lyrics currently displayed, such as the color gradual effect. Here, for the explanation of step 402, please refer to the related explanation in the embodiment shown in FIG. 2, which will not be repeated here.
本公开的上述实施例提供的方法,基于接收到的与目标歌词有关的播放信息,确定目标歌词的播放位置,而后向视图模块发送用于指示该播放位置的提示信息,以便视图模块基于该提示信息,从数据源模块获取目标歌词中的句子并进行显示,或者调整当前显示的目标歌词中的句子的显示效果。本公开的上述实施例描述的方案通过时间源模块、数据源模块和视图模块三者之间的交互,可以实现对目标歌词中的单词的播放进度的控制,以及可以实现目标歌词的渐进效果,例如颜色渐进效果。The method provided by the above-mentioned embodiment of the present disclosure determines the playback position of the target lyrics based on the received playback information related to the target lyrics, and then sends prompt information indicating the playback position to the viewing module so that the viewing module can be based on the prompt Information, obtain the sentence in the target lyrics from the data source module and display it, or adjust the display effect of the sentence in the target lyrics currently displayed. The solution described in the above embodiment of the present disclosure can realize the control of the playback progress of the words in the target lyrics through the interaction between the time source module, the data source module and the view module, and can realize the progressive effect of the target lyrics. For example, color progressive effects.
进一步参考图5,作为对上述各图所示方法的实现,本公开提供了一种用于处理信息的装置的一个实施例,该装置实施例与图4所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。With further reference to FIG. 5, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a device for processing information. The device embodiment corresponds to the method embodiment shown in FIG. The device can be specifically applied to various electronic devices.
如图5所示,本实施例的用于处理信息的装置500可以包括:确定单元501被配置成基于接收到的与目标歌词有关的播放信息,确定目标歌词的播放位置;发送单元502被配置成向视图模块发送用于指示播放位置的提示信息,以使视图模块基于该提示信息,从数据源模块获取目标歌词中的句子并进行显示,或者调整当前显示的目标歌词中的句子的显示效果,其中,数据源模块可以用于存储目标歌词。As shown in FIG. 5, the apparatus 500 for processing information of this embodiment may include: the determining unit 501 is configured to determine the playback position of the target lyrics based on the received playback information related to the target lyrics; the sending unit 502 is configured Sends prompt information to the view module to indicate the playback position, so that the view module obtains and displays the sentence in the target lyrics from the data source module based on the prompt information, or adjusts the display effect of the sentence in the target lyrics currently displayed , Among them, the data source module can be used to store target lyrics.
在本实施例中,用于处理信息的装置500中:确定单元501和发送单元502的具体处理及其所带来的技术效果可分别参考图4所示的实施例中的步骤401和步骤402的相关说明,在此不再赘述。In this embodiment, in the apparatus 500 for processing information: the specific processing of the determining unit 501 and the sending unit 502 and the technical effects brought by them can refer to step 401 and step 402 in the embodiment shown in FIG. 4, respectively. The relevant description of, will not repeat them here.
在本实施例的一些可选的实现方式中,目标歌词中的句子可以对应时间范围,播放信息可以包括播放时间;以及确定单元501可以进一步被配置成:若视图模块当前显示有目标歌词中的句子,则基于播放时间和视图模块当前显示的句子所对应的时间范围,确定播放时间是否对应当前显示的句子;若播放时间不对应当前显示的句子,则基 于当前显示的句子的下一个句子确定播放位置,其中,播放位置包括下一个句子在目标歌词中的位置。In some optional implementations of this embodiment, the sentences in the target lyrics may correspond to the time range, and the playback information may include the playback time; and the determining unit 501 may be further configured to: if the view module currently displays the words in the target lyrics Sentence, based on the playback time and the time range corresponding to the sentence currently displayed in the view module, determine whether the playback time corresponds to the currently displayed sentence; if the playback time does not correspond to the currently displayed sentence, it is determined based on the next sentence of the currently displayed sentence The playback position, where the playback position includes the position of the next sentence in the target lyrics.
在本实施例的一些可选的实现方式中,视图模块可以响应于提示信息所指示的播放位置用于指示下一个句子,基于提示信息,从数据源模块获取下一个句子,并显示下一个句子。In some optional implementations of this embodiment, the view module may be used to indicate the next sentence in response to the playback position indicated by the prompt information, and based on the prompt information, obtain the next sentence from the data source module and display the next sentence .
在本实施例的一些可选的实现方式中,目标歌词中的句子中的单词可以对应时间范围;以及确定单元501还可以进一步被配置成:若播放时间对应当前显示的句子,则基于播放时间和当前显示的句子中的单词所对应的时间范围,确定播放时间所对应的目标单词;基于播放时间和目标单词所对应的时间范围,确定目标单词的播放进度;基于目标单词和该播放进度确定播放位置,其中,播放位置可以包括目标单词在当前显示的句子中的位置和播放进度。In some optional implementations of this embodiment, the words in the sentence in the target lyrics may correspond to the time range; and the determining unit 501 may be further configured to: if the playing time corresponds to the currently displayed sentence, it is based on the playing time Determine the target word corresponding to the playback time based on the time range corresponding to the word in the currently displayed sentence; determine the playback progress of the target word based on the playback time and the time range corresponding to the target word; determine based on the target word and the playback progress The playback position, where the playback position may include the position of the target word in the currently displayed sentence and the playback progress.
在本实施例的一些可选的实现方式中,显示效果可以包括颜色渐进效果,视图模块可以响应于提示信息所指示的播放位置用于指示目标单词以及上述播放进度,基于提示信息,调整当前显示的句子的颜色渐进效果。In some alternative implementations of this embodiment, the display effect may include a color gradual effect, and the view module may respond to the playback position indicated by the prompt information to indicate the target word and the above-mentioned playback progress, and adjust the current display based on the prompt information. The progressive effect of the color of the sentence.
在本实施例的一些可选的实现方式中,视图模块可以利用蒙层通道调整当前显示的句子的颜色渐进效果。In some optional implementations of this embodiment, the view module may use the mask channel to adjust the color gradual effect of the currently displayed sentence.
本公开的上述实施例提供的装置,基于接收到的与目标歌词有关的播放信息,确定目标歌词的播放位置,而后向视图模块发送用于指示该播放位置的提示信息,以便视图模块基于该提示信息,从数据源模块获取目标歌词中的句子并进行显示,或者调整当前显示的目标歌词中的句子的显示效果。本公开的上述实施例描述的方案通过时间源模块、数据源模块和视图模块三者之间的交互,可以实现对目标歌词中的单词的播放进度的控制,以及可以实现目标歌词的渐进效果,例如颜色渐进效果。The device provided in the above-mentioned embodiment of the present disclosure determines the playback position of the target lyrics based on the received playback information related to the target lyrics, and then sends prompt information indicating the playback position to the viewing module so that the viewing module can be based on the prompt Information, obtain the sentence in the target lyrics from the data source module and display it, or adjust the display effect of the sentence in the target lyrics currently displayed. The solution described in the above embodiment of the present disclosure can realize the control of the playback progress of the words in the target lyrics through the interaction between the time source module, the data source module and the view module, and can realize the progressive effect of the target lyrics. For example, color progressive effects.
下面参考图6,其示出了适于用来实现本公开的实施例的电子设备(例如图1所示的终端设备101)600的结构示意图。本公开的实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携 式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图6示出的电子设备仅仅是一个示例,不应对本公开的实施例的功能和使用范围带来任何限制。Reference is now made to FIG. 6, which shows a schematic structural diagram of an electronic device (such as the terminal device 101 shown in FIG. 1) 600 suitable for implementing embodiments of the present disclosure. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals ( For example, mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs and desktop computers. The electronic device shown in FIG. 6 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
如图6所示,电子设备600可以包括处理装置(例如中央处理器、图形处理器等)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储装置608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有电子设备600操作所需的各种程序和数据。处理装置601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。As shown in FIG. 6, the electronic device 600 may include a processing device (such as a central processing unit, a graphics processor, etc.) 601, which can be loaded into a random access device according to a program stored in a read-only memory (ROM) 602 or from a storage device 608. The program in the memory (RAM) 603 executes various appropriate actions and processing. The RAM 603 also stores various programs and data required for the operation of the electronic device 600. The processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to the bus 604.
通常,以下装置可以连接至I/O接口605:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置606;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置607;包括例如硬盘等的存储装置608;以及通信装置609。通信装置609可以允许电子设备600与其他设备进行无线或有线通信以交换数据。虽然图6示出了具有各种装置的电子设备600,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。图6中示出的每个方框可以代表一个装置,也可以根据需要代表多个装置。Generally, the following devices can be connected to the I/O interface 605: including input devices 606 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, liquid crystal display (LCD), speakers, vibration An output device 607 such as a computer; a storage device 608 such as a hard disk; and a communication device 609. The communication device 609 may allow the electronic device 600 to perform wireless or wired communication with other devices to exchange data. Although FIG. 6 shows an electronic device 600 having various devices, it should be understood that it is not required to implement or have all the illustrated devices. It may alternatively be implemented or provided with more or fewer devices. Each block shown in FIG. 6 can represent one device, or can represent multiple devices as needed.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置609从网络上被下载和安装,或者从存储装置608被安装,或者从ROM 602被安装。在该计算机程序被处理装置601执行时,执行本公开的实施例的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
需要说明的是,本公开的实施例所述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、 电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开的实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开的实施例中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium described in the embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device. In the embodiments of the present disclosure, the computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium. The computer-readable signal medium may send, propagate or transmit the program for use by or in combination with the instruction execution system, apparatus or device . The program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:基于接收到的与目标歌词有关的播放信息,确定目标歌词的播放位置;向视图模块发送用于指示播放位置的提示信息,以使视图模块基于该提示信息,从数据源模块获取目标歌词中的句子并进行显示,或者调整当前显示的目标歌词中的句子的显示效果,其中,数据源模块用于存储目标歌词。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is caused to determine the playback position of the target lyrics based on the received playback information related to the target lyrics ; Send prompt information for indicating the playback position to the view module, so that the view module obtains and displays the sentence in the target lyrics from the data source module based on the prompt information, or adjusts the display effect of the sentence in the target lyrics currently displayed , Among them, the data source module is used to store the target lyrics.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的实施例的操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一 个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。The computer program code for performing the operations of the embodiments of the present disclosure can be written in one or more programming languages or a combination thereof, the programming languages including object-oriented programming languages such as Java, Smalltalk, C++, It also includes conventional procedural programming languages-such as "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user’s computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions, and operations of the system, method, and computer program product according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram can represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions. It should also be noted that, in some alternative implementations, the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,确定单元还可以被描述为“确定目标歌词的播放位置的单元”。The units involved in the embodiments described in the present disclosure may be implemented in a software manner, or may be implemented in a hardware manner. Among them, the name of the unit does not constitute a limitation on the unit itself under certain circumstances. For example, the determining unit can also be described as a "unit for determining the playback position of the target lyrics".
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of disclosure involved in this disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover the above technical features or technical solutions without departing from the above disclosed concept. Other technical solutions formed by any combination of its equivalent features. For example, the above-mentioned features and the technical features disclosed in the present disclosure (but not limited to) with similar functions are mutually replaced to form a technical solution.

Claims (19)

  1. 一种用于处理信息的系统,包括时间源模块、数据源模块和视图模块;A system for processing information, including a time source module, a data source module, and a view module;
    所述数据源模块,被配置成存储目标歌词;The data source module is configured to store target lyrics;
    所述时间源模块,被配置成基于接收到的与所述目标歌词有关的播放信息,确定所述目标歌词的播放位置,并向所述视图模块发送用于指示所述播放位置的提示信息;The time source module is configured to determine the playback position of the target lyrics based on the received playback information related to the target lyrics, and send prompt information for indicating the playback position to the view module;
    所述视图模块,被配置成基于所述提示信息,从所述数据源模块获取所述目标歌词中的句子并进行显示,或者调整当前显示的所述目标歌词中的句子的显示效果。The view module is configured to obtain and display the sentences in the target lyrics from the data source module based on the prompt information, or adjust the display effect of the sentences in the target lyrics currently displayed.
  2. 根据权利要求1所述的系统,其中,所述目标歌词中的句子对应时间范围,所述播放信息包括播放时间;以及The system according to claim 1, wherein the sentence in the target lyrics corresponds to a time range, and the playback information includes a playback time; and
    所述时间源模块进一步被配置成:The time source module is further configured to:
    若所述视图模块当前显示有所述目标歌词中的句子,则基于所述播放时间和所述视图模块当前显示的句子所对应的时间范围,确定所述播放时间是否对应所述当前显示的句子;If the view module currently displays the sentence in the target lyrics, based on the playback time and the time range corresponding to the sentence currently displayed by the view module, determine whether the playback time corresponds to the currently displayed sentence ;
    若所述播放时间不对应所述当前显示的句子,则基于所述当前显示的句子的下一个句子确定所述播放位置,其中,所述播放位置包括所述下一个句子在所述目标歌词中的位置。If the playback time does not correspond to the currently displayed sentence, the playback position is determined based on the next sentence of the currently displayed sentence, where the playback position includes the next sentence in the target lyrics s position.
  3. 根据权利要求2所述的系统,其中,所述目标歌词中的句子所对应的时间范围包括起始时间和持续时长;以及The system according to claim 2, wherein the time range corresponding to the sentence in the target lyrics includes a start time and a duration; and
    所述时间源模块进一步被配置成:The time source module is further configured to:
    基于所述当前显示的句子所对应的时间范围,确定所述当前显示的句子的结束时间;Determine the end time of the currently displayed sentence based on the time range corresponding to the currently displayed sentence;
    确定所述播放时间是否满足以下条件:不早于所述当前显示的句子的起始时间且不晚于所述当前显示的句子的结束时间;Determine whether the playback time meets the following conditions: not earlier than the start time of the currently displayed sentence and not later than the end time of the currently displayed sentence;
    若所述播放时间满足所述条件,则确定所述播放时间对应所述当 前显示的句子。If the play time meets the condition, it is determined that the play time corresponds to the currently displayed sentence.
  4. 根据权利要求3所述的系统,其中,所述时间源模块还进一步被配置成:The system according to claim 3, wherein the time source module is further configured to:
    若所述播放时间不满足所述条件,则确定所述播放时间不对应所述当前显示的句子。If the playing time does not satisfy the condition, it is determined that the playing time does not correspond to the currently displayed sentence.
  5. 根据权利要求2所述的系统,其中,所述视图模块进一步被配置成:The system according to claim 2, wherein the view module is further configured to:
    若所述提示信息所指示的所述播放位置用于指示所述下一个句子,则基于所述提示信息,从所述数据源模块获取所述下一个句子,并显示所述下一个句子。If the playback position indicated by the prompt information is used to indicate the next sentence, then based on the prompt information, obtain the next sentence from the data source module, and display the next sentence.
  6. 根据权利要求2-5之一所述的系统,其中,所述目标歌词中的句子中的单词对应时间范围;以及The system according to any one of claims 2-5, wherein the words in the sentence in the target lyrics correspond to a time range; and
    所述时间源模块还进一步被配置成:The time source module is further configured to:
    若所述播放时间对应所述当前显示的句子,则基于所述播放时间和所述当前显示的句子中的单词所对应的时间范围,确定所述播放时间所对应的目标单词;If the playing time corresponds to the currently displayed sentence, determine the target word corresponding to the playing time based on the playing time and the time range corresponding to the words in the currently displayed sentence;
    基于所述播放时间和所述目标单词所对应的时间范围,确定所述目标单词的播放进度;Determining the playback progress of the target word based on the playback time and the time range corresponding to the target word;
    基于所述目标单词和所述播放进度确定所述播放位置,其中,所述播放位置包括所述目标单词在所述当前显示的句子中的位置和所述播放进度。The playing position is determined based on the target word and the playing progress, wherein the playing position includes the position of the target word in the currently displayed sentence and the playing progress.
  7. 根据权利要求6所述的系统,其中,所述播放位置在包括所述目标单词在所述当前显示的句子中的位置和所述播放进度的同时,还包括所述目标单词的长度。7. The system according to claim 6, wherein the playback position includes not only the position of the target word in the currently displayed sentence and the playback progress, but also the length of the target word.
  8. 根据权利要求6所述的系统,其中,所述目标歌词中的句子中 的单词所对应的时间范围包括起始时间和持续时长;以及The system according to claim 6, wherein the time range corresponding to the words in the sentences in the target lyrics includes a start time and a duration; and
    所述时间源模块还进一步被配置成:The time source module is further configured to:
    在所述当前显示的句子中查找出起始时间不晚于所述播放时间的单词;Find words whose start time is not later than the playing time in the currently displayed sentence;
    对于查找出的每个单词,基于该单词所对应的时间范围,确定该单词的结束时间;For each word found, determine the end time of the word based on the time range corresponding to the word;
    将查找出的单词中的结束时间不早于所述播放时间的单词确定为所述播放时间所对应的目标单词。The word whose end time is not earlier than the playing time among the searched words is determined as the target word corresponding to the playing time.
  9. 根据权利要求6所述的系统,其中,所述显示效果包括颜色渐进效果;以及The system according to claim 6, wherein the display effect includes a color progressive effect; and
    所述视图模块进一步被配置成:The view module is further configured to:
    若所述提示信息所指示的所述播放位置用于指示所述目标单词以及所述播放进度,则基于所述提示信息,调整所述当前显示的句子的颜色渐进效果。If the playback position indicated by the prompt information is used to indicate the target word and the playback progress, adjusting the color gradual effect of the currently displayed sentence based on the prompt information.
  10. 根据权利要求9所述的系统,其中,所述视图模块进一步被配置成:The system of claim 9, wherein the view module is further configured to:
    利用蒙层通道,调整所述当前显示的句子的颜色渐进效果。Use the mask channel to adjust the color gradual effect of the currently displayed sentence.
  11. 一种用于处理信息的方法,包括:A method for processing information, including:
    基于接收到的与目标歌词有关的播放信息,确定所述目标歌词的播放位置;Determining the playback position of the target lyrics based on the received playback information related to the target lyrics;
    向视图模块发送用于指示所述播放位置的提示信息,以使所述视图模块基于所述提示信息,从数据源模块获取所述目标歌词中的句子并进行显示,或者调整当前显示的所述目标歌词中的句子的显示效果,其中,所述数据源模块用于存储所述目标歌词。Send prompt information indicating the playback position to the viewing module, so that the viewing module obtains and displays the sentence in the target lyrics from the data source module based on the prompt information, or adjusts the currently displayed The display effect of sentences in the target lyrics, wherein the data source module is used to store the target lyrics.
  12. 根据权利要求11所述的方法,其中,所述目标歌词中的句子对应时间范围,所述播放信息包括播放时间;以及The method according to claim 11, wherein the sentence in the target lyrics corresponds to a time range, and the playback information includes a playback time; and
    所述基于接收到的与目标歌词有关的播放信息,确定所述目标歌词的播放位置,包括:The determining the playback position of the target lyrics based on the received playback information related to the target lyrics includes:
    若所述视图模块当前显示有所述目标歌词中的句子,则基于所述播放时间和所述视图模块当前显示的句子所对应的时间范围,确定所述播放时间是否对应所述当前显示的句子;If the view module currently displays the sentence in the target lyrics, based on the playback time and the time range corresponding to the sentence currently displayed by the view module, determine whether the playback time corresponds to the currently displayed sentence ;
    若所述播放时间不对应所述当前显示的句子,则基于所述当前显示的句子的下一个句子确定所述播放位置,其中,所述播放位置包括所述下一个句子在所述目标歌词中的位置。If the playback time does not correspond to the currently displayed sentence, the playback position is determined based on the next sentence of the currently displayed sentence, where the playback position includes the next sentence in the target lyrics s position.
  13. 根据权利要求12所述的方法,其中,所述视图模块响应于所述提示信息所指示的所述播放位置用于指示所述下一个句子,基于所述提示信息,从所述数据源模块获取所述下一个句子,并显示所述下一个句子。The method according to claim 12, wherein the view module is used to indicate the next sentence in response to the playback position indicated by the prompt information, and obtains from the data source module based on the prompt information The next sentence, and the next sentence is displayed.
  14. 根据权利要求12或13所述的方法,其中,所述目标歌词中的句子中的单词对应时间范围;以及The method according to claim 12 or 13, wherein the words in the sentence in the target lyrics correspond to a time range; and
    所述基于接收到的与目标歌词有关的播放信息,确定所述目标歌词的播放位置,还包括:The determining the playback position of the target lyrics based on the received playback information related to the target lyrics further includes:
    若所述播放时间对应所述当前显示的句子,则基于所述播放时间和所述当前显示的句子中的单词所对应的时间范围,确定所述播放时间所对应的目标单词;If the playing time corresponds to the currently displayed sentence, determine the target word corresponding to the playing time based on the playing time and the time range corresponding to the words in the currently displayed sentence;
    基于所述播放时间和所述目标单词所对应的时间范围,确定所述目标单词的播放进度;Determining the playback progress of the target word based on the playback time and the time range corresponding to the target word;
    基于所述目标单词和所述播放进度确定所述播放位置,其中,所述播放位置包括所述目标单词在所述当前显示的句子中的位置和所述播放进度。The playing position is determined based on the target word and the playing progress, wherein the playing position includes the position of the target word in the currently displayed sentence and the playing progress.
  15. 根据权利要求14所述的方法,其中,所述显示效果包括颜色渐进效果,所述视图模块响应于所述提示信息所指示的所述播放位置用于指示所述目标单词以及所述播放进度,基于所述提示信息,调整 所述当前显示的句子的颜色渐进效果。The method according to claim 14, wherein the display effect includes a color progressive effect, and the view module is used to indicate the target word and the playback progress in response to the playback position indicated by the prompt information, Based on the prompt information, adjust the color gradual effect of the currently displayed sentence.
  16. 根据权利要求15所述的方法,其中,所述视图模块利用蒙层通道调整所述当前显示的句子的颜色渐进效果。The method according to claim 15, wherein the view module uses a mask channel to adjust the color gradual effect of the currently displayed sentence.
  17. 一种用于处理信息的装置,包括:A device for processing information, including:
    确定单元,被配置成基于接收到的与目标歌词有关的播放信息,确定所述目标歌词的播放位置;The determining unit is configured to determine the playback position of the target lyrics based on the received playback information related to the target lyrics;
    发送单元,被配置成向视图模块发送用于指示所述播放位置的提示信息,以使所述视图模块基于所述提示信息,从数据源模块获取所述目标歌词中的句子并进行显示,或者调整当前显示的所述目标歌词中的句子的显示效果,其中,所述数据源模块用于存储所述目标歌词。The sending unit is configured to send prompt information indicating the playback position to the viewing module, so that the viewing module obtains and displays the sentence in the target lyrics from the data source module based on the prompt information, or Adjusting the display effect of sentences in the currently displayed target lyrics, wherein the data source module is used to store the target lyrics.
  18. 一种电子设备,包括:An electronic device including:
    一个或多个处理器;One or more processors;
    存储装置,其上存储有一个或多个程序,A storage device on which one or more programs are stored,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求11-16中任一所述的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 11-16.
  19. 一种计算机可读介质,其上存储有计算机程序,其中,所述程序被处理器执行时实现如权利要求11-16中任一所述的方法。A computer readable medium having a computer program stored thereon, wherein the program is executed by a processor to implement the method according to any one of claims 11-16.
PCT/CN2020/071147 2019-05-06 2020-01-09 Method, system, and apparatus for processing information WO2020224294A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910371719.9A CN110087122A (en) 2019-05-06 2019-05-06 For handling system, the method and apparatus of information
CN201910371719.9 2019-05-06

Publications (1)

Publication Number Publication Date
WO2020224294A1 true WO2020224294A1 (en) 2020-11-12

Family

ID=67418929

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/071147 WO2020224294A1 (en) 2019-05-06 2020-01-09 Method, system, and apparatus for processing information

Country Status (2)

Country Link
CN (1) CN110087122A (en)
WO (1) WO2020224294A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110087122A (en) * 2019-05-06 2019-08-02 北京字节跳动网络技术有限公司 For handling system, the method and apparatus of information
CN110944226B (en) * 2019-11-27 2021-05-11 广州华多网络科技有限公司 Network Karaoke system, lyric display method in Karaoke scene and related equipment
CN112347298A (en) * 2020-11-13 2021-02-09 广州酷狗计算机科技有限公司 Character information display method, device, terminal and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127210A (en) * 2007-09-20 2008-02-20 Ut斯达康通讯有限公司 Method and device for implementing lyric synchronization when broadcasting song
CN102148048A (en) * 2011-05-12 2011-08-10 北京瑞信在线系统技术有限公司 Lyric display method and device
US8433431B1 (en) * 2008-12-02 2013-04-30 Soundhound, Inc. Displaying text to end users in coordination with audio playback
US9176658B1 (en) * 2013-12-10 2015-11-03 Amazon Technologies, Inc. Navigating media playback using scrollable text
CN105609121A (en) * 2014-11-20 2016-05-25 深圳市腾讯计算机系统有限公司 Method and device for controlling multimedia playing progress
CN106407370A (en) * 2016-09-09 2017-02-15 广东欧珀移动通信有限公司 Song word display method and mobile terminal
CN109543064A (en) * 2018-11-30 2019-03-29 北京微播视界科技有限公司 Lyrics display processing method, device, electronic equipment and computer storage medium
CN110087122A (en) * 2019-05-06 2019-08-02 北京字节跳动网络技术有限公司 For handling system, the method and apparatus of information

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060009979A1 (en) * 2004-05-14 2006-01-12 Mchale Mike Vocal training system and method with flexible performance evaluation criteria
JP4124247B2 (en) * 2006-07-05 2008-07-23 ヤマハ株式会社 Music practice support device, control method and program
CN101840727A (en) * 2010-04-28 2010-09-22 深圳市五巨科技有限公司 Mobile terminal music playing method and device for synchronously displaying lyrics
CN101984490B (en) * 2010-11-23 2012-06-27 亿览在线网络技术(北京)有限公司 Word-for-word synchronous lyric file generating method and system thereof
CN102436838A (en) * 2011-08-30 2012-05-02 北京瑞信在线系统技术有限公司 Lyric displaying method and device executed by computer

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127210A (en) * 2007-09-20 2008-02-20 Ut斯达康通讯有限公司 Method and device for implementing lyric synchronization when broadcasting song
US8433431B1 (en) * 2008-12-02 2013-04-30 Soundhound, Inc. Displaying text to end users in coordination with audio playback
CN102148048A (en) * 2011-05-12 2011-08-10 北京瑞信在线系统技术有限公司 Lyric display method and device
US9176658B1 (en) * 2013-12-10 2015-11-03 Amazon Technologies, Inc. Navigating media playback using scrollable text
CN105609121A (en) * 2014-11-20 2016-05-25 深圳市腾讯计算机系统有限公司 Method and device for controlling multimedia playing progress
CN106407370A (en) * 2016-09-09 2017-02-15 广东欧珀移动通信有限公司 Song word display method and mobile terminal
CN109543064A (en) * 2018-11-30 2019-03-29 北京微播视界科技有限公司 Lyrics display processing method, device, electronic equipment and computer storage medium
CN110087122A (en) * 2019-05-06 2019-08-02 北京字节跳动网络技术有限公司 For handling system, the method and apparatus of information

Also Published As

Publication number Publication date
CN110087122A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
WO2020253806A1 (en) Method and apparatus for generating display video, device and storage medium
WO2020224294A1 (en) Method, system, and apparatus for processing information
WO2020107626A1 (en) Lyrics display processing method and apparatus, electronic device, and computer-readable storage medium
WO2020233444A1 (en) Method and apparatus for inserting information into online document
JP6906584B2 (en) Methods and equipment for waking up devices
WO2020108339A1 (en) Page display position jump method and apparatus, terminal device, and storage medium
WO2021114979A1 (en) Video page display method and apparatus, electronic device and computer-readable medium
US20230070812A1 (en) Audio playing method, apparatus, electronic device and storage medium
WO2020143555A1 (en) Method and device used for displaying information
WO2021012952A1 (en) Message processing method, device and electronic equipment
WO2023051297A1 (en) Information display method and apparatus, electronic device, and storage medium
WO2020259130A1 (en) Selected clip processing method and device, electronic equipment and readable medium
WO2022037419A1 (en) Audio content recognition method and apparatus, and device and computer-readable medium
WO2021012764A1 (en) Audio-video playback method and apparatus, electronic device, and readable medium
WO2022257797A1 (en) Target content display method and apparatus, device, readable storage medium, and product
JP2020174339A (en) Method, device, server, computer-readable storage media, and computer program for aligning paragraph and image
WO2022111206A1 (en) Audio and text synchronization method and apparatus, readable medium, and electronic device
JP2018517195A (en) Multimedia information processing method, apparatus and system, and computer storage medium
WO2021197023A1 (en) Multimedia resource screening method and apparatus, electronic device and computer storage medium
WO2021088794A1 (en) Control setting method and apparatus, electronic device and interaction system
WO2023088006A1 (en) Cloud game interaction method and apparatus, readable medium, and electronic device
US20230131975A1 (en) Music playing method and apparatus based on user interaction, and device and storage medium
WO2020233143A1 (en) Playing progress display method and apparatus, electronic device and storage medium
WO2020147522A1 (en) Method and device for processing audio
WO2021114981A1 (en) Method and apparatus for displaying video playing page, and electronic device and medium

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: 20801816

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02-03-2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20801816

Country of ref document: EP

Kind code of ref document: A1