Display methods, systems, and computer equipment

CN121704801BActive Publication Date: 2026-08-14SHENZHEN KSTAR SCI & TECH
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-16
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

传统的显示方法常采用配置文件的方式,这种方式将有限的文字字符存储于芯片内存中,在需要进行显示时,需要通过线性查找算法查找芯片内存中的字符,当存储的字符较多时,查找所需的时间较长,显示效率较低

Benefits of technology

[0039]上述显示方法、系统、计算机设备、计算机可读存储介质和计算机程序产品,通过基准点阵尺寸对不同类型文字的显示位置信息和显示点阵信息进行划分,得到相同尺寸的位置信息单元和相同尺寸的点阵信息单元,可以提升不同类型文字的位置信息单元和点阵信息单元尺寸的统一性,从而提升数据压缩和传输效率,以及实现显示效率的提升。通过将目标位置信息和目标点阵信息发送至显示设备进行显示,可以避免进入显示设备之后再查找点阵数据,从而缩短显示时间,提升显示效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121704801B_ABST
    Figure CN121704801B_ABST
Patent Text Reader

Abstract

This application relates to a display method, system, and computer device. The method includes: acquiring text information from the displayed content, the text information including all text types, display position information, and display dot matrix information; determining a reference dot matrix size based on a preset dot matrix size corresponding to the text type; dividing the display position information and display dot matrix information according to the reference dot matrix size to obtain first target position information and first target dot matrix information, the first target position information including at least one target position information unit; each target position information unit having the same size; the first target dot matrix information including at least one dot matrix information unit; each dot matrix information unit having the same size; and sending the first target position information and first target dot matrix information to a display device for display. The aforementioned method can improve the uniformity of the size of the position information unit and the dot matrix information unit, thereby improving data compression and transmission efficiency, and ultimately improving display efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display technology, and in particular to a display method, system, and computer device. Background Technology

[0002] With the development of display devices, display methods have also diversified. Traditional display methods often use configuration files, which store a limited number of text characters in the chip's memory. When display is needed, a linear search algorithm is required to find the character in the chip's memory. When there are many characters stored, the search time is long, resulting in low display efficiency. Summary of the Invention

[0003] Therefore, it is necessary to provide a display method, system, computer device, computer-readable storage medium, and computer program product that can at least improve display efficiency in response to the above-mentioned technical problems.

[0004] Firstly, this application provides a display method, including:

[0005] Obtain text information from the displayed content; the text information includes all text types, display position information, and display dot matrix information; the display dot matrix information is used to instruct the corresponding pixels to be displayed.

[0006] The reference dot matrix size is determined based on the preset dot matrix size corresponding to all the text types;

[0007] The display position information is divided according to the reference dot matrix size to obtain first target position information; the first target position information includes at least one position information unit; each position information unit has the same size.

[0008] The display dot matrix information is divided according to the reference dot matrix size to obtain first target dot matrix information, the first target dot matrix information including at least one dot matrix information unit; each dot matrix information unit has the same size; the first target position information is used to indicate the position of the first target dot matrix information displayed in the display device.

[0009] The first target location information and the first target dot matrix information are sent to the display device for display.

[0010] In one embodiment, determining the reference dot matrix size based on the preset dot matrix size corresponding to all text types includes:

[0011] Obtain the preset dot matrix size for all text types in the displayed content;

[0012] The maximum common size of the preset dot matrix size for all text types is determined as the reference dot matrix size.

[0013] In one embodiment, the preset dot matrix size includes the number of horizontal pixels and the number of vertical pixels;

[0014] The determination of the maximum common size of the preset dot matrix size for all text types as the reference dot matrix size includes:

[0015] Determine the greatest common divisor of horizontal pixels based on the number of horizontal pixels for all text types;

[0016] Determine the greatest common divisor of the vertical pixels based on the number of vertical pixels for all text types;

[0017] The reference pixel size includes the greatest common divisor of the horizontal pixels and the greatest common divisor of the vertical pixels.

[0018] In one embodiment, the step of dividing the display position information according to the reference dot matrix size to obtain the first target position information includes:

[0019] Using the greatest common divisor of the horizontal pixels as a unit, the horizontal coordinates of the display position information are divided to obtain the horizontal coordinates of one or more position information units; the number of horizontal coordinates in each position information unit is the same.

[0020] Using the greatest common divisor of the vertical pixels as a unit, the vertical coordinates of the display position information are divided to obtain the vertical coordinates of one or more position information units; the number of vertical coordinates in each position information unit is the same;

[0021] The first target location information includes the horizontal coordinate and the vertical coordinate of the location information unit.

[0022] In one embodiment, the step of dividing the display dot matrix information according to the reference dot matrix size to obtain the first target dot matrix information includes:

[0023] A unit matrix is ​​formed based on the greatest common divisor of the horizontal pixels and the greatest common divisor of the vertical pixels;

[0024] The display dot matrix information is divided based on the identity matrix to obtain at least one dot matrix information unit, and each dot matrix information unit has the same matrix size.

[0025] In one embodiment, the display content further includes pattern information, the pattern information including second target position information and second target dot matrix information, and the method further includes:

[0026] The second target position information and the second target dot matrix information corresponding to the pattern information are determined based on the reference dot matrix size; the size of the second target dot matrix information is the same as the reference dot matrix size.

[0027] The second target location information and the second target dot matrix information are sent to the display device for display.

[0028] In one embodiment, the display device includes a communication port, a control chip, and a display screen;

[0029] Sending the target location information and the target dot matrix information to the display device for display includes:

[0030] The target location information and the target dot matrix information are transmitted to the controlled chip through the communication port. The control chip is used to control the display screen to display based on the target location information and the target dot matrix information.

[0031] In one embodiment, the method further includes:

[0032] The target dot matrix information and the target position information are transmitted to an external memory for storage, so that the display device can obtain the target dot matrix information and the target position information from the external memory.

[0033] Secondly, this application also provides a display system, the system comprising:

[0034] A host computer is used to acquire text information from the displayed content; the text information includes all text types, display position information, and display dot matrix information; the display dot matrix information is used to indicate the display of corresponding pixels; a reference dot matrix size is determined according to a preset dot matrix size corresponding to all text types; the reference dot matrix size is the common dot matrix size of the text information; the display position information is divided according to the reference dot matrix size to obtain first target position information, the first target position information including at least one position information unit; each position information unit has the same size; the display dot matrix information is divided according to the reference dot matrix size to obtain first target dot matrix information, the first target dot matrix information including at least one dot matrix information unit; each dot matrix information unit has the same size; and the host computer is used to send the first target position information and the first target dot matrix information to a display device; the first target position information is used to indicate the position of the first target dot matrix information displayed on the display device.

[0035] The display device is used to display information based on the first target location information and the first target dot matrix information.

[0036] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described display method.

[0037] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described display method.

[0038] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described display method.

[0039] The aforementioned display methods, systems, computer devices, computer-readable storage media, and computer program products divide the display position information and display dot matrix information of different types of text using a reference dot matrix size. This results in position information units and dot matrix information units of the same size, improving the uniformity of the size of position information units and dot matrix information units for different types of text. This, in turn, improves data compression and transmission efficiency, and ultimately enhances display efficiency. By sending the target position information and target dot matrix information to the display device for display, it avoids searching for dot matrix data after entering the display device, thereby shortening display time and improving display efficiency. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1 This is a diagram illustrating the application environment of the method in one embodiment;

[0042] Figure 2 This is a flowchart illustrating the method in one embodiment;

[0043] Figure 3 This is a flowchart illustrating the method in another embodiment;

[0044] Figure 4 This is a flowchart illustrating the method in another embodiment;

[0045] Figure 5 This is a flowchart illustrating the method in another embodiment;

[0046] Figure 6This is a flowchart illustrating the method in another embodiment;

[0047] Figure 7 This is a schematic diagram illustrating the division of display position information and display dot matrix information using a reference dot matrix size in one embodiment;

[0048] Figure 8 This is a flowchart illustrating the method in another embodiment;

[0049] Figure 9 This is a flowchart illustrating the method in another embodiment;

[0050] Figure 10 This is a flowchart illustrating the method in another embodiment;

[0051] Figure 11 This is a flowchart illustrating the method in another embodiment;

[0052] Figure 12 This is a block diagram showing the structure of the system in one embodiment;

[0053] Figure 13 This is a structural block diagram of a display device in one embodiment;

[0054] Figure 14 This is an internal structural diagram of a computer device in one embodiment.

[0055] Figure label:

[0056] Terminal: 102; Server: 104; Host computer: 1202; Display device: 1204; Communication port: 1206; Control chip: 1208; Display screen: 1210. Detailed Implementation

[0057] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0058] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.

[0059] The display method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104, or it can be located in the cloud or on other network servers. Terminal 102 can be, but is not limited to, various personal computers, laptops, tablets, drones, low-altitude aircraft, and IoT devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart vehicle devices, projection devices, etc. Server 104 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.

[0060] In one embodiment, such as Figure 2 As shown, a display method is provided, applied to a host computer, including the following steps 202 to 210. Wherein:

[0061] Step 202: Obtain the text information in the display content. The text information includes all text types, display position information, and display dot matrix information. The display dot matrix information is used to indicate the corresponding pixels to be displayed.

[0062] The content to be displayed can be input by the user into the host computer. The content can be text, which can be Chinese, English, Japanese, Korean, etc. English can include both uppercase and lowercase English letters. There are no restrictions on the content to be displayed.

[0063] Display position information is the position information of the displayed text. By using display position information, the display position of the text on the display device can be determined.

[0064] Displaying dot matrix information can be obtained by searching for the encoding of the corresponding character in a database. For example, the dot matrix information corresponding to Chinese characters can be queried in the Unicode database to obtain the code points of the corresponding Chinese characters. The code points are then converted into binary codes set in a predetermined order to obtain the display dot matrix information. The encoding of the display dot matrix information can be used to control the opening or closing of pixels at the corresponding positions to achieve the display of text.

[0065] Step 204: Determine the reference dot matrix size based on the preset dot matrix size corresponding to all text types.

[0066] It is understood that there can be multiple text types, and different text types display at different sizes, corresponding to different dot matrix sizes. Specific preset dot matrix sizes can be set by the user. For example, the preset dot matrix size for Chinese characters is 16 dots × 16 dots, for uppercase letters it is 8 dots × 16 dots, and for lowercase letters it is 8 dots × 8 dots. Determining the base dot matrix size based on the preset dot matrix size corresponding to the text type means determining the base dot matrix size based on the common dot matrix size of the preset dot matrix sizes corresponding to the text type. In this embodiment, the displayed content can be user-customized content or regular content; no restrictions are imposed here.

[0067] Step 206: Divide the display position information according to the reference dot matrix size to obtain the first target position information, which includes at least one position information unit; each position information unit has the same size.

[0068] The display dot matrix information is divided according to the reference dot matrix size to obtain the first target dot matrix information, which includes at least one dot matrix information unit; each dot matrix information unit has the same size; the first target position information is used to indicate the position of the first target dot matrix information in the display device.

[0069] It is understandable that display position information and display dot matrix information are corresponding. Display dot matrix information includes the encoding that controls the on or off of pixels at the corresponding positions. Therefore, it is necessary to simultaneously divide the display position information and display dot matrix information. Since different types of text have different dot matrix sizes, dividing the display dot matrix information using a baseline dot matrix size can divide the preset dot matrix sizes of different types of text into dot matrix information units of the same size, which can improve the uniformity of data. This allows for the use of batch compression algorithms to compress and transmit the first target position information and the first target dot matrix information, reducing storage usage. A fixed data packet format can also be used to reduce the complexity of the transmission protocol, thereby reducing latency. Especially when all dot matrix information units occupy the same number of bytes, it also facilitates management.

[0070] Step 208: Send the first target location information and the first target dot matrix information to the display device for display.

[0071] Understandably, directly sending the first target dot matrix information and its corresponding first target position information to the display device eliminates the need to search for the dot matrix code of the text at the corresponding position in the display device, thus shortening the text display time and improving display efficiency. Furthermore, since the first target dot matrix information is determined by the host computer, it is not limited by the storage constraints of the control chip in the display device, enabling the display of arbitrary content.

[0072] The aforementioned display method divides the display position information and display dot matrix information of different types of text according to a reference dot matrix size, resulting in position information units and dot matrix information units of the same size. This improves the uniformity of the size of position information units and dot matrix information units for different types of text, thereby improving data compression and transmission efficiency, and ultimately enhancing display efficiency. By sending the target position information and target dot matrix information to the display device for display, it avoids searching for dot matrix data after entering the display device, thus shortening display time and improving display efficiency.

[0073] In one embodiment, see [reference] Figure 3 The reference dot matrix size is determined based on the preset dot matrix size corresponding to all text types, including steps 302 to 304:

[0074] Step 302: Obtain the preset dot matrix size for all text types in the displayed content.

[0075] For example, the text displayed includes lowercase letters with a preset dot matrix size of 8dot×8dot, and Chinese characters with a preset dot matrix size of 16dot×16dot.

[0076] Step 304: Determine the maximum common size of the preset bitmap size for all text types as the reference bitmap size.

[0077] The greatest common size of 8dot×8dot lowercase letters and 16dot×16dot Chinese characters is 8dot×8dot, that is, the reference dot matrix size is 8dot×8dot.

[0078] It is understandable that when the displayed content includes only one type of text, the preset bitmap size of that text is the base bitmap size.

[0079] By determining the baseline dot matrix size based on the preset dot matrix size for all text types, the display position information and display dot matrix information for all types of text can be evenly divided, thereby improving the consistency of the data.

[0080] In one embodiment, the preset dot matrix size includes the number of horizontal pixels and the number of vertical pixels.

[0081] For example, in a pre-defined uppercase letter with a dot matrix size of 8dot×16dot, the number of horizontal pixels is 8 and the number of vertical pixels is 16.

[0082] See Figure 4 The process involves determining the greatest common size of the preset bitmap sizes for all text types as the reference bitmap size, including steps 402 to 404:

[0083] Step 402: Determine the greatest common divisor of horizontal pixels based on the number of horizontal pixels for all text types.

[0084] Step 404: Determine the greatest common divisor of vertical pixels based on the number of vertical pixels for all text types.

[0085] The reference pixel size includes the greatest common divisor of the horizontal pixels and the greatest common divisor of the vertical pixels.

[0086] For example, the text includes Chinese characters, uppercase letters, and lowercase letters. The preset dot matrix size includes 16dot×16dot, 8dot×16dot, and 8dot×8dot. The number of horizontal pixels includes 8 and 16, so the greatest common divisor of the horizontal pixels is 8. The number of vertical pixels includes 8 and 16, so the greatest common divisor of the vertical pixels is 8. The corresponding reference dot matrix size is 8dot×8dot.

[0087] By determining the greatest common size of the preset dot matrix size for all text types as the reference dot matrix size, it can be ensured that the preset dot matrix size of the text is evenly divided into dot matrix units of multiple reference dot matrix sizes, thereby improving the uniformity of different types of text data.

[0088] In one embodiment, see [reference] Figure 5 The display position information is divided according to the reference dot matrix size to obtain the first target position information, including steps 502 to 504:

[0089] Step 502: Divide the horizontal coordinates of the display position information into one or more position information units, using the greatest common divisor of horizontal pixels as a unit. The number of horizontal coordinates in each position information unit is the same.

[0090] For example, the greatest common divisor of the horizontal pixels is 8, and the horizontal coordinates of the displayed position information include 16 columns. By dividing the horizontal data of the displayed position information by the greatest common divisor of the horizontal pixels, the horizontal coordinates of 2 position information units can be obtained, and the horizontal coordinates of each position information unit include 8 columns.

[0091] Step 504: Divide the vertical coordinates of the display position information into one or more position information units, using the greatest common divisor of vertical pixels as a unit. The number of vertical coordinates in each position information unit is the same.

[0092] For example, the greatest common divisor of vertical pixels is 8, and the vertical coordinates of the displayed position information include 16 columns. By dividing the vertical data of the displayed position information by the greatest common divisor of vertical pixels, the vertical coordinates of 2 position information units can be obtained, and the vertical coordinates of each position information unit include 8 columns.

[0093] The first target location information includes the horizontal and vertical coordinates of the location information unit. By determining the specific horizontal and vertical coordinates, the specific display location can be determined.

[0094] In the example above, by dividing the 16×16 display position information using an 8dot×8dot reference dot matrix size, four 8×8 position information units can be obtained. 8×8 means that a position information unit includes 8 columns of horizontal coordinates and 8 columns of vertical coordinates.

[0095] It is understandable that the reference dot matrix size is the greatest common divisor of the preset dot matrix size, and the display position information corresponds to the preset dot matrix size. When the preset dot matrix size can be evenly divided into multiple parts by the reference dot matrix size, the display position information can also be evenly divided into multiple position information units by the reference dot matrix size. By evenly dividing the display position information of multiple types of text into multiple position information units, the uniformity of the display position information of different types of text can be improved, thereby improving data processing efficiency and display efficiency.

[0096] In one embodiment, see [reference] Figure 6 The first target dot matrix information is obtained by dividing and displaying the dot matrix information according to the reference dot matrix size, including steps 602 to 604:

[0097] Step 602: Form an identity matrix based on the greatest common divisor of the horizontal and vertical pixels.

[0098] Step 604: Divide the display dot matrix information based on the identity matrix to obtain at least one dot matrix information unit.

[0099] For example, when the greatest common divisor of the horizontal pixels and the greatest common divisor of the vertical pixels are both 8, an 8-dot × 8-dot identity matrix can be formed. When the display dot matrix information is a 16-dot × 16-dot encoding matrix, that is, a matrix including 16 rows and 16 columns of encoding, the identity matrix can divide the 16 rows and 16 columns of display dot matrix information into four 8-row and 8-column dot matrix information units, that is, divide the 16 rows into two 8-row dot matrix information units and divide the 16 columns into two 8-column dot matrix information units, forming a total of four uniformly sized dot matrix information units.

[0100] By dividing the display dot matrix information by a reference dot matrix size, multiple uniform dot matrix information units can be formed, improving data uniformity, thereby improving data processing efficiency and ultimately improving display efficiency.

[0101] In one embodiment, see [reference] Figure 7 , Figure 7What is shown is the display content before division and the display content after division. The display content includes the Chinese characters "Hello" with a preset dot matrix size of 16dot×16dot, the capital letters "ABC" with a preset dot matrix size of 8dot×16dot, and the lowercase letters "abcd" with a preset dot matrix size of 8dot×8dot. According to the preset dot matrix sizes of the foregoing text, the reference dot matrix size can be determined to be 8dot×8dot. The reference dot matrix size of 8dot×8dot is used to evenly divide the display position information and display dot matrix information of the display content. The display content can be displayed according to the Figure 7 small squares in. In this embodiment, data examples of the display position information and display dot matrix information of some texts before and after division are shown in Table 1 below:

[0102]

[0103] Table 1 Comparison table of the reference dot matrix size for display position information and display dot matrix information before and after division

[0104] It can be understood that the display dot matrix information can be a coding matrix or a coding including a setting order. Exemplarily, the setting order can be from top to bottom, from left to right, etc., which is not limited herein. Taking the Chinese characters in Table 1 as an example, the setting order is first from left to right and then from top to bottom. When displaying, the first 8 bits of coding are sequentially displayed in the first to eighth columns of the first row, and the 9th to 16th bits of coding are sequentially displayed in the first to eighth columns of the second row, and the remaining coding is类推以此类推, which will not be elaborated herein. In the case where the display dot matrix information is a coding including a setting order, the coding can be first converted into a coding matrix according to the setting order, and then the display dot matrix information is divided by the reference dot matrix size, and the divided coding matrix is converted into a coding with a setting order. Refer to Table 1. It is also possible to convert the reference dot matrix size into size units with the same setting order, and use the size units to divide the coding including the setting order, which is not limited herein.

[0105] In one of the embodiments, the display content further includes pattern information. The pattern information includes second target position information and second target dot matrix information. Refer to Figure 8 , and this display method further includes steps 802 to step 804:

[0106] Step 802: Determine the second target position information and second target dot matrix information of the pattern according to the reference dot matrix size; the size of the second target dot matrix information is the same as the reference dot matrix size, and the second target position information is used to indicate the position where the second target dot matrix information is displayed in the display device.

[0107] For example, when the reference dot matrix size is 8dot×8dot, the pattern can be divided into multiple position information units with 8 columns of horizontal pixel coordinates and 8 columns of vertical pixel coordinates, as well as multiple dot matrix information units of 8dot×8dot. If the display dot matrix information and display position information of the pattern are insufficient to be evenly divided according to the reference dot matrix size, the display dot matrix information and display position information of the pattern can be filled by adding data coded as 0 at the boundary to ensure that the pattern can form data with uniform size. In this embodiment, the code of 0 indicates that the pixel is turned off, that is, not displayed.

[0108] Step 804: Send the second target location information and the second target dot matrix information to the display device for display.

[0109] When the displayed content includes both text and images, determining the position information of the second target and the dot matrix information of the second target according to the reference dot matrix size can further improve the uniformity of the data, reduce the complexity of data processing, and thus improve display efficiency.

[0110] In one embodiment, see [reference] Figure 9 When the displayed content includes pattern information but does not include text information, the display method further includes steps 902 to 904:

[0111] Step 902: Determine the third target position information and the third target dot matrix information of the pattern information according to the set dot matrix size. The third target position information is used to indicate the position of the third target dot matrix information displayed in the display device.

[0112] Step 904: Send the third target location information and the third target dot matrix information to the display device for display.

[0113] It is understandable that the set dot matrix size can be set according to requirements, while the reference dot matrix size is determined according to the preset dot matrix size of different text types. Due to the different setting methods, the set dot matrix size and the reference dot matrix size may be the same or different.

[0114] In one embodiment, the display device includes a communication port, a control chip, and a display screen.

[0115] See Figure 10 The target location information and target dot matrix information are sent to the display device for display, including step 1002:

[0116] Step 1002: Transmit the target location information and target dot matrix information to the control chip through the communication port. The control chip is used to control the display screen based on the target location information and target dot matrix information.

[0117] The target location information can be any one or more of the first target location information, the second target location information, and the third target location information, and the target dot matrix information can be any one or more of the first target dot matrix information, the second target dot matrix information, and the third target dot matrix information. When the target location information is the third target location information and the target dot matrix information is the third target dot matrix information, the target location information does not include the first target location information and the second target location information, and the target dot matrix information does not include the first target dot matrix information and the second target dot matrix information.

[0118] For example, the communication port can be various hardware interfaces such as serial port, parallel port, CAN, and USB. The communication port can use the Modbus protocol to transmit data from the host computer to the control chip. Transmission via the Modbus protocol has high transmission efficiency, which can further improve display efficiency.

[0119] In one embodiment, see [reference] Figure 11 The display method further includes step 1102:

[0120] Step 1102: The host computer transmits the target dot matrix information and target position information to the external memory EEPROM for storage, so that the display device can obtain the target dot matrix information and target position information from the external memory.

[0121] The target location information and target dot matrix information have been described in detail in the foregoing embodiments and will not be repeated here.

[0122] Understandably, the host computer can transmit the target dot matrix information and target position information of the content to be displayed in the future to the external memory EEPROM for storage. When display is needed, the display device can directly obtain the target dot matrix information and target position information from the external memory EEPROM for display. Even if the display device loses power and restarts, the data corresponding to the displayed content will not be lost, thus improving the reliability of the display.

[0123] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0124] Based on the same inventive concept, this application also provides a display system for implementing the display method described above. The solution provided by this system is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more display system embodiments provided below can be found in the limitations of the display method described above, and will not be repeated here.

[0125] In one embodiment, such as Figure 12 As shown, a display system is provided, which includes a host computer 1202 and a display device 1204.

[0126] The host computer 1202 is used to acquire text information from the displayed content; the text information includes all text types, display position information, and display dot matrix information, which is used to indicate the corresponding pixels for display. A reference dot matrix size is determined based on the preset dot matrix size corresponding to all text. The display position information is divided according to the reference dot matrix size to obtain first target position information, which includes at least one target position information unit, each with the same size. The first target dot matrix information is also divided according to the reference dot matrix size to obtain first target dot matrix information, which includes at least one dot matrix information unit, each with the same size. The first target position information is used to indicate the position of the first target dot matrix information displayed on the display device. The host computer 1202 is also used to send the first target position information and the first target dot matrix information to the display device.

[0127] The display device 1204 is used to display information based on the first target location information and the first target dot matrix information.

[0128] The aforementioned display system divides the display position information and dot matrix information of different types of text according to a reference dot matrix size, resulting in position information units and dot matrix information units of the same size. This improves the uniformity of the size of position information units and dot matrix information units for different types of text, thereby improving data compression and transmission efficiency, and ultimately enhancing display efficiency. By sending the target position information and target dot matrix information to the display device for display, it avoids searching for dot matrix data after entering the display device, thus shortening display time and improving display efficiency.

[0129] In one embodiment, see [reference] Figure 13 The display device 1204 includes a communication port 1206, a control chip 1208, and a display screen 1210.

[0130] Communication port 1206 is used to send the target location information and target dot matrix information transmitted by the host computer 1202 to the control chip 1208.

[0131] For example, communication port 1206 can be various hardware interfaces such as serial port, parallel port, CAN, and USB. Communication port 1206 can use the Modbus protocol to transmit data from host computer 1202 to control chip 1208. Transmission via Modbus protocol has high transmission efficiency, which can further improve display efficiency.

[0132] The control chip 1208 is used to control the display screen 1210 based on the target position information and the target dot matrix information.

[0133] The display screen 1210 is used to display the target location information and the corresponding display content of the target dot matrix information.

[0134] The limitations of the host computer 1202 and the display device 1204 in this application embodiment are the same as those in the above-described display method embodiment, and will not be described again here.

[0135] The various modules in the aforementioned display system can be implemented through software, hardware, or a combination thereof. Some of these modules can be embedded in the processor of the computer device in hardware form or independent of it, or they can be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each of the above modules.

[0136] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 14As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a display method. The display unit of the computer device forms a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0137] Those skilled in the art will understand that Figure 14 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0138] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the display method described in the above embodiment.

[0139] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the display method described in the above embodiment.

[0140] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the display method described in the above embodiments.

[0141] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0142] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0143] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A display method, characterized in that, The method includes: Obtain text information from the displayed content; the text information includes all text types, display position information, and display dot matrix information; the display dot matrix information is used to instruct the corresponding pixels to be displayed. The reference dot matrix size is determined based on the preset dot matrix size corresponding to all the text types; The display position information is divided according to the reference dot matrix size to obtain first target position information; the first target position information includes at least one position information unit; each position information unit has the same size. The display dot matrix information is divided according to the reference dot matrix size to obtain first target dot matrix information, the first target dot matrix information including at least one dot matrix information unit; each dot matrix information unit has the same size; the first target position information is used to indicate the position of the first target dot matrix information displayed in the display device. The first target location information and the first target dot matrix information are sent to the display device for display.

2. The method according to claim 1, characterized in that, The step of determining the reference dot matrix size based on the preset dot matrix size corresponding to all the text types includes: Obtain the preset dot matrix size of all text types in the displayed content; The maximum common size of the preset dot matrix size for all text types is determined as the reference dot matrix size.

3. The method according to claim 2, characterized in that, The preset dot matrix size includes the number of horizontal pixels and the number of vertical pixels; The determination of the maximum common size of the preset dot matrix size for all text types as the reference dot matrix size includes: Determine the greatest common divisor of horizontal pixels based on the number of horizontal pixels for all text types; Determine the greatest common divisor of the vertical pixels based on the number of vertical pixels for all text types; The reference pixel size includes the greatest common divisor of the horizontal pixels and the greatest common divisor of the vertical pixels.

4. The method according to claim 3, characterized in that, The step of dividing the display position information according to the reference dot matrix size to obtain the first target position information includes: Using the greatest common divisor of the horizontal pixels as a unit, the horizontal coordinates of the display position information are divided to obtain the horizontal coordinates of one or more position information units; the number of horizontal coordinates in each position information unit is the same. Using the greatest common divisor of the vertical pixels as a unit, the vertical coordinates of the display position information are divided to obtain the vertical coordinates of one or more position information units; the number of vertical coordinates in each position information unit is the same; The first target location information includes the horizontal coordinate and the vertical coordinate of the location information unit.

5. The method according to claim 3, characterized in that, The step of dividing the display dot matrix information according to the reference dot matrix size to obtain the first target dot matrix information includes: A unit matrix is ​​formed based on the greatest common divisor of the horizontal pixels and the greatest common divisor of the vertical pixels; The display dot matrix information is divided based on the identity matrix to obtain at least one dot matrix information unit, and each dot matrix information unit has the same matrix size.

6. The method according to any one of claims 1 to 5, characterized in that, The displayed content further includes pattern information, which includes second target location information and second target dot matrix information. The method further includes: The second target position information and the second target dot matrix information corresponding to the pattern information are determined according to the reference dot matrix size; the size of the second target dot matrix information is the same as the reference dot matrix size; the second target position information and the second target dot matrix information are sent to the display device for display by the display device.

7. The method according to claim 6, characterized in that, The display device includes a communication port, a control chip, and a display screen; Sending target location information and target dot matrix information to a display device for display includes: The target location information and the target dot matrix information are transmitted to the control chip through the communication port. The control chip is used to control the display screen to display based on the target location information and the target dot matrix information.

8. The method according to claim 7, characterized in that, The method further includes: The target dot matrix information and the target position information are transmitted to an external memory for storage, so that the display device can obtain the target dot matrix information and the target position information from the external memory.

9. A display system, characterized in that, The system includes: A host computer is used to acquire text information from the displayed content; the text information includes all text types, display position information, and display dot matrix information; the display dot matrix information is used to indicate the display of corresponding pixels; a reference dot matrix size is determined according to a preset dot matrix size corresponding to all text types; the display position information is divided according to the reference dot matrix size to obtain first target position information; the first target position information includes at least one position information unit; each position information unit has the same size; the display dot matrix information is divided according to the reference dot matrix size to obtain first target dot matrix information, the first target dot matrix information including at least one dot matrix information unit; each dot matrix information unit has the same size; and is used to send the first target position information and the first target dot matrix information to a display device; the first target position information is used to indicate the position of the first target dot matrix information displayed on the display device; The display device is used to display information based on the first target location information and the first target dot matrix information.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method and equipment for scaling dot matrix characters

    CN101739663A

  • Method, system and equipment for displaying characters through LCD (Liquid Crystal Display) and storage medium

    CN114333723A