CN111327842B - Rolling caption display method and device - Google Patents

Rolling caption display method and device Download PDF

Info

Publication number
CN111327842B
CN111327842B CN202010097597.1A CN202010097597A CN111327842B CN 111327842 B CN111327842 B CN 111327842B CN 202010097597 A CN202010097597 A CN 202010097597A CN 111327842 B CN111327842 B CN 111327842B
Authority
CN
China
Prior art keywords
caption
display
main control
subtitle
sub
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.)
Active
Application number
CN202010097597.1A
Other languages
Chinese (zh)
Other versions
CN111327842A (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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN202010097597.1A priority Critical patent/CN111327842B/en
Priority to CN202210681218.2A priority patent/CN115022703B/en
Publication of CN111327842A publication Critical patent/CN111327842A/en
Application granted granted Critical
Publication of CN111327842B publication Critical patent/CN111327842B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/278Subtitling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/445Receiver circuitry for the reception of television signals according to analogue transmission standards for displaying additional information
    • H04N5/44504Circuit details of the additional information generator, e.g. details of the character or graphics signal generator, overlay mixing circuits

Abstract

The embodiment of the invention provides a method and a device for displaying rolling captions, wherein a main control terminal determines caption display information, calculates a plurality of sub-screens for caption display according to the caption display information, then selects output terminals corresponding to the plurality of sub-screens for caption display as a caption management terminal group, selects a main control output terminal for caption display control in the group from the caption management terminal group, and then sends the caption display information to the main control output terminal. According to the embodiment of the invention, the output terminals are selected to form the subtitle management terminal group, and the main control output terminal controls the subtitle display control of the group, so that the rolling subtitles can be directly displayed on the spliced screen in a cross-screen manner, the cost is saved, and the display effect is optimized. Meanwhile, the method for controlling the refreshing of the subtitles in real time through grouping management can realize the simultaneous refreshing of a plurality of subtitles in the spliced screen, the mutual influence is avoided, and the display mode of the rolling subtitles is enriched.

Description

Rolling caption display method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for displaying a rolling caption.
Background
In daily life, a plurality of displays are spliced together, each display independently displays part of an image, and the plurality of displays are spliced together to output a large image.
When information is released by adopting a rolling caption mode, because caption refreshing needs to span a plurality of display screens, each display of a spliced screen in the prior art is independently displayed, and rolling refreshing display of the whole caption cannot be realized.
In order to solve the above-mentioned problems, a method of externally connecting a light emitting diode (LED, light Emitting Diode) display is often adopted in the prior art. Fig. 1 shows a schematic diagram of a prior art stitched screen for subtitle display. As shown in fig. 1, in the prior art, the external LED display is used to display the rolling caption, and the displaying method of the rolling caption has higher cost and poorer displaying effect.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention have been made to provide a rolling subtitle display method and a rolling subtitle display apparatus that overcome or at least partially solve the foregoing problems.
In order to solve the above problems, an embodiment of the present invention discloses a rolling caption display method, which is applied to a main control terminal, wherein the main control terminal is in communication connection with a plurality of output terminals, and the plurality of output terminals are respectively in one-to-one correspondence connection with a plurality of sub-screens in a spliced screen, and the method is characterized in that the method comprises:
The main control terminal determines caption display information;
the main control terminal calculates a plurality of sub-screens for displaying the subtitles according to the subtitle display information;
the main control terminal selects output terminals corresponding to a plurality of sub-screens for subtitle display as a subtitle management terminal group, and selects a main control output terminal for subtitle display control in the subtitle management terminal group;
and the main control terminal sends the caption display information to the main control output terminal.
The invention also discloses a rolling caption display method which is applied to the output terminal, and the method comprises the following steps:
when the output terminal is a main control output terminal in a caption management terminal group, receiving caption display information sent by the main control terminal, calculating to obtain a starting real-time position of a first character of a caption according to the caption display information and a preset display speed in each preset time period, and sending the starting real-time position and the caption display information to other output terminals except the main control output terminal in the caption management terminal group;
when the output terminal is an output terminal in the caption management terminal group, calculating to obtain a caption lattice area corresponding to the output terminal according to the initial real-time position and the caption display information, wherein the caption lattice area is an area of a sub-screen for displaying target caption display information in the caption display information;
And determining first caption lattice information corresponding to the caption lattice region, and sending the first caption lattice information to a sub-screen corresponding to the output terminal so that the sub-screen can display the target caption display information through the first caption lattice information.
The embodiment of the invention also discloses a rolling caption display device which is applied to a main control terminal, wherein the main control terminal is in communication connection with a plurality of output terminals, and the plurality of output terminals are respectively in one-to-one correspondence connection with a plurality of sub-screens in a spliced screen, and the device is characterized by comprising:
the determining module is used for determining caption display information by the main control terminal;
the first calculation module is used for calculating a plurality of sub-screens for displaying the subtitles according to the subtitle display information by the main control terminal;
the main control terminal is used for selecting the output terminals corresponding to the sub-screens for displaying the subtitles as a subtitle management terminal group, and selecting the main control output terminal for controlling the subtitle display in the subtitle management terminal group;
and the sending module is used for sending the caption display information to the main control output terminal by the main control terminal.
The embodiment of the invention also discloses a rolling caption display device which is applied to the output terminal, and the device comprises:
the second calculation module is used for receiving the caption display information sent by the main control terminal when the output terminal is the main control output terminal in the caption management terminal group, and in each preset time period, the main control output terminal calculates to obtain the initial real-time position of the first character of the caption according to the caption display information and the preset display speed, and sends the initial real-time position and the caption display information to other output terminals except the main control output terminal in the caption management terminal group;
the third calculation module is used for calculating and obtaining a caption lattice area corresponding to the output terminal according to the initial real-time position and the caption display information when the output terminal is the output terminal in the caption management terminal group, wherein the caption lattice area is an area of a sub-screen for displaying target caption display information in the caption display information;
and the display module is used for determining first subtitle lattice information corresponding to the subtitle lattice area, and sending the first subtitle lattice information to a sub-screen corresponding to the output terminal so that the sub-screen can display the target subtitle display information through the first subtitle lattice information.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, a main control terminal determines caption display information, calculates a plurality of sub-screens for caption display according to the caption display information, then selects output terminals corresponding to the plurality of sub-screens for caption display as a caption management terminal group, selects a main control output terminal for caption display control in the group from the caption management terminal group, and sends the caption display information to the main control output terminal. According to the embodiment of the invention, the output terminals are selected to form the subtitle management terminal group, and the main control output terminal controls the subtitle display control of the group, so that the rolling subtitles can be directly displayed on the spliced screen in a cross-screen manner, the cost is saved, and the display effect is optimized. Meanwhile, the method for controlling the refreshing of the subtitles in real time through grouping management can realize the simultaneous refreshing of a plurality of subtitles in the spliced screen, the mutual influence is avoided, and the display mode of the rolling subtitles is enriched.
Drawings
FIG. 1 is a schematic diagram of a prior art tiled screen for subtitle display;
FIG. 2 is a flowchart showing steps of a method for displaying a closed caption according to the present invention;
fig. 3 is a schematic diagram of a caption display system according to the present invention;
FIG. 4 is a schematic view of a tiled screen of the present invention;
FIG. 5 is a flowchart showing steps of another method for displaying a closed caption according to the present invention;
FIG. 6 is a flowchart showing steps of a method for displaying a closed caption according to still another embodiment of the present invention;
FIG. 7 is a schematic diagram of a rolling subtitle display according to the present invention;
FIG. 8 is a schematic diagram of a rectangular area representation method of the present invention;
FIG. 9 is a schematic diagram of another scrolling subtitle display according to the present invention;
FIG. 10 is a schematic illustration of yet another rolling subtitle display according to the present invention;
FIG. 11 is a schematic illustration of still another rolling subtitle display according to the present invention;
FIG. 12 is a schematic illustration of a multi-group closed captioning display according to the present invention;
fig. 13 is a block diagram showing a structure of a rolling caption display device of the present invention;
fig. 14 is a block diagram of another rolling caption display device of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
In the existing video networking service, the use of the spliced screen is more and more, and large conference rooms, command centers, monitoring centers and the like have more audiences, and the spliced screen is not separated from the scene with large transmission range so as to enlarge the display effect. Because the environment is chaotic and the people flow is large, the sites are not suitable for information release by using voice broadcasting, but are realized by using a subtitle refreshing mode. When the caption content is more, in order to enable the people to receive the effective information in time, the caption information is generally repeatedly played by using a rolling refreshing mode. The existing spliced screen can not realize refreshing display of the rolling captions. The embodiment of the invention provides a method and a device for displaying a rolling caption, which are used for solving the problems.
Referring to fig. 2, a flow chart of steps of a method for displaying a rolling caption according to the present invention is shown, and the method is applied to a main control terminal, which is in communication connection with a plurality of output terminals, wherein the plurality of output terminals are respectively in one-to-one correspondence with a plurality of sub-screens in a spliced screen.
Fig. 3 is a schematic diagram showing a structure of a caption display system according to an embodiment of the present invention. As shown in fig. 3, the caption display system 300 includes a main control terminal 301 and a plurality of output terminals 1 to n, the spliced screen includes a plurality of sub-screens 1 to n having the same number as the plurality of output terminals 1 to n, the plurality of output terminals 1 to n are connected to the plurality of sub-screens 1 to n in one-to-one correspondence, the main control terminal 302 is connected to the plurality of output terminals 1 to n in a communication manner, and the plurality of output terminals 1 to n are connected to each other in a communication manner.
Specifically, the client 301 is a network-accessible device capable of interacting with a main control terminal, and is configured to obtain information set by a user, and may include a mobile phone, a personal computer (PC, personal Computer), a tablet computer, and the like.
The main control terminal 302 is used to interact with the user client 301 and control the plurality of output terminals 1 to n.
The output terminals 1-n are connected with the sub-screens 1-n of the display one by one and are used for realizing the superposition of the caption and the video data and outputting the superposed images to the sub-screens of the display for display. The sub-screens 1-n are connected with the output terminals one by one and are used for displaying the rolling captions and the images.
The method specifically comprises the following steps:
step 201, the main control terminal determines caption display information.
In the embodiment of the invention, the caption display information can be information of the caption which is required to be displayed on the spliced screen by a user, and can comprise characters displayed by the caption, fonts of the characters, the sizes of the characters and the like.
In this step, the main control terminal may receive the subtitle display information set by the user from the client, specifically, the user may input the display character in the client through the touch letter keyboard or the sliding track, input the size of the display character in a numerical manner, and also input other subtitle display information, where the client receives the subtitle display information and sends the subtitle display information to the main control terminal through the network.
For example, the user sets the caption display character as "popular with the leadership and the temporary guidance" at the mobile phone end, sets the font of the character as Song body, and sets the size of the whole caption of the display character as 7280×600, that is, the length of the whole display character as 7280 pixel value and the width as 600 pixel value.
Step 202, the main control terminal calculates a plurality of sub-screens for displaying the subtitles according to the subtitle display information.
In the embodiment of the invention, the spliced screen is formed by splicing a plurality of sub-screens. Fig. 4 shows a schematic view of a tiled screen of the present invention. As shown in fig. 4, the tiled screen 400 is formed by stitching 12 sub-screens, 4 screens in the horizontal direction and 3 screens in the vertical direction, and constitutes a 4×3 tiled screen.
In this step, the plurality of sub-screens for subtitle display may be a plurality of sub-screens connected end to end for displaying the subtitle in the spliced screen. The multiple sub-screens may be connected transversely or longitudinally, which is not limited by the embodiment of the present invention.
And the main control terminal calculates the size of a target area of the spliced screen for displaying the caption according to the determined caption display information, and further determines a plurality of sub-screens included in the target area.
And 203, selecting the output terminals corresponding to the sub-screens for displaying the subtitles as a subtitle management terminal group by the main control terminal, and selecting the main control output terminal for controlling the subtitle display in the subtitle management terminal group.
In the embodiment of the invention, the display control of the rolling captions is realized by a group management method, and each caption management terminal group correspondingly displays a group of captions. The main control output terminal can be used for controlling the caption display control in the caption management terminal group to finish the real-time synchronous refreshing of the rolling captions in the group.
For example, as shown in fig. 4, after determining the caption display information, the main control terminal calculates that the sub-screen for displaying the caption is sub-screen 1 to 4, and adds the output terminals 1 to 4 corresponding to the sub-screens 1 to 4 to the caption management terminal group, and selects the output terminal 1 as the main control output terminal, and the main control output terminal 1 controls the caption scrolling display of the caption management terminal group.
And 204, the main control terminal sends the caption display information to the main control output terminal.
In the embodiment of the invention, the main control output terminal controls synchronous refreshing display of the caption management terminal group, and after the main control output terminal is selected by the main control terminal, caption display information for caption display control is sent to the main control output terminal.
According to the method for displaying the rolling subtitles, the main control terminal determines subtitle display information, calculates a plurality of sub-screens for subtitle display according to the subtitle display information, then selects output terminals corresponding to the sub-screens for subtitle display as a subtitle management terminal group, selects a main control output terminal for controlling subtitle display in the subtitle management terminal group, and sends the subtitle display information to the main control output terminal. According to the embodiment of the invention, the output terminals are selected to form the subtitle management terminal group, and the main control output terminal controls the subtitle display control of the group, so that the rolling subtitles can be directly displayed on the spliced screen in a cross-screen manner, the cost is saved, and the display effect is optimized. Meanwhile, the method for controlling the refreshing of the subtitles in real time through grouping management can realize the simultaneous refreshing of a plurality of subtitles in the spliced screen, the mutual influence is avoided, and the display mode of the rolling subtitles is enriched.
Referring to fig. 5, there is shown a flowchart of steps of a method for displaying a closed caption according to the present invention, the method being applied to an output terminal, the method specifically including:
and 501, when the output terminal is a main control output terminal in a caption management terminal group, receiving caption display information sent by the main control terminal, calculating to obtain a starting real-time position of a first character of a caption according to the caption display information and a preset display speed in each preset time period, and sending the starting real-time position and the caption display information to other output terminals except the main control output terminal in the caption management terminal group. .
In this step, the display control of the rolling subtitles adopts a grouping management mode, and each subtitle management terminal group is used for displaying a group of subtitles. The main control terminal selects one main control output terminal from each caption management terminal group for caption display control in the caption management terminal group. And the main control output terminal receives the caption display information and controls the rolling display of the captions in the group according to the caption display information.
In the embodiment of the invention, when the rolling caption is displayed, each character is offset according to a certain speed, so that the rolling display effect is achieved. The preset display speed may be a preset display speed of the rolling caption by the user, or may be a default display speed of the rolling caption by the system, which is used to represent a pixel value of the shift of the display character per second. The preset time period can be set by a user according to the needs of the user or default of the system, and is used for representing the time of every two refreshing intervals of the subtitle.
For example, assuming a horizontal subtitle, the subtitle may be preset to a display speed of 30, i.e., each character is shifted to the right by 30 pixel values per second. Similarly, the preset time period may be 1 second, i.e. 1 second for refreshing 1 subtitle, or may be 5 seconds, i.e. 5 seconds for refreshing 1 subtitle, which is not limited in the embodiment of the present invention.
Specifically, in this step, the starting real-time position of each caption of the preset period is calculated according to the display speed set by the user. For example, the subtitle display speed set by the user is 30, the preset time period is 1 second, and the start is used to represent the initial real-time position of the first character in the displayed characters, then:
start=0 within 1 st second; start=30 in the 2 nd second; start=60 in 3 rd seconds; similarly, in the nth second, start= (n-1) ×30.
Therefore, the target output terminal calculates and circularly transmits the initial real-time position of the display character to each output terminal in real time, synchronous refreshing of the subtitles of each output terminal can be realized, and the subtitle display effect is optimized.
And 502, calculating to obtain a caption lattice area corresponding to the output terminal according to the initial real-time position and the caption display information when the output terminal is the output terminal in the caption management terminal group, wherein the caption lattice area is an area of a sub-screen for displaying target caption display information in the caption display information.
In the embodiment of the invention, the caption lattice area refers to an area of each output terminal for displaying a caption lattice in real time, and the target caption display information displayed in the caption lattice area is a part of the whole caption display information.
For example, if the displayed characters in the caption display information are "popular with the leader of each level," the target caption display information displayed in the caption dot matrix area may be "popular" two characters, and the target caption display information may be a part of the characters as the caption is scrolled.
Specifically, when calculating the caption lattice region, each output terminal calculates and acquires the caption display region according to the caption display information; the caption display area is a coordinate range of a screen area of the current output terminal for displaying the caption. And then according to the range relation between the initial real-time position of the caption display character and the caption display area, a corresponding calculation formula is adopted to obtain a caption lattice area, and each output terminal can calculate and obtain a corresponding caption lattice for display, so that synchronous refreshing of the rolling captions is realized.
Step 503: and determining first caption lattice information corresponding to the caption lattice region, and sending the first caption lattice information to a sub-screen corresponding to the output terminal so that the sub-screen can display the target caption display information through the first caption lattice information.
In the embodiment of the invention, the display characters in the caption display information are displayed in a rolling manner in the output terminals in the caption management terminal group in the form of caption lattices. And displaying target subtitle display information in the subtitle lattice area obtained by real-time calculation by the output terminal, wherein the target subtitle display information corresponds to the first subtitle lattice information. That is, the first caption lattice information is a caption lattice displayed in real time by the output terminal, and is a part of the second caption lattice information corresponding to the whole caption display information.
After the output terminal calculates the caption lattice area, selecting the second caption lattice information corresponding to the whole caption display information according to the coordinate range of the area, determining the first caption lattice information corresponding to the caption lattice area, and then sending the first caption lattice information to the sub-screen for display.
For example, the display character of the whole caption display information is "popular with the leadership of each level" and corresponds to the second caption lattice information, and if the coordinate range of the second caption lattice information is (0, 0) to (7200, 600), and the caption lattice area calculated by the output terminal in real time is (0, 0) to (1600, 600), the first caption lattice information is the caption lattice corresponding to the target caption display information in the coordinate range (0, 0) to (1600, 600), specifically may be the caption lattice of "popular" two characters. In summary, according to the method for displaying the rolling subtitles provided by the embodiment of the invention, the main control output terminal calculates the initial real-time position of the first character of the subtitles according to the subtitle display information and the preset display speed, and sends the initial real-time position and the subtitle display information to other output terminals in the group; and then each output terminal in the caption management terminal group calculates to obtain a corresponding caption lattice area, and determines the first caption lattice information displayed in real time according to the caption lattice area and sends the first caption lattice information to the sub-screen for displaying. Meanwhile, the method for controlling the refreshing of the subtitles in real time through grouping management can realize the simultaneous refreshing of a plurality of subtitles in the spliced screen, the mutual influence is avoided, and the display mode of the rolling subtitles is enriched.
Referring to fig. 6, there is shown a flowchart of steps of a method for displaying a rolling caption according to another embodiment of the present invention, the method being applied to a caption display system, the caption display system including a main control terminal and a plurality of output terminals, the main control terminal being communicatively connected to the plurality of output terminals, the plurality of output terminals being communicatively connected to each other, a tile screen including a plurality of sub-screens equal in number to the plurality of output terminals, the plurality of output terminals being respectively connected to the plurality of sub-screens in the tile screen in one-to-one correspondence, the method specifically comprising:
and 601, the main control terminal determines caption display information. .
Specifically, the implementation manner of this step is the same as that of the foregoing step 201, and the embodiments of the present invention are not described herein again.
Further, optionally, the subtitle display information includes display characters and sizes of the display characters.
The display characters refer to the contents of the subtitles, namely, characters to be displayed in the subtitles. The size of the display character refers to the length and width of the entire display character. Of course, the caption display information may also include other caption information set by the user, which is not limited in the embodiment of the present invention.
Step 602, the main control terminal numbers the multiple sub-screens and the multiple output terminals in an increasing or decreasing manner to obtain numbers corresponding to each sub-screen and each output terminal; and the number of each sub-screen is the same as the number of the output terminal correspondingly connected with the sub-screen.
In the embodiment of the invention, the spliced screen is formed by splicing a plurality of sub-screens. Each sub-screen is communicatively coupled to an output terminal. When numbering the sub-screen, the main control terminal may number the sub-screen in a descending or ascending manner according to the order from top left to bottom right or from bottom left to top right, and the specific manner of numbering the sub-screen is not limited in the embodiment of the present invention.
It should be noted that the number of the sub-screens of the spliced screen is the same as the number of the output terminals and are connected in a one-to-one correspondence manner, so that after the sub-screens and the output terminals are numbered by the main control terminal, the number of each sub-screen is the same as the number of the output terminal connected correspondingly. Therefore, the plurality of sub-screens and the output terminal are numbered, confusion during data transmission can be effectively avoided, and normal display of subtitles is ensured.
Taking the spliced screen 400 in fig. 4 as an example, the main control terminal numbers the sub-screens in a mode of increasing the serial numbers from top left to bottom right, and finally, the numbers of the sub-screens in the 4×3 spliced screen are respectively 1-12.
And 603, the main control terminal calculates a plurality of sub-screens for displaying the subtitles according to the subtitle display information.
In the embodiment of the present invention, optionally, the caption display information further includes preset caption start position coordinates. The preset caption start position coordinates refer to the start coordinates of the first character of the caption in the sub-screen. Fig. 7 shows a schematic diagram of a rolling subtitle display. As shown in fig. 7, the spliced screen 700 displays a subtitle 701, and the subtitle 701 displays a rectangular area as a whole, and then the coordinates of the point a at the lower left corner of the rectangular area can be set as preset subtitle start position coordinates. Assuming that the resolution of each screen is 1920×1080, assuming that the lower left corner of the sub-screen No. 1 is taken as the origin, the origin is denoted as O point as shown in fig. 7. Starting from the point O of the sub-screen 1, 200 pixels from the point O in the horizontal direction, and the point A of 200 pixels from the point O in the vertical direction is the preset caption starting position.
Of course, according to different setting habits of users, the subtitle starting position and the origin of the sub-screen may be set at other positions to perform subsequent calculation.
Accordingly, this step may be implemented by the following sub-steps 6031-6032:
Sub-step 6031: and the main control terminal determines the display length required by the display character in the horizontal direction and the display width required by the display character in the vertical direction according to the subtitle display information.
Specifically, this step may be implemented by the following sub-steps (a) - (b):
substep (a): the main control terminal calculates the screen length required by the display character in the horizontal direction according to the size of the display character and the length of each sub-screen and a length calculation formula; wherein, the length calculation formula is l=w/W; wherein L is the screen length required for displaying characters in the horizontal direction; w is the length in the display character size; w is the length of the sub-screen.
In this step, the screen length required for displaying the characters in the horizontal direction is the number of screens spanned in the horizontal direction when the display characters are displayed on the spliced screen. The main control terminal divides the length of the display character and the length of each sub-screen to obtain the number of crossing sub-screens in the horizontal direction of the display character. For example, in the subtitle display information, in the display character size, the length W is 7280 pixel values, and the length W of each sub-screen is 1920 pixel values, and accordingly, the screen length l=7280/1920, the screen length is 3.79, that is, the display character needs 3.79 sub-screens in the horizontal direction.
Substep (b): the main control terminal calculates the screen width required by the display character in the vertical direction according to the size of the display character and the width of each sub-screen and a width calculation formula; wherein the width calculation formula is k=h/H.
In this step, the screen width required for displaying characters in the vertical direction is the number of screens spanned in the vertical direction when the display characters are displayed on the spliced screen. The main control terminal divides the width of the display character and the width of each sub-screen, and the number of crossing sub-screens in the vertical direction of the display character can be obtained. For example, in the subtitle display information, in the display character size, the width H is 600 pixel values, and the width H of each sub-screen is 1080 pixel values, and accordingly, the screen width g=600/1920, the screen width is 0.3125, that is, the display character requires a width of 0.3125 sub-screens in the vertical direction.
Sub-step 6032: and the main control terminal determines a target area in the spliced screen according to the caption starting position coordinates, the display length and the display width, and adds an output terminal corresponding to a sub-screen included in the target area to the caption management terminal group.
In this step, the target area may be an area for displaying caption display characters in the tile screen, which spans a plurality of sub-screens. Specifically, the main control terminal can determine the sub-screen where the first character in the caption display characters is located according to the preset caption starting position coordinates, and then determine the target area for displaying the caption display characters in the spliced screen according to the required screen length in the horizontal direction and the required screen width in the vertical direction of the display characters. And then, adding the output terminal corresponding to the sub-screen spanned by the target area into the subtitle management terminal group.
For example, taking the spliced screen in fig. 7 as an origin of the screen, taking an O point as an origin of the screen, and taking coordinates of a caption starting position (200 ) input by a user, determining that the starting position is in the sub-screen 1, and determining that a display length required for displaying the character in the horizontal direction is 3.79 according to a length of the character to be displayed and a length of the sub-screen, i.e. the character to be displayed needs to span 3.79 screens in the horizontal direction; and determining that the display length required by the display character in the vertical direction is 0.3125 according to the width of the display character and the width of the sub-screen, namely the display character needs to span 0.3125 screens in the vertical direction, so that the sub-screen included in the target area of the spliced screen of the display character is 1-4, and the output terminals 1-4 corresponding to the sub-screens 1-4 are further formed into the subtitle management terminal group.
In addition, in the embodiment of the present invention, for the determination of each sub-screen in the target area corresponding to the subtitle management terminal group, the following manner may be adopted:
and establishing coordinates of all the sub-screens in the spliced screen, calculating the coordinates of the head sub-screen and the tail sub-screen in the target area according to the starting position of the subtitle, the size of the characters displayed by the subtitle and the length and width of the sub-screens, and determining the numbers of all the sub-screens according to the coordinates. The method comprises the following steps:
assuming that the start coordinates set by the user are (x, y), the size of the displayed character is w×h, the width and height of the sub-screen is w×h, and the coordinates of the first sub-screen in the target area are (x 0 ,y 0 ) The last sub-screen coordinates are (x 1 ,y 1 ) Then:
x 0 =x/W+1;
x 1 =(x+w)/W+1;
y 0 =y/H+1;
y 1 =(y+h)/H+1;
the coordinates of the first sub-screen and the last sub-screen of the target area corresponding to the caption display characters can be obtained, and the numbers of the output terminals in the caption management terminal group can be obtained.
For example, taking the tiled screen 700 in fig. 7 as an example, first coordinates are established for each sub-screen, the coordinates corresponding to sub-screen 1 are (1, 1) and the coordinates corresponding to sub-screen 2 are (2, 1), and so on, the coordinates of sub-screen 12 are (3, 4). Assuming that the set start coordinate position of the user is (200 ), the display character size is 7280×600, and the screen width height is 1920×1080; the corresponding first sub-screen coordinate (x 0 ,y 0 ) And the last sub-screen coordinates (x 1 ,y 1 ) The method comprises the following steps:
x 0 =x/W+1=200/1920+1=1;
x 1 =(x+w)/W+1=(200+7280)/1920+1=4;
y 0 =y/H+1=200/1080+1=1;
y 1 =(y+h)/H+1=(200+600)/1080+1=1;
the first sub-screen coordinate (1, 1) and the last sub-screen coordinate (4, 1) of the target area corresponding to the caption 701 are obtained, and the output terminals in the caption management terminal group and the corresponding sub-screen numbers of the output terminals are 1-4.
Therefore, the subtitle management terminal group is determined in the two modes, after the user inputs subtitle display information, the main control terminal can directly determine the serial numbers of all output terminals in the subtitle management terminal group, the user does not need to further operate, and the method is more convenient and faster.
Step 604, the main control terminal selects output terminals corresponding to a plurality of sub-screens for displaying subtitles as a subtitle management terminal group, and selects a main control output terminal for controlling subtitle display in the group from the subtitle management terminal group.
Optionally, the main control terminal determines the output terminal with the smallest or largest number in the caption management terminal group as the main control output terminal.
In this step, the caption management terminal group includes a plurality of output terminals, each output terminal corresponds to a number, and the output terminal with the smallest or largest number in the caption management terminal group can be determined as the target output terminal. Of course, other output terminals in the subtitle management terminal set may be determined as the master control output terminal, which is not limited in the embodiment of the present invention.
After determining the main control output terminal, the main control terminal can only interact with the main control output terminal in the caption management terminal group. Therefore, when a user inputs a plurality of groups of subtitle display information, the main control terminal can correspondingly determine a plurality of subtitle management terminal groups, and further determine the main control output terminal of each subtitle management terminal group, and the main control terminal only needs to interact with the main control output terminal of each subtitle management terminal group, so that the calculation and communication burden of the main control terminal is reduced, and the synchronous control and synchronous refreshing display of a plurality of groups of subtitles on the same spliced screen can be realized, and the display mode of the subtitles is enriched.
And step 605, the main control terminal sends the caption display information and the IP address of each output terminal in the caption management terminal group to the main control output terminal.
In the step, after the main control output terminal in the caption management terminal group is determined by the main control terminal, the main control output terminal interacts with other output terminals in the group and is responsible for controlling the rolling display of captions in the group. Specifically, the main control terminal sends a to be master instruction to the output terminal with the smallest or largest serial number in the group, determines the main control terminal as the main control output terminal, and simultaneously sends caption display information and IP addresses of all the output terminals in the caption management terminal group to the main control output terminal. The IP address is used for inter-communication between the output terminals in the group.
In the step, the main control terminal sends the caption display information and the IP address of each output terminal in the caption management terminal group to the main control output terminal, so that the normal communication in the caption management terminal group can be ensured, the caption display control in the main control output terminal control group can be realized, and further, the simultaneous refreshing and the mutual influence of a plurality of groups of captions in the same spliced screen can be realized.
Step 606, the main control output terminal obtains second caption lattice information corresponding to the caption display information by reading a preset font library according to the caption display information, and sends the second caption lattice information corresponding to the caption display information to other output terminals except the main control output terminal in the caption management terminal group; the preset font library comprises the corresponding relation between the caption display information and the caption lattice area of the second caption lattice information.
In the embodiment of the invention, the caption display information comprises information such as display characters, fonts, font sizes and the like set by a user. And according to the subtitle display information, the main control output terminal searches second subtitle display information corresponding to the subtitle display information in a preset font library and sends the second subtitle display information to other output terminals in the group.
The preset font library can be preset by a user according to the use requirement, or can be a default font library of the system. The font library comprises different subtitle display information and corresponding second subtitle lattice information. The preset font library may be stored locally at the output terminal or may be stored in the cloud server, which is not limited in the embodiment of the present invention.
For example, if the user sets the display character in the caption display information to be "popular with the pilot and popular with each level of the pilot" and the font is Song Ti and the font size is one, the caption lattice corresponding to the caption display information can be correspondingly determined, that is, the second caption lattice information is determined.
In step 607, in each preset time period, the main control output terminal calculates, according to the caption display information and the preset display speed, a start real-time position of a first character of the caption, and sends the start real-time position and the caption display information to other output terminals except the main control output terminal in the caption management terminal group.
After the main control terminal selects a plurality of output terminals to form a caption management terminal group and determines the main control output terminal, the main control output terminal creates a refreshing thread to start controlling caption rolling display. The refreshing thread is used for controlling the sequence of the caption rolling display of the caption management terminal group. And the main control output terminal circularly transmits the initial real-time position of the first character in the caption display characters to other output terminals except the main control output terminal in the group according to the preset display speed in the refreshing thread.
It should be noted that the sending the starting real-time position and the subtitle display information to other output terminals except the main control output terminal in the subtitle management terminal group specifically includes: and the target output terminal sends the initial real-time position and the caption display information to other output terminals except the main control output terminal in the caption management terminal group according to the IP address of each output terminal.
In this step, after receiving the IP address of each output terminal in the group, the master control output terminal adds all the intra-group IPs into the multicast group, and sends caption display information to all the output terminals in the group through the multicast address. The multicast group is a network communication group corresponding to the caption management terminal group, and can realize one-to-many communication, namely, the multicast group can realize that the main control output terminal simultaneously sends the same caption display information to all the output terminals corresponding to the IP in the multicast group.
Specifically, the main control output terminal circularly sends the initial real-time position of the first character in the caption display characters to other output terminals in the caption management terminal group, and the initial real-time position is calculated and sent once in each time period. When the main control output terminal sends the caption display information to other output terminals in the caption management terminal group, the main control output terminal only needs to send the caption display information once, wherein the caption display information refers to the display characters, the character sizes and the like of the caption and does not change with time. Such a transmission scheme can reduce the amount of data transmission and improve the data transmission efficiency.
And 608, calculating to obtain a caption lattice area corresponding to the output terminal according to the initial real-time position and the caption display information when the output terminal is the output terminal in the caption management terminal group, wherein the caption lattice area is an area of a sub-screen for displaying target caption display information in the caption display information.
Specifically, this step can be implemented by the following substeps 6081 to 6082:
sub-step 6081: the output terminal calculates a caption display area according to the size of the sub-screen, the size of the display character and the preset caption starting position coordinate; the subtitle display area is a screen area of a sub-screen corresponding to the output terminal for displaying the display characters.
In this step, the subtitle display area is a screen area of the sub-screen for displaying subtitle display characters, and the subtitle display area of each sub-screen constitutes a target area of the subtitle display characters. Fig. 8 shows a rectangular region representation method according to an embodiment of the present invention. As shown in fig. 8, the rectangular region 800 is represented by two coordinates, i.e., the upper left corner E and the lower right corner F, and can be represented as (x 0 ,y 0 )->(x 1 ,y 1 ) The method comprises the steps of carrying out a first treatment on the surface of the Of course, two coordinate representations of the lower left corner and the upper right corner may also be used, which is not limiting of the embodiments of the present invention.
Accordingly, the subtitle display area corresponding to each output terminal connected in one-to-one correspondence to the sub-screen may be represented as (xShowSart, yShowStart) - > (xShowEnd, yShowEnd). Taking the subtitle display character in fig. 7 as an example, the subtitle display area in the screen 1 may be represented by A, C two dots or D, B two dots, which is not limited by the embodiment of the present invention.
By way of example, taking the subtitle in fig. 7 as an example, assuming that the subtitle start position coordinates are (200 ), the sub-screen width height is 1920×1080, and the display character size is 7280×600, the subtitle display area of each sub-screen can be obtained:
the subtitle display area in the horizontal direction of the subtitle corresponding to the sub-screen 1 is:
(xShowStart->xShowEnd)=(0->1720)。
the subtitle display area in the horizontal direction of the subtitle corresponding to the sub-screen 2 is:
(xShowStart->xShowEnd)=(1720->3640)。
the subtitle display area of the sub-screen 3 corresponding to the horizontal direction of the subtitle is:
(xShowStart->xShowEnd)=(3640->5560)。
the subtitle display area in the horizontal direction of the subtitle corresponding to the sub-screen 4 is:
(xShowStart->xShowEnd)=(5560->7280)。
sub-step 6082: and the output terminal calculates the caption lattice area according to the size of the display character, the initial real-time position of the first display character and the caption display area.
In this step, the caption lattice region may be a coordinate range of the output terminal corresponding to the caption lattice in real time. The subtitle lattice area may be represented as (xBitStart, yBitStart) - > (xBitEnd, yBitEnd). The size of the display character, i.e., the length and width of the display character, can be expressed as (bitw×bith).
When the subtitle lattice area is calculated, firstly, judging whether the starting real-time position start is in the subtitle display area or not according to the following 3 situations:
1) When the initial real-time position is within the range of the subtitle display area in the horizontal direction, that is, the start is within the range of xShowStart to xShowEnd, the horizontal subtitle lattice area in each output terminal is:
xBitStart=bitW-start+xShowStart;
xBitEnd=xShowEnd-start。
2) When the initial real-time position is not in the range of the subtitle display area in the horizontal direction and the start is larger than xShowEnd, the subtitle lattice area in the horizontal direction in each output terminal is:
xBitStart=bitW-start+xShowStart;
xBitEnd=bitW-start+xShowEnd。
3) When the initial real-time position is not in the range of the subtitle display area in the horizontal direction and the start is less than or equal to xShowEnd, the subtitle lattice area in the horizontal direction in each output terminal is:
xBitStart=xShowStart-start;
xBitEnd=xShowEnd-start。
and finally, after each output terminal obtains the corresponding subtitle lattice area according to the calculation method, transmitting the corresponding subtitle lattice in the subtitle lattice area to a sub-screen for display. The rolling caption display mode can realize synchronous refreshing of multiple sub-screen caption lattices, and improves the caption display effect.
The following describes a calculation process of a caption lattice region with 3 specific examples, wherein the coordinates of the caption start positions in the 3 examples are (200 ), the sub-screen width is 1920×1080, and the display character size is 7280×600, and the calculation of the caption lattice region is specifically as follows:
example one, fig. 9 shows a schematic diagram of a closed caption according to an embodiment of the present invention. As shown in fig. 9, start=0; the horizontal subtitle lattice area in each output terminal is:
the horizontal subtitle lattice area in the sub-screen 1 is:
xBitStart=xShowStart-start=0-0=0
xBitEnd=xShowEnd-start=1720-0=1720
the horizontal subtitle lattice area in the sub-screen 2 is:
xBitStart=xShowStart-start=1720-0=1720
xBitEnd=xShowEnd-start=3640-0=3640
the horizontal subtitle lattice area in the sub-screen 3 is:
xBitStart=xShowStart-start=3640-0=3640
xBitEnd=xShowEnd-start=5560-0=5560
the horizontal subtitle lattice area in the sub-screen 4 is:
xBitStart=xShowStart-start=5560-0=5560
xBitEnd=xShowEnd-start=7280-0=7280
example two, fig. 10 shows another exemplary closed caption according to an embodiment of the present invention. As shown in fig. 10, start=500, and the horizontal subtitle lattice area in each output terminal is:
the horizontal subtitle lattice area in the sub-screen 1 is:
xBitStart=bitW-start+xShowStart=7280-500+0=6780
xBitEnd=xShowEnd-xShowStrt-start=1720-0-500=1220
the horizontal subtitle lattice area in the sub-screen 2 is:
xBitStart=xShowStart-start=1720-500=1220
xBitEnd=xShowEnd-start=3640-500=3160
the horizontal subtitle lattice area in the sub-screen 3 is:
xBitStart=xShowStart-start=3640-500=3160
xBitEnd=xShowEnd-start=5560-500=5060
the horizontal subtitle lattice area in the sub-screen 4 is:
xBitStart=xShowStart-start=5560-500=5060
xBitEnd=xShowEnd-start=7280-500=6780
example three, fig. 11 shows a schematic diagram of a rolling subtitle according to another embodiment of the present invention. As shown in fig. 11, start=2220, and the horizontal subtitle lattice area in each output terminal is:
The horizontal subtitle lattice area in the sub-screen 1 is:
xBitStart=bitW-start+xShowStart=7280-2220+0=5060
xBitEnd=bitW-start+xShowEnd=7280-2220+1720=6780
the horizontal subtitle lattice area in the sub-screen 2 is:
xBitStart=bitW-start+xShowStart=7280-2220+1720=6780
xBitEnd=xShowEnd-start=3640-2220=1420
the horizontal subtitle lattice area in the sub-screen 3 is:
xBitStart=xShowStart-start=3640-2220=1420
xBitEnd=xShowEnd-start=5560-2220=3340
the horizontal subtitle lattice area in the sub-screen 4 is:
xBitStart=xShowStart-start=5560-2220=3340
xBitEnd=xShowEnd-start=7280-2220=5060
step 609, determining first caption lattice information corresponding to the caption lattice area, and sending the first caption lattice information to a sub-screen corresponding to the output terminal, so that the sub-screen can display the target caption display information through the first caption lattice information.
The implementation in this step is the same as that in step 503, and will not be described here again.
Specifically, this step may be implemented by the following substep 6091:
step 6091, the output terminal selects the first caption lattice information corresponding to the caption lattice region from the second caption lattice information corresponding to the caption lattice region according to the target caption display information corresponding to the caption lattice region.
In the embodiment of the invention, the caption display information corresponds to second caption lattice information, and the second caption lattice information corresponds to a caption lattice of the whole caption. The target caption display information currently displayed by the output terminal is part of the caption display information in the caption lattice area calculated by the output terminal, and further, the first caption lattice information corresponding to the caption lattice area is part of the second caption lattice information.
After the output terminal calculates the caption lattice area, selecting the first caption lattice information currently displayed in real time from the second caption lattice information according to the coordinate range of the caption lattice area, so as to determine the caption lattice displayed in real time by the output terminal.
In the step, each output terminal in the caption terminal group calculates the respective caption lattice area, and then the caption lattice displayed at present is selected from the whole caption lattice, so that synchronous refreshing display of each output terminal is ensured, and the display effect of the rolling caption is optimized.
In addition, in the embodiment of the invention, the main control terminal can also receive a plurality of groups of caption display information sent by the client. And determining a plurality of corresponding subtitle management terminal groups based on the plurality of subtitle display information, wherein each subtitle management terminal group selects a main control output terminal, and the main control output terminal respectively controls the subtitle rolling display of each subtitle management terminal group.
Specifically, fig. 12 shows a schematic diagram of a multi-group closed caption display. Taking fig. 12 as an example, 3 groups of subtitles are displayed on the spliced screen 120, which are subtitles 1201, 1202 and 1203. The main control terminal receives 3 groups of caption display information sent by the client, correspondingly determines target areas of all groups of captions, and further obtains 3 caption management terminal groups, namely sub-screens 1-3, sub-screens 6-8 and sub-screens 9-10. After the caption management terminal groups are determined, the main control terminal respectively selects the main control output terminals of the caption management terminal groups. The main control terminal can only interact with the main control output terminal, and the main control output terminal creates a refreshing thread to control the caption rolling display. Specifically, the main control terminal may also number the caption management terminal groups, for example, the numbers of the 3 caption management terminal groups may be T1, T2, and T3, and by numbering the caption management terminal groups, a plurality of caption management terminal groups may be distinguished, so that normal communication transmission of data may be ensured.
In summary, according to the method for displaying the rolling subtitles provided by the embodiment of the invention, the main control terminal determines subtitle display information, calculates a plurality of sub-screens for subtitle display according to the subtitle display information, then selects output terminals corresponding to the plurality of sub-screens for subtitle display as a subtitle management terminal group, selects a main control output terminal for controlling subtitle display in the group from the subtitle management terminal group, and sends the subtitle display information to the main control output terminal; the main control output terminal controls the rolling caption display in the group. According to the embodiment of the invention, the main control output terminal controls the subtitle display control of the subtitle management terminal group, the output terminals in the group respectively calculate the subtitle lattice displayed in real time, so that the rolling subtitles can be directly displayed on the spliced screen in a cross-screen manner, the cost is saved, and the display effect is optimized. Meanwhile, the method for controlling the refreshing of the subtitles in real time through grouping management can realize the simultaneous refreshing of a plurality of subtitles in the spliced screen, the mutual influence is avoided, and the display mode of the rolling subtitles is enriched.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to fig. 13, there is shown a block diagram of a rolling subtitle display apparatus according to the present invention. The device 130 is applied to a master control terminal, and the master control terminal is in communication connection with a plurality of output terminals, where the plurality of output terminals are respectively in one-to-one correspondence with a plurality of sub-screens in a spliced screen, and the device 130 is characterized in that:
a determining module 1301, configured to determine subtitle display information;
a first calculating module 1302, configured to calculate a plurality of sub-screens for displaying subtitles according to the subtitle display information;
a selecting module 1303, configured to select output terminals corresponding to a plurality of sub-screens for displaying subtitles as a subtitle management terminal group, and select a main control output terminal for controlling subtitle display in the group from the subtitle management terminal group;
and a sending module 1304, configured to send the caption display information to the master control output terminal.
Optionally, the apparatus 130 further includes:
the numbering module 1305 is configured to number the multiple sub-screens and the multiple output terminals in an incremental or decremental manner by using the master control terminal to obtain a number corresponding to each sub-screen and each output terminal; and the number of each sub-screen is the same as the number of the output terminal correspondingly connected with the sub-screen.
Optionally, the main control terminal selects the output terminal with the smallest or largest number in the caption management terminal group as the main control output terminal.
Optionally, the caption display information includes a display character, a size of the display character, and/or preset caption start position coordinates.
Optionally, the first computing module 1302 is specifically configured to:
the main control terminal determines the display length required by the display character in the horizontal direction and the display width required by the display character in the vertical direction according to the subtitle display information;
and the main control terminal determines a target area in the spliced screen according to the caption starting position coordinates, the display length and the display width, and adds an output terminal corresponding to a sub-screen included in the target area to the caption management terminal group.
Optionally, the first computing module 1302 is specifically configured to:
the main control terminal calculates the screen length required by the display character in the horizontal direction according to the size of the display character and the length of each sub-screen and a length calculation formula;
the main control terminal calculates the screen width required by the display character in the vertical direction according to the size of the display character and the width of each sub-screen and a width calculation formula;
The length calculation formula is L=w/W;
the width calculation formula is K=h/H;
wherein L is the screen length required by the display character in the horizontal direction; k is the screen width required by the display character in the vertical direction; w is the length in the display character size; h is the width in the display character size; w is the length of the sub-screen; h is the width of the sub-screen.
In summary, according to the display device for rolling subtitles provided by the embodiment of the invention, the main control terminal determines subtitle display information, calculates a plurality of sub-screens for subtitle display according to the subtitle display information, then selects output terminals corresponding to the plurality of sub-screens for subtitle display as a subtitle management terminal group, selects a main control output terminal for subtitle display control in the group from the subtitle management terminal group, and sends the subtitle display information to the main control output terminal. According to the embodiment of the invention, the output terminals are selected to form the subtitle management terminal group, and the main control output terminal controls the subtitle display control of the group, so that the rolling subtitles can be directly displayed on the spliced screen in a cross-screen manner, the cost is saved, and the display effect is optimized. Meanwhile, the method for controlling the refreshing of the subtitles in real time through grouping management can realize the simultaneous refreshing of a plurality of subtitles in the spliced screen, the mutual influence is avoided, and the display mode of the rolling subtitles is enriched.
Referring to fig. 14, there is shown a block diagram of another rolling subtitle display apparatus of the present invention. The apparatus 140 is applied to an output terminal, and the apparatus 140 includes:
and the second calculation module 1401 is configured to, when the output terminal is a main control output terminal in the subtitle management terminal group, receive subtitle display information sent by the main control terminal, and in each preset time period, calculate, according to the subtitle display information and a preset display speed, a start real-time position of a first character of a subtitle, and send the start real-time position and the subtitle display information to other output terminals in the subtitle management terminal group except for the main control output terminal.
And a third calculation module 1402, configured to calculate, when the output terminal is an output terminal in the subtitle management terminal group, a subtitle lattice area corresponding to the output terminal according to the start real-time position and the subtitle display information, where the subtitle lattice area is an area of a sub-screen for displaying target subtitle display information in the subtitle display information.
The display module 1403 is configured to determine first subtitle lattice information corresponding to the subtitle lattice area, and send the first subtitle lattice information to a sub-screen corresponding to the output terminal, so that the sub-screen displays the target subtitle display information through the first subtitle lattice information.
Optionally, the caption display information sent by the main control terminal and received by the main control output terminal further includes an IP address of each output terminal in the caption management terminal group.
Optionally, the device 140 is further configured to: and the main control output terminal sends the initial real-time position and the caption display information to other output terminals except the main control output terminal in the screen group according to the IP address of each output terminal.
Optionally, the device 140 is further configured to: the main control output terminal acquires second subtitle lattice information corresponding to the subtitle display information by reading a preset font library according to the subtitle display information, and sends the second subtitle lattice information corresponding to the subtitle display information to other output terminals except the main control output terminal in the subtitle management terminal group; the preset font library comprises the corresponding relation between the subtitle display information and the second subtitle lattice information.
Optionally, the caption display information includes display characters, sizes of the display characters and preset caption starting position coordinates; the third computing module 1402 is specifically configured to:
The output terminal calculates a caption display area according to the size of the sub-screen, the size of the display character and the preset caption starting position coordinate; the subtitle display area is a screen area corresponding to the display characters and used for displaying the sub-screen corresponding to the output terminal; and each output terminal calculates the subtitle lattice area corresponding to the output terminal according to the size of the display character, the initial real-time position of the first display character and the subtitle display area.
Optionally, the display module 1403 is specifically configured to: and the output terminal selects first caption lattice information corresponding to the caption lattice region from second caption lattice information corresponding to the caption lattice region according to target caption display information corresponding to the caption lattice region.
In summary, according to the display device for the rolling captions provided by the embodiment of the invention, the main control output terminal calculates the initial real-time position of the first character of the captions according to the caption display information and the preset display speed, and sends the initial real-time position and the caption display information to other output terminals in the group; and then each output terminal in the caption management terminal group calculates to obtain a corresponding caption lattice area, and determines first caption lattice information displayed in real time according to the caption lattice area and sends the first caption lattice information to the sub-screen for display. According to the embodiment of the invention, the main control output terminal controls the caption display of the caption management terminal group, the output terminals in the group respectively calculate the caption dot matrix displayed in real time, so that the rolling captions can be directly displayed on the spliced screen in a cross-screen manner, the cost is saved, and the display effect is optimized. Meanwhile, the method for controlling the refreshing of the subtitles in real time through grouping management can realize the simultaneous refreshing of a plurality of subtitles in the spliced screen, the mutual influence is avoided, and the display mode of the rolling subtitles is enriched.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The above description of the method for displaying a closed caption and the device for displaying a closed caption provided by the present invention applies specific examples to illustrate the principles and embodiments of the present invention, and the above examples are only used to help understand the method and core ideas of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (5)

1. The rolling caption display method is applied to a main control terminal, wherein the main control terminal is in communication connection with a plurality of output terminals, and the plurality of output terminals are respectively in one-to-one correspondence connection with a plurality of sub-screens in a spliced screen, and is characterized by comprising the following steps:
the main control terminal determines caption display information;
the main control terminal calculates a plurality of sub-screens for displaying the subtitles according to the subtitle display information;
the main control terminal selects output terminals corresponding to a plurality of sub-screens for subtitle display as a subtitle management terminal group, and selects a main control output terminal for subtitle display control in the subtitle management terminal group;
and the main control terminal sends the caption display information to the main control output terminal so that the main control output terminal controls the caption management terminal group to synchronously refresh and display the caption display information.
2. The method of claim 1, wherein before the step of the main control terminal calculating a plurality of sub-screens for subtitle display from the subtitle display information, the method further comprises:
the main control terminal numbers the sub-screens and the output terminals in an increasing or decreasing mode to obtain corresponding numbers of each sub-screen and each output terminal; the serial number of each sub-screen is the same as the serial number of the output terminal correspondingly connected with the sub-screen;
And/or, the step of selecting a main control output terminal for in-group subtitle display control in the subtitle management terminal group includes:
and the main control terminal selects the output terminal with the smallest or largest number in the caption management terminal group as the main control output terminal.
3. The method according to claim 1, wherein the subtitle display information includes a display character, a size of the display character, and/or preset subtitle start position coordinates.
4. The method of claim 3, wherein the step of calculating a plurality of sub-screens for subtitle display according to the subtitle display information includes:
the main control terminal determines the display length required by the display character in the horizontal direction and the display width required by the display character in the vertical direction according to the subtitle display information;
and the main control terminal determines a target area in the spliced screen according to the caption starting position coordinates, the display length and the display width, and adds an output terminal corresponding to a sub-screen included in the target area to the caption management terminal group.
5. The utility model provides a rolling caption display device, is applied to the master control terminal, the master control terminal is connected with a plurality of output terminals communication, wherein, a plurality of output terminals are connected with a plurality of sub-screens one-to-one in the concatenation screen respectively, its characterized in that, the device includes:
The determining module is used for determining subtitle display information;
the first calculation module is used for calculating a plurality of sub-screens for subtitle display according to the subtitle display information;
the selecting module is used for selecting the output terminals corresponding to the plurality of sub-screens for displaying the subtitles as a subtitle management terminal group, and selecting a main control output terminal for controlling the subtitle display in the subtitle management terminal group;
and the sending module is used for sending the caption display information to the main control output terminal so that the main control output terminal controls the caption management terminal group to synchronously refresh and display the caption display information.
CN202010097597.1A 2020-02-17 2020-02-17 Rolling caption display method and device Active CN111327842B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010097597.1A CN111327842B (en) 2020-02-17 2020-02-17 Rolling caption display method and device
CN202210681218.2A CN115022703B (en) 2020-02-17 Rolling caption display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010097597.1A CN111327842B (en) 2020-02-17 2020-02-17 Rolling caption display method and device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202210681218.2A Division CN115022703B (en) 2020-02-17 Rolling caption display method and device

Publications (2)

Publication Number Publication Date
CN111327842A CN111327842A (en) 2020-06-23
CN111327842B true CN111327842B (en) 2023-04-21

Family

ID=71168820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010097597.1A Active CN111327842B (en) 2020-02-17 2020-02-17 Rolling caption display method and device

Country Status (1)

Country Link
CN (1) CN111327842B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113641321A (en) * 2021-08-19 2021-11-12 广州市保伦电子有限公司 Subtitle rolling method and system for splicing display system
CN115914770A (en) * 2022-12-22 2023-04-04 广州市保伦电子有限公司 Synchronous display method, device and system for distributed multi-device rolling captions
CN117420977B (en) * 2023-12-18 2024-03-19 民航成都信息技术有限公司 Cross-screen text scrolling display system, method, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333201A (en) * 2010-07-13 2012-01-25 华为终端有限公司 Telepresence caption transmission method, terminal and system
CN104063198A (en) * 2014-07-03 2014-09-24 深圳市华泰敏信息技术有限公司 Multi-screen synchronous subtitle overlaying method and equipment
CN104469211A (en) * 2014-12-22 2015-03-25 广州视源电子科技股份有限公司 Spliced wall caption display method and device
CN104935840A (en) * 2015-06-10 2015-09-23 深圳市创维群欣安防科技有限公司 Subtitle rolling display method of splicing display screen and system
CN109656495A (en) * 2017-10-12 2019-04-19 阿里巴巴集团控股有限公司 The display methods and device of Mosaic screen, terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150000783A (en) * 2013-06-25 2015-01-05 삼성전자주식회사 Display method and apparatus with multi-screens

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333201A (en) * 2010-07-13 2012-01-25 华为终端有限公司 Telepresence caption transmission method, terminal and system
CN104063198A (en) * 2014-07-03 2014-09-24 深圳市华泰敏信息技术有限公司 Multi-screen synchronous subtitle overlaying method and equipment
CN104469211A (en) * 2014-12-22 2015-03-25 广州视源电子科技股份有限公司 Spliced wall caption display method and device
CN104935840A (en) * 2015-06-10 2015-09-23 深圳市创维群欣安防科技有限公司 Subtitle rolling display method of splicing display screen and system
CN109656495A (en) * 2017-10-12 2019-04-19 阿里巴巴集团控股有限公司 The display methods and device of Mosaic screen, terminal

Also Published As

Publication number Publication date
CN111327842A (en) 2020-06-23
CN115022703A (en) 2022-09-06

Similar Documents

Publication Publication Date Title
CN111327842B (en) Rolling caption display method and device
KR101905182B1 (en) Self-Adaptive Display Method and Device for Image of Mobile Terminal, and Computer Storage Medium
CN107731032B (en) Audio and video switching method and device and remote multipoint interactive teaching system
US20160072862A1 (en) System and method for a virtual conference interactive timeline
CN1956516B (en) Method for displaying TV function surface by image and combined with voice
CN106162298B (en) Method and system for realizing bullet screen
US8495492B2 (en) Distributed interactive augmentation of display output
US11551638B2 (en) Methods, systems, and media for modifying user interface colors in connection with the presentation of a video
CN111131876B (en) Control method, device and terminal for live video and computer readable storage medium
CN102646346A (en) Mobile video playing system and method for remote instruction
CN104980475B (en) Method and device for synchronously presenting display content
CN109117053B (en) Dynamic display method, device and equipment for interface content
CN109032339A (en) A kind of method and system that real-time intelligent body-sensing is synchronous
CN110321497B (en) Interface navigation method and device, electronic equipment and storage medium
JP2009053664A (en) Method for controlling video content display, display and storage medium
CN115022703B (en) Rolling caption display method and device
US11831974B2 (en) Zone-adaptive video generation
CN110166841B (en) Multi-channel audio and video automatic detection real-time pushing method
CN103309444A (en) Kinect-based intelligent panoramic display method
CN102074032A (en) Animation generating method and device based on picture sequence
CN111143014B (en) Method and system for generating scene thumbnail of wall splicing system
CN115277650B (en) Screen-throwing display control method, electronic equipment and related device
CN112261431B (en) Image processing method and device and electronic equipment
CN116882370B (en) Content processing method and device, electronic equipment and storage medium
CN115516867B (en) Method and system for reducing latency on collaboration platforms

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
GR01 Patent grant
GR01 Patent grant