WO2022126773A1 - 一种文字显示方法、系统、电子设备和存储介质 - Google Patents

一种文字显示方法、系统、电子设备和存储介质 Download PDF

Info

Publication number
WO2022126773A1
WO2022126773A1 PCT/CN2020/141700 CN2020141700W WO2022126773A1 WO 2022126773 A1 WO2022126773 A1 WO 2022126773A1 CN 2020141700 W CN2020141700 W CN 2020141700W WO 2022126773 A1 WO2022126773 A1 WO 2022126773A1
Authority
WO
WIPO (PCT)
Prior art keywords
text
display
image
information
coordinate range
Prior art date
Application number
PCT/CN2020/141700
Other languages
English (en)
French (fr)
Inventor
张慧祥
董友球
Original Assignee
威创集团股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 威创集团股份有限公司 filed Critical 威创集团股份有限公司
Publication of WO2022126773A1 publication Critical patent/WO2022126773A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Definitions

  • the present invention relates to the technical field of splicing screen display, and more particularly, to a text display method, system, electronic device and storage medium.
  • the appearance of the display splicing screen solves various defects of the traditional TV curtain wall, and provides the best large-screen display system for engineering applications such as remote real-time command and dispatch in order to display the video information of each system in a convenient, comprehensive and real-time manner.
  • the display splicing screen is a complete splicing display wall, which can use one of the screens alone as a display or a full screen as a large screen.
  • the display splicing screen is as simple as building blocks. By splicing multiple display screens, a complete finished product can be obtained for use.
  • display splicing screens which not only adapt to digital signal input, but also support analog signals.
  • the display splicing screen series products use unique and the world's most advanced digital processing technology, allowing users to truly experience the full HD large screen effect.
  • display splicing screen is often used to display various high-resolution visualization, surveillance video, computer signals and other image content.
  • cross-screen subtitles are often used to display applications such as greetings.
  • the existing display splicing screen is connected by a server and multiple display nodes, the display nodes are connected to the corresponding display screens, and the display screens are arranged in different positions according to a certain number and layout to form a display splicing screen.
  • the display splicing screen displays the image information received from the display node.
  • the existing display splicing screen is generally composed of multiple display screens, and each display screen has a corresponding display node.
  • the present invention provides a text display method, system, electronic device and storage medium, the text display method, system, electronic device and storage medium realize cross-screen display of text without the coordination of a coordinator.
  • a method of distributed display text including:
  • Image conversion is performed on the text information input by the user through the parameter information set by the user to obtain first text image information;
  • the first text image information includes: a first text image and a first coordinate range;
  • the first coordinate range is the text image to be displayed The coordinate range of the information area relative to the display splicing screen;
  • the second text image information includes: the second text image and the third coordinate range;
  • the second coordinate The range is the coordinate range of the overlapping part of each display area and the first text image relative to the first text image;
  • the third coordinate range is the coordinate range of the overlapping part of each display area and the second text image relative to the display splicing screen;
  • the display The splicing screen consists of multiple display areas;
  • Send the second text image information to the corresponding display node for decoding if the display node returns the information that cannot be decoded, then re-receive the display text command, the text information input by the user and the parameter information set by the user, otherwise send the display text command to the display node, So that the display node sends the decoded second text image information to the display splicing screen for display according to the display text instruction; the display text instruction carries the start time of displaying the text image information on the display splicing screen.
  • the existing technology is in the realization of the display splicing screen to display cross-screen subtitles.
  • the main disadvantage is the high cost of equipment and excessive consumption of system resources. Since each display node needs to be coordinated by the coordinator, the subtitles can be displayed synchronously and coordinated across the screen, and the coordinator's way of displaying subtitles across the screen is also one of the reasons for the high equipment cost and excessive system resource consumption.
  • the solution of the present application only relies on multiple display nodes to realize the display of cross-screen subtitles without a coordinator, so as to achieve the technical effect of reducing equipment cost and system resource consumption.
  • select a primary node from among multiple display nodes, and the rest are secondary nodes.
  • use the master node to receive the display text command, the text information input by the user and the parameter information set by the user.
  • the image is cropped so that the first text image is divided into a plurality of parts, and each part corresponds to the display area in which it is located. And each part of the first text image is encoded according to the display area where each part of the first text image is located, so as to obtain the second text image information. Then, the primary node sends the second text image information to the corresponding secondary node. The secondary node compares the coordinate range of the text image to be displayed in its corresponding display area with the third coordinate range contained in the second text image information.
  • the second text image contained in the second text image information is: For the part of the first text image to be displayed in the display area, the secondary node decompresses the second text image, and stores the decompressed second text image in the cache queue.
  • the text image is sent to the display splicing screen for display; otherwise, the sent second text image information does not match the display area corresponding to the secondary node, and the decompression failure information is returned to the primary node.
  • the parameter information includes: font size, text color, background color, subtitle scrolling direction, subtitle scrolling speed and window; the window is the area where the text is to be displayed on the spliced display screen.
  • the first text and image information further includes: subtitle scrolling direction and subtitle scrolling speed; performing image conversion on the text information input by the user through parameter information set by the user, and obtaining the first text and image information includes:
  • the first coordinate range is obtained through the coordinate range of the window set by the user.
  • the main node when the length of the received text information is greater than the preset threshold, the main node also splits the text information into multiple segments, and then sequentially converts each segment of text information into images according to the parameter information, thereby converting it into multiple texts Image, multiple text images are used as the first text image.
  • the second text image information further includes: the subtitle scrolling direction and the subtitle scrolling speed; the clipping and encoding of the first text image according to the first coordinate range and the second coordinate range, and obtaining the second text image information includes:
  • the cropped first text image is encoded according to the third coordinate to obtain the second text image.
  • the images are copied to the window in sequence according to the order in which the text information is divided into multiple segments, and then the images are cropped and encoded in sequence to obtain a second text image; the second text image is obtained.
  • Image contains multiple images.
  • the decoding process includes:
  • the display node obtains the third coordinate range from the second text image information
  • the display node compares the third coordinate range with the fourth coordinate range, and if the two are consistent, decodes the second text image, otherwise returns the information that cannot be decoded; the fourth coordinate range is the display area corresponding to each display node The coordinate range of the text and image information area to be displayed relative to the display splicing screen.
  • sending the decoded second text image information to the display splicing screen for display by the display node according to the display text instruction includes:
  • the display node calculates the time difference between the start time of displaying text and image information on the display splicing screen and the current time of the system;
  • the display node obtains the pixels in the current window according to the time difference and the decoded second text image, the subtitle scrolling direction and the subtitle scrolling speed;
  • the display node extracts a corresponding partial image from the second text image according to the pixels in the current window;
  • the display node will extract the corresponding partial image from the second text image and send it to the display splicing screen for display.
  • the secondary node after receiving the display text command, the secondary node also performs the following steps: first, obtain the start time of the display splicing screen display text image information carried by the display text command and the current time of the system, and calculate the time difference between the two; then According to the time difference, subtitle scrolling direction and subtitle scrolling speed, the pixels of several points in the window are obtained; after that, the points of the same pixels are obtained on the second text image, and the corresponding pixels are extracted from the second text image according to these pixels. Part of the image; finally send this part of the image to the display splicing screen for display.
  • the second text image is multiple images, obtain the start time of each image in the second text image to be displayed on the display splicing screen from the display text command, calculate the time difference between the time and the current system time, and judge the second text from the time difference. Which image should currently be displayed in the image. Then, according to the time difference, subtitle scrolling direction, and subtitle scrolling speed, the pixels of several points in the window are obtained; then, the same pixels are obtained on the image that should be displayed in the second text image, and the pixels are obtained from the image according to these pixels. Extract the corresponding part of the image; finally send this part of the image to the display splicing screen for display.
  • a system for distributed display text including:
  • a receiving unit used for receiving display text instructions, text information input by the user and parameter information set by the user;
  • an image conversion unit configured to perform image conversion on the text information input by the user through parameter information set by the user to obtain first text image information;
  • the first text image information includes: a first text image and a first coordinate range;
  • the first coordinate The range is the coordinate range of the text image information area to be displayed relative to the display splicing screen;
  • a processing unit configured to crop and encode the first text image according to the first coordinate range and the second coordinate range, and obtain second text image information;
  • the second text image information includes: the second text image and the third coordinate range;
  • the second coordinate range is the coordinate range of the overlapping part of each display area and the first text image relative to the first text image;
  • the third coordinate range is the coordinate range of the overlapping part of each display area and the second text image relative to the display mosaic screen Scope;
  • the display splicing screen is composed of multiple display areas;
  • the sending unit is used to send the second text and image information to the corresponding display node for decoding. If the display node returns the information that cannot be decoded, it will re-receive the display text command, the text information input by the user and the parameter information set by the user, otherwise, send the display text
  • the instruction is given to the display node, so that the display node sends the decoded second text image information to the display splicing screen for display according to the display text instruction; the display text instruction carries the start time of displaying the text image information on the display splicing screen.
  • the receiving unit includes:
  • a parameter information receiving mechanism for receiving the font size, text color, background color, subtitle scrolling direction, subtitle scrolling speed and window set by the user; the window is the area where the text is to be displayed on the splicing display screen;
  • the text information receiving mechanism is used for receiving text information input by the user.
  • the image conversion unit includes:
  • a text information splitting mechanism used to determine whether the length of the text information is greater than a preset threshold, and if it is greater than the threshold, split the text information into multiple segments;
  • the text information conversion mechanism is used to convert the text information input by the user into an image according to the font size, text color and background color set by the user; if the text information is divided into multiple segments, the font size, text color and background color set by the user are used. Convert multiple pieces of text information into images in turn, as the first text image; otherwise, convert the text information into images as the first text image according to the font size, text color and background color set by the user;
  • the first coordinate obtaining mechanism is used for obtaining the first coordinate range through the coordinate range of the window set by the user.
  • processing unit includes:
  • a text image copying mechanism used for copying the first text image to the window through the first coordinate range
  • a text image cropping mechanism for cropping the first text image according to the second coordinate range
  • the text image encoding mechanism is used for encoding the cropped first text image according to the third coordinates to obtain the second text image.
  • a decoding unit for decoding the second text and image information including:
  • the second coordinate obtaining mechanism is used to obtain the third coordinate range from the second text and image information
  • the decoding mechanism is used to compare the third coordinate range with the fourth coordinate range, and if the two are consistent, decode the second text image, otherwise return the information that cannot be decoded; the fourth coordinate range corresponds to each display node
  • the display area intends to display the coordinate range of the text and image information area relative to the display splicing screen.
  • a display unit configured to send the decoded second text image information to the display splicing screen for display according to the display text instruction, including:
  • the computing mechanism is used to calculate the time difference between the start time of displaying text and image information on the display splicing screen and the current time of the system;
  • the pixel mechanism is used to obtain the pixels in the current window according to the time difference and the decoded second text image, the subtitle scrolling direction and the subtitle scrolling speed; according to the pixels in the current window, the corresponding partial images are extracted from the second text image ;
  • the synchronization mechanism is used for extracting the corresponding partial image from the second text image and sending it to the display splicing screen for display.
  • An electronic device comprising:
  • a memory that stores at least one instruction
  • a processor executes the instructions stored in the memory to implement the method for distributed display of text according to any one of the above.
  • a computer-readable storage medium on which a processing program is stored, the processing program can be executed by one or more processors, so as to implement the method for distributed display of text as described in any of the above .
  • the display node only needs to decompress some images to be displayed in the corresponding display area, thereby reducing the consumption of system resources.
  • the multi-screen text display of the display splicing screen is realized without a coordinator, so as to avoid the increase of equipment cost and reduce the consumption of system resources.
  • Fig. 1 is the flow chart of the present invention
  • FIG. 2 is a schematic diagram of a display splicing screen of the present invention
  • FIG. 3 is a schematic diagram of the system structure of the present invention.
  • FIG. 1 is a flowchart of the present invention. As shown in the figure, the method includes:
  • Image conversion is performed on the text information input by the user through the parameter information set by the user to obtain first text image information;
  • the first text image information includes: a first text image and a first coordinate range;
  • the first coordinate range is the text image to be displayed The coordinate range of the information area relative to the display splicing screen;
  • the second text image information includes: the second text image and the third coordinate range;
  • the second coordinate The range is the coordinate range of the overlapping part of each display area and the first text image relative to the first text image;
  • the third coordinate range is the coordinate range of the overlapping part of each display area and the second text image relative to the display splicing screen;
  • the display The splicing screen consists of multiple display areas;
  • Send the second text image information to the corresponding display node for decoding if the display node returns the information that cannot be decoded, then re-receive the display text command, the text information input by the user and the parameter information set by the user, otherwise send the display text command to the display node, So that the display node sends the decoded second text image information to the display splicing screen for display according to the display text instruction; the display text instruction carries the start time of displaying the text image information on the display splicing screen.
  • the existing technology is in the realization of the display splicing screen to display cross-screen subtitles.
  • the main disadvantage is the high cost of equipment and excessive consumption of system resources. Since each display node needs to be coordinated by the coordinator, the subtitles can be displayed synchronously and coordinated across the screen, and the coordinator's way of displaying subtitles across the screen is also one of the reasons for the high equipment cost and excessive system resource consumption.
  • the solution of the present application only relies on multiple display nodes to realize the display of cross-screen subtitles without a coordinator, so as to achieve the technical effect of reducing equipment cost and system resource consumption.
  • select a primary node from among multiple display nodes, and the rest are secondary nodes.
  • use the master node to receive the display text command, the text information input by the user and the parameter information set by the user.
  • the image is cropped so that the first text image is divided into a plurality of parts, and each part corresponds to the display area in which it is located. And each part of the first text image is encoded according to the display area where each part of the first text image is located, so as to obtain the second text image information. Then, the primary node sends the second text image information to the corresponding secondary node. The secondary node compares the coordinate range of the text image to be displayed in its corresponding display area with the third coordinate range contained in the second text image information.
  • the second text image contained in the second text image information is: For the part of the first text image to be displayed in the display area, the secondary node decompresses the second text image, and stores the decompressed second text image in the cache queue.
  • the text image is sent to the display splicing screen for display; otherwise, the sent second text image information does not match the display area corresponding to the secondary node, and the decompression failure information is returned to the primary node.
  • the parameter information includes: font size, text color, background color, subtitle scrolling direction, subtitle scrolling speed and window; the window is the area where the text is to be displayed on the spliced display screen.
  • the first text and image information further includes: subtitle scrolling direction and subtitle scrolling speed; performing image conversion on the text information input by the user through parameter information set by the user, and obtaining the first text and image information includes:
  • the first coordinate range is obtained through the coordinate range of the window set by the user.
  • the main node when the length of the received text information is greater than the preset threshold, the main node also splits the text information into multiple segments, and then sequentially converts each segment of text information into images according to the parameter information, thereby converting it into multiple texts Image, multiple text images are used as the first text image.
  • FIG. 2 is a schematic diagram of the display splicing screen of the present invention.
  • W n is greater than the width of the display area corresponding to the display node. Among them, W-Width, H-high.
  • the second text image information further includes: the subtitle scrolling direction and the subtitle scrolling speed; the clipping and encoding of the first text image according to the first coordinate range and the second coordinate range, and obtaining the second text image information includes:
  • the cropped first text image is encoded according to the third coordinate to obtain the second text image.
  • the images are copied to the window in sequence according to the order in which the text information is divided into multiple segments, and then the images are cropped and encoded in sequence to obtain a second text image; the second text image is obtained.
  • Image contains multiple images.
  • the decoding process includes:
  • the display node obtains the third coordinate range from the second text image information
  • the display node compares the third coordinate range with the fourth coordinate range, and if the two are consistent, decodes the second text image, otherwise returns the information that cannot be decoded; the fourth coordinate range is the display area corresponding to each display node The coordinate range of the text and image information area to be displayed relative to the display splicing screen.
  • sending the decoded second text image information to the display splicing screen for display by the display node according to the display text instruction includes:
  • the display node calculates the time difference between the start time of displaying text and image information on the display splicing screen and the current time of the system;
  • the display node obtains the pixels in the current window according to the time difference and the decoded second text image, the subtitle scrolling direction and the subtitle scrolling speed;
  • the display node extracts a corresponding partial image from the second text image according to the pixels in the current window;
  • the display node will extract the corresponding partial image from the second text image and send it to the display splicing screen for display.
  • the secondary node after receiving the display text command, the secondary node also performs the following steps: first, obtain the start time of the display splicing screen display text image information carried by the display text command and the current time of the system, and calculate the time difference between the two; then According to the time difference, subtitle scrolling direction and subtitle scrolling speed, the pixels of several points in the window are obtained; after that, the points of the same pixels are obtained on the second text image, and the corresponding pixels are extracted from the second text image according to these pixels. Part of the image; finally send this part of the image to the display splicing screen for display.
  • the second text image is multiple images, obtain the start time of each image in the second text image to be displayed on the display splicing screen from the display text command, calculate the time difference between the time and the current system time, and judge the second text from the time difference. Which image should currently be displayed in the image. Then, according to the time difference, subtitle scrolling direction, and subtitle scrolling speed, the pixels of several points in the window are obtained; then, the same pixels are obtained on the image that should be displayed in the second text image, and the pixels are obtained from the image according to these pixels. Extract the corresponding part of the image; finally send this part of the image to the display splicing screen for display.
  • FIG. 3 is a schematic diagram of the system structure of the present invention, as shown in the figure, including:
  • a receiving unit used for receiving display text instructions, text information input by the user and parameter information set by the user;
  • an image conversion unit configured to perform image conversion on the text information input by the user through parameter information set by the user to obtain first text image information;
  • the first text image information includes: a first text image and a first coordinate range;
  • the first coordinate The range is the coordinate range of the text image information area to be displayed relative to the display splicing screen;
  • a processing unit configured to crop and encode the first text image according to the first coordinate range and the second coordinate range, and obtain second text image information;
  • the second text image information includes: the second text image and the third coordinate range;
  • the second coordinate range is the coordinate range of the overlapping part of each display area and the first text image relative to the first text image;
  • the third coordinate range is the coordinate range of the overlapping part of each display area and the second text image relative to the display mosaic screen Scope;
  • the display splicing screen is composed of multiple display areas;
  • the sending unit is used to send the second text and image information to the corresponding display node for decoding. If the display node returns information that cannot be decoded, the steps will be restarted. Otherwise, a display text command will be sent to the display node, so that the display node will follow the display text command.
  • the decoded second text and image information is sent to the display splicing screen for display; the display text instruction carries the start time for the display splicing screen to display the text and image information.
  • the receiving unit includes:
  • a parameter information receiving mechanism for receiving the font size, text color, background color, subtitle scrolling direction, subtitle scrolling speed and window set by the user; the window is the area where the text is to be displayed on the splicing display screen;
  • the text information receiving mechanism is used for receiving text information input by the user.
  • the image conversion unit includes:
  • a text information splitting mechanism used to determine whether the length of the text information is greater than a preset threshold, and if it is greater than the threshold, split the text information into multiple segments;
  • the text information conversion mechanism is used to convert the text information input by the user into an image according to the font size, text color and background color set by the user; if the text information is divided into multiple segments, the font size, text color and background color set by the user are used. Convert multiple pieces of text information into images in turn, as the first text image; otherwise, convert the text information into images as the first text image according to the font size, text color and background color set by the user;
  • the first coordinate obtaining mechanism is used for obtaining the first coordinate range through the coordinate range of the window set by the user.
  • processing unit includes:
  • a text image copying mechanism used for copying the first text image to the window through the first coordinate range
  • a text image cropping mechanism for cropping the first text image according to the second coordinate range
  • the text image encoding mechanism is used for encoding the cropped first text image according to the third coordinates to obtain the second text image.
  • a decoding unit for decoding the second text and image information including:
  • the second coordinate obtaining mechanism is used to obtain the third coordinate range from the second text and image information
  • the decoding mechanism is used to compare the third coordinate range with the fourth coordinate range, and if the two are consistent, decode the second text image, otherwise return the information that cannot be decoded; the fourth coordinate range corresponds to each display node
  • the display area intends to display the coordinate range of the text and image information area relative to the display splicing screen.
  • a display unit configured to send the decoded second text image information to the display splicing screen for display according to the display text instruction, including:
  • the computing mechanism is used to calculate the time difference between the start time of displaying text and image information on the display splicing screen and the current time of the system;
  • the pixel mechanism is used to obtain the pixels in the current window according to the time difference and the decoded second text image, the subtitle scrolling direction and the subtitle scrolling speed; according to the pixels in the current window, the corresponding partial images are extracted from the second text image ;
  • the synchronization mechanism is used for extracting the corresponding partial image from the second text image and sending it to the display splicing screen for display.
  • An electronic device comprising:
  • a memory that stores at least one instruction
  • a processor executes the instructions stored in the memory to implement the method for distributed display of text according to any one of the above.
  • a computer-readable storage medium on which a processing program is stored, the processing program can be executed by one or more processors, so as to implement the method for distributed display of text as described in any of the above .

Abstract

一种文字显示方法、系统、电子设备和存储介质,应用于拼接屏显示技术领域,方法包括:接收显示文字指令、用户输入的文字信息和用户设置的参数信息;通过用户设置的参数信息对用户输入的文字信息进行图像转换,获取第一文字图像信息;根据第一坐标范围和第二坐标范围对第一文字图像进行裁剪和编码,获取第二文字图像信息;将第二文字图像信息发送给相应的显示节点解码,若显示节点返回无法解码的信息则重新接收显示文字指令、用户输入的文字信息和用户设置的参数信息,否则发送显示文字指令给显示节点,以使显示节点按照显示文字指令将解码后的第二文字图像信息发送到显示拼接屏进行显示。该方法无需协调器协调实现跨屏显示文字。

Description

一种文字显示方法、系统、电子设备和存储介质
本申请要求于2020年12月18日提交中国专利局、申请号为202011505766.7、发明名称为“一种文字显示方法、系统、电子设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明拼接屏显示技术领域,更具体地,涉及一种文字显示方法、系统、电子设备和存储介质。
背景技术
随着社会的发展,互联网信息高速增长,信息的可视化需求也急剧扩张,现有尺寸的屏幕显示已远远不能满足用户需求,显示拼接屏应运而生。显示拼接屏的出现,解决了传统电视幕墙的各种缺陷,为方便、全面、实时地显示各系统视频信息,给远程实时指挥调度等工程应用提供了最好的大屏幕显示系统。显示拼接屏是一个完整的拼接的显示墙体,既能单独使用其中一个屏幕作为显示器,又可以使用全屏作为超大屏幕。根据不同使用需求,实现可变大也可变小的百变大屏功能:单屏分割显示、单屏单独显示、任意组合显示、全屏拼接、竖屏显示,图像边框可选补偿或遮盖。显示拼接屏的安装就像搭积木一样简单,将多个显示屏进行拼接,即可得到完整的成品进行使用。显示拼接屏应有尽有,不仅适应数字信号输入,也支持模拟信号。显示拼接屏系列产品采用独有的以及世界最前沿的数字处理技术,让用户真正体验全高清大屏幕效果。
显示拼接屏作为控制室应用中一个重要的设备,常用于显示各种高分可视化、监控视频、电脑信号等图像内容。另外,控制室因有接待的需求,往往也有跨屏字幕用于显示欢迎词等应用的需求。现有的显示拼接屏为了实现信息可视化,由一台服务器与多个显示节点进行连接,显示节点连接相应的显示屏,显示屏按照一定的数量和布局设置在不同的位置,组成一个显示拼接屏,显示拼接屏显示从显示节点接收到的图像信息。现有的显示拼接屏一般由多个显示屏组成,每个显示屏都有一个与其相对应的显示 节点,在没有协调器协调各个显示节点的情况下,显示拼接屏难以协调每个单独的显示屏,以此实现跨屏字幕的显示。显示跨屏字幕是显示拼接屏的最常用的应用之一,若无法实现会导致显示拼接屏的使用极其不方便。但使用协调器实现跨屏字幕的显示,又会导致设备成本的提高,增加系统资源的消耗。因此,目前亟需一种无需协调器协调实现跨屏显示文字的文字显示方法、系统、电子设备和存储介质。
发明内容
为了解决上述问题,本发明提供一种文字显示方法、系统、电子设备和存储介质,该文字显示方法、系统、电子设备和存储介质无需协调器协调实现跨屏显示文字。
本发明采取的技术方案是:
一种分布式显示文字的方法,包括:
接收显示文字指令、用户输入的文字信息和用户设置的参数信息;
通过用户设置的参数信息对用户输入的文字信息进行图像转换,获取第一文字图像信息;所述第一文字图像信息包括:第一文字图像和第一坐标范围;所述第一坐标范围为拟显示文字图像信息区域相对于显示拼接屏的坐标范围;
根据第一坐标范围和第二坐标范围对第一文字图像进行裁剪和编码,获取第二文字图像信息;所述第二文字图像信息包括:第二文字图像和第三坐标范围;所述第二坐标范围为各显示区域与第一文字图像重叠部分相对于第一文字图像的坐标范围;所述第三坐标范围为各显示区域与第二文字图像的重叠部分相对于显示拼接屏的坐标范围;所述显示拼接屏由多个显示区域组成;
将第二文字图像信息发送给相应的显示节点解码,若显示节点返回无法解码的信息则重新接收显示文字指令、用户输入的文字信息和用户设置的参数信息,否则发送显示文字指令给显示节点,以使显示节点按照显示文字指令将解码后的第二文字图像信息发送到显示拼接屏进行显示;所述显示文字指令携带显示拼接屏显示文字图像信息的开始时间。
具体地,目前显示拼接屏虽然已经实现了跨屏字幕的显示,并且字幕 的清晰度和协调度都能维持在较高的水平上,但是现有的技术在实现显示拼接屏显示跨屏字幕的依然存在许多不足。其中最主要的不足是设备成本偏高,系统资源消耗过大。由于各个显示节点需要协调器进行协调,才能同步地协调地跨屏显示字幕,而协调器这种实现跨屏显示字幕的方式也是导致设备成本偏高,系统资源消耗过大的原因之一。鉴于此,本申请方案在无需协调器的基础上,仅仅依靠多个显示节点来实现跨屏字幕的显示,以此达到降低设备成本,降低系统资源消耗的技术效果。首先,从多个显示节点中选择一个主节点,其余的为次节点。然后,利用主节点接收显示文字指令、用户输入的文字信息和用户设置的参数信息。接着通过用户设置的参数信息对用户输入的文字信息进行图像转换,获取第一文字图像信息;因为每个显示节点都对应拼接显示屏的一个显示区域,因此根据显示拼接屏的各个显示区域对第一文字图像进行裁剪,使第一文字图像分为多个部分,每个部分与其位于的显示区域一一对应。并且根据第一文字图像各部分位于的显示区域对第一文字图像各部分进行编码,以此获取第二文字图像信息。再然后,主节点将第二文字图像信息发送给对应的次节点。次节点将其对应的显示区域内拟显示文字图像的坐标范围与第二文字图像信息含有的第三坐标范围进行对比,若两者一致,则表示第二文字图像信息含有的第二文字图像为显示区域所要显示的第一文字图像的部分,次节点对第二文字图像进行解压,并且将解压后的第二文字图像存入缓存队列,待主节点发送文字显示指令后,在按照指令将第二文字图像发送到显示拼接屏上进行显示;否则表示发送的第二文字图像信息与次节点对应的显示区域不符,返回解压失败信息到主节点。
进一步地,所述参数信息包括:字体大小、文字颜色、背景颜色、字幕滚动方向、字幕滚动速度和窗口;所述窗口为拼接显示屏拟显示文字的区域。
进一步地,所述第一文字图像信息还包括:字幕滚动方向和字幕滚动速度;所述通过用户设置的参数信息对用户输入的文字信息进行图像转换,获取第一文字图像信息包括:
判断文字信息的长度是否大于预设的阈值,若大于阈值,则对文字信息进行多段拆分,按照用户设置的字体大小、文字颜色和背景颜色将多段 文字信息依次转换成图像,作为第一文字图像,否则按照用户设置的字体大小、文字颜色和背景颜色将文字信息转换成图像作为第一文字图像;
通过用户设置的窗口的坐标范围获取第一坐标范围。
具体地,当接收的文字信息的长度大于预设的阈值时,主节点还对文字信息进行多段拆分,之后再依次将每段文字信息按照参数信息进行图像转换,以此转换成多张文字图像,多张文字图像都作为第一文字图像。
进一步地,所述第二文字图像信息还包括:字幕滚动方向和字幕滚动速度;所述根据第一坐标范围和第二坐标范围对第一文字图像进行裁剪和编码,获取第二文字图像信息包括:
通过第一坐标范围将第一文字图像拷贝到窗口;
根据第二坐标范围对第一文字图像进行裁剪;
根据第三坐标对裁剪后的第一文字图像进行编码,获取第二文字图像。
具体地,若第一文字图像为多张图像,则按照文字信息多段拆分的顺序,依次将图像拷贝到窗口,再依次对其进行裁剪,以及编码,获取第二文字图像;所述第二文字图像包含有多张图像。
进一步地,所述将第二文字图像信息发送给相应的显示节点解码,所述解码过程包括:
显示节点从第二文字图像信息中获取第三坐标范围;
显示节点把第三坐标范围和第四坐标范围进行对比,若两者相符,则对第二文字图像进行解码,否则返回无法解码的信息;所述第四坐标范围为各显示节点对应的显示区域拟显示文字图像信息区域相对于显示拼接屏的坐标范围。
进一步地,所述显示节点按照显示文字指令将解码后的第二文字图像信息发送到显示拼接屏进行显示包括:
显示节点计算显示拼接屏显示文字图像信息的开始时间和系统当前时间之间的时间差;
显示节点根据时间差和解码后的第二文字图像、字幕滚动方向和字幕滚动速度获取当前窗口内的像素点;
显示节点根据当前窗口内的像素点从第二文字图像中提取出相应的部分图像;
显示节点将从第二文字图像中提取出相应的部分图像发送到显示拼接屏进行显示。
具体地,次节点接收到显示文字指令后,还执行以下步骤:首先,获取显示文字指令携带的显示拼接屏显示文字图像信息的开始时间和系统当前时间,计算出两者之间的时间差;然后根据时间差和字幕滚动方向、字幕滚动速度,获取窗口内几个点的像素;之后,在第二文字图像上获取相同像素的点,根据这几个像素点从第二文字图像中提取出相应的部分图像;最后将此部分的图像发送至显示拼接屏进行显示。若第二文字图像为多张图像,则从显示文字指令获取第二文字图像内每张图像拟在显示拼接屏显示的开始时间,计算该时间和系统当前时间的时间差,从时间差判断第二文字图像中当前应显示的为哪张图像。然后根据时间差和字幕滚动方向、字幕滚动速度,获取窗口内几个点的像素;之后,在第二文字图像中当前应显示的图像上获取相同像素的点,根据这几个像素点从该图像中提取出相应的部分图像;最后将此部分的图像发送至显示拼接屏进行显示。
一种分布式显示文字的系统,包括:
接收单元,用于接收显示文字指令、用户输入的文字信息和用户设置的参数信息;
图像转换单元,用于通过用户设置的参数信息对用户输入的文字信息进行图像转换,获取第一文字图像信息;所述第一文字图像信息包括:第一文字图像和第一坐标范围;所述第一坐标范围为拟显示文字图像信息区域相对于显示拼接屏的坐标范围;
处理单元,用于根据第一坐标范围和第二坐标范围对第一文字图像进行裁剪和编码,获取第二文字图像信息;所述第二文字图像信息包括:第二文字图像和第三坐标范围;所述第二坐标范围为各显示区域与第一文字图像重叠部分相对于第一文字图像的坐标范围;所述第三坐标范围为各显示区域与第二文字图像的重叠部分相对于显示拼接屏的坐标范围;所述显示拼接屏由多个显示区域组成;
发送单元,用于将第二文字图像信息发送给相应的显示节点解码,若显示节点返回无法解码的信息则重新接收显示文字指令、用户输入的文字信息和用户设置的参数信息,否则发送显示文字指令给显示节点,以使显 示节点按照显示文字指令将解码后的第二文字图像信息发送到显示拼接屏进行显示;所述显示文字指令携带显示拼接屏显示文字图像信息的开始时间。
进一步地,所述接收单元包括:
参数信息接收机构,用于接收用户设置的字体大小、文字颜色、背景颜色、字幕滚动方向、字幕滚动速度和窗口;所述窗口为拼接显示屏拟显示文字的区域;
文字信息接收机构,用于接收用户输入的文字信息。
进一步地,所述图像转换单元包括:
文字信息拆分机构,用于判断文字信息的长度是否大于预设的阈值,若大于阈值,则对文字信息进行多段拆分;
文字信息转换机构,用于按照用户设置的字体大小、文字颜色和背景颜色将用户输入的文字信息转换成图像;若文字信息进行多段拆分,则按照用户设置的字体大小、文字颜色和背景颜色将多段文字信息依次转换成图像,作为第一文字图像;否则按照用户设置的字体大小、文字颜色和背景颜色将文字信息转换成图像作为第一文字图像;
第一坐标获取机构,用于通过用户设置的窗口的坐标范围获取第一坐标范围。
进一步地,所述处理单元包括:
文字图像拷贝机构,用于通过第一坐标范围将第一文字图像拷贝到窗口;
文字图像裁剪机构,用于根据第二坐标范围对第一文字图像进行裁剪;
文字图像编码机构,用于根据第三坐标对裁剪后的第一文字图像进行编码,获取第二文字图像。
进一步地,还包括:解码单元,用于将第二文字图像信息进行解码,包括:
第二坐标获取机构,用于从第二文字图像信息中获取第三坐标范围;
解码机构,用于把第三坐标范围和第四坐标范围进行对比,若两者相符,则对第二文字图像进行解码,否则返回无法解码的信息;所述第四坐标范围为各显示节点对应的显示区域拟显示文字图像信息区域相对于显示 拼接屏的坐标范围。
进一步地,还包括:显示单元,用于按照显示文字指令将解码后的第二文字图像信息发送到显示拼接屏进行显示,包括:
计算机构,用于计算显示拼接屏显示文字图像信息的开始时间和系统当前时间之间的时间差;
像素机构,用于根据时间差和解码后的第二文字图像、字幕滚动方向和字幕滚动速度获取当前窗口内的像素点;根据当前窗口内的像素点从第二文字图像中提取出相应的部分图像;
同步机构,用于将从第二文字图像中提取出相应的部分图像发送到显示拼接屏进行显示。
一种电子设备,所述电子设备包括:
存储器,存储至少一个指令;
处理器,执行所述存储器中存储的指令以实现如上述任一项所述的分布式显示文字的方法。
一种计算机可读存储介质,所述计算机可读存储介质上存储处理程序,所述处理程序可被一个或者多个处理器执行,以实现如上述任一项所述的分布式显示文字的方法。
与现有技术相比,本发明的有益效果为:
(1)从多个显示节点中选择一个作为主节点替代所有显示节点对文字信息进行图像转换,降低系统资源的消耗。
(2)显示节点仅需解压相应显示区域拟显示的部分图像,降低系统资源的消耗。
(3)无需协调器的情况下实现显示拼接屏的跨屏文字显示,避免设备成本的提高,降低系统资源的消耗。
附图说明
图1为本发明的流程图;
图2为本发明的显示拼接屏示意图;
图3为本发明的系统结构示意。
具体实施方式
本发明附图仅用于示例性说明,不能理解为对本发明的限制。为了更好说明以下实施例,附图某些部件会有省略、放大或缩小,并不代表实际产品的尺寸;对于本领域技术人员来说,附图中某些公知结构及其说明可能省略是可以理解的。
实施例
本实施例提供一种分布式显示文字的方法,图1为本发明的流程图,如图所示,包括:
接收显示文字指令、用户输入的文字信息和用户设置的参数信息;
通过用户设置的参数信息对用户输入的文字信息进行图像转换,获取第一文字图像信息;所述第一文字图像信息包括:第一文字图像和第一坐标范围;所述第一坐标范围为拟显示文字图像信息区域相对于显示拼接屏的坐标范围;
根据第一坐标范围和第二坐标范围对第一文字图像进行裁剪和编码,获取第二文字图像信息;所述第二文字图像信息包括:第二文字图像和第三坐标范围;所述第二坐标范围为各显示区域与第一文字图像重叠部分相对于第一文字图像的坐标范围;所述第三坐标范围为各显示区域与第二文字图像的重叠部分相对于显示拼接屏的坐标范围;所述显示拼接屏由多个显示区域组成;
将第二文字图像信息发送给相应的显示节点解码,若显示节点返回无法解码的信息则重新接收显示文字指令、用户输入的文字信息和用户设置的参数信息,否则发送显示文字指令给显示节点,以使显示节点按照显示文字指令将解码后的第二文字图像信息发送到显示拼接屏进行显示;所述显示文字指令携带显示拼接屏显示文字图像信息的开始时间。
具体地,目前显示拼接屏虽然已经实现了跨屏字幕的显示,并且字幕的清晰度和协调度都能维持在较高的水平上,但是现有的技术在实现显示拼接屏显示跨屏字幕的依然存在许多不足。其中最主要的不足是设备成本偏高,系统资源消耗过大。由于各个显示节点需要协调器进行协调,才能同步地协调地跨屏显示字幕,而协调器这种实现跨屏显示字幕的方式也是导致设备成本偏高,系统资源消耗过大的原因之一。鉴于此,本申请方案 在无需协调器的基础上,仅仅依靠多个显示节点来实现跨屏字幕的显示,以此达到降低设备成本,降低系统资源消耗的技术效果。首先,从多个显示节点中选择一个主节点,其余的为次节点。然后,利用主节点接收显示文字指令、用户输入的文字信息和用户设置的参数信息。接着通过用户设置的参数信息对用户输入的文字信息进行图像转换,获取第一文字图像信息;因为每个显示节点都对应拼接显示屏的一个显示区域,因此根据显示拼接屏的各个显示区域对第一文字图像进行裁剪,使第一文字图像分为多个部分,每个部分与其位于的显示区域一一对应。并且根据第一文字图像各部分位于的显示区域对第一文字图像各部分进行编码,以此获取第二文字图像信息。再然后,主节点将第二文字图像信息发送给对应的次节点。次节点将其对应的显示区域内拟显示文字图像的坐标范围与第二文字图像信息含有的第三坐标范围进行对比,若两者一致,则表示第二文字图像信息含有的第二文字图像为显示区域所要显示的第一文字图像的部分,次节点对第二文字图像进行解压,并且将解压后的第二文字图像存入缓存队列,待主节点发送文字显示指令后,在按照指令将第二文字图像发送到显示拼接屏上进行显示;否则表示发送的第二文字图像信息与次节点对应的显示区域不符,返回解压失败信息到主节点。
进一步地,所述参数信息包括:字体大小、文字颜色、背景颜色、字幕滚动方向、字幕滚动速度和窗口;所述窗口为拼接显示屏拟显示文字的区域。
进一步地,所述第一文字图像信息还包括:字幕滚动方向和字幕滚动速度;所述通过用户设置的参数信息对用户输入的文字信息进行图像转换,获取第一文字图像信息包括:
判断文字信息的长度是否大于预设的阈值,若大于阈值,则对文字信息进行多段拆分,按照用户设置的字体大小、文字颜色和背景颜色将多段文字信息依次转换成图像,作为第一文字图像,否则按照用户设置的字体大小、文字颜色和背景颜色将文字信息转换成图像作为第一文字图像;
通过用户设置的窗口的坐标范围获取第一坐标范围。
具体地,当接收的文字信息的长度大于预设的阈值时,主节点还对文字信息进行多段拆分,之后再依次将每段文字信息按照参数信息进行图像 转换,以此转换成多张文字图像,多张文字图像都作为第一文字图像。
图2为本发明的显示拼接屏示意图,如图所示,假设将文字信息拆分为n段,n>=1,每段的文字信息转化为文字图像的分辨率分别是W 1*H、W 2*H……W n*H,那么第n段文字信息转化文字图像相对于显示拼接屏的坐标范围为[sum(W 0:W n-1),0,W n,H]。W n大于显示节点对应的显示区域的宽度。其中,W-Width,H-high。
进一步地,所述第二文字图像信息还包括:字幕滚动方向和字幕滚动速度;所述根据第一坐标范围和第二坐标范围对第一文字图像进行裁剪和编码,获取第二文字图像信息包括:
通过第一坐标范围将第一文字图像拷贝到窗口;
根据第二坐标范围对第一文字图像进行裁剪;
根据第三坐标对裁剪后的第一文字图像进行编码,获取第二文字图像。
具体地,若第一文字图像为多张图像,则按照文字信息多段拆分的顺序,依次将图像拷贝到窗口,再依次对其进行裁剪,以及编码,获取第二文字图像;所述第二文字图像包含有多张图像。
进一步地,所述将第二文字图像信息发送给相应的显示节点解码,所述解码过程包括:
显示节点从第二文字图像信息中获取第三坐标范围;
显示节点把第三坐标范围和第四坐标范围进行对比,若两者相符,则对第二文字图像进行解码,否则返回无法解码的信息;所述第四坐标范围为各显示节点对应的显示区域拟显示文字图像信息区域相对于显示拼接屏的坐标范围。
进一步地,所述显示节点按照显示文字指令将解码后的第二文字图像信息发送到显示拼接屏进行显示包括:
显示节点计算显示拼接屏显示文字图像信息的开始时间和系统当前时间之间的时间差;
显示节点根据时间差和解码后的第二文字图像、字幕滚动方向和字幕滚动速度获取当前窗口内的像素点;
显示节点根据当前窗口内的像素点从第二文字图像中提取出相应的部分图像;
显示节点将从第二文字图像中提取出相应的部分图像发送到显示拼接屏进行显示。
具体地,次节点接收到显示文字指令后,还执行以下步骤:首先,获取显示文字指令携带的显示拼接屏显示文字图像信息的开始时间和系统当前时间,计算出两者之间的时间差;然后根据时间差和字幕滚动方向、字幕滚动速度,获取窗口内几个点的像素;之后,在第二文字图像上获取相同像素的点,根据这几个像素点从第二文字图像中提取出相应的部分图像;最后将此部分的图像发送至显示拼接屏进行显示。若第二文字图像为多张图像,则从显示文字指令获取第二文字图像内每张图像拟在显示拼接屏显示的开始时间,计算该时间和系统当前时间的时间差,从时间差判断第二文字图像中当前应显示的为哪张图像。然后根据时间差和字幕滚动方向、字幕滚动速度,获取窗口内几个点的像素;之后,在第二文字图像中当前应显示的图像上获取相同像素的点,根据这几个像素点从该图像中提取出相应的部分图像;最后将此部分的图像发送至显示拼接屏进行显示。
一种分布式显示文字的系统,图3为本发明的系统结构示意,如图所示,包括:
接收单元,用于接收显示文字指令、用户输入的文字信息和用户设置的参数信息;
图像转换单元,用于通过用户设置的参数信息对用户输入的文字信息进行图像转换,获取第一文字图像信息;所述第一文字图像信息包括:第一文字图像和第一坐标范围;所述第一坐标范围为拟显示文字图像信息区域相对于显示拼接屏的坐标范围;
处理单元,用于根据第一坐标范围和第二坐标范围对第一文字图像进行裁剪和编码,获取第二文字图像信息;所述第二文字图像信息包括:第二文字图像和第三坐标范围;所述第二坐标范围为各显示区域与第一文字图像重叠部分相对于第一文字图像的坐标范围;所述第三坐标范围为各显示区域与第二文字图像的重叠部分相对于显示拼接屏的坐标范围;所述显示拼接屏由多个显示区域组成;
发送单元,用于将第二文字图像信息发送给相应的显示节点解码,若显示节点返回无法解码的信息则从新开始步骤,否则发送显示文字指令给 显示节点,以使显示节点按照显示文字指令将解码后的第二文字图像信息发送到显示拼接屏进行显示;所述显示文字指令携带显示拼接屏显示文字图像信息的开始时间。
进一步地,所述接收单元包括:
参数信息接收机构,用于接收用户设置的字体大小、文字颜色、背景颜色、字幕滚动方向、字幕滚动速度和窗口;所述窗口为拼接显示屏拟显示文字的区域;
文字信息接收机构,用于接收用户输入的文字信息。
进一步地,所述图像转换单元包括:
文字信息拆分机构,用于判断文字信息的长度是否大于预设的阈值,若大于阈值,则对文字信息进行多段拆分;
文字信息转换机构,用于按照用户设置的字体大小、文字颜色和背景颜色将用户输入的文字信息转换成图像;若文字信息进行多段拆分,则按照用户设置的字体大小、文字颜色和背景颜色将多段文字信息依次转换成图像,作为第一文字图像;否则按照用户设置的字体大小、文字颜色和背景颜色将文字信息转换成图像作为第一文字图像;
第一坐标获取机构,用于通过用户设置的窗口的坐标范围获取第一坐标范围。
进一步地,所述处理单元包括:
文字图像拷贝机构,用于通过第一坐标范围将第一文字图像拷贝到窗口;
文字图像裁剪机构,用于根据第二坐标范围对第一文字图像进行裁剪;
文字图像编码机构,用于根据第三坐标对裁剪后的第一文字图像进行编码,获取第二文字图像。
进一步地,还包括:解码单元,用于将第二文字图像信息进行解码,包括:
第二坐标获取机构,用于从第二文字图像信息中获取第三坐标范围;
解码机构,用于把第三坐标范围和第四坐标范围进行对比,若两者相符,则对第二文字图像进行解码,否则返回无法解码的信息;所述第四坐标范围为各显示节点对应的显示区域拟显示文字图像信息区域相对于显示 拼接屏的坐标范围。
进一步地,还包括:显示单元,用于按照显示文字指令将解码后的第二文字图像信息发送到显示拼接屏进行显示,包括:
计算机构,用于计算显示拼接屏显示文字图像信息的开始时间和系统当前时间之间的时间差;
像素机构,用于根据时间差和解码后的第二文字图像、字幕滚动方向和字幕滚动速度获取当前窗口内的像素点;根据当前窗口内的像素点从第二文字图像中提取出相应的部分图像;
同步机构,用于将从第二文字图像中提取出相应的部分图像发送到显示拼接屏进行显示。
一种电子设备,所述电子设备包括:
存储器,存储至少一个指令;
处理器,执行所述存储器中存储的指令以实现如上述任一项所述的分布式显示文字的方法。
一种计算机可读存储介质,所述计算机可读存储介质上存储处理程序,所述处理程序可被一个或者多个处理器执行,以实现如上述任一项所述的分布式显示文字的方法。
显然,本发明的上述实施例仅仅是为清楚地说明本发明技术方案所作的举例,而并非是对本发明的具体实施方式的限定。凡在本发明权利要求书的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明权利要求的保护范围之内。

Claims (10)

  1. 一种分布式显示文字的方法,其特征在于,包括:
    接收显示文字指令、用户输入的文字信息和用户设置的参数信息;
    通过用户设置的参数信息对用户输入的文字信息进行图像转换,获取第一文字图像信息;所述第一文字图像信息包括:第一文字图像和第一坐标范围;所述第一坐标范围为拟显示文字图像信息区域相对于显示拼接屏的坐标范围;
    根据第一坐标范围和第二坐标范围对第一文字图像进行裁剪和编码,获取第二文字图像信息;所述第二文字图像信息包括:第二文字图像和第三坐标范围;所述第二坐标范围为各显示区域与第一文字图像重叠部分相对于第一文字图像的坐标范围;所述第三坐标范围为各显示区域与第二文字图像的重叠部分相对于显示拼接屏的坐标范围;所述显示拼接屏由多个显示区域组成;
    将第二文字图像信息发送给相应的显示节点解码,若显示节点返回无法解码的信息则重新接收显示文字指令、用户输入的文字信息和用户设置的参数信息,否则发送显示文字指令给显示节点,以使显示节点按照显示文字指令将解码后的第二文字图像信息发送到显示拼接屏进行显示;所述显示文字指令携带显示拼接屏显示文字图像信息的开始时间。
  2. 根据权利要求1所述的一种分布式显示文字的方法,其特征在于,所述参数信息包括:字体大小、文字颜色、背景颜色、字幕滚动方向、字幕滚动速度和窗口;所述窗口为拼接显示屏拟显示文字的区域。
  3. 根据权利要求2所述的一种分布式显示文字的方法,其特征在于,所述第一文字图像信息还包括:字幕滚动方向和字幕滚动速度;所述通过用户设置的参数信息对用户输入的文字信息进行图像转换,获取第一文字图像信息包括:
    判断文字信息的长度是否大于预设的阈值,若大于阈值,则对文字信息进行多段拆分,按照用户设置的字体大小、文字颜色和背景颜色将多段文字信息依次转换成图像,作为第一文字图像,否则按照用户设置的字体大小、文字颜色和背景颜色将文字信息转换成图像作为第一文字图像;
    通过用户设置的窗口的坐标范围获取第一坐标范围。
  4. 根据权利要求3所述的一种分布式显示文字的方法,其特征在于,所述第二文字图像信息还包括:字幕滚动方向和字幕滚动速度;所述根据第一坐标范围和第二坐标范围对第一文字图像进行裁剪和编码,获取第二文字图像信息包括:
    通过第一坐标范围将第一文字图像拷贝到窗口;
    根据第二坐标范围对第一文字图像进行裁剪;
    根据第三坐标对裁剪后的第一文字图像进行编码,获取第二文字图像。
  5. 根据权利要求4所述的一种分布式显示文字的方法,其特征在于,所述将第二文字图像信息发送给相应的显示节点解码,所述解码过程包括:
    显示节点从第二文字图像信息中获取第三坐标范围;
    显示节点把第三坐标范围和第四坐标范围进行对比,若两者相符,则对第二文字图像进行解码,否则返回无法解码的信息;所述第四坐标范围为各显示节点对应的显示区域拟显示文字图像信息区域相对于显示拼接屏的坐标范围。
  6. 根据权利要求5所述的一种分布式显示文字的方法,其特征在于,所述显示节点按照显示文字指令将解码后的第二文字图像信息发送到显示拼接屏进行显示包括:
    显示节点计算显示拼接屏显示文字图像信息的开始时间和系统当前时间之间的时间差;
    显示节点根据时间差和解码后的第二文字图像、字幕滚动方向和字幕滚动速度获取当前窗口内的像素点;
    显示节点根据当前窗口内的像素点从第二文字图像中提取出相应的部分图像;
    显示节点将从第二文字图像中提取出相应的部分图像发送到显示拼接屏进行显示。
  7. 一种分布式显示文字的系统,其特征在于,包括:
    接收单元,用于接收显示文字指令、用户输入的文字信息和用户设置的参数信息;
    图像转换单元,用于通过用户设置的参数信息对用户输入的文字信息进行图像转换,获取第一文字图像信息;所述第一文字图像信息包括:第 一文字图像和第一坐标范围;所述第一坐标范围为拟显示文字图像信息区域相对于显示拼接屏的坐标范围;
    处理单元,用于根据第一坐标范围和第二坐标范围对第一文字图像进行裁剪和编码,获取第二文字图像信息;所述第二文字图像信息包括:第二文字图像和第三坐标范围;所述第二坐标范围为各显示区域与第一文字图像重叠部分相对于第一文字图像的坐标范围;所述第三坐标范围为各显示区域与第二文字图像的重叠部分相对于显示拼接屏的坐标范围;所述显示拼接屏由多个显示区域组成;
    发送单元,用于将第二文字图像信息发送给相应的显示节点解码,若显示节点返回无法解码的信息则从新开始步骤,否则发送显示文字指令给显示节点,以使显示节点按照显示文字指令将解码后的第二文字图像信息发送到显示拼接屏进行显示;所述显示文字指令携带显示拼接屏显示文字图像信息的开始时间。
  8. 根据权利要求7所述的一种分布式显示文字的系统,其特征在于,所述接收单元包括:
    参数信息接收机构,用于接收用户设置的字体大小、文字颜色、背景颜色、字幕滚动方向、字幕滚动速度和窗口;所述窗口为拼接显示屏拟显示文字的区域;
    文字信息接收机构,用于接收用户输入的文字信息。
  9. 一种电子设备,其特征在于,所述电子设备包括:
    存储器,存储至少一个指令;
    处理器,执行所述存储器中存储的指令以实现如权利要求1-6中任一项所述的分布式显示文字的方法。
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储处理程序,所述处理程序可被一个或者多个处理器执行,以实现如权利要求1-6中任一项所述的分布式显示文字的方法。
PCT/CN2020/141700 2020-12-18 2020-12-30 一种文字显示方法、系统、电子设备和存储介质 WO2022126773A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011505766.7 2020-12-18
CN202011505766.7A CN112667178B (zh) 2020-12-18 2020-12-18 一种文字显示方法、系统、电子设备和存储介质

Publications (1)

Publication Number Publication Date
WO2022126773A1 true WO2022126773A1 (zh) 2022-06-23

Family

ID=75406580

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/141700 WO2022126773A1 (zh) 2020-12-18 2020-12-30 一种文字显示方法、系统、电子设备和存储介质

Country Status (2)

Country Link
CN (1) CN112667178B (zh)
WO (1) WO2022126773A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116095418A (zh) * 2022-11-30 2023-05-09 天地阳光通信科技(北京)有限公司 字幕漫游的系统及方法
CN117420977A (zh) * 2023-12-18 2024-01-19 民航成都信息技术有限公司 一种跨屏文字滚动显示系统、方法、电子设备及存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112188282B (zh) * 2020-09-15 2022-08-05 重庆京像微电子有限公司 图像数据的显示方法及装置,图像数据显示系统
CN113467685A (zh) * 2021-07-29 2021-10-01 浙江大华技术股份有限公司 一种信息滚动显示的控制方法、led屏及存储介质
CN115914770A (zh) * 2022-12-22 2023-04-04 广州市保伦电子有限公司 一种分布式多设备滚动字幕的同步显示方法、设备及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469212A (zh) * 2014-12-26 2015-03-25 广东威创视讯科技股份有限公司 拼接显示墙osd显示方法和系统
CN106897043A (zh) * 2017-02-28 2017-06-27 广州偕作信息科技有限公司 应用于拼接屏的数据超高分显示系统及显示方法
WO2019080737A1 (zh) * 2017-10-25 2019-05-02 中兴通讯股份有限公司 拼接屏幕的字符显示方法、装置、终端设备及存储介质
CN111026343A (zh) * 2019-11-08 2020-04-17 西安青问智能科技有限公司 一种多个拼接屏实时同步显示方法
CN111258524A (zh) * 2020-01-20 2020-06-09 北京淳中科技股份有限公司 拼接屏组的控制方法、装置和服务器

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063198A (zh) * 2014-07-03 2014-09-24 深圳市华泰敏信息技术有限公司 一种多屏同步字幕叠加的方法和设备
US10719926B2 (en) * 2015-11-05 2020-07-21 Huawei Technologies Co., Ltd. Image stitching method and electronic device
CN111356025A (zh) * 2018-12-24 2020-06-30 深圳Tcl新技术有限公司 一种多字幕显示方法、智能终端及存储介质
CN110264932A (zh) * 2019-05-29 2019-09-20 明基智能科技(上海)有限公司 控制显示器拼装结构的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469212A (zh) * 2014-12-26 2015-03-25 广东威创视讯科技股份有限公司 拼接显示墙osd显示方法和系统
CN106897043A (zh) * 2017-02-28 2017-06-27 广州偕作信息科技有限公司 应用于拼接屏的数据超高分显示系统及显示方法
WO2019080737A1 (zh) * 2017-10-25 2019-05-02 中兴通讯股份有限公司 拼接屏幕的字符显示方法、装置、终端设备及存储介质
CN111026343A (zh) * 2019-11-08 2020-04-17 西安青问智能科技有限公司 一种多个拼接屏实时同步显示方法
CN111258524A (zh) * 2020-01-20 2020-06-09 北京淳中科技股份有限公司 拼接屏组的控制方法、装置和服务器

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116095418A (zh) * 2022-11-30 2023-05-09 天地阳光通信科技(北京)有限公司 字幕漫游的系统及方法
CN117420977A (zh) * 2023-12-18 2024-01-19 民航成都信息技术有限公司 一种跨屏文字滚动显示系统、方法、电子设备及存储介质
CN117420977B (zh) * 2023-12-18 2024-03-19 民航成都信息技术有限公司 一种跨屏文字滚动显示系统、方法、电子设备及存储介质

Also Published As

Publication number Publication date
CN112667178B (zh) 2023-03-07
CN112667178A (zh) 2021-04-16

Similar Documents

Publication Publication Date Title
WO2022126773A1 (zh) 一种文字显示方法、系统、电子设备和存储介质
JP4541482B2 (ja) 画像処理装置及び画像処理方法
US8723891B2 (en) System and method for efficiently processing digital video
CN107135404B (zh) 一种大屏云互动系统
CN104935840A (zh) 一种拼接显示屏的字幕滚动显示方法及系统
JP2008165692A (ja) 情報処理装置、表示制御方法、およびプログラム
CN100477799C (zh) 一种提高电视终端设备数字字幕数据处理效率的方法
US10389908B2 (en) Image processing device, image processing method, and program with reduction and enlargement scaling of image data
US8749566B2 (en) System and method for an optimized on-the-fly table creation algorithm
US7821575B2 (en) Image processing apparatus, receiver, and display device
KR20200027491A (ko) 오버레이 지시를 사용하는 적응적 하이 다이나믹 레인지 톤 매핑
CN103888840A (zh) 一种视频移动终端实时拖动与缩放的方法及装置
GB2484736A (en) Connecting a display device via USB interface
CN108156511B (zh) 一种实现双屏或多屏拼接显示的方法和系统
KR101973985B1 (ko) 고해상도 디스플레이를 위한 분산 병렬 처리 방식의 영상 렌더링 시스템 및 그 방법
US9449585B2 (en) Systems and methods for compositing a display image from display planes using enhanced blending hardware
JP2001175239A (ja) マルチ画面表示装置、マルチ画面表示システム、マルチ画面表示方法、及び記憶媒体
US20120218292A1 (en) System and method for multistage optimized jpeg output
JP6045405B2 (ja) 映像処理装置、表示装置、テレビジョン受信機及び映像処理方法
CN212660227U (zh) 一种多屏处理设备
JP2005084676A (ja) 画像重ね表示システム及び方法
CN113438514B (zh) 字幕处理方法、装置、设备及存储介质
JP3872295B2 (ja) データ表示方法、記録媒体、及びプロセッサ・ベース・システム
CN113542903A (zh) 一种支持字号自适应的字幕生成方法及装置
US20140362097A1 (en) Systems and methods for hardware-accelerated key color extraction

Legal Events

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

Ref document number: 20965785

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE