CN112242118A - Information scrolling display method, device and system - Google Patents
Information scrolling display method, device and system Download PDFInfo
- Publication number
- CN112242118A CN112242118A CN201910638574.4A CN201910638574A CN112242118A CN 112242118 A CN112242118 A CN 112242118A CN 201910638574 A CN201910638574 A CN 201910638574A CN 112242118 A CN112242118 A CN 112242118A
- Authority
- CN
- China
- Prior art keywords
- character
- display
- string
- module
- linked list
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
- G09G3/30—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
- G09G3/32—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
- G09G3/3208—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention relates to an information scrolling display method, device and system, wherein the method comprises the following steps: reading a plurality of matrices from a matrix library to obtain a matrix; converting the writing mode of each Chinese character matrix in the character module to obtain a converted character module; storing the converted character module into a bidirectional circular linked list; reading fixed-length character model strings from the bidirectional circular linked list based on the pointer initial position of the bidirectional circular linked list to obtain a first character model string; writing the first character string into a content area of the display memory so that the display area of the display memory can display the first character string in a rolling manner; adjusting the pointer initial position of the bidirectional circular linked list, and reading the fixed-length character model string from the bidirectional circular linked list based on the adjusted pointer initial position to obtain a second character model string; and writing the second character string into the content area of the display memory so that the display area of the display memory can display the second character string in a rolling manner. The invention solves the problem that the number of the characters displayed by the information rolling of the display screen is limited.
Description
Technical Field
The present invention relates to the field of display technologies, and in particular, to an information scrolling display method, an information scrolling display device, and an information scrolling display system.
Background
The OLED screen is a display screen made using organic electroluminescent diodes (OLEDs). The OLED screen does not need a backlight source due to the organic electroluminescent diode, has the advantages of high contrast, wide viewing angle, high reaction speed, wide use temperature range, simpler structure and manufacture procedure and the like, and has great application prospect in the future display field.
The matrix rolling of the OLED screen is generally hardware rolling, namely hard rolling, and is mainly realized by the self-carrying function of the OLED screen driving chip. However, the hard scroll method can only scroll 16 characters at most, and displays limited characters, which cannot fully satisfy the requirement. Furthermore, the scrolling of the matrices of the OLED screen can also be continuously input by the upper layer software for the information to be displayed. However, this method occupies resources of the interface and the processor, and is low in efficiency and safety.
Disclosure of Invention
Therefore, the embodiment of the invention provides an information scrolling display method, an information scrolling display device and an information scrolling display system, so as to solve the problem that the number of characters displayed on a display screen in an information scrolling manner is limited.
Specifically, a first embodiment of the present invention provides an information scrolling display method, including: reading a plurality of matrices from a matrix library to obtain a matrix; converting the writing mode of each Chinese character matrix in the character module to obtain a converted character module; storing the converted character module into a bidirectional circular linked list; reading a fixed-length character model string from the bidirectional circular linked list based on the pointer initial position of the bidirectional circular linked list to obtain a first character model string; writing the first character string into a content area of a display memory so that the display area of the display memory can display the first character string in a rolling manner, wherein the display area is positioned in the content area; adjusting the pointer initial position of the bidirectional circular linked list, and reading the fixed-length character model string from the bidirectional circular linked list based on the adjusted pointer initial position to obtain a second character model string; and writing the second character string into the content area of the display memory so as to enable the display area of the display memory to display the second character string in a rolling manner.
In the prior art, a hard scrolling mode in the matrix scrolling of the OLED screen can only realize the scrolling of 16 characters at most, the displayed characters are limited and cannot completely meet the requirements, in addition, the matrix scrolling of the OLED screen can also continuously input information to be displayed by upper-layer software, but the method occupies resources of an interface and a processor, and the efficiency and the safety are lower. According to the embodiment of the invention, the writing mode of the character matrix is converted, the pointer position is adjusted by using the bidirectional circular linked list to realize the character matrix rolling, the problem that the number of the display screen information rolling display characters is limited is solved, the limitation of the number of the rolling characters is broken through, too many resources are not occupied, the different writing modes of the character matrix are avoided, the time for judging and frequently switching the writing modes is saved, and the efficiency and the safety of the display screen information rolling are ensured on the premise of ensuring the display effect.
In an embodiment of the present invention, the converting the writing manner of each chinese character font in the font module to obtain a converted font module includes: and converting the writing mode of each Chinese character matrix in the character module into the same writing mode of other character matrixes except the Chinese character matrix in the character module.
In an embodiment of the present invention, the width of the chinese character matrix is two character widths, and the writing manner of the chinese character matrix in one of the character widths is from top to bottom writing, the width of the other character matrices is one of the character widths, and the writing manner of the other character matrices in one of the character widths is from top to bottom writing; the other character dies are English letters or numbers.
In one embodiment of the invention, the fixed length is two more characters wide than the width of the display area.
In an embodiment of the present invention, in the step of reading a fixed-length string from the bidirectional circular linked list based on the starting position of the pointer of the bidirectional circular linked list to obtain a first sub-string, a first character in the first string is a null character, and the starting position of the pointer points to the null character.
In an embodiment of the present invention, the video memory includes a plurality of memory pages, the plurality of memory pages form the content area, a height of each memory page is one character width, and each matrix occupies two memory pages.
Second, an embodiment of the present invention provides an information scrolling display device, including: the character matrix library reading module is used for reading a plurality of character matrixes from the character matrix library to obtain character modules; the writing mode conversion module is used for converting the writing mode of each Chinese character font in the font module to obtain a converted font module; the character module group storage module is used for storing the converted character module group to a bidirectional circular linked list; the character string reading module is used for reading character strings with fixed lengths from the bidirectional circular linked list based on the pointer initial position of the bidirectional circular linked list to obtain a first character string; the first scrolling display module is used for writing the first character string into a content area of a video memory so as to enable the display area of the video memory to scroll and display the first character string, wherein the display area is located in the content area; the adjustment reading module is used for adjusting the pointer initial position of the bidirectional circular linked list and reading the character model strings with fixed lengths from the bidirectional circular linked list based on the adjusted pointer initial position to obtain a second character model string; and the second scrolling display module is used for writing the second character string into the content area of the video memory so as to enable the display area of the video memory to scroll and display the second character string.
In the prior art, a hard scrolling mode in the matrix scrolling of the OLED screen can only realize the scrolling of 16 characters at most, the displayed characters are limited and cannot completely meet the requirements, in addition, the matrix scrolling of the OLED screen can also continuously input information to be displayed by upper-layer software, but the method occupies resources of an interface and a processor, and the efficiency and the safety are lower. According to the embodiment of the invention, the writing mode of the character matrix is converted, the pointer position is adjusted by using the bidirectional circular linked list to realize the character matrix rolling, the problem that the number of the display screen information rolling display characters is limited is solved, the limitation of the number of the rolling characters is broken through, too many resources are not occupied, the different writing modes of the character matrix are avoided, the time for judging and frequently switching the writing modes is saved, and the efficiency and the safety of the display screen information rolling are ensured on the premise of ensuring the display effect.
Third, an embodiment of the present invention provides an information scrolling display method, including: reading a plurality of matrices from a matrix library to obtain a matrix; writing the character module into the bidirectional circular linked list according to a preset writing mode, wherein the preset writing mode is that each character module is written in a single character width from top to bottom; reading a fixed-length character model string from the bidirectional circular linked list based on the pointer initial position of the bidirectional circular linked list to obtain a first character model string; writing the first character string into a content area of a display memory so that a display area of the display memory can display the first character string in a rolling manner, wherein the display area is located in the content area, and the width of the display area is smaller than that of the content area; adjusting the pointer initial position of the bidirectional circular linked list, and reading the fixed-length character model string from the bidirectional circular linked list based on the adjusted pointer initial position to obtain a second character model string; and writing the second character string into the content area of the display memory so as to display the second character string in the display area of the display memory in a rolling manner.
In the prior art, a hard scrolling mode in the matrix scrolling of the OLED screen can only realize the scrolling of 16 characters at most, the displayed characters are limited and cannot completely meet the requirements, in addition, the matrix scrolling of the OLED screen can also continuously input information to be displayed by upper-layer software, but the method occupies resources of an interface and a processor, and the efficiency and the safety are lower. According to the embodiment of the invention, the writing mode of the character matrix is converted, the pointer position is adjusted by using the bidirectional circular linked list to realize the character matrix rolling, the problem that the number of the display screen information rolling display characters is limited is solved, the limitation of the number of the rolling characters is broken through, too many resources are not occupied, the different writing modes of the character matrix are avoided, the time for judging and frequently switching the writing modes is saved, and the efficiency and the safety of the display screen information rolling are ensured on the premise of ensuring the display effect.
In one embodiment of the present invention, said set of matrices comprises chinese character matrices, each of said chinese character matrices having two character widths and being written to said bi-directional circular linked list in said top-down manner within a single said character width; and the scrolling is a pixel-by-pixel scrolling.
Fourth, an embodiment of the present invention provides an information scrolling display system, including: a processor and a memory; wherein the memory stores instructions for execution by the processor, and the instructions cause the processor to perform operations for performing the information scrolling method as described in any one of the preceding claims.
As can be seen from the above, the embodiments of the present invention can achieve one or more of the following advantages: 1) the problem that the number of the display characters of the information rolling display of the display screen is limited is solved, the limitation of the number of the rolling characters is broken through, and too many resources are not occupied; 2) the different writing modes of the matrix are avoided, and the time for judging and frequently switching the writing modes is saved; 3) on the premise of ensuring the display effect, the efficiency and the safety of information rolling of the display screen are ensured.
Other aspects and features of the present invention will become apparent from the following detailed description, which proceeds with reference to the accompanying drawings. It is to be understood, however, that the drawings are designed solely for purposes of illustration and not as a definition of the limits of the invention. It should be further understood that the drawings are not necessarily drawn to scale and that, unless otherwise indicated, they are merely intended to conceptually illustrate the structures and procedures described herein.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart illustrating a method for scrolling information according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a writing method of Chinese character matrices in an information scrolling display method according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a writing method of Chinese and English matrices in an information scrolling display method according to a first embodiment of the present invention;
FIG. 4 is a diagram illustrating a first embodiment of a method for scrolling displaying information according to the present invention after conversion of writing modes of Chinese character matrices;
FIG. 5 is a schematic structural diagram of each block in a Chinese character matrix in an information scrolling display method according to a first embodiment of the present invention;
fig. 6 is a schematic display diagram in an information scrolling display method according to a first embodiment of the invention;
FIG. 7 is a diagram illustrating a conventional scrolling method for scrolling information;
FIG. 8 is a structural diagram of a bi-directional circular linked list of a method for scrolling and displaying information according to a first embodiment of the present invention;
FIG. 9 is a schematic diagram illustrating a start position of a pointer in a scrolling method according to a first embodiment of the invention;
FIG. 10 is a diagram illustrating a display character string of a scrolling method of information according to a first embodiment of the present invention;
FIG. 11 is a diagram illustrating an adjusted starting position of a pointer in a bi-directional circular linked list according to a first embodiment of the present invention;
FIG. 12 is a schematic structural diagram of an information scrolling display device according to a second embodiment of the present invention;
FIG. 13 is a flowchart illustrating a scrolling method of information according to a third embodiment of the present invention;
fig. 14 is a schematic structural diagram of an information scrolling display system according to a fourth embodiment of the invention.
[ brief description of the drawings ]
S11-S17: the information rolling display method step;
20: an information scroll display device; 21: a matrix library reading module; 22: a writing mode conversion module; 23: a character module group storage module; 24: a string reading module; 25: a scrolling display module; 26: adjusting the reading module; 27: a scrolling display module;
S31-S36: the information rolling display method step;
40: an information scrolling display system; 41: a processor; 42: a memory.
Detailed Description
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The invention will be described in connection with embodiments with reference to the drawings.
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not a whole embodiment. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be further noted that the term "and/or" is only one kind of association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be noted that the division of the embodiments of the present invention is only for convenience of description and should not be construed as a limitation, and features of various embodiments may be combined and referred to each other without contradiction.
[ first embodiment ] A method for manufacturing a semiconductor device
Referring to fig. 1, a first embodiment of the present invention provides an information scroll display method. As shown in fig. 1, the information scroll display method includes, for example, steps S11 to S17.
Step S11: reading a plurality of matrices from a matrix library to obtain a matrix;
step S12: converting the writing mode of each Chinese character matrix in the character module to obtain a converted character module;
step S13: storing the converted character module into a bidirectional circular linked list;
step S14: reading a fixed-length character model string from the bidirectional circular linked list based on the pointer initial position of the bidirectional circular linked list to obtain a first character model string;
step S15: writing the first character string into a content area of a display memory so that the display area of the display memory can display the first character string in a rolling manner, wherein the display area is positioned in the content area;
step S16: adjusting the pointer initial position of the bidirectional circular linked list, and reading the fixed-length character model string from the bidirectional circular linked list based on the adjusted pointer initial position to obtain a second character model string;
step S17: and writing the second character string into the content area of the display memory so as to enable the display area of the display memory to display the second character string in a rolling manner.
Specifically, the font library mentioned in step S11 is, for example, a storage space in which a plurality of fonts are stored, and the mentioned fonts include, for example, a chinese character font, an english-to-english letter font, a numeric font, a symbol font, and the like. Wherein, a Chinese character matrix is equal to two characters, namely the width of the Chinese character matrix is the width of two characters, and in other matrixes except the Chinese character matrix, one other matrix is equal to one character, namely the width of the other matrixes is the width of one character. The width of the mentioned character is, for example, 8 bits, and 1 bit corresponds to one pixel. It should be noted that the present embodiment does not limit the type of the matrices included in the matrix group.
Step S12 includes, for example, converting the writing mode of each chinese character matrix in the character module to the same writing mode as that of other character matrices except the chinese character matrix in the character module. For example, as shown in fig. 2, a chinese character matrix corresponds to two characters, and can be divided into four blocks: block 1, block 2, block 3, and block 4. Conventionally, the writing mode of the Chinese character matrix is from left to right, and the arrows refer to fig. 2, that is, the block 1, the block 2, the block 3 and the block 4 are written in sequence according to the arrow. And other types of matrices other than the chinese type of matrix, such as english type of matrix, one english type of matrix corresponding to one character. As shown in fig. 3, an english matrix can be divided into two blocks: block 1 and block 2, and the writing mode within one character width is from top to bottom, referring to the arrow direction of fig. 3, block 1 and block 2 are written in sequence according to the arrow sequence. Therefore, in the process of writing the character dies, it is necessary to frequently judge whether the character dies are the Chinese character dies or other character dies, and to switch the writing mode according to the judged type of the character dies. In order to avoid the complicated steps and save time, the embodiment of the invention converts the writing mode of the Chinese character matrix into a top-down writing mode, for example, that is, the writing mode of the Chinese character matrix within the width of one character is top-down writing. As shown in fig. 4, the writing method of the chinese character matrix is changed to be sequentially written according to the arrow sequence: block 1, block 3, block 2, and block 4. Therefore, the writing mode of the Chinese character matrix is the same as that of other character matrixes, so that the complicated steps are avoided, and the time is saved. In addition, as shown in fig. 5, each block of the chinese character matrix corresponds to 8 char type data, for example, where each char type data corresponds to a column of pixels, and 1 bit (bit) corresponds to a pixel, that is, each char type data corresponds to 8 pixels, for example.
The bi-directional circular linked list mentioned in step S13 may be extended indefinitely, for example. And in the bi-directional circular linked list, the first character is, for example, a null character for isolating the head and the tail of the bi-directional circular linked list. Initially, the pointer location of the bi-directional circular linked list points to the location of the first character.
The first character in the first string mentioned in step S14 is a null character, and the start position of the mentioned pointer, e.g., the start position of the pointer, points to the null character. The mentioned fixed length depends, for example, on the display area of the video memory. For example, the fixed length is two more character widths than the width of the display area of the video memory. Specifically, the width of the display area is, for example, eight characters wide. The fixed length is, for example, ten characters wide. It should be noted here that the null character does not represent that the content is null, and may be a specific character to isolate the first bit of the bi-directional circular linked list.
The video memory mentioned in step S15 is a storage area displayed on the screen, and the mentioned video memory includes, for example, a plurality of storage pages, the plurality of storage pages form a content area, the height of each storage page is a character width, and the character matrix occupies two storage pages. For example, as shown in fig. 6, the video memory includes 8 memory pages (page0-page7), the 8 memory pages constitute a content area of the video memory, and each memory page has a height of, for example, 1 character width and a width of 16 character widths, where each character width corresponds to, for example, 8 pixels. The width of the content area of the video memory is 16 character width corresponding to 128 pixels, and the height is 8 character width corresponding to 64 pixels. The mentioned matrices take for example two memory pages. The display area is located within the content area, i.e. the display area is smaller than the content area, the width of the display area is, for example, 8 character width, corresponding to 64 pixels, and the height is, for example, 2 character width, corresponding to 16 pixels.
The start position of the pointer, e.g., the pointer, is adjusted to move backward by one bit in the doubly-linked circular list in step S16.
Writing the second string into the content area of the video memory mentioned in step S17, for example, partially covers the first string. For example, the matrices in the first string of matrices except the first matrix are covered.
For a better understanding of the present embodiment, a detailed description of the present embodiment is provided below.
As shown in FIG. 7, the content area of the OLED screen includes, for example, 8 memory pages (pages 0-7), each having a height of 8 pixels and a width of 128 pixels. The display area is within the content area, the display area includes, for example, 6 memory pages (page2-page7), and the width of the display area is 64 pixels. As can be seen from fig. 7, each character width corresponds to 8 pixels, that is, the display area of the OLED panel can only display 8 characters (0-7) at most, and correspondingly 8 characters. The content area is also scrolled to display only 16 characters wide using hard scrolling, corresponding to 16 characters. The information scrolling display method provided by the embodiment of the invention can break through the limitation of the display quantity of the characters.
Firstly, the writing mode of the Chinese character matrix in the character module read from the matrix library is converted once, and the writing mode is converted into the same writing mode as that of other character matrixes such as English character matrixes, for example, writing from top to bottom within the width of one character. Therefore, when the character matrix is written, only the writing mode of the English character matrix needs to be written, and the time for judging the type of the character matrix and frequently switching the writing mode of the character matrix can be greatly saved.
And secondly, writing the converted character module into a bidirectional circular linked list. As shown in fig. 8, the bidirectional circular linked list may implement end-to-end connection of the fonts, that is, when the last font is displayed, the display may be started from the first font.
Thirdly, character strings with the width of ten characters are read from the bidirectional circular linked list and stored in a content area of the video memory. Specifically, as shown in fig. 9, the pointer start position of the bidirectional circular linked list points to the head position of the linked list, and ten character-width matrices are read based on the head position, that is, matrices composed of matrices corresponding to 0/-9/area are serially stored in the displayed content area. Wherein, 0/area corresponds to a null character for isolating the head and the tail. As shown in FIG. 10, 0/1/2/3 …/9 is expressed as a ten character-wide character string, and the character string corresponding to 1/2/3 …/8 area is displayed in the display area first. And then moving the character string of the content area of the video memory pixel by pixel leftwards, wherein each character width corresponds to 8 pixels. In the whole moving process, the character dies corresponding to 1/area slowly disappear in the display area, and the character dies corresponding to 9/area slowly appear in the display area. After 8 moves, the character string in the content area can not move any more, because no character on the right side of the character string can enter the display area when moving again. At this time, the character module to be displayed needs to be readjusted.
Fifth, as shown in fig. 11, in the doubly linked circular list, the pointer (pos _ tmp) is shifted backward by one character width to point to 1/region, and then the character string is re-read by a fixed length of 10 character widths. The obtained character matrix string corresponds to the character matrix corresponding to the 1/-a/area, and the obtained character matrix string is written into the content area of the video memory. At this time, the new character string may partially cover the previously stored character string, for example, cover other characters except the first character string, and at this time, the character string stored in the content area of the display memory is the character string corresponding to 0/-a/area, where 1/-a/corresponds to the character string in the new character string and 0/' is the character string in the previous character string. The matrix string corresponding to 2/-9/area is firstly displayed in the display area, and the matrix string at the moment is connected with the matrix corresponding to a/area after the matrix corresponding to 9/area, so that the matrix string in the content area is moved to the left pixel by pixel again, the matrix corresponding to 2/area gradually disappears, and the matrix corresponding to a/area gradually appears. The effect of scrolling the matrix in the display area can be realized by repeating the steps, and the visual sense of the character matrix is that the character matrix is scrolled forwards step by step.
In summary, the information scrolling display method provided by the embodiment can solve the problem that the number of the information scrolling display characters on the display screen is limited, breaks through the limitation of the number of the scrolling characters, and does not occupy too many resources; the different writing modes of the matrix are avoided, and the time for judging and frequently switching the writing modes is saved; on the premise of ensuring the display effect, the efficiency and the safety of information rolling of the display screen are ensured.
[ second embodiment ]
Referring to fig. 12, a second embodiment of the present invention provides an information scroll display device. As shown in fig. 12, the information scroll display device 20 includes, for example, a character matrix library reading module 21, a writing method conversion module 22, a character matrix group storage module 23, a character matrix string reading module 24, a scroll display module 25, an adjustment reading module 26, and a scroll display module 27.
The matrix library reading module 21 is configured to read a plurality of matrices from a matrix library to obtain a matrix. The writing mode conversion module 22 is used for converting the writing mode of each Chinese character matrix in the character module to obtain a converted character module. The character module storage module 23 is used for storing the converted character module to the bidirectional circular linked list. The matrix string reading module 24 is configured to read a fixed-length matrix string from the bidirectional circular linked list based on the pointer start position of the bidirectional circular linked list, so as to obtain a first matrix string. The scrolling module 25 is configured to write the first font string into a content area of a video memory, so that the display area of the video memory displays the first font string in a scrolling manner, where the display area is located in the content area. The adjustment reading module 26 is configured to adjust the pointer start position of the bidirectional circular linked list, and read the fixed-length string from the bidirectional circular linked list based on the adjusted pointer start position to obtain a second string. The rolling display module 27 is configured to write the second font string into the content area of the video memory, so that the display area of the video memory displays the second font string in a rolling manner.
The information scroll display method implemented by the information scroll display device 20 according to the present embodiment is as described in the first embodiment, and therefore, will not be described in detail here. Optionally, each module and the other operations or functions in the second embodiment are respectively for implementing the method in the first embodiment of the present invention, and are not described herein for brevity. The technical effect of the information scrolling display device 20 provided in this embodiment is the same as that of the information scrolling display method in the first embodiment, and is not described herein again.
[ third embodiment ]
Referring to fig. 13, a third embodiment of the present invention provides an information scroll display method. As shown in fig. 13, the information scroll display method includes, for example, steps S31 to S36.
Step S31: reading a plurality of matrices from a matrix library to obtain a matrix;
step S32: writing the character module into the bidirectional circular linked list according to a preset writing mode, wherein the preset writing mode is that each character module is written in a single character width from top to bottom;
step S33: reading a fixed-length character model string from the bidirectional circular linked list based on the pointer initial position of the bidirectional circular linked list to obtain a first character model string;
step S34: writing the first character string into a content area of a display memory so that a display area of the display memory can display the first character string in a rolling manner, wherein the display area is located in the content area, and the width of the display area is smaller than that of the content area;
step S35: adjusting the pointer initial position of the bidirectional circular linked list, and reading the fixed-length character model string from the bidirectional circular linked list based on the adjusted pointer initial position to obtain a second character model string; and
step S36: and writing the second character string into the content area of the display memory so as to display the second character string in the display area of the display memory in a rolling manner.
The character module group mentioned in step S31 includes, for example, chinese character modules, and each chinese character module has two character widths, and is written into the bi-directional circular linked list from top to bottom within a single character width. The font library further includes, for example, english, i.e., english alphabet, numeric fonts, symbol fonts, and the like. Of the other matrices than the chinese character matrix, one other matrix has a character width. The width of the mentioned character is, for example, 8 bits, and 1 bit corresponds to one pixel. It should be noted that the present embodiment does not limit the type of the matrices included in the matrix group.
The predetermined writing method mentioned in step S32 is, for example, a writing method of other types of matrices besides the chinese character type matrix, for example, each type matrix is written from top to bottom within a single character width. The mentioned bi-directional circular linked list can be extended indefinitely, for example. And in the bi-directional circular linked list, the first character is, for example, a null character for isolating the head and the tail of the bi-directional circular linked list.
The first matrix in the first matrix string mentioned in step S33 is a null character, and the start position of the pointer mentioned, e.g., the start position of the pointer, points to the null character. The mentioned fixed length depends, for example, on the display area of the video memory. For example, the fixed length is two more character widths than the width of the display area of the video memory. Specifically, the width of the display area is, for example, eight characters wide. The fixed length is, for example, ten characters wide. It should be noted here that the null character does not represent that the content is null, and may be a specific character to isolate the first bit of the bi-directional circular linked list.
The video memory mentioned in step S34 is a storage area displayed on the screen, and the mentioned video memory includes, for example, a plurality of storage pages, the plurality of storage pages form a content area, the height of each storage page is a character width, and the character matrix occupies two storage pages. For example, the video memory includes 8 memory pages, the 8 memory pages constitute a content area of the video memory, each memory page has a height of, for example, 1 character width and a width of 16 character widths, where each character width corresponds to, for example, 8 pixels. The width of the content area of the video memory is 16 character width corresponding to 128 pixels, and the height is 8 character width corresponding to 64 pixels. The mentioned matrices take for example two memory pages. The display area is located within the content area, i.e. the display area is smaller than the content area, the width of the display area is, for example, 8 character width, corresponding to 64 pixels, and the height is, for example, 2 character width, corresponding to 16 pixels.
The start position of the pointer, e.g., the pointer, is adjusted to move backward by one bit in the doubly-linked circular list in step S35.
Writing the second string into the content area of the video memory mentioned in step S36, for example, partially covers the first string. For example, the matrices in the first string of matrices except the first matrix are covered.
It should be noted that, for part of the steps of the information scroll display method provided in this embodiment, reference may be made to the first embodiment, and for brevity, detailed descriptions of the information scroll display method provided in this embodiment may be made to the first embodiment.
In summary, the information scrolling display method provided by the embodiment can solve the problem that the number of the information scrolling display characters on the display screen is limited, breaks through the limitation of the number of the scrolling characters, and does not occupy too many resources; the different writing modes of the matrix are avoided, and the time for judging and frequently switching the writing modes is saved; on the premise of ensuring the display effect, the efficiency and the safety of information rolling of the display screen are ensured.
[ fourth example ] A
Referring to fig. 14, a fourth embodiment of the present invention provides an information scrolling display system. As shown in fig. 14, the information scroll display system 40 includes, for example, a processor 41 and a memory 42; wherein the memory 42 stores instructions executed by the processor 41, and the instructions cause the processor 41 to perform operations to perform the information scroll display method according to the first embodiment or the third embodiment. For example, the instructions cause processor 41 to perform the following operations:
(i) reading a plurality of matrices from a matrix library to obtain a matrix;
(ii) converting the writing mode of each Chinese character matrix in the character module to obtain a converted character module;
(iii) storing the converted character module into a bidirectional circular linked list;
(iv) reading a fixed-length character model string from the bidirectional circular linked list based on the pointer initial position of the bidirectional circular linked list to obtain a first character model string;
(v) writing the first character string into a content area of a display memory so that the display area of the display memory can display the first character string in a rolling manner, wherein the display area is positioned in the content area;
(vi) adjusting the pointer initial position of the bidirectional circular linked list, and reading the fixed-length character model string from the bidirectional circular linked list based on the adjusted pointer initial position to obtain a second character model string;
(vii) and writing the second character string into the content area of the display memory so as to enable the display area of the display memory to display the second character string in a rolling manner.
The information scroll display method implemented by the processor 41 of the information scroll display system 40 according to this embodiment executing operations is as described in the first embodiment or the third embodiment, and therefore, detailed description thereof is omitted here. Optionally, in order to implement the methods in the first embodiment and the third embodiment of the present invention, the information scrolling display system 40 in this embodiment is not described herein for brevity. The technical effect of the information scrolling display system 40 provided in this embodiment is the same as that of the information scrolling display method in the first embodiment or the third embodiment, and is not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and/or method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and the actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated into one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated into one unit/module. The integrated units/modules may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units/modules.
The integrated units/modules, which are implemented in the form of software functional units/modules, may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing one or more processors of a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. An information scroll display method, comprising:
reading a plurality of matrices from a matrix library to obtain a matrix;
converting the writing mode of each Chinese character matrix in the character module to obtain a converted character module;
storing the converted character module into a bidirectional circular linked list;
reading a fixed-length character model string from the bidirectional circular linked list based on the pointer initial position of the bidirectional circular linked list to obtain a first character model string;
writing the first character string into a content area of a display memory so that the display area of the display memory can display the first character string in a rolling manner, wherein the display area is positioned in the content area;
adjusting the pointer initial position of the bidirectional circular linked list, and reading the fixed-length character model string from the bidirectional circular linked list based on the adjusted pointer initial position to obtain a second character model string; and
and writing the second character string into the content area of the display memory so as to enable the display area of the display memory to display the second character string in a rolling manner.
2. The information scrolling method as claimed in claim 1, wherein said converting the writing manner of each chinese character matrix in the character module to obtain a converted character module comprises:
and converting the writing mode of each Chinese character matrix in the character module into the same writing mode of other character matrixes except the Chinese character matrix in the character module.
3. The information scrolling method according to claim 2, wherein the width of said kanji character pattern is two character widths, and the writing manner of said kanji character pattern in one of said character widths is from top to bottom, the width of said other character patterns is one of said character widths, and the writing manner of said other character patterns in one of said character widths is from top to bottom; the other character dies are English letters or numbers.
4. The information scroll display method according to claim 3, wherein the fixed length is two more than a width of the display area by the character width.
5. The information scrolling method according to claim 1, wherein in the step of reading fixed-length character-pattern strings from the bi-directional circular linked list based on the pointer start position of the bi-directional circular linked list to obtain a first sub-pattern string, a first character in the first character-pattern string is a null character, and the pointer start position points to the null character.
6. The information scrolling method according to claim 1, wherein the video memory comprises a plurality of memory pages, the plurality of memory pages form the content area, the height of each memory page is one character width, and each font occupies two memory pages.
7. An information scroll display apparatus, comprising:
the character matrix library reading module is used for reading a plurality of character matrixes from the character matrix library to obtain character modules;
the writing mode conversion module is used for converting the writing mode of each Chinese character font in the font module to obtain a converted font module;
the character module group storage module is used for storing the converted character module group to a bidirectional circular linked list;
the character string reading module is used for reading character strings with fixed lengths from the bidirectional circular linked list based on the pointer initial position of the bidirectional circular linked list to obtain a first character string;
the first scrolling display module is used for writing the first character string into a content area of a video memory so as to enable the display area of the video memory to scroll and display the first character string, wherein the display area is located in the content area;
the adjustment reading module is used for adjusting the pointer initial position of the bidirectional circular linked list and reading the character model strings with fixed lengths from the bidirectional circular linked list based on the adjusted pointer initial position to obtain a second character model string; and
and the second scrolling display module is used for writing the second character string into the content area of the video memory so as to enable the display area of the video memory to scroll and display the second character string.
8. An information scroll display method, comprising:
reading a plurality of matrices from a matrix library to obtain a matrix;
writing the character module into the bidirectional circular linked list according to a preset writing mode, wherein the preset writing mode is that each character module is written in a single character width from top to bottom;
reading a fixed-length character model string from the bidirectional circular linked list based on the pointer initial position of the bidirectional circular linked list to obtain a first character model string;
writing the first character string into a content area of a display memory so that a display area of the display memory can display the first character string in a rolling manner, wherein the display area is located in the content area, and the width of the display area is smaller than that of the content area;
adjusting the pointer initial position of the bidirectional circular linked list, and reading the fixed-length character model string from the bidirectional circular linked list based on the adjusted pointer initial position to obtain a second character model string; and
and writing the second character string into the content area of the display memory so as to display the second character string in the display area of the display memory in a rolling manner.
9. The information scrolling display method according to claim 8, wherein said character module comprises chinese character matrices, each of said chinese character matrices having two character widths and being written to said bi-directional circular linked list in said top-down manner within a single said character width; and the scrolling is a pixel-by-pixel scrolling.
10. An information scrolling display system, comprising: a processor and a memory; wherein the memory stores instructions for execution by the processor and the instructions cause the processor to perform operations to perform a method of scrolling information as claimed in any of claims 1 to 6 and 8 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910638574.4A CN112242118B (en) | 2019-07-16 | 2019-07-16 | Information scrolling display method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910638574.4A CN112242118B (en) | 2019-07-16 | 2019-07-16 | Information scrolling display method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112242118A true CN112242118A (en) | 2021-01-19 |
CN112242118B CN112242118B (en) | 2021-11-16 |
Family
ID=74166904
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910638574.4A Active CN112242118B (en) | 2019-07-16 | 2019-07-16 | Information scrolling display method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112242118B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118151814A (en) * | 2024-03-13 | 2024-06-07 | 江西数字网联信息安全技术有限公司 | Method, device, equipment and storage medium for realizing automatic loop infinite scrolling list |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2207265A (en) * | 1987-07-07 | 1989-01-25 | Chinese Computers Ltd | Chinese character displays |
JPH03105390A (en) * | 1989-09-19 | 1991-05-02 | Sanyo Electric Co Ltd | Scroll display system |
JPH07334145A (en) * | 1994-06-07 | 1995-12-22 | Kenwood Corp | Scroll display method |
CN1121618A (en) * | 1994-10-25 | 1996-05-01 | 埃维克斯公司 | Scrolling display method and system therefor |
CN1766986A (en) * | 2005-09-21 | 2006-05-03 | 康佳集团股份有限公司 | Sequent LED scroll display screen and control method for realizing continuous scroll display |
US20060242595A1 (en) * | 2003-03-07 | 2006-10-26 | Hirokazu Kizumi | Scroll display control |
CN1960548A (en) * | 2005-11-02 | 2007-05-09 | 乐金电子(中国)研究开发中心有限公司 | Mobile terminal and method for displaying chinese character thereof |
CN101114443A (en) * | 2006-07-28 | 2008-01-30 | 中国科学院声学研究所 | Indentation method of dot-matrix characters in two-dimensional graphics engine and Chinese processing method |
CN101635807A (en) * | 2009-08-06 | 2010-01-27 | 康佳集团股份有限公司 | Smooth scrolling method of characters of set-top box according to pixels |
CN101662616A (en) * | 2009-09-17 | 2010-03-03 | 北京中科智网传媒技术有限公司 | Character rolling display method |
CN101888508A (en) * | 2010-07-19 | 2010-11-17 | 福建新大陆通信科技股份有限公司 | Method for rolling subtitles of set-top box with low memory |
CN104080064A (en) * | 2014-07-16 | 2014-10-01 | 广东技术师范学院 | LED advertising information remote renting publishing system and method based on GSM |
CN204695290U (en) * | 2015-04-30 | 2015-10-07 | 西安邮电大学 | A kind of LED lattice display screen system based on MSP430 |
-
2019
- 2019-07-16 CN CN201910638574.4A patent/CN112242118B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2207265A (en) * | 1987-07-07 | 1989-01-25 | Chinese Computers Ltd | Chinese character displays |
JPH03105390A (en) * | 1989-09-19 | 1991-05-02 | Sanyo Electric Co Ltd | Scroll display system |
JPH07334145A (en) * | 1994-06-07 | 1995-12-22 | Kenwood Corp | Scroll display method |
CN1121618A (en) * | 1994-10-25 | 1996-05-01 | 埃维克斯公司 | Scrolling display method and system therefor |
US20060242595A1 (en) * | 2003-03-07 | 2006-10-26 | Hirokazu Kizumi | Scroll display control |
CN1766986A (en) * | 2005-09-21 | 2006-05-03 | 康佳集团股份有限公司 | Sequent LED scroll display screen and control method for realizing continuous scroll display |
CN1960548A (en) * | 2005-11-02 | 2007-05-09 | 乐金电子(中国)研究开发中心有限公司 | Mobile terminal and method for displaying chinese character thereof |
CN101114443A (en) * | 2006-07-28 | 2008-01-30 | 中国科学院声学研究所 | Indentation method of dot-matrix characters in two-dimensional graphics engine and Chinese processing method |
CN101635807A (en) * | 2009-08-06 | 2010-01-27 | 康佳集团股份有限公司 | Smooth scrolling method of characters of set-top box according to pixels |
CN101662616A (en) * | 2009-09-17 | 2010-03-03 | 北京中科智网传媒技术有限公司 | Character rolling display method |
CN101888508A (en) * | 2010-07-19 | 2010-11-17 | 福建新大陆通信科技股份有限公司 | Method for rolling subtitles of set-top box with low memory |
CN104080064A (en) * | 2014-07-16 | 2014-10-01 | 广东技术师范学院 | LED advertising information remote renting publishing system and method based on GSM |
CN204695290U (en) * | 2015-04-30 | 2015-10-07 | 西安邮电大学 | A kind of LED lattice display screen system based on MSP430 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118151814A (en) * | 2024-03-13 | 2024-06-07 | 江西数字网联信息安全技术有限公司 | Method, device, equipment and storage medium for realizing automatic loop infinite scrolling list |
Also Published As
Publication number | Publication date |
---|---|
CN112242118B (en) | 2021-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4736308A (en) | Search/retrieval system | |
EP0009593A2 (en) | Video display terminal with partitioned screen | |
US20120127192A1 (en) | Method and apparatus for selective display | |
US20100033487A1 (en) | Display device, control method for the same, and information storage medium | |
US20140115524A1 (en) | Universal x, y-axis positioning input method | |
KR102126831B1 (en) | Chinese character input apparatus based on first-input-character and controlling method thereof | |
CN105808110A (en) | Table display method and display device | |
CN112242118B (en) | Information scrolling display method, device and system | |
CN102576296A (en) | Vector-based magnified pointer | |
US6281876B1 (en) | Method and apparatus for text image stretching | |
CN113923505B (en) | Bullet screen processing method and device, electronic equipment and storage medium | |
CN110675800A (en) | Display screen driving method and device | |
US20020085018A1 (en) | Method for reducing chinese character font in real-time | |
US20140331160A1 (en) | Apparatus and method for generating message in portable terminal | |
JPH07199854A (en) | Method and apparatus for display of plurality of kinds of fonts | |
EP0575316B1 (en) | Display system and method for context-based scrolling | |
CN104618558B (en) | A kind of terminal | |
US20080055286A1 (en) | Method And Apparatus For Displaying Bitmap Images | |
USRE36653E (en) | Search/retrieval system | |
US20130063475A1 (en) | System and method for text rendering | |
CN114611031A (en) | Digital scrolling display method, device, equipment and medium | |
US11222161B1 (en) | Grid magnifier | |
CN104660807B (en) | A kind of processing method of contacts list | |
CN114049424A (en) | Efficient character drawing and displaying method based on three-dimensional rendering engine | |
JP2013142919A (en) | Display control device, information terminal device, integrated circuit, display control method, program, and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |