CN113395567A - Subtitle display method and related device - Google Patents

Subtitle display method and related device Download PDF

Info

Publication number
CN113395567A
CN113395567A CN202110657036.7A CN202110657036A CN113395567A CN 113395567 A CN113395567 A CN 113395567A CN 202110657036 A CN202110657036 A CN 202110657036A CN 113395567 A CN113395567 A CN 113395567A
Authority
CN
China
Prior art keywords
display
interactive
subtitle
color
subtitles
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202110657036.7A
Other languages
Chinese (zh)
Other versions
CN113395567B (en
Inventor
詹昊
王猛
崔行健
李泽帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110657036.7A priority Critical patent/CN113395567B/en
Publication of CN113395567A publication Critical patent/CN113395567A/en
Application granted granted Critical
Publication of CN113395567B publication Critical patent/CN113395567B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Abstract

The embodiment of the application discloses a subtitle display method and a related device.A processing device can acquire a subtitle sending request aiming at a target video, the subtitle sending request comprises an interactive subtitle to be displayed and a color-changing type identifier, the interactive subtitle is displayed in a display area of the target video according to a first display color and a second display color corresponding to the color-changing type, and the display color of characters in the interactive subtitle can be changed from the first display color to the second display color based on a character display sequence in a time interval for displaying the interactive subtitle. This kind of mode of discolouing can improve the richness and the interest of subtitle form on the one hand, and on the other hand changes colour to the character in proper order based on character show order can better attract user's attention, plays the effect that the guide user browses the character that this interactive subtitle includes, and subtitle show form has not only been richened to brand-new subtitle show mode, has still promoted the interactive appeal of user when watching the video.

Description

Subtitle display method and related device
Technical Field
The present application relates to the field of video technologies, and in particular, to a subtitle display method and a related apparatus.
Background
Subtitles such as a bullet screen refer to some content appearing in a video display area in a character form, such as a commenting character, and transmitting the subtitles is a common interactive mode when a user watches a video, and for example, when watching a live broadcast, the user can interact with other users in a main broadcast or a live broadcast room by transmitting the subtitles.
In the related art, the way subtitles are presented in a video presentation area is relatively singular, e.g., most subtitles simply scroll from one side of the presentation area to the other.
The subtitle display form lacks diversity and interest, is difficult to attract users to read subtitle content, and gradually loses the interaction effect when watching videos through subtitles.
Disclosure of Invention
In order to solve the above technical problem, an embodiment of the present application provides a subtitle display method, where a processing device may improve richness and playability of a subtitle type through a color change of a character, and improve a user's interactive experience based on a subtitle playing method.
The embodiment of the application discloses the following technical scheme:
in a first aspect, an embodiment of the present application discloses a subtitle display method, including:
acquiring a subtitle display request aiming at a target video, wherein the subtitle display request comprises an interactive subtitle to be displayed and a color change type identifier;
determining the display type of the interactive subtitle to be a color change type based on the color change type identifier;
displaying the interactive subtitles in the display area of the target video according to the first display color and the second display color corresponding to the color change type, and changing the display colors of the characters in the interactive subtitles from the first display color to the second display color based on the character display sequence in the time interval for displaying the interactive subtitles.
In a second aspect, an embodiment of the present application discloses a subtitle display apparatus, where the apparatus includes a first obtaining unit, a first determining unit, and a first display unit:
the first obtaining unit is used for obtaining a subtitle display request aiming at a target video, and the subtitle display request comprises an interactive subtitle to be displayed and a color change type identifier;
the first determining unit is configured to determine, based on the color change type identifier, that the display type of the interactive subtitle is a color change type;
the first display unit is used for displaying the interactive subtitles in the display area of the target video according to a first display color and a second display color corresponding to the color change type, and in the time interval for displaying the interactive subtitles, the display colors of the characters in the interactive subtitles are changed into the second display color from the first display color based on the character display sequence.
In a third aspect, an embodiment of the present application discloses a computer device, where the device includes a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the subtitle presentation method according to any one of the first aspect according to an instruction in the program code.
In a fourth aspect, an embodiment of the present application discloses a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the subtitle display method according to any one of the first aspects.
According to the technical scheme, the subtitle sending request aiming at the target video can be obtained, the subtitle sending request comprises the interactive subtitle to be displayed and the color-changing type identification, after the display type of the interactive subtitle is determined to be the color-changing type based on the color-changing type identification, the interactive subtitle can be displayed in the display area of the target video according to the first display color and the second display color corresponding to the color-changing type, in the time interval for displaying the interactive subtitle, in order to improve the diversity and interestingness of the subtitle form, the display color of characters in the interactive subtitle can be changed from the first display color to the second display color based on the character display sequence, and therefore the interactive subtitle displayed in the display area is finally changed into the second display color from the first display color. This kind of mode of discolouing can improve the richness and the interest of subtitle form on the one hand, and on the other hand changes colour to the character in proper order based on character show order can better attract user's attention to play the effect that the guide user browses the character that this interactive subtitle includes, the subtitle show form has not only been richened to brand-new subtitle show mode, has promoted the interactive appeal of user when watching the video moreover.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a subtitle display method in an actual application scenario according to an embodiment of the present application;
fig. 2 is a flowchart of a subtitle display method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a processing device interface according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a subtitle display method according to an embodiment of the present application;
fig. 5 is a schematic view of an interface of a processing device according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a subtitle display method according to an embodiment of the present application;
fig. 7 is a schematic diagram of reducing caption interference according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating a display method according to an embodiment of the present disclosure;
fig. 9A is a schematic diagram of a subtitle display method according to an embodiment of the present application;
fig. 9B is a schematic diagram of a subtitle display method according to an embodiment of the present application;
fig. 10 is a schematic diagram of a subtitle display method according to an embodiment of the present application;
fig. 11 is a flowchart of a subtitle display method in an actual application scenario according to an embodiment of the present application;
fig. 12 is a block diagram illustrating a subtitle display apparatus according to an embodiment of the present disclosure;
fig. 13 is a block diagram of a computer device according to an embodiment of the present application;
fig. 14 is a block diagram of a server according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described below with reference to the accompanying drawings.
Subtitles have become one of the main ways that current users interact in video, for example, when seeing highlights in a video, subtitles of "666", "too much" etc. can be sent to convey their own experience to other users watching the video.
However, in the related art, the type of the subtitles is single and boring, and usually, the subtitles can only be moved from one end of the corresponding display area of the video to the other end based on a single display color, and the subtitles have poor appearance to the user and are difficult to attract the interactive interest of the user.
In order to solve the above technical problem, an embodiment of the present application provides a subtitle display method, where a processing device may display a novel interactive subtitle in a display area of a target video, and characters included in the interactive subtitle may be changed from a first display color to a second display color based on a character display sequence in a display time interval, and richness and playability of a subtitle type may be improved through a color change of the characters, so as to improve an interactive experience of a user based on a subtitle playing method.
It is understood that the method may be applied to a processing device, which is a processing device capable of performing subtitle presentation, for example, a terminal device that may have a subtitle presentation function. The method can be independently executed by the terminal equipment, can also be applied to a network scene of communication between the terminal equipment and the server, and is executed by the cooperation of the terminal equipment and the server. The terminal device may be a computer, a Personal Digital Assistant (PDA), a tablet computer, or the like. The server may be understood as an application server or a Web server, and in actual deployment, the server may be an independent server or a cluster server. Meanwhile, in a hardware environment, the technology has been implemented in the following environments: an ARM architecture processor, an X86 architecture processor; in a software environment, the technology has been implemented in the following environments: android platform, Windows xp and operating systems or Linux operating systems.
In order to facilitate understanding of the technical solution provided by the embodiment of the present application, a description will be given to a subtitle display method provided by the embodiment of the present application in combination with an actual application scenario.
Referring to fig. 1, fig. 1 is a schematic view of a subtitle display method in an actual application scenario provided in the present application, in the actual application scenario, a processing device is a terminal device 101, the terminal device 101 may be a mobile phone used when a user watches a live video, and a target video is a live video played in the mobile phone.
In the process of watching a live video by a user, if the user sends a color-changing type interactive subtitle for the live video, the terminal device 101 may obtain a subtitle display request for the live video, where the subtitle display request includes an interactive subtitle to be displayed and a color-changing type identifier. According to the color-changing type identifier, the terminal equipment can determine that the display type of the interactive subtitle is the color-changing type.
After determining that the display color is the color-changing type, the terminal device 101 may display the interactive subtitle in the display area of the live video according to the first display color and the second display color corresponding to the color-changing type, and may change the display color of the characters in the interactive subtitle from the first display color to the second display color based on the character display sequence in the time interval for displaying the interactive subtitle. As shown in fig. 1, the interactive subtitle is a lyric, and the terminal device 101 may change the text from the first display color to the second display color from left to right based on the singing sequence corresponding to the lyric.
Through the change of the character color in the caption, the terminal device 101 can show a novel caption form to the user, thereby enriching the caption types and playability; in addition, the attention of the user to the subtitles can be further attracted by changing the colors based on the character display sequence, so that the user can be promoted to participate in the interaction of the subtitles, and a novel visual effect can be provided for the target video. For example, in the scene shown in fig. 1, since the position of the interactive subtitle is similar to the display position of the lyrics in a Karaoke (KTV) video, and the color of the lyrics in the subtitle changes along with the singing sequence of the lyrics, the subtitle display manner can simulate the display effect similar to the KTV.
When the user is familiar with the lyrics, the user can think of the song corresponding to the lyrics when seeing the special effect caption, and the singing sound of the song can be reflected in the brain, so that the effect of adding background music in the video can be created based on a simple caption display mode, and the watching experience of the user is improved in the aspects of vision and hearing.
Next, a subtitle display method provided by an embodiment of the present application will be described with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 is a flowchart of a subtitle display method according to an embodiment of the present application, where the method includes:
s201: and acquiring a subtitle display request aiming at the target video, wherein the subtitle display request comprises interactive subtitles to be displayed and a color change type identifier.
The target video may be any video supporting the interactive subtitle playing method, and the form of the target video may include multiple forms, for example, a live video, a video-recording video, and the like. In the process that a user watches a target video, multiple types of interactive subtitles can be sent to interact with other users watching the target video or publishers of the target video, wherein the publishers can be, for example, the anchor of live video, and the interactive subtitles refer to subtitles capable of playing an interactive effect.
In order to improve the richness and the playability of the subtitle playing method, the processing device can newly add an interactive subtitle with a color-changing type as a display type, wherein the display type refers to a display mode of the interactive subtitle in a display area of a target video, the display area is used for displaying the target video, characters in the interactive subtitle with the color-changing type can change colors in the display area according to a certain color-changing sequence, and for common subtitles which cannot change colors, the color-changing type interactive subtitle can attract a user to browse the interactive subtitle, so that the participation of the user in the interactive subtitle playing method is improved. The characters are the general names of characters, character-like units or symbols and other various special symbols.
When there is a sending demand for the color-changing type interactive subtitle, the processing device may obtain a subtitle display request for a target video, where the subtitle display request is used to display the interactive subtitle in the target video. The caption display request comprises an interactive caption to be displayed and a color-changing type identifier, wherein the color-changing type identifier is used for identifying the interactive caption to be displayed as a color-changing type of interactive caption.
S202: and determining the display type of the interactive subtitle to be the color change type based on the color change type identification.
Since the interactive subtitle transmitted for the target video may have multiple display types, the processing device may first determine the display type of the interactive video based on the type identifier included in the subtitle display request. Based on the color-changing type identifier included in the subtitle display request, the processing device may determine that the display type of the interactive subtitle is the color-changing type, and perform steps required for displaying the color-changing type of the interactive subtitle. If the type identifier in the subtitle display request is not the color-changing type identifier, the steps required for displaying the interactive subtitles of other display types can be executed.
S203: and displaying the interactive subtitles in the display area of the target video according to the first display color and the second display color corresponding to the color change type.
In order to achieve the color change effect of the interactive subtitle in the display area, the processing device may determine a first display color and a second display color corresponding to the color change type, where the first display color is a display color of the characters in the interactive subtitle before color change, and the second display color is a display color of the characters in the interactive subtitle after color change.
The determination method of the first display color and the second display color may include multiple types, for example, the first display color and the second display color may be default colors in the color change type, or colors selected by a user who sends the interactive subtitle, which is not limited herein. The interactive subtitle has a corresponding time interval for displaying, and the time interval is a time interval for displaying the interactive subtitle in a display area of the target video. The processing device may display the interactive subtitle in the display area at a start time of the time interval, where an initial display color of characters included in the interactive subtitle is a first display color. In the time interval, the processing equipment can change the color of the character from the first display color to the second display color, so that before the interactive subtitle disappears from the display area, a user can see the complete color conversion process of the interactive subtitle, the display effect of the color-changing subtitle is realized, the display effect type of the interactive subtitle is enriched, and the interestingness is improved.
In order to make the color-changing display effect more suitable for the user to browse the subtitles, the processing device may determine a display sequence of the characters corresponding to the interactive subtitles, where the display sequence of the characters is a sequence of the processing device when the characters included in the interactive subtitles are displayed in the display area. Generally, the character display sequence is an interactive intention that can effectively represent the interactive subtitle, for example, when the interactive subtitle is a sentence, the character display sequence may be an input sequence of characters included in the sentence. Therefore, the display color of the characters in the interactive subtitles is changed from the first display color to the second display color based on the character display sequence, so that the subtitle browsing of the user can be more effectively guided on the basis of attracting the user to browse the interactive subtitles, the interactive experience of the user based on the interactive subtitles is improved, and the user is further attracted to participate in the interaction.
The setting mode of the character display sequence can include multiple modes according to different display requirements. In one possible implementation manner, in order to embody the meaning that a subtitle publisher of the interactive subtitle wants to express when publishing the interactive subtitle, the character display order may be a character arrangement order corresponding to the interactive subtitle, the subtitle arrangement order may identify an arrangement relationship among a plurality of characters included in the interactive subtitle, and the arrangement relationship may embody an input order of the subtitle publisher when inputting the interactive subtitle to some extent. Therefore, when the color of the subtitles is changed based on the character arrangement sequence, the user can be better guided to understand the user intention expressed by the interactive subtitles, and the browsing experience of the user is improved.
In addition, when the interactive subtitle has subtitle content with certain semantic meanings, in order to enable a user to more easily understand the semantics of the interactive subtitle when browsing the interactive subtitle, so that the browsing efficiency of the user is improved, the processing device can also set the character display sequence to be consistent with the semantic reading direction of the interactive subtitle, and the semantic reading direction refers to a reading direction capable of optimally understanding the semantics of the interactive subtitle. For example, when the interactive subtitle is a sentence, the processing device may determine the semantic reading direction based on the familiar way people speak the sentence; when the interactive subtitle is a sentence of lyrics, the semantic reading direction can be determined based on the singing mode of the lyrics.
The display sequence is determined based on the semantics of the interactive subtitles because the character display sequence is consistent with the semantic reading direction, namely when the processing equipment displays the characters of the interactive subtitles in the display area, no matter which semantic reading direction is set by the processing equipment, the user can browse the interactive subtitles in the browsing direction which is easy to understand in the process of actually displaying the interactive subtitles. Based on this, in order to improve the richness and interest of the interactive play method, the processing device may set a plurality of semantic reading directions, which may include a left-to-right direction, a right-to-left direction, or a top-to-bottom direction in the display area. Therefore, on the basis of ensuring that the user can easily browse, the browsing experience and the visual experience of the user are enriched. As shown in fig. 9A, the display sequence of the characters of the lyrics may be from left to right, or from top to bottom as shown in fig. 9B, and since the color change sequence of the lyrics is consistent with the order of the singing modes of the lyrics, the browsing understanding difficulty is low for the user, and the effect of enriching the visual effect of the user can be achieved.
According to the technical scheme, in order to improve the diversity and the interestingness of the subtitle form, the display color of the characters in the interactive subtitle can be changed from the first display color to the second display color based on the character display sequence, so that the interactive subtitle displayed in the display area is finally changed from the first display color to the second display color. This kind of mode of discolouing can improve the richness and the interest of subtitle form on the one hand, and on the other hand changes colour to the character in proper order based on character show order can better attract user's attention to play the effect that the guide user browses the character that this interactive subtitle includes, the subtitle show form has not only been richened to brand-new subtitle show mode, has promoted the interactive appeal of user when watching the video moreover.
When the interactive subtitle is presented in the presentation area, a user who sees the interactive subtitle may generate an interest in transmitting such a subtitle. Based on this, in order to further improve the interactive experience of the user, the processing device may further prompt the user of the display type of the interactive subtitle in a suitable display manner, so that more users can participate in the color-changing subtitle playing method. For example, the display mode may include the following:
the first method is as follows:
in a possible implementation manner, the target video has a related interactive comment area, the interactive comment area is used for displaying an interactive comment related to the target video, besides the interactive subtitles, the user can participate in an interaction related to the target video through the interactive comment, for example, the user can send the interactive comment to express the experience of watching the target video, and a plurality of users watching the target video can see comment content sent by the other party in the interactive comment area.
Based on this, the processing device can also take the interactive subtitles as target comments in an interactive comment area related to the target video, and perform associated display with the color-changing type identifier.
As shown in fig. 3, fig. 3 is a schematic view of a processing device interface provided in an embodiment of the present application, where the processing device may be a mobile phone, a target video is a live video played in the mobile phone, the live video has a related interactive comment area, and 4 users in the interactive comment area issue interactive comments, where when a user D sends an interactive subtitle shown in the figure, the mobile phone may display the interactive subtitle in the interactive comment area as the target comment. In order to enable other users to know the display type of the interactive subtitle, the mobile phone can display the color-changing type identifier after the target comment. In the schematic diagram, the color-changing type interactive subtitle sent by the user D may be referred to as a "KTV subtitle" because it has a similar presentation form as the lyrics of KTV, and the color-changing type identifier may be a KTV type identifier as shown in the figure.
Meanwhile, by the display method, even if the user does not see the interactive subtitles sent in the display area due to the communication in the interactive comment area, the attention of the user to the subtitles can be attracted through the target comment with the color-changing type identifier, so that the participation willingness of the user to the color-changing subtitle playing method is further improved.
In addition, in order to make other users know which user issued the color-changing type of interactive subtitle, the processing device may further display the user identifier of the issuing user in association with the target comment in the interactive comment area, for example, in the interface shown in fig. 3, the head portrait and the user identifier of the user D are in front of the target comment.
The second method comprises the following steps:
besides the display in the interactive comment area, in order to improve the popularization of the color-changing caption playing method, the processing equipment can also display the color-changing type identifier in association with the interactive caption in a time interval for displaying the interactive caption, so that a user can know the display type of the interactive caption through the color-changing type identifier when seeing the interactive caption, and can attract the user to participate in the interactive playing method. As shown in fig. 4, the KTV caption id corresponding to the interactive caption may be displayed behind the interactive caption.
After the color-changing type identifier is presented in an associated manner, a user who sees the color-changing type identifier may generate a requirement for sending subtitles of the same presentation type. At this time, in order to further improve the convenience of the interactive mode and provide better interactive experience for the user, in a possible implementation manner, the processing device may monitor a trigger operation made by the user, and when a trigger operation for the color-changing type identifier displayed in the above manner occurs, for example, when an operation such as a click identifier or a slide identifier is performed, it is indicated that the user has a desire to participate in the color-changing caption play, at this time, the processing device may provide a more convenient color-changing caption sending manner for the user, so that the user can quickly participate in the interactive play.
In the embodiment of the application, in response to a trigger operation for the displayed color-changing type identifier, the processing device may display a subtitle input interface corresponding to the color-changing type, where the subtitle input interface is used to input subtitle content that a user wants to send a color-changing type interactive subtitle. The processing device may generate a subtitle publishing request for the target video through the target subtitle acquired by the subtitle input interface, where the subtitle publishing request is used to publish the target subtitle in a display area of the target video. The subtitle release request comprises a target subtitle to be released and a color change type identifier, and the target subtitle is the subtitle content which the user wants to send at this time. Because the user is the trigger operation made aiming at the color-changing type identification, in order to meet the desire of the user to participate in the color-changing caption playing method more quickly, the caption input interface provided by the processing equipment can directly input the caption content to be sent without the operation of selecting the display type by the user, so that the sending of the color-changing caption can be realized, the operation steps required by the participation in the color-changing caption playing method are simplified, and the user experience is further improved.
As shown in fig. 5, fig. 5 is a schematic view of an interface of a processing device according to an embodiment of the present application, in the schematic view on the left side, a user may click a type identifier of the KTV subtitle with a finger, and a mobile phone may pop up a subtitle input interface corresponding to the type of the KTV subtitle in an interactive comment area in the schematic view on the right side, where an icon above the interface shows that, at a selection interface of a display type, the KTV subtitle identifier is in a selected state, and a user does not need to select the display type any more, and directly inputs subtitle content to be sent in the subtitle input interface. After acquiring the subtitle content input by the user based on the interface, the mobile phone can generate a subtitle release request aiming at the subtitle content, wherein the subtitle release request comprises the subtitle content to be released and the KTV type identification, so that the subtitle content can be displayed in a display area in a KTV type based on the subtitle release request in the subsequent process.
Of course, in addition to sending through the color-changing type identifier, the processing device may also provide the most basic subtitle sending manner for the user, for example, in the interface shown in fig. 5, the user may directly click the subtitle input area below the left schematic diagram to trigger display of the subtitle input interface, and select the KTV subtitle identifier from the common subtitle identifier, the enlarged subtitle identifier, and the KTV subtitle identifier provided in the subtitle input interface, so as to jump to the subtitle input interface for sending the KTV subtitle shown in the right schematic diagram to issue the KTV subtitle.
As mentioned above, the first display color and the second display color corresponding to the color-changing type can be set by the initiator of the interactive subtitle, and in the above manner, the user can initiate the subtitle release request of the interactive subtitle through the subtitle input interface. Based on this, in order to further improve the convenience of the color-changing subtitle playing method, the processing device may provide the user with a function of selecting a presentation color directly through the subtitle input interface.
In a possible implementation manner, the processing device may display a plurality of display colors on the subtitle input interface, and obtain a color selection instruction through the plurality of display colors displayed on the subtitle input interface, where the color selection instruction is used to select a display color of the interactive subtitle in the color changing process. For example, the user may issue the color selection instruction by clicking on the icon corresponding to the color. The processing equipment can determine the first display color and the second display color from the plurality of display colors according to the color selection instruction, so that a convenient color selection function is provided for a user, and the freedom of the color-changing caption playing method is improved.
It can be understood that, since the display types of the interactive subtitles may include multiple types, in order to improve richness of the interactive subtitle playing method, in the display area corresponding to the target video, in addition to displaying the color-changing type of the interactive subtitles, the processing device may also display some other display types of the interactive subtitles. For example, the display area may further include a standard interactive subtitle with a display type that is not a color-changing type, that is, in a time interval in which the standard interactive subtitle is displayed, a display color of characters included in the standard interactive subtitle does not change based on a display order of the characters.
Since the display color of the characters included in the standard interactive subtitle does not change, the standard interactive subtitle may have a poor effect of improving the user interactive experience compared to a color-changing type interactive subtitle. Therefore, in order to avoid interference on the display of the color-changing type interactive subtitles due to the fact that the standard interactive subtitles are displayed in the display area, and therefore the interactive experience of a user is reduced, the processing equipment can set a high subtitle display priority for the color-changing type interactive subtitles to reduce the display interference of other subtitles on the subtitles.
The interference reduction can be divided into two aspects of reducing interference of standard interactive subtitles to be displayed and reducing interference of displayed standard interactive subtitles, and will be described in detail with reference to specific embodiments.
The interference of the standard interactive subtitles to be displayed is reduced:
it can be understood that, in order to successfully implement the display of the interactive subtitles in the display area, the processing device needs to determine, on one hand, a time interval for displaying the interactive subtitles and, on the other hand, a corresponding display position of the interactive subtitles in the display area, so that for each interactive subtitle, the processing device can acquire a time interval attribute and a display position attribute corresponding to the interactive subtitle.
When the interactive subtitles are displayed in the display area, the interference between the interactive subtitles means that a plurality of interactive subtitles have overlapped display positions at the same time, namely, in the visual angle of a user, the subtitle overlapping condition occurs between the interactive subtitles, as shown in fig. 6, the first subtitle is the color-changing type interactive subtitle, the second subtitle is the standard interactive subtitle, and the first subtitle and the second subtitle have overlapped display positions, so that the user can be interfered to browse the interactive subtitles, and the display effect of the color-changing type interactive subtitles can be reduced.
Based on this, in order to avoid this situation, in a possible implementation manner, before displaying the color-changing type of the interactive subtitle, the processing device may determine a starting display time, an ending display time, and a target display position in the display area, which correspond to the interactive subtitle, where the starting display time is a time when the interactive subtitle starts to be displayed in the display area, the ending display time is a time when the interactive subtitle finishes being displayed in the display area, and the target display position is a position in the display area corresponding to the interactive subtitle when the interactive subtitle is displayed.
The processing equipment can determine that a display time window is overlapped with the interactive time window from standard interactive subtitles to be displayed according to the interactive time windows marked by the initial display time and the ending display time, the subtitles to be processed with overlapped display positions and the target display positions are displayed, the interactive time window is used for determining a time interval for displaying the interactive subtitles, and the display time window is used for determining a time interval for displaying the standard interactive subtitles. Due to the fact that the display time is overlapped and the display positions are overlapped, the interactive subtitles can be interfered with by the subtitles to be processed with high probability in the display process. In order to reduce interference, the processing device may move the presentation time window of the to-be-processed subtitle out of the interactive time window or move the presentation position of the to-be-processed subtitle out of the target presentation position before presenting the to-be-processed subtitle. By moving out the interactive time window, the processing equipment can ensure that even if the subtitle to be processed and the interactive subtitle have overlapped display positions, the display time intervals are not overlapped, so that a user cannot see the overlapping condition of the two interactive subtitles; by moving out the target display position, the processing equipment can ensure that even if the to-be-processed caption and the interactive caption have overlapped display time intervals, the display positions are not overlapped completely, so that a user can clearly see the display condition of the to-be-processed caption and the interactive caption in the display area, and the effect of reducing the interference on the interactive caption is realized.
Reducing the interference of the displayed standard interactive captions:
when a subtitle display request for a target video is acquired, part of standard interactive subtitles may be displayed in a display area by a processing device, and in order to further reduce display interference on the interactive subtitles, the processing device may further process the displayed standard interactive subtitles.
In one possible implementation manner, before displaying the interactive subtitle, the processing device may determine a target display position of the interactive subtitle in the display area, and then clear the standard interactive subtitle being displayed at the target display position, so that the interactive subtitle can be displayed at the target display position without being interfered by other standard interactive subtitles.
As shown in fig. 7, fig. 7 is a schematic view for reducing subtitle interference according to an embodiment of the present application, when a target display position has a standard interactive subtitle being displayed, a processing device may add an overlay layer on the target display position, where the overlay layer is used to block the standard interactive subtitle being displayed, and then display the interactive subtitle above the overlay layer at the target display position, so as to achieve an effect of removing the standard interactive subtitle in the target display position. In addition, the processing device can also achieve the effect of emptying the target display position by controlling the standard interactive subtitles to leave the target display position and the like.
In addition, in order to further improve the priority of the color-changing type interactive subtitles, in a possible implementation manner, the processing device may further set a color-changing type dedicated queue, where the queue is only responsible for the display operation of the color-changing type interactive subtitles. After the subtitle display request is obtained, the processing device can add the interactive subtitle to a color-changing type special queue corresponding to the target video, extract the interactive subtitle according to the arrangement sequence of the subtitles in the color-changing type special queue, and execute the step of displaying the interactive subtitle in a display area of the target video according to a first display color and a second display color corresponding to the color-changing type. Therefore, by setting the special queue, the display processing can be carried out at the first time when the color-changing type interactive subtitles are received, the display processing process is not influenced by the sending sequence of other standard interactive subtitles, and therefore the color-changing type interactive subtitles can be normally displayed no matter how many standard interactive subtitles are to be displayed.
The above description describes how to reduce the interference of the subtitles with lower priority to the interactive subtitles, and next, several ways of improving the interactive subtitle display effect will be described to further improve the interactive experience of the user.
In a possible implementation manner, the presentation area may have a plurality of presentation positions for presenting the interactive subtitle, where the plurality of presentation positions includes a preferred presentation position, and the preferred presentation position refers to a presentation position that is most suitable for a user to browse among the plurality of presentation positions, and may be, for example, a middle position or a topmost position in the presentation area. In order to avoid that the user misses each interactive subtitle to a certain extent so as to improve the subtitle browsing experience of the user, the processing device can display the latest transmitted interactive subtitle through the preferential display position, so that the user can browse the latest transmitted interactive subtitle when a new interactive subtitle is displayed.
If the preferential display position is displaying other interactive subtitles when displaying the interactive subtitles, the processing device may pre-display the interactive subtitles at display positions other than the preferential display position among the plurality of display positions, where the pre-display indicates that only subtitle content corresponding to the interactive subtitles is displayed, and the color change operation of the characters in the interactive subtitles is not performed. Therefore, in the pre-display time, the user can browse the subtitle content of the interactive subtitle in advance, and meanwhile, the pre-displayed interactive subtitle cannot be subjected to color change operation, so that the influence on other currently displayed interactive subtitles is low. When the display of the other interactive subtitles is finished, the processing device can move the interactive subtitles to the preferential display position, and execute the step of displaying the interactive subtitles in the display area of the target video according to the first display color and the second display color corresponding to the color change type. Through the display mode, the processing equipment can enable the user to browse the latest interactive subtitles in time after browsing other interactive subtitles, so that the interactive subtitles can accurately reflect the video watching experience of a subtitle publisher when publishing, thereby improving the browsing experience of the subtitle browser on the one hand and enabling the subtitle interaction demand of the subtitle publisher to be well met on the other hand.
As shown in fig. 8, fig. 8 is a schematic view of a display method provided in the embodiment of the present application, and the optimal display position may be a middle position of the display area. When the user is seeing the highlight operation of the anchor, the interactive subtitle with the content of "this operation is also very highlight" can be transmitted. Because the optimal display position is provided with other interactive subtitles which are subjected to color change display, the interactive subtitles can be pre-displayed below the optimal display position, and after the display of the other interactive subtitles is finished, the interactive subtitles are moved to the optimal display position for color change display.
In addition to the above presentation manner, in a possible implementation manner, in order to reasonably distribute the interactive subtitles, the processing device may present a plurality of interactive subtitles in the presentation area according to the release time of the interactive subtitles or according to the time when the subtitle presentation request is received. As shown in fig. 10, the processing device may display 3 interactive subtitles from bottom to top in the display area according to the sequence of the interactive subtitle release time from first to last, and when the 3 interactive subtitles are displayed, if the subtitle release request of the interactive subtitle 4 is obtained, the processing device may determine the interactive subtitle 2 that is displayed first in the 3 interactive subtitles, and after the interactive subtitle 2 is displayed, the interactive subtitle 4 may be inserted into the display position of the interactive subtitle 2 for display, so that interference on display of other interactive subtitles may be reduced, and display of new interactive subtitles may be reasonably arranged.
It can be understood that, because the interactive subtitles can be similar to the display mode of the lyrics in the KTV, and change colors according to a certain color change sequence, in a possible implementation mode, in order to enable a user to obtain interactive experience with richer layers by browsing the interactive subtitles, the processing device can further simulate the effect of the KTV by setting a more detailed display mode.
For example, the processing device may set the presentation position of the interactive subtitle in the presentation area to be in a bottom center area of the presentation area to simulate a lyric position in a KTV centered at the bottom of a song video. The processing device can identify whether the interactive caption is the lyrics, and if the interactive caption is the target lyrics, the processing device can determine the song corresponding to the target lyrics. Subsequently, in order to simulate the effect of actually singing the target lyrics, the processing device may determine the length of the time interval for displaying the interactive subtitles according to the singing duration of the target lyrics in the corresponding song. Therefore, when the processing equipment displays the color change process of the interactive subtitle through the time interval with the length, the display effect of singing the target lyrics in the KTV can be simulated. When the user who browses the interactive subtitles is familiar with the song corresponding to the target lyric, the voice, the melody and the like of singing the target lyric can be easily associated in the brain through the display mode, so that the effect similar to adding background music to the target video can be realized through simple subtitle display, and the interactive experience of the user is enriched from two dimensionalities of vision and hearing.
As shown in fig. 1, when a splendid game operation is performed on a main broadcast in which the game video is live, the user may send a content "how hostile is how lonely" lyrics in a certain song ", and the terminal device 101 may display the interactive subtitle in a bottom central area of the display area and determine a singing duration of the lyrics in the song as a length of the display time interval. Therefore, when browsing the interactive subtitles, the user can associate the sound effect corresponding to the lyrics, and the audio-visual experience of the user when watching the live video is further enriched.
In addition, the interactive subtitles can change the color of the characters according to a certain character display sequence, so that the effect of guiding a user to browse the interactive subtitles can be achieved to a certain extent. On the basis, the processing equipment can also provide an associated caption interactive playing method for the user, the content between the interactive captions with the associated relationship can continuously change color, namely after the user is guided to browse the previous interactive caption in a color changing mode, the color changing display of the next interactive caption with the associated relationship can be started, so that the user can be guided to continuously browse a plurality of interactive captions with the associated relationship in a visual effect, and the continuity between the associated interactive captions is improved.
In a possible implementation manner, the processing device may obtain an associated subtitle display request for an interactive subtitle, where the associated subtitle display request includes an associated interactive subtitle to be displayed and a color-changing type identifier, the associated interactive subtitle refers to an interactive subtitle having an association relationship with the interactive subtitle, and the association relationship refers to a release intention that a user performs an associated display of the associated interactive subtitle and the interactive subtitle when the user releases the associated interactive subtitle. For example, the interactive subtitle may be a lyric, and the user wants to display a next lyric corresponding to the lyric after the interactive subtitle.
In order to achieve relatively coherent display of the interactive subtitles and the associated interactive subtitles to the user, when the display of the interactive subtitles is completed, the processing device may be located at an associated display position corresponding to the interactive subtitles, where the associated display position is a display position having an associated relationship with the interactive subtitles display position, for example, may be an adjacent position of the display position corresponding to the interactive subtitles. The processing equipment can display the associated interactive subtitles according to the first display color and the second display color corresponding to the color change type, so that the effect of color change display of the associated interactive subtitles is achieved when the color change of the interactive subtitles is finished, and a user can be guided to continuously browse the two interactive subtitles through color change, so that the associated interactive subtitle display effect required by a subtitle publisher is met. The interactive playing method has rich application scenes, for example, a user can connect lyrics in a display mode, namely, lyrics displayed in the previous interactive subtitle are subjected to color-changing display of the next lyric; or, the user can carry out idiom connection and the like through the display mode, the subtitle interaction experience of the user is further enriched, and a novel interactive playing method is provided for the user.
In order to obtain the interactive subtitles aimed at by the associated interactive subtitles issued by the user, and thus achieve a good associated interactive subtitle display effect, in a possible implementation manner, the processing device may provide the user with an associated interactive subtitle input function that is directly triggered by the interactive subtitles being displayed. In the displaying process of the interactive subtitles, if the user wants to issue the associated interactive subtitles for the interactive subtitles, a triggering operation may be performed for the interactive subtitles, for example, the user may click on or press the interactive subtitles for a long time.
In response to the triggering operation for the interactive subtitle, the processing device may display an associated subtitle input interface through which a user may input an associated interactive subtitle for the interactive subtitle. After the user confirms that the associated interactive subtitle is sent, the processing equipment can acquire the associated interactive subtitle through the associated subtitle input interface and perform associated display on the associated interactive subtitle and the interactive subtitle in the above mode. Therefore, the user can participate in the associated interactive subtitle playing method only by triggering the interactive subtitles, the convenience and the richness of interaction are improved, the interactive experience of the user is further improved, meanwhile, the processing equipment can also determine the association relationship between the interactive subtitles based on the triggering operation aiming at the interactive subtitles, and the success rate of the interactive playing method is improved.
In order to facilitate understanding of the technical solution provided by the present application, a description will be given below of a subtitle display method provided by the embodiment of the present application in combination with an actual application scenario.
Referring to fig. 11, fig. 11 is a flowchart of a method for displaying subtitles in an actual application scenario provided in the present application, where in the actual application scenario, a processing device is a mobile phone for watching a live video, and the method includes:
s1101: and responding to the user clicking the subtitle input area, and displaying the subtitle input interface.
The user can directly click the subtitle input area in the mobile phone interface to open the subtitle input interface and input the interactive subtitle which the user wants to publish in the interface, for example, "how lonely no enemy is".
S1102: and acquiring the KTV type interactive subtitle through a subtitle input interface to generate a subtitle release request.
The user can select the KTV type in the display type area in the subtitle input interface, and after the KTV type is determined to be sent, the mobile phone can generate a subtitle release request based on the interactive subtitle input by the user and the selected display type.
S1103: and acquiring a subtitle display request aiming at the target video, and starting a subtitle loading process and a drawing process.
The subtitle release request generated by the mobile phone can be sent to the live broadcast server for auditing, after the auditing is passed, the live broadcast server returns a corresponding subtitle display request to the mobile phone, and the mobile phone can display the interactive subtitle through a subtitle-related loading flow and a subtitle-related drawing flow. The loading process is responsible for processing data reading and queue sequencing of a plurality of subtitles, and the drawing process is responsible for drawing each special KTV subtitle effect.
S1104: and adding the interactive subtitles to a KTV type special queue through a loading process.
The mobile phone determines that the type of the interactive subtitles is KTV subtitles through the loading process, can read the release time of the interactive subtitles at the same time, and adds the interactive subtitles to a KTV special queue according to the time sequence.
S1105: and extracting interactive subtitles and related information according to the arrangement sequence of the subtitles in the KTV type special queue through a drawing process.
The rendering process may receive the interactive subtitle output by the loading process, and may obtain related information corresponding to the interactive subtitle, for example, a corresponding display time interval length, a first display color, a second display color, a longest display word count, and the like. According to the information, the mobile phone can display the interactive subtitle in the display area based on S1106 on one hand, and can display the target comment in the interactive comment area based on S1107 on the other hand.
S1106: and displaying the interactive subtitles in the optimal display area according to the first display color and the second display color corresponding to the KTV type through a drawing process.
When the interactive subtitle is displayed, the mobile phone can display the KTV type identification and the interactive subtitle in an associated mode. Therefore, by combining the queue of the loading process and the effect drawn by the drawing process, the mobile phone can sequentially display the interactive subtitles in the KTV type queue in the display area of the live video, so that the interactive subtitles have the display effect similar to a trotting horse lantern.
S1107: and taking the interactive subtitles as target comments in the interactive comment area, and performing associated display with the KTV type identification.
S1108: and acquiring an associated subtitle display request aiming at the interactive subtitle.
When the user sees the interactive subtitle, if the user wants to send the associated subtitle of the interactive subtitle, the user can initiate an associated subtitle release request by clicking the interactive subtitle, and the live broadcast server can return an associated subtitle display request to the mobile phone based on the associated subtitle release request.
S1109: and when the interactive subtitles are displayed, displaying the associated interactive subtitles at the associated display positions corresponding to the interactive subtitles according to the first display color and the second display color corresponding to the KTV type.
S1110: and responding to the KTV type identification which is clicked by the user and displayed in an associated mode, and displaying a subtitle input interface corresponding to the KTV type.
After viewing the interactive subtitles or the target comments, if the user wants to send the same type of interactive subtitles, the KTV type identification can be clicked to trigger a subtitle input interface corresponding to the type to realize quick sending.
S1111: and generating a subtitle release request aiming at the target video through the target subtitle acquired through the subtitle input interface.
Based on the subtitle display method provided by the foregoing embodiment, an embodiment of the present application further provides a subtitle display apparatus, referring to fig. 12, where fig. 12 is a block diagram of a structure of a subtitle display apparatus 1200 provided by the embodiment of the present application, and the apparatus 1200 includes a first obtaining unit 1201, a first determining unit 1202, and a first displaying unit 1203:
a first obtaining unit 1201, configured to obtain a subtitle display request for a target video, where the subtitle display request includes an interactive subtitle to be displayed and a color change type identifier;
a first determining unit 1202, configured to determine, based on the color change type identifier, that the display type of the interactive subtitle is a color change type;
a first display unit 1203, configured to display the interactive subtitles in the display area of the target video according to a first display color and a second display color corresponding to the color-changing type, and in a time interval for displaying the interactive subtitles, change the display colors of the characters in the interactive subtitles from the first display color to the second display color based on a character display sequence.
In a possible implementation, the apparatus 1200 further includes a second display unit:
and the second display unit is used for taking the interactive subtitles as target comments in an interactive comment area related to the target video and performing associated display with the color-changing type identifier.
In a possible implementation manner, the apparatus 1200 further includes a third display unit:
and the third display unit is used for displaying the color-changing type identification in association with the interactive subtitle in a time interval for displaying the interactive subtitle.
In a possible implementation manner, the apparatus 1200 further includes a fourth presentation unit and a generation unit:
the fourth display unit is used for responding to the triggering operation aiming at the displayed color change type identifier and displaying a subtitle input interface corresponding to the color change type;
and the generating unit is used for generating a subtitle release request aiming at the target video through the target subtitle acquired by the subtitle input interface, wherein the subtitle release request comprises the target subtitle to be released and the color change type identifier.
In a possible implementation manner, the apparatus 1200 further includes a second obtaining unit and a second determining unit:
the second obtaining unit is used for obtaining a color selection instruction through the multiple display colors displayed by the subtitle input interface;
a second determination unit configured to determine the first display color and the second display color from the plurality of display colors according to the color selection instruction.
In a possible implementation manner, the presentation area further includes a standard interactive subtitle with a presentation type that is not the color-changing type, and the apparatus 1200 further includes a third determining unit, a fourth determining unit, and a first moving unit:
a third determining unit, configured to determine a starting display time, an ending display time, and a target display position in the display area, where the starting display time and the ending display time correspond to the interactive subtitles;
a fourth determining unit, configured to determine, according to the interaction time windows identified by the starting display time and the ending display time, a to-be-processed subtitle whose display time window overlaps the interaction time window and whose display position overlaps the target display position from among standard interactive subtitles to be displayed;
and the first moving unit is used for moving the display time window of the subtitle to be processed out of the interactive time window or moving the display position of the subtitle to be processed out of the target display position before the subtitle to be processed is displayed.
In a possible implementation manner, the display area further includes a standard interactive subtitle with a display type that is not the color-changing type, and the apparatus 1200 further includes a fifth determining unit and a clearing unit:
a fifth determining unit, configured to determine a target display position of the interactive subtitle in the display area;
and the clearing unit is used for clearing the standard interactive subtitles displayed at the target display position.
In a possible implementation manner, the display area has a plurality of display positions for displaying the interactive subtitles, the display positions include a priority display position, and the apparatus 1200 further includes a pre-display unit and a second mobile unit:
the pre-display unit is used for pre-displaying the interactive subtitles at display positions except the preferential display position in the plurality of display positions if the preferential display position is displaying other interactive subtitles when the interactive subtitles are displayed;
and the second moving unit is used for moving the interactive subtitles to the preferential display position when the display of the other interactive subtitles is finished, and executing the step of displaying the interactive subtitles in the display area of the target video according to the first display color and the second display color corresponding to the color change type.
In a possible implementation manner, the display position of the interactive subtitle in the display area is in a bottom central area of the display area, and the apparatus 1200 further includes an identifying unit and a sixth determining unit:
the identification unit is used for identifying the interactive subtitles as target lyrics;
and the sixth determining unit is used for determining the length of the time interval for displaying the interactive subtitles according to the singing duration of the target lyrics in the corresponding song.
In a possible implementation manner, the apparatus 1200 further includes a third obtaining unit and a fifth presenting unit:
a third obtaining unit, configured to obtain an associated subtitle display request for the interactive subtitle, where the associated subtitle display request includes an associated interactive subtitle to be displayed and the color-changing type identifier, and an association relationship exists between the associated interactive subtitle and the interactive subtitle;
and the fifth display unit is used for displaying the associated interactive subtitles according to the first display color and the second display color corresponding to the color change type at the associated display position corresponding to the interactive subtitles when the display of the interactive subtitles is completed.
In a possible implementation manner, the apparatus 1200 further includes a sixth presentation unit and a fourth obtaining unit:
the sixth display unit is used for responding to the triggering operation aiming at the interactive subtitles and displaying the associated subtitle input interface in the interactive subtitle display process;
and the fourth acquisition unit is used for acquiring the associated interactive subtitles through the associated subtitle input interface.
In one possible implementation, the apparatus 1200 further includes an adding unit, an extracting unit, and an executing unit:
the adding unit is used for adding the interactive subtitles to a special color-changing type queue corresponding to the target video;
the extraction unit is used for extracting the interactive subtitles according to the arrangement sequence of the subtitles in the special color-changing type queue;
and the execution unit is used for executing the step of displaying the interactive subtitles in the display area of the target video according to the first display color and the second display color corresponding to the color change type.
In a possible implementation manner, the character display order is a character arrangement order corresponding to the interactive subtitles.
In a possible implementation manner, the character display sequence is consistent with a semantic reading direction of the interactive subtitles, and the semantic reading direction includes a direction from left to right, a direction from right to left, or a direction from top to bottom in the display area.
The embodiment of the application also provides computer equipment which is described in the following with reference to the attached drawings. Referring to fig. 13, an embodiment of the present application provides a device, which may also be a terminal device, where the terminal device may be any intelligent terminal including a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a Point of Sales (POS), a vehicle-mounted computer, and the terminal device is taken as the mobile phone as an example:
fig. 13 is a block diagram illustrating a partial structure of a mobile phone related to a terminal device provided in an embodiment of the present application. Referring to fig. 13, the handset includes: radio Frequency (RF) circuit 710, memory 720, input unit 730, display unit 740, sensor 750, audio circuit 760, wireless fidelity (WiFi) module 770, processor 780, and power supply 790. Those skilled in the art will appreciate that the handset configuration shown in fig. 13 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 13:
the RF circuit 710 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 780; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 710 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 710 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 720 may be used to store software programs and modules, and the processor 780 may execute various functional applications and data processing of the cellular phone by operating the software programs and modules stored in the memory 720. The memory 720 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 720 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 730 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also referred to as a touch screen, can collect touch operations of a user (e.g. operations of the user on or near the touch panel 731 by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 731 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 780, and can receive and execute commands from the processor 780. In addition, the touch panel 731 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 730 may include other input devices 732 in addition to the touch panel 731. In particular, other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 740 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The Display unit 740 may include a Display panel 741, and optionally, the Display panel 741 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 731 can cover the display panel 741, and when the touch panel 731 detects a touch operation on or near the touch panel 731, the touch operation is transmitted to the processor 780 to determine the type of the touch event, and then the processor 780 provides a corresponding visual output on the display panel 741 according to the type of the touch event. Although the touch panel 731 and the display panel 741 are two independent components in fig. 13 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 731 and the display panel 741 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 750, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 741 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 741 and/or a backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 760, speaker 761, and microphone 762 may provide an audio interface between a user and a cell phone. The audio circuit 760 can transmit the electrical signal converted from the received audio data to the speaker 761, and the electrical signal is converted into a sound signal by the speaker 761 and output; on the other hand, the microphone 762 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 760, and then processes the audio data output processor 780, and then transmits the audio data to, for example, another cellular phone through the RF circuit 710, or outputs the audio data to the memory 720 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 770, and provides wireless broadband Internet access for the user. Although fig. 13 shows the WiFi module 770, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 780 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby integrally monitoring the mobile phone. Optionally, processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 780.
The handset also includes a power supply 790 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 780 via a power management system, so that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In this embodiment, the processor 780 included in the terminal device further has the following functions:
acquiring a subtitle display request aiming at a target video, wherein the subtitle display request comprises an interactive subtitle to be displayed and a color change type identifier;
determining the display type of the interactive subtitle to be a color change type based on the color change type identifier;
displaying the interactive subtitles in the display area of the target video according to the first display color and the second display color corresponding to the color change type, and changing the display colors of the characters in the interactive subtitles from the first display color to the second display color based on the character display sequence in the time interval for displaying the interactive subtitles.
Referring to fig. 14, fig. 14 is a block diagram of a server 800 provided in this embodiment, and the server 800 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 822 (e.g., one or more processors) and a memory 832, and one or more storage media 830 (e.g., one or more mass storage devices) storing an application 842 or data 844. Memory 832 and storage medium 830 may be, among other things, transient or persistent storage. The program stored in the storage medium 830 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, a central processor 822 may be provided in communication with the storage medium 830 for executing a series of instruction operations in the storage medium 830 on the server 800.
The server 800 may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input-output interfaces 858, and/or one or more operating systems 841, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.
The steps performed by the server in the above embodiments may be based on the server structure shown in fig. 14.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium may be at least one of the following media: various media that can store program codes, such as read-only memory (ROM), RAM, magnetic disk, or optical disk.
It should be noted that, in the present specification, all the embodiments are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus and system embodiments, since they are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described embodiments of the apparatus and system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only one specific embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. A subtitle display method, the method comprising:
acquiring a subtitle display request aiming at a target video, wherein the subtitle display request comprises an interactive subtitle to be displayed and a color change type identifier;
determining the display type of the interactive subtitle to be a color change type based on the color change type identifier;
displaying the interactive subtitles in the display area of the target video according to the first display color and the second display color corresponding to the color change type, and changing the display colors of the characters in the interactive subtitles from the first display color to the second display color based on the character display sequence in the time interval for displaying the interactive subtitles.
2. The method of claim 1, further comprising:
and taking the interactive subtitles as target comments in an interactive comment area related to the target video, and performing associated display with the color-changing type identifier.
3. The method of claim 1, further comprising:
and displaying the color-changing type identification in association with the interactive subtitle within the time interval for displaying the interactive subtitle.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
responding to the trigger operation aiming at the displayed color change type identifier, and displaying a subtitle input interface corresponding to the color change type;
and generating a subtitle release request aiming at the target video through the target subtitle obtained by the subtitle input interface, wherein the subtitle release request comprises the target subtitle to be released and the color-changing type identifier.
5. The method of claim 4, further comprising:
acquiring a color selection instruction through a plurality of display colors displayed by the subtitle input interface;
determining the first display color and the second display color from the plurality of display colors according to the color selection instruction.
6. The method according to claim 1, wherein the presentation area further includes a standard interactive subtitle with a presentation type that is not the color-changing type, and before the interactive subtitle is presented in the presentation area of the target video according to the first and second presentation colors corresponding to the color-changing type, the method further includes:
determining a starting display time, an ending display time and a target display position in the display area corresponding to the interactive subtitles;
determining subtitles to be processed, of which the display time window is overlapped with the interactive time window and the display position is overlapped with the target display position, from standard interactive subtitles to be displayed according to the interactive time windows marked by the starting display time and the ending display time;
and before displaying the to-be-processed subtitles, moving the display time window of the to-be-processed subtitles out of the interactive time window, or moving the display position of the to-be-processed subtitles out of the target display position.
7. The method according to claim 1, wherein the presentation area further includes a standard interactive subtitle with a presentation type that is not the color-changing type, and before the interactive subtitle is presented in the presentation area of the target video according to the first and second presentation colors corresponding to the color-changing type, the method further includes:
determining a target display position of the interactive subtitle in the display area;
and clearing the standard interactive subtitles displayed at the target display position.
8. The method of claim 1, wherein the presentation area has a plurality of presentation positions for presenting the interactive subtitle, and wherein the plurality of presentation positions includes a priority presentation position, and the method further comprises:
if the preferential display position is displaying other interactive subtitles when the interactive subtitles are displayed, pre-displaying the interactive subtitles at display positions except the preferential display position in the plurality of display positions;
and when the display of the other interactive subtitles is finished, moving the interactive subtitles to the preferential display position, and executing the step of displaying the interactive subtitles in the display area of the target video according to the first display color and the second display color corresponding to the color-changing type.
9. The method of claim 1, wherein the interactive subtitle is displayed in a bottom central area of the display area at a display position of the display area, the method further comprising:
identifying the interactive subtitles as target lyrics;
and determining the length of a time interval for displaying the interactive subtitles according to the singing duration of the target lyrics in the corresponding song.
10. The method of claim 1, further comprising:
acquiring an associated subtitle display request aiming at the interactive subtitle, wherein the associated subtitle display request comprises an associated interactive subtitle to be displayed and the color-changing type identifier, and an associated relation exists between the associated interactive subtitle and the interactive subtitle;
and when the display of the interactive subtitles is finished, displaying the associated interactive subtitles at the associated display positions corresponding to the interactive subtitles according to the first display color and the second display color corresponding to the color-changing type.
11. The method of claim 10, further comprising:
in the display process of the interactive subtitles, responding to the trigger operation aiming at the interactive subtitles, and displaying an associated subtitle input interface;
and acquiring the associated interactive subtitle through the associated subtitle input interface.
12. The method according to any one of claims 1-11, further comprising:
adding the interactive subtitles to a special color-changing type queue corresponding to the target video;
extracting the interactive subtitles according to the arrangement sequence of the subtitles in the special color-changing type queue;
and executing the step of displaying the interactive subtitle in the display area of the target video according to the first display color and the second display color corresponding to the color change type.
13. The method according to any one of claims 1-11, wherein the display order of the characters is an arrangement order of the characters corresponding to the interactive subtitles.
14. The method according to any one of claims 1-11, wherein the character display order is consistent with a semantic reading direction of the interactive subtitles, the semantic reading direction comprising a left-to-right direction, a right-to-left direction, or a top-to-bottom direction in the display area.
15. A caption display device is characterized in that the device comprises a first acquisition unit, a first determination unit and a first display unit:
the first obtaining unit is used for obtaining a subtitle display request aiming at a target video, and the subtitle display request comprises an interactive subtitle to be displayed and a color change type identifier;
the first determining unit is configured to determine, based on the color change type identifier, that the display type of the interactive subtitle is a color change type;
the first display unit is used for displaying the interactive subtitles in the display area of the target video according to a first display color and a second display color corresponding to the color change type, and in the time interval for displaying the interactive subtitles, the display colors of the characters in the interactive subtitles are changed into the second display color from the first display color based on the character display sequence.
16. A computer device, the device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the subtitle presentation method according to any one of claims 1-14 according to instructions in the program code.
17. A computer-readable storage medium for storing a computer program for executing the subtitle presentation method according to any one of claims 1-14.
CN202110657036.7A 2021-06-11 2021-06-11 Subtitle display method and related device Active CN113395567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110657036.7A CN113395567B (en) 2021-06-11 2021-06-11 Subtitle display method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110657036.7A CN113395567B (en) 2021-06-11 2021-06-11 Subtitle display method and related device

Publications (2)

Publication Number Publication Date
CN113395567A true CN113395567A (en) 2021-09-14
CN113395567B CN113395567B (en) 2022-07-05

Family

ID=77620927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110657036.7A Active CN113395567B (en) 2021-06-11 2021-06-11 Subtitle display method and related device

Country Status (1)

Country Link
CN (1) CN113395567B (en)

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07261652A (en) * 1994-03-23 1995-10-13 Takeshi Yamamoto Language learning method and recording medium for language learning
TW432349B (en) * 1999-02-05 2001-05-01 Mentor Data System Inc Color changing of caption display in accordance with sound
CN1535032A (en) * 2003-03-31 2004-10-06 乐金电子(惠州)有限公司 Song words colour selecting method in karaoke system
TW200725479A (en) * 2005-12-27 2007-07-01 Inventec Besta Co Ltd Subtitle text display method and its device
CN101064177A (en) * 2006-04-26 2007-10-31 松下电器产业株式会社 Caption display control apparatus
CN103648012A (en) * 2013-12-23 2014-03-19 杨海 English video teaching method with color gradient display of captions
CN105812885A (en) * 2016-03-11 2016-07-27 武汉斗鱼网络科技有限公司 Bullet screen display method and system in live video
CN105979337A (en) * 2015-12-28 2016-09-28 武汉斗鱼网络科技有限公司 Video comment playing device and method
CN106921868A (en) * 2017-03-07 2017-07-04 深圳创维数字技术有限公司 A kind of barrage dissemination method and device
CN106951334A (en) * 2017-03-21 2017-07-14 武汉斗鱼网络科技有限公司 Send the method and system of colored barrage
CN106973309A (en) * 2017-03-27 2017-07-21 福建中金在线信息科技有限公司 A kind of barrage generation method and device
CN107404668A (en) * 2017-05-08 2017-11-28 武汉鲨鱼网络直播技术有限公司 A kind of colorful barrage rendering intent and device
CN108124185A (en) * 2016-11-28 2018-06-05 广州华多网络科技有限公司 A kind of barrage display methods, device and terminal
CN110446095A (en) * 2019-08-22 2019-11-12 咪咕动漫有限公司 A kind of barrage control method, server, terminal and computer readable storage medium
CN110536163A (en) * 2019-05-13 2019-12-03 韶关市启之信息技术有限公司 A kind of intelligent display method and system of barrage
CN110996167A (en) * 2019-12-20 2020-04-10 广州酷狗计算机科技有限公司 Method and device for adding subtitles in video
CN111225227A (en) * 2020-01-03 2020-06-02 网易(杭州)网络有限公司 Bullet screen publishing method, bullet screen model generating method and bullet screen publishing device
CN111818279A (en) * 2019-04-12 2020-10-23 阿里巴巴集团控股有限公司 Subtitle generating method, display method and interaction method
WO2021073478A1 (en) * 2019-10-17 2021-04-22 维沃移动通信有限公司 Bullet screen information recognition method, display method, server and electronic device
CN112752132A (en) * 2019-10-31 2021-05-04 腾讯科技(深圳)有限公司 Cartoon picture bullet screen display method and device, medium and electronic equipment

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07261652A (en) * 1994-03-23 1995-10-13 Takeshi Yamamoto Language learning method and recording medium for language learning
TW432349B (en) * 1999-02-05 2001-05-01 Mentor Data System Inc Color changing of caption display in accordance with sound
CN1535032A (en) * 2003-03-31 2004-10-06 乐金电子(惠州)有限公司 Song words colour selecting method in karaoke system
TW200725479A (en) * 2005-12-27 2007-07-01 Inventec Besta Co Ltd Subtitle text display method and its device
CN101064177A (en) * 2006-04-26 2007-10-31 松下电器产业株式会社 Caption display control apparatus
CN103648012A (en) * 2013-12-23 2014-03-19 杨海 English video teaching method with color gradient display of captions
CN105979337A (en) * 2015-12-28 2016-09-28 武汉斗鱼网络科技有限公司 Video comment playing device and method
CN105812885A (en) * 2016-03-11 2016-07-27 武汉斗鱼网络科技有限公司 Bullet screen display method and system in live video
CN108124185A (en) * 2016-11-28 2018-06-05 广州华多网络科技有限公司 A kind of barrage display methods, device and terminal
CN106921868A (en) * 2017-03-07 2017-07-04 深圳创维数字技术有限公司 A kind of barrage dissemination method and device
CN106951334A (en) * 2017-03-21 2017-07-14 武汉斗鱼网络科技有限公司 Send the method and system of colored barrage
CN106973309A (en) * 2017-03-27 2017-07-21 福建中金在线信息科技有限公司 A kind of barrage generation method and device
CN107404668A (en) * 2017-05-08 2017-11-28 武汉鲨鱼网络直播技术有限公司 A kind of colorful barrage rendering intent and device
CN111818279A (en) * 2019-04-12 2020-10-23 阿里巴巴集团控股有限公司 Subtitle generating method, display method and interaction method
CN110536163A (en) * 2019-05-13 2019-12-03 韶关市启之信息技术有限公司 A kind of intelligent display method and system of barrage
CN110446095A (en) * 2019-08-22 2019-11-12 咪咕动漫有限公司 A kind of barrage control method, server, terminal and computer readable storage medium
WO2021073478A1 (en) * 2019-10-17 2021-04-22 维沃移动通信有限公司 Bullet screen information recognition method, display method, server and electronic device
CN112752132A (en) * 2019-10-31 2021-05-04 腾讯科技(深圳)有限公司 Cartoon picture bullet screen display method and device, medium and electronic equipment
CN110996167A (en) * 2019-12-20 2020-04-10 广州酷狗计算机科技有限公司 Method and device for adding subtitles in video
CN111225227A (en) * 2020-01-03 2020-06-02 网易(杭州)网络有限公司 Bullet screen publishing method, bullet screen model generating method and bullet screen publishing device

Also Published As

Publication number Publication date
CN113395567B (en) 2022-07-05

Similar Documents

Publication Publication Date Title
CN111294638B (en) Method, device, terminal and storage medium for realizing video interaction
CN107465959B (en) Online interaction method, device and system
US10491949B2 (en) Bullet screen posting method and mobile terminal
CN110087117B (en) Video playing method and terminal
WO2018126885A1 (en) Game data processing method
CN104967900B (en) A kind of method and apparatus generating video
US10750223B2 (en) System, method, and device for displaying content item
CN106803993B (en) Method and device for realizing video branch selection playing
CN111491197B (en) Live content display method and device and storage medium
CN111596818A (en) Message display method and electronic equipment
CN109525874B (en) Screen capturing method and terminal equipment
CN110248251B (en) Multimedia playing method and terminal equipment
CN114205324B (en) Message display method, device, terminal, server and storage medium
CN106303733B (en) Method and device for playing live special effect information
CN106254910B (en) Method and device for recording image
CN113126852B (en) Dynamic message display method, related device, equipment and storage medium
CN113440840B (en) Interaction method and related device
CN108616771B (en) Video playing method and mobile terminal
CN107908765B (en) Game resource processing method, mobile terminal and server
CN112969087B (en) Information display method, client, electronic equipment and storage medium
WO2016188252A1 (en) Method, device for displaying reference content and storage medium thereof
CN110958485A (en) Video playing method, electronic equipment and computer readable storage medium
CN110750198A (en) Expression sending method and mobile terminal
CN112131438A (en) Information generation method, information display method and device
EP4131028A1 (en) Note creating method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40052287

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant