Lyric synthesis method and device applied to director system, equipment and medium

By crawling and standardizing the lyrics data in real time, and performing animation effects display processing based on the PAG effect file, the problems of low lyric synthesis efficiency and out-synchronization of interactive data in the Android terminal director system are solved, and efficient and synchronous lyric display is achieved.

CN119484919APending Publication Date: 2025-02-18SHENZHEN EASTAI TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411559934.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The existing lyric synthesis method applied to Android terminal director system has problems such as low lyric synthesis efficiency and out of synchronization with lyric interactive data with media content.

Method used

By grabbing the lyrics data of the target player interface in real time, converting it according to the preset lyrics standard format to obtain the standard lyrics data; then the target lyrics information in the standard lyrics data is displayed based on the preset PAG effect file. The lyrics display image is obtained and rendered on the director screen of the director system through a transparent channel.

Benefits of technology

Real-time capture and standardized processing of lyric data is realized, ensuring the synchronous display of lyric interactive data and media content, and improving the efficiency and display effect of lyric synthesis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484919A_ABST
    Figure CN119484919A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a lyric synthesis method and device applied to a program director system, equipment and a medium. The method comprises the following steps: capturing lyric data of a target player interface in real time; converting the lyric data according to a preset lyric standard format to obtain standard lyric data; performing dynamic effect display processing on target lyric information in the standard lyric data according to a preset PAG effect file to obtain a corresponding lyric display image; wherein a transparent channel is reserved in the lyric display image; and rendering the lyric display image on a director picture of a director system according to the transparent channel. The lyric synthesis efficiency and the lyric display effect can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network live broadcasting, and in particular to a lyrics synthesis method, device, equipment and medium applied to a director system. Background Art

[0002] At present, the PC-side director system mainly obtains lyrics through two methods: LCR (Lyrics and Chords Renderer) file loading and lyrics window capture. However, these two lyrics acquisition methods rely on the lyrics window of a specific plug-in or player and cannot be applied to the Android-side director system.

[0003] On the Android platform, existing lyrics display functions usually need to be bound to specific music player applications, or rely on lyrics data provided by third-party servers. These methods have the following limitations:

[0004] 1. The audio source and LRC file are not synchronized: one audio may correspond to multiple LRC files, resulting in the lyrics presentation not matching the audio;

[0005] 2. Lyrics interaction data is not synchronized with media content: due to network delay or imperfect data synchronization mechanism, lyrics interaction data is not synchronized with media content;

[0006] 3. Unable to obtain lyrics across platforms: On the Android platform, the lyrics of most music player software will exist in the form of Android multi-windows. It is impossible to obtain lyrics by capturing the lyrics display window of the player like on the PC.

[0007] Therefore, the existing lyrics synthesis method applied to the Android-side director system has the problems of low lyrics synthesis efficiency and the lyrics interaction data being out of sync with the media content. Summary of the invention

[0008] The embodiments of the present invention provide a lyrics synthesis method, device, equipment and medium applied to a director system, aiming to solve the problems of low lyrics synthesis efficiency and asynchronism between lyrics interaction data and media content in the existing lyrics synthesis method applied to an Android-side director system.

[0009] In a first aspect, an embodiment of the present invention provides a lyrics synthesis method applied to a director system, the method comprising:

[0010] Capture lyrics data of the target player interface in real time;

[0011] Converting the lyrics data according to a preset lyrics standard format to obtain standard lyrics data;

[0012] According to a preset PAG effect file, the target lyrics information in the standard lyrics data is processed for dynamic display to obtain a corresponding lyrics display image; wherein the lyrics display image retains a transparent channel;

[0013] The lyrics display image is rendered on the director screen of the director system according to the transparent channel.

[0014] In a second aspect, an embodiment of the present invention further provides a lyrics synthesis device applied to a director system, the device comprising:

[0015] A capture unit, used for capturing lyrics data of the target player interface in real time;

[0016] A conversion unit, used for converting the lyrics data according to a preset lyrics standard format to obtain standard lyrics data;

[0017] A processing unit, used for performing dynamic display processing on the target lyrics information in the standard lyrics data according to a preset PAG effect file to obtain a corresponding lyrics display image; wherein the lyrics display image retains a transparent channel;

[0018] A rendering unit is used to render the lyrics display image on the director screen of the director system according to the transparent channel.

[0019] In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method described in the first aspect is implemented.

[0020] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and wherein the program instructions, when executed by a processor, can implement the method described in the first aspect above.

[0021] The embodiment of the present invention provides a lyrics synthesis method, device, equipment and medium applied to a director system, the method comprising: real-time capture of lyrics data of a target player interface; conversion of the lyrics data according to a preset lyrics standard format to obtain standard lyrics data; dynamic display processing of target lyrics information in the standard lyrics data according to a preset PAG effect file to obtain a corresponding lyrics display image; wherein the lyrics display image retains a transparent channel; and rendering the lyrics display image on the director screen of the director system according to the transparent channel. The present invention has the following advantages: 1. Real-time capture of player lyrics data can be achieved through Android accessibility services, ensuring that users can quickly obtain lyrics data in any Android director environment; 2. Standardization of lyrics data to achieve synchronous display of lyrics interactive data and media content; 3. Dynamic display processing of target lyrics information can be performed according to a preset PAG effect file to obtain a corresponding lyrics display image, and the lyrics display image can be rendered in real time on the director screen through image synthesis technology, which can effectively improve the lyrics synthesis efficiency and lyrics display effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0023] Figure 1 A schematic diagram of a process flow of a lyrics synthesis method applied to a director system provided by an embodiment of the present invention;

[0024] Figure 2 A flowchart of a lyrics synthesis method applied to a director system provided by an embodiment of the present invention;

[0025] Figure 3 A schematic block diagram of a lyrics synthesis device applied to a director system provided by an embodiment of the present invention;

[0026] Figure 4 A schematic block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0029] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0030] It should be further understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations. The embodiment of the present invention provides a lyrics synthesis method, device, equipment and medium applied to a director system. The lyrics synthesis method applied to a director system can be found in Figure 1 , Figure 1 A flowchart of a lyrics synthesis method applied to a director system provided by an embodiment of the present invention. The method is applied to a controller of a director system; the director system may be an OBS (Open Broadcaster Software), a Douyin live broadcast companion, a video number live broadcast assistant, or other director systems.

[0031] Figure 1 The flowchart of the lyrics synthesis method applied to the director system provided by the embodiment of the present invention is as follows. Figure 1 As shown, the method includes the following steps S110-S150.

[0032] S110, capturing lyrics data of the target player interface in real time.

[0033] In this embodiment, the target player can be a commonly used music player, such as QQ Music, Kugou Music, etc. The target player is communicatively connected to the controller, and the target player and the director system are two independent applications. The embodiment of the present invention can capture the lyrics data of the target player interface in real time through the Android accessibility service; wherein, the target player interface is a designated interface of the target player, and the designated interface includes data such as song name, singer name, album cover, playback progress, lyrics content, etc.; specifically, the director system includes a touch screen communicatively connected to the controller, and the touch screen can display a director screen, and the director screen can be a live screen or a recorded screen; the user can first open the target player in the Android background and play music, and then after opening the lyrics plug-in on the director screen, it will trigger the execution of the corresponding lyrics data capture operation to realize the Android accessibility service.

[0034] Before real-time capture of lyrics data on the target player interface, it is necessary to ensure that the target player is turned on, otherwise data capture cannot be achieved.

[0035] Furthermore, before the lyrics data of the target player interface is captured in real time, the music player, director application and live broadcast application need to be included in the whitelist for keep-alive processing. The applications added to the whitelist will not be restricted by the system and can continue to run in the background, which can improve the overall service stability.

[0036] The real-time capture of lyrics data of the target player interface includes: entering the specified interface of the target player, reading all components of the specified interface through the getAllView method, and then obtaining the component content of the specified component through the getViewByid method; wherein the obtained component content includes song name, singer name, album cover, playback progress, lyrics content, etc.; and the obtained component content is used as the lyrics data.

[0037] In one embodiment, before step S110, it also includes: obtaining the installation status of the target player according to the detected player plug-in startup signal; if the installation status is not installed, generating corresponding prompt information to prompt the user whether to automatically install the application; if the installation method returned based on the prompt information is to automatically install the application, obtaining the application file corresponding to the application address for installation.

[0038] In this embodiment, when the user opens the lyrics plug-in on the director screen, the corresponding player plug-in startup signal will be triggered. The controller can monitor the target player according to the player plug-in startup signal to obtain the installation status of the target player; if the installation status is not installed, a corresponding prompt message is generated to prompt the user whether to automatically install the application; if the installation method returned based on the prompt message is to automatically install the application, the application file corresponding to the application address is obtained to perform the corresponding application installation operation; specifically, after obtaining the installation status of the target player according to the detected player plug-in startup signal, it also includes: if the installation status is installed, obtaining the target player The operation state of the target player is determined to determine whether the target player is in the on state; if the target player is in the on state, it is determined whether the current interface of the target player is a preset designated interface, and if so, the step of grabbing the lyrics data of the target player interface in real time is performed; if not, the target player is automatically jumped to the designated interface according to the interface name of the designated interface to perform the step of grabbing the lyrics data of the target player interface in real time; after obtaining the operation state of the target player to determine whether the target player is in the on state, it also includes: if the target player is in the off state, generating corresponding prompt information to prompt the user to start the target player (for details, please refer to Figure 2 ).

[0039] In this embodiment, the user only needs to complete a few click operations to complete the loading of lyrics, which can effectively simplify the complexity of operations.

[0040] In one embodiment, if the installation method returned based on the prompt information is to automatically install the application, then after executing the corresponding application installation operation, it also includes: judging whether the running status of the target player is on, and obtaining a status judgment result; if the status judgment result is yes, entering the specified interface of the target player to obtain the component content of the specified component; and using the obtained component content as the lyrics data.

[0041] In this embodiment, after the target player is successfully installed, it is determined whether the running status of the target player is turned on, and a status judgment result is obtained; if the status judgment result is yes, the specified interface of the target player is entered to obtain the component content of the specified component; the obtained component content is used as the lyrics data; if the status judgment result is no, a corresponding prompt message is generated to prompt the user to turn on the target player.

[0042] In one embodiment, after step S110, the method further includes: if a player shutdown signal is detected, stopping the step of capturing lyrics data of the target player interface in real time.

[0043] In this embodiment, the user can close the target player on the Android side. When the target player is closed, a player closing signal will be generated to the controller. When the controller detects the player closing information, it will stop executing the step of real-time capture of lyrics data of the target player interface to ensure the synchronous display of lyrics interactive data and media content, and prevent the phenomenon of music being paused but lyrics are still scrolling.

[0044] S120, converting the lyrics data according to a preset lyrics standard format to obtain standard lyrics data.

[0045] In this embodiment, the lyric data is converted according to a preset lyric standard format to obtain standard lyric data; wherein, the lyric standard format may be a standard LRC (Lyric Remote Control) format, and each line of lyrics in the standard lyric data has a specific time, which can be accurate to hundredths of a second; in the prior art, due to network delays or imperfect data synchronization mechanisms, the lyric interaction data is not synchronized with the media content (i.e., the lyric data cannot be read normally, resulting in the lyric interaction data being out of sync with the media content). The embodiments of the present invention can achieve normal reading of the lyric data by standardizing the lyric data, thereby ensuring the synchronous display of the lyric interaction data and the media content.

[0046] In one embodiment, after step S120, it also includes: parsing the standard lyric data to obtain lyric text data with timestamp; cyclically obtaining the playback progress of the target audio according to a preset time interval; judging whether it is consistent with the playback progress according to the target timestamp; wherein the target timestamp is the timestamp corresponding to the target lyric information in the standard lyric data; if inconsistent, obtaining the lyrics line corresponding to the playback progress as the new target lyric information.

[0047] In this embodiment, the standard lyric data is parsed to obtain lyric text data with timestamps; the playback progress of the target audio is cyclically obtained according to a preset time interval; wherein the target audio is the music currently being played; the time interval can be set to 500 milliseconds; and a determination is made based on the target timestamp whether it is consistent with the playback progress; wherein the target timestamp is the timestamp corresponding to the target lyric information in the standard lyric data; if not consistent, the lyric line corresponding to the playback progress is obtained as the new target lyric information to achieve synchronous display of the lyric interactive data and the media content, ensuring that the lyric line displayed on the director's screen is the lyrics corresponding to the current playback progress; if consistent, the step of cyclically obtaining the playback progress of the target audio according to the preset time interval is returned to be executed.

[0048] In one embodiment, after cyclically obtaining the playback progress of the target audio according to a preset time interval, it also includes: determining whether the playback progress has changed relative to the playback progress obtained for the previous two times, and obtaining a playback progress determination result; if the playback progress determination result is no, pausing the step of performing dynamic display processing on the target lyrics information in the standard lyrics data according to a preset PAG effect file to obtain a corresponding lyrics display image; if the playback progress determination result is yes, executing the step of determining whether the target timestamp is consistent with the playback progress.

[0049] In this embodiment, the user can pause the music on the Android side. In order to prevent the phenomenon that the music is paused but the lyrics are still scrolling, it is necessary to determine whether the playback progress has changed compared with the playback progress obtained for the previous two times, and obtain the playback progress judgment result; if the playback progress judgment result is no, it means that the playback progress obtained for three consecutive times has not changed. At this time, it is necessary to pause the execution of the step of performing dynamic display processing on the target lyrics information in the standard lyrics data according to the preset PAG effect file to obtain the corresponding lyrics display image, so as to ensure the synchronous display of the lyrics interactive data and the media content; if the playback progress judgment result is yes, then the step of determining whether it is consistent with the playback progress according to the target timestamp is executed.

[0050] S130, performing dynamic display processing on the target lyrics information in the standard lyrics data according to a preset PAG effect file to obtain a corresponding lyrics display image; wherein the lyrics display image retains a transparent channel.

[0051] In this embodiment, the target lyrics information in the standard lyrics data is processed for dynamic display according to a preset PAG effect file to obtain a corresponding lyrics display image; wherein the lyrics display image retains a transparent channel; the PAG effect file is a file in PAG (Portable Animated Graphics, PAG) format, and developers can pre-make the PAG effect file on AE (Adobe After Effects), and then, according to the PAG effect file, the target lyrics information in the standard lyrics data is processed for dynamic display to obtain special effect text / dynamic special effect text; specifically, the display mode of the lyrics and the highlighting effects also rely on the implementation of the PAG effect file, and the user can switch the display dynamic effects of the lyrics on the director screen according to the needs, which can effectively improve the lyrics display effect; wherein, the display mode can be a scrolling display of the lyrics or a static display of the lyrics.

[0052] Furthermore, the user can also set the lyrics display content in the display list of the lyrics plug-in; wherein the lyrics display list includes display items such as song name, singer name, album cover, play progress, lyrics content, etc. The user can check the display items to be displayed in the display list, and after clicking "Finish", the corresponding lyrics display image will be automatically generated.

[0053] In one embodiment, after step S130, it also includes: if a dynamic effect display switching instruction is detected, obtaining a corresponding new PAG effect file according to the dynamic effect display switching instruction; and performing dynamic effect display processing on the target lyrics information according to the new PAG effect file.

[0054] In this embodiment, there is a one-to-one correspondence between the lyrics animation and the PAG effect file. The user can modify the display animation of the lyrics on the lyrics plug-in. When the user modifies the display animation of the lyrics, a corresponding animation display switching instruction will be generated. The controller can obtain the corresponding new PAG effect file according to the animation display switching instruction; and perform animation display processing on the target lyrics information according to the new PAG effect file.

[0055] S140. Rendering the lyrics display image on a director screen of a director system according to the transparent channel.

[0056] In this embodiment, the lyrics display image is rendered on the director screen of the director system according to the transparent channel to ensure the compatibility of image synthesis and improve the display effect of the lyrics display image; specifically, the lyrics display image can be converted into RGBA format to retain its transparent channel to avoid the image without RGB being black or white; wherein RGBA represents four color channels of red (Red), green (Green), blue (Blue) and transparency (Alpha), which is a standard format for representing colors.

[0057] The embodiment of the present invention provides a lyrics synthesis method, device, equipment and medium applied to a director system, the method comprising: real-time capture of lyrics data of a target player interface; conversion of the lyrics data according to a preset lyrics standard format to obtain standard lyrics data; dynamic display processing of target lyrics information in the standard lyrics data according to a preset PAG effect file to obtain a corresponding lyrics display image; wherein the lyrics display image retains a transparent channel; and rendering the lyrics display image on the director screen of the director system according to the transparent channel. The present invention has the following advantages: 1. Real-time capture of player lyrics data can be achieved through Android accessibility services, ensuring that users can quickly obtain lyrics data in any Android director environment; 2. Standardization of lyrics data to achieve synchronous display of lyrics interactive data and media content; 3. Dynamic display processing of target lyrics information can be performed according to a preset PAG effect file to obtain a corresponding lyrics display image, and the lyrics display image can be rendered in real time on the director screen through image synthesis technology, which can effectively improve the lyrics synthesis efficiency and lyrics display effect.

[0058] Figure 3 Schematic block diagram of a lyrics synthesis device applied to a director system provided by an embodiment of the present invention. Figure 3 As shown, corresponding to the above lyrics synthesis method applied to the director system, the present invention also provides a lyrics synthesis device applied to the director system, and the device is configured in the controller of the director system. Figure 3 , the lyrics synthesis device 700 applied to the director system includes:

[0059] The capture unit 701 is used to capture lyrics data of the target player interface in real time;

[0060] The conversion unit 702 is used to convert the lyrics data according to a preset lyrics standard format to obtain standard lyrics data;

[0061] The processing unit 703 is used to perform dynamic display processing on the target lyrics information in the standard lyrics data according to a preset PAG effect file to obtain a corresponding lyrics display image; wherein the lyrics display image retains a transparent channel;

[0062] The rendering unit 704 is used to render the lyrics display image on the director screen of the director system according to the transparent channel.

[0063] In some embodiments, before executing the step of capturing lyrics data of the target player interface in real time, the capturing unit 701 is further used to:

[0064] The installation status of the target player is obtained according to the detected player plug-in startup signal; if the installation status is not installed, a corresponding prompt message is generated to prompt the user whether to automatically install the application; if the installation method returned based on the prompt message is to automatically install the application, the application file corresponding to the application address is obtained for installation.

[0065] In some embodiments, after executing the corresponding application installation operation steps if the installation mode returned based on the prompt information is to automatically install the application, the capture unit 701 is further configured to:

[0066] Determine whether the running state of the target player is the on state, and obtain a state determination result; if the state determination result is yes, enter the designated interface of the target player to obtain the component content of the designated component; and use the obtained component content as the lyrics data.

[0067] In some embodiments, after executing the step of converting the lyrics data according to a preset lyrics standard format to obtain standard lyrics data, the conversion unit 702 is further used to:

[0068] The standard lyric data is parsed to obtain lyric text data with timestamps; the playback progress of the target audio is cyclically obtained according to a preset time interval; and it is determined whether the target timestamp is consistent with the playback progress according to the target timestamp; wherein the target timestamp is the timestamp corresponding to the target lyric information in the standard lyric data; if inconsistent, the lyrics line corresponding to the playback progress is obtained as the new target lyric information.

[0069] In some embodiments, after executing the step of cyclically acquiring the playback progress of the target audio according to a preset time interval, the conversion unit 702 is further configured to:

[0070] Determine whether the playback progress has changed compared with the playback progress obtained for the previous two times, and obtain a playback progress judgment result; if the playback progress judgment result is no, suspend the step of performing dynamic display processing on the target lyrics information in the standard lyrics data according to the preset PAG effect file to obtain a corresponding lyrics display image; if the playback progress judgment result is yes, execute the step of determining whether it is consistent with the playback progress according to the target timestamp.

[0071] In some embodiments, after executing the step of performing dynamic effect display processing on the target lyrics information in the standard lyrics data according to the preset PAG effect file to obtain the corresponding lyrics display image, the processing unit 703 is further used to:

[0072] If a dynamic effect display switching instruction is detected, the corresponding new PAG effect file is obtained according to the dynamic effect display switching instruction; and the target lyrics information is processed for dynamic effect display according to the new PAG effect file.

[0073] In some embodiments, after executing the step of capturing lyrics data of the target player interface in real time, the capturing unit 701 is further used to:

[0074] If a player shutdown signal is detected, the step of real-time capture of lyrics data of the target player interface is stopped.

[0075] It should be noted that technical personnel in the relevant field can clearly understand that the specific implementation process of the lyrics synthesis device and each unit applied to the director system can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and conciseness of the description, it will not be repeated here.

[0076] The lyrics synthesis device applied to the director system can be implemented in the form of a computer program. Figure 4 Runs on the computer device shown.

[0077] See also Figure 4 , Figure 4 800 is a schematic block diagram of an electronic device provided by an embodiment of the present invention. The computer device 800 may be a terminal or a server, wherein the terminal may be an electronic device with communication functions such as a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of multiple servers.

[0078] See also Figure 4 The electronic device 800 includes a processor 802 , a memory and a network interface 805 connected via a system bus 801 , wherein the memory may include a non-volatile storage medium 803 and an internal memory 804 .

[0079] The non-volatile storage medium 803 can store an operating system 8031 ​​and a computer program 8032. The computer program 8032 includes program instructions, and when the program instructions are executed, the processor 802 can execute a lyrics synthesis method applied to a director system.

[0080] The processor 802 is used to provide computing and control capabilities to support the operation of the entire electronic device 800 .

[0081] The internal memory 804 provides an environment for the operation of the computer program 8032 in the non-volatile storage medium 803. When the computer program 8032 is executed by the processor 802, the processor 802 can execute a lyrics synthesis method applied to the director system.

[0082] The network interface 805 is used to communicate with other devices over the network. Figure 4 The structure shown in the figure is merely a block diagram of a partial structure related to the solution of the present invention, and does not constitute a limitation on the electronic device 800 to which the solution of the present invention is applied. The specific electronic device 800 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0083] The processor 802 is used to run the computer program 8032 stored in the memory to implement the following steps:

[0084] Capture the lyrics data of the target player interface in real time; convert the lyrics data according to a preset lyrics standard format to obtain standard lyrics data; perform dynamic display processing on the target lyrics information in the standard lyrics data according to a preset PAG effect file to obtain a corresponding lyrics display image; wherein the lyrics display image retains a transparent channel; render the lyrics display image on the director screen of the director system according to the transparent channel.

[0085] In some embodiments, before implementing the step of capturing lyrics data of the target player interface in real time, the processor 802 further implements the following steps:

[0086] The installation status of the target player is obtained according to the detected player plug-in startup signal; if the installation status is not installed, a corresponding prompt message is generated to prompt the user whether to automatically install the application; if the installation method returned based on the prompt message is to automatically install the application, the application file corresponding to the application address is obtained for installation.

[0087] In some embodiments, after the processor 802 implements the following steps after executing the corresponding application installation operation steps if the installation mode returned based on the prompt information is to automatically install the application:

[0088] Determine whether the running state of the target player is the on state, and obtain a state determination result; if the state determination result is yes, enter the designated interface of the target player to obtain the component content of the designated component; and use the obtained component content as the lyrics data.

[0089] In some embodiments, after implementing the step of converting the lyrics data according to a preset lyrics standard format to obtain standard lyrics data, the processor 802 further implements the following steps:

[0090] The standard lyric data is parsed to obtain lyric text data with timestamps; the playback progress of the target audio is cyclically obtained according to a preset time interval; and it is determined whether the target timestamp is consistent with the playback progress according to the target timestamp; wherein the target timestamp is the timestamp corresponding to the target lyric information in the standard lyric data; if inconsistent, the lyrics line corresponding to the playback progress is obtained as the new target lyric information.

[0091] In some embodiments, after implementing the step of cyclically acquiring the playback progress of the target audio according to a preset time interval, the processor 802 further implements the following steps:

[0092] Determine whether the playback progress has changed compared with the playback progress obtained for the previous two times, and obtain a playback progress judgment result; if the playback progress judgment result is no, suspend the step of performing dynamic display processing on the target lyrics information in the standard lyrics data according to the preset PAG effect file to obtain a corresponding lyrics display image; if the playback progress judgment result is yes, execute the step of determining whether it is consistent with the playback progress according to the target timestamp.

[0093] In some embodiments, after the processor 802 performs a step of performing dynamic effect display processing on the target lyrics information in the standard lyrics data according to a preset PAG effect file to obtain a corresponding lyrics display image, the processor 802 further implements the following steps:

[0094] If a dynamic effect display switching instruction is detected, the corresponding new PAG effect file is obtained according to the dynamic effect display switching instruction; and the target lyrics information is processed for dynamic effect display according to the new PAG effect file.

[0095] In some embodiments, after implementing the step of capturing lyrics data of the target player interface in real time, the processor 802 further implements the following steps:

[0096] If a player shutdown signal is detected, the step of real-time capture of lyrics data of the target player interface is stopped.

[0097] It should be understood that in the embodiment of the present invention, the processor 802 may be a central processing unit (CPU), and the processor 802 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0098] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.

[0099] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the following steps:

[0100] Capture the lyrics data of the target player interface in real time; convert the lyrics data according to a preset lyrics standard format to obtain standard lyrics data; perform dynamic display processing on the target lyrics information in the standard lyrics data according to a preset PAG effect file to obtain a corresponding lyrics display image; wherein the lyrics display image retains a transparent channel; render the lyrics display image on the director screen of the director system according to the transparent channel.

[0101] In one embodiment, before executing the program instructions to implement the step of real-time capture of lyrics data of the target player interface, the processor further implements the following steps:

[0102] The installation status of the target player is obtained according to the detected player plug-in startup signal; if the installation status is not installed, a corresponding prompt message is generated to prompt the user whether to automatically install the application; if the installation method returned based on the prompt message is to automatically install the application, the application file corresponding to the application address is obtained for installation.

[0103] In one embodiment, after the processor executes the program instructions to implement the following steps, if the installation method returned based on the prompt information is to automatically install the application, then execute the corresponding application installation operation steps:

[0104] Determine whether the running state of the target player is the on state, and obtain a state determination result; if the state determination result is yes, enter the designated interface of the target player to obtain the component content of the designated component; and use the obtained component content as the lyrics data.

[0105] In one embodiment, after the processor executes the program instructions to convert the lyrics data according to a preset lyrics standard format to obtain standard lyrics data, it further implements the following steps:

[0106] The standard lyric data is parsed to obtain lyric text data with timestamps; the playback progress of the target audio is cyclically obtained according to a preset time interval; and it is determined whether the target timestamp is consistent with the playback progress according to the target timestamp; wherein the target timestamp is the timestamp corresponding to the target lyric information in the standard lyric data; if inconsistent, the lyrics line corresponding to the playback progress is obtained as the new target lyric information.

[0107] In one embodiment, after executing the program instructions to implement the step of cyclically acquiring the playback progress of the target audio according to a preset time interval, the processor further implements the following steps:

[0108] Determine whether the playback progress has changed compared with the playback progress obtained for the previous two times, and obtain a playback progress judgment result; if the playback progress judgment result is no, suspend the step of performing dynamic display processing on the target lyrics information in the standard lyrics data according to the preset PAG effect file to obtain a corresponding lyrics display image; if the playback progress judgment result is yes, execute the step of determining whether it is consistent with the playback progress according to the target timestamp.

[0109] In one embodiment, after the processor executes the program instructions to implement the step of performing dynamic effect display processing on the target lyrics information in the standard lyrics data according to the preset PAG effect file and obtaining the corresponding lyrics display image, it further implements the following steps:

[0110] If a dynamic effect display switching instruction is detected, the corresponding new PAG effect file is obtained according to the dynamic effect display switching instruction; and the target lyrics information is processed for dynamic effect display according to the new PAG effect file.

[0111] In one embodiment, after executing the program instructions to implement the step of capturing lyrics data of the target player interface in real time, the processor further implements the following steps:

[0112] If a player shutdown signal is detected, the step of real-time capture of lyrics data of the target player interface is stopped.

[0113] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.

[0114] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0115] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0116] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0117] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.

[0118] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A lyrics synthesis method applied to a director system, characterized in that: The method comprises: Capture lyrics data of the target player interface in real time; Converting the lyrics data according to a preset lyrics standard format to obtain standard lyrics data; According to a preset PAG effect file, the target lyrics information in the standard lyrics data is processed for dynamic display to obtain a corresponding lyrics display image; wherein the lyrics display image retains a transparent channel; The lyrics display image is rendered on the director screen of the director system according to the transparent channel.

2. The lyrics synthesis method applied to the director system according to claim 1 is characterized in that: Before the real-time capture of lyrics data of the target player interface, the method further includes: Obtaining the installation status of the target player according to the detected player plug-in start signal; If the installation status is not installed, a corresponding prompt message is generated to prompt the user whether to automatically install the application; If the installation method returned based on the prompt information is to automatically install the application, then the application file corresponding to the application address is obtained for installation.

3. The lyrics synthesis method applied to the director system according to claim 2 is characterized in that: If the installation method returned based on the prompt information is to automatically install the application, after executing the corresponding application installation operation, the method further includes: Determine whether the target player is in an on state, and obtain a state determination result; If the status judgment result is yes, entering the specified interface of the target player to obtain the component content of the specified component; The obtained component content is used as the lyrics data.

4. The lyrics synthesis method applied to the director system according to claim 1 is characterized in that: After converting the lyrics data according to the preset lyrics standard format to obtain the standard lyrics data, the method further includes: Parsing the standard lyrics data to obtain lyrics text data with timestamp; Looping to obtain the playback progress of the target audio according to the preset time interval; Determine whether it is consistent with the playback progress according to the target timestamp; wherein the target timestamp is the timestamp corresponding to the target lyrics information in the standard lyrics data; If they are inconsistent, the lyrics line corresponding to the playback progress is obtained as the new target lyrics information.

5. The lyrics synthesis method applied to the director system according to claim 4 is characterized in that: After the step of cyclically acquiring the playback progress of the target audio according to the preset time interval, the method further includes: Determine whether the playback progress has changed compared to the playback progress obtained twice before, and obtain a playback progress determination result; If the result of the playback progress judgment is no, pausing the step of performing dynamic effect display processing on the target lyrics information in the standard lyrics data according to the preset PAG effect file to obtain a corresponding lyrics display image; If the playback progress judgment result is yes, the step of judging whether the target timestamp is consistent with the playback progress is performed.

6. The lyrics synthesis method applied to the director system according to claim 1, characterized in that: After performing dynamic effect display processing on the target lyrics information in the standard lyrics data according to the preset PAG effect file to obtain the corresponding lyrics display image, it also includes: If a dynamic effect display switching instruction is detected, a corresponding new PAG effect file is obtained according to the dynamic effect display switching instruction; The target lyrics information is processed for dynamic display according to the new PAG effect file.

7. The lyrics synthesis method applied to the director system according to claim 1 is characterized in that: After the lyrics data of the target player interface is captured in real time, the method further includes: If a player shutdown signal is detected, the step of real-time capture of lyrics data of the target player interface is stopped.

8. A lyrics synthesis device applied to a director system, characterized in that: The device comprises: A capture unit, used for capturing lyrics data of the target player interface in real time; A conversion unit, used for converting the lyrics data according to a preset lyrics standard format to obtain standard lyrics data; A processing unit, used for performing dynamic display processing on the target lyrics information in the standard lyrics data according to a preset PAG effect file to obtain a corresponding lyrics display image; wherein the lyrics display image retains a transparent channel; A rendering unit is used to render the lyrics display image on the director screen of the director system according to the transparent channel.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the lyrics synthesis method applied to the director system as described in any one of claims 1-7 is implemented.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, which includes program instructions. When the program instructions are executed by a processor, the processor executes the lyrics synthesis method applied to the director system as described in any one of claims 1 to 7.