CN115798376B - Control method and equipment for multi-pattern traffic screen and readable storage medium - Google Patents

Control method and equipment for multi-pattern traffic screen and readable storage medium Download PDF

Info

Publication number
CN115798376B
CN115798376B CN202211439477.0A CN202211439477A CN115798376B CN 115798376 B CN115798376 B CN 115798376B CN 202211439477 A CN202211439477 A CN 202211439477A CN 115798376 B CN115798376 B CN 115798376B
Authority
CN
China
Prior art keywords
display
output module
area
sub
chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211439477.0A
Other languages
Chinese (zh)
Other versions
CN115798376A (en
Inventor
刘嘉文
陈啟信
黄达森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chainzone Technology Foshan Co Ltd
Original Assignee
Chainzone Technology Foshan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chainzone Technology Foshan Co Ltd filed Critical Chainzone Technology Foshan Co Ltd
Priority to CN202211439477.0A priority Critical patent/CN115798376B/en
Publication of CN115798376A publication Critical patent/CN115798376A/en
Application granted granted Critical
Publication of CN115798376B publication Critical patent/CN115798376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention discloses a control method, equipment and readable storage medium of a multi-pattern traffic screen, relating to the technical field of display screens, wherein the control method of the multi-pattern traffic screen comprises the following steps: acquiring a reference image and analyzing the reference image to generate bitmap data; acquiring driving configuration information, and acquiring a sub-standard region corresponding to a next output module in a standard image according to the driving configuration information; acquiring position information of next image point data in a chip in the output module in bitmap data according to a display comparison table and a sub-standard region of the output module; according to the position information, outputting image point data to a memory position actually displayed by the target screen body for display output; judging whether all image point data of the chip in the output module are traversed, if yes, judging whether all the output modules are traversed, and if yes, completing one-frame display output. By adopting the invention, each display area can be controlled by analyzing the same reference image, and the control synchronism and the universality can be ensured.

Description

Control method and equipment for multi-pattern traffic screen and readable storage medium
Technical Field
The present invention relates to the field of display technologies, and in particular, to a method for controlling a multi-pattern traffic screen, a computer device, and a computer readable storage medium.
Background
As shown in fig. 2, the LED screen for multi-pattern display often includes a regular display area and an irregular display area, where the regular display area is generally formed by connecting one or more rectangular LED display modules, and the irregular display area is formed by connecting one or more non-rectangular LED display modules.
In the prior art, a common display control mode of the irregular display area is to directly control a plurality of serial LEDs to be turned on and off through IO control. But this control has the following drawbacks:
(1) The control mode of the irregular display area is inconsistent with the control mode of the dot matrix pattern display of the regular display area, so that the control is asynchronous;
(2) The control method of the irregular display area has no versatility.
Disclosure of Invention
The invention aims to solve the technical problem of providing a control method, computer equipment and a computer readable storage medium of a multi-pattern traffic screen, which can control each display area through the same reference image and ensure the synchronism and the universality of control.
In order to solve the technical problems, the invention provides a control method of a multi-pattern traffic screen, comprising the following steps: s1, acquiring a reference image, and analyzing the reference image to generate bitmap data; s2, acquiring driving configuration information, and acquiring a sub-reference area corresponding to the next output module in the reference image according to the driving configuration information; s3, acquiring the position information of the next image point data in the chip in the output module in the bitmap data according to the display comparison table and the sub-standard region of the output module; s4, outputting the image point data to a memory position actually displayed by a target screen body according to the position information so as to display and output; s5, judging whether all image point data of the chip in the output module are traversed, if yes, entering a step S6, and if no, returning to the step S3; and S6, judging whether all the output modules are traversed, if yes, finishing one frame of display output, and if no, returning to the step S2.
As an improvement of the above-described aspect, the constructing step of the reference image includes: constructing a reference image according to a target display state of a target screen body, wherein the target screen body comprises at least one display area, the reference image comprises at least one reference area, one display area corresponds to one reference area, the display area comprises at least one display unit, the reference area comprises at least one sub-reference area, the sub-reference area comprises at least one reference unit, and one display unit corresponds to one reference unit.
As an improvement of the above scheme, the comparison relation between the display area and the sub-standard area, the comparison relation between the standard unit and the hardware connection line, the comparison relation between the hardware topology position and the output module, and the number relation between the output module and the chip are recorded in the driving configuration information.
As an improvement of the above-mentioned scheme, the display reference table records the position information of the image point data of the output module relative to the sub-reference area in the reference image.
As an improvement of the above-described scheme, before performing step S1, further comprising: and after power-on, loading the driving configuration information and analyzing the display comparison table.
As an improvement of the above scheme, the sub-reference area is an mxn matrix structure, where M is the number of chips of the output module and N is the number of image point data of the chips.
As an improvement of the above scheme, the position information includes ordinate information and abscissa information, wherein the ordinate information indicates a sequence number of the chip, and the abscissa information indicates a bit offset in the chip.
As an improvement of the above scheme, the output module comprises one chip or a plurality of chips connected in series.
Correspondingly, the invention also provides computer equipment, which comprises a memory and a processor, wherein the memory stores a computer program, and the computer equipment is characterized in that the processor realizes the steps of the control method of the multi-pattern traffic screen when executing the computer program.
Accordingly, the present invention also provides a computer readable storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the steps of the above-described control method for a multi-pattern traffic screen.
The implementation of the invention has the following beneficial effects:
The invention introduces the drive configuration information and the display comparison table, and can start to traverse from the last output module of each port according to the hardware topology of the port during display; in the traversal process, the sub-standard region of the output module in the standard image is obtained according to the driving configuration information respectively; and traversing from the last image point data of the last chip forward according to the display comparison table of the corresponding output module, acquiring the color corresponding to the color in the reference image, and transmitting, so that synchronous display control of each display area is realized.
Meanwhile, the method and the device construct the targeted reference image, and can map the regular display area and the irregular display area in the target screen body to the reference image for unified processing, so that each display area can be controlled by analyzing the same reference image, and the method and the device have good universality and flexibility.
Drawings
FIG. 1 is a flow chart of a first embodiment of a method of controlling a multi-pattern traffic screen of the present invention;
FIG. 2 is a schematic diagram of a target display state of a target screen;
FIG. 3 is a schematic representation of a reference image in the present invention;
FIG. 4 is a schematic diagram of a hardware topology location in the present invention;
FIG. 5 is another schematic representation of a reference image in accordance with the present invention;
fig. 6 is a flowchart of a second embodiment of a control method of the multi-pattern traffic screen of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings, for the purpose of making the objects, technical solutions and advantages of the present invention more apparent.
Referring to fig. 1, fig. 1 shows a flowchart of a first embodiment of a control method of the multi-pattern traffic screen of the present invention, which includes:
S101, acquiring a reference image, and analyzing the reference image to generate bitmap data;
It should be noted that, the reference image may be constructed in advance according to the target display state of the target screen; the target screen body comprises at least one display area, the reference image comprises at least one reference area, and one display area corresponds to one reference area; the display area includes at least one display unit, the reference area includes at least one sub-reference area and the sub-reference area includes at least one reference unit, one display unit corresponding to each reference unit.
As shown in fig. 2, the target screen body includes five display regions, which are respectively a rectangular dot matrix region inside a triangle, a triangle region, a flicker region composed of four dots, a mark region composed of letters "SLOWDOWN", and a white full dot matrix region.
As shown in fig. 3, the reference image includes five reference areas, namely an area a, an area B, an area C, an area D, and an area E, wherein the area a corresponds to a rectangular lattice area, the area B corresponds to a triangular area, the area C corresponds to a blinking area, the area D corresponds to a mark area, and the area E corresponds to a full lattice area. Preferably, the reference image is an image in BMP format, but is not limited thereto.
Therefore, by constructing the reference image, the regular display area (such as a rectangular lattice area) and the irregular display area (such as a triangle area, a flicker area, a mark area and a full lattice area) in the target screen body can be mapped to the reference image for unified processing, and the synchronism of subsequent control can be effectively ensured.
Accordingly, the reference region may be divided into a plurality of sub-reference regions according to the characteristics of the output module. Further, the sub-reference area is an m×n matrix structure, where M is the number of chips of the output module and N is the number of image point data of the chips.
S102, acquiring driving configuration information, and acquiring a sub-standard region corresponding to a next output module in a reference image according to the driving configuration information;
The drive configuration information records the comparison relation between the display area and the sub-standard area, the comparison relation between the standard unit and the hardware connection, the comparison relation between the hardware topology position and the output module and the number relation between the output module and the chip.
It should be noted that different display areas correspond to different driving configuration information, and the driving configuration information is used to describe the relationship among the target screen, the reference image and the hardware.
For example, the following information is recorded in the drive configuration information of the full dot matrix area: (1) The full lattice region corresponds to a sub-standard region in the standard image; (2) a reference cell to hardware wiring comparison; (3) outputting the number of chips driven by the module; and (4) an output module corresponding to the hardware topological position.
S103, acquiring position information of next image point data in a chip in the output module in bitmap data according to a display comparison table and a sub-standard region of the output module;
As shown in fig. 4, the chip in the present invention is a 16bit shift register, on which 16 pixel data are stored, and the output module includes one chip or a plurality of chips connected in series; for example, two chips are connected in series, so that a 32-bit shift register can be formed. According to the characteristics of the shift register, the first transmitted point is the last point of the last chip in the chips connected in series; then, for each transmitted port, the first transmitted point is the last point of the last chip of the last output module; like a enqueue on a data structure.
It should be noted that, the display reference table may be preset according to the actual situation. Specifically, the position information of the image point data of the output module relative to the sub-reference area in the reference image is recorded in the display comparison table; further, the position information includes ordinate information and abscissa information, wherein the ordinate information represents a sequence number of the chip, and the abscissa information represents a bit offset in the chip. Preferably, the image point data is RGB data. The specific display control table is shown in table 1 below:
TABLE 1
Bit0 bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Bit8 Bit9 Bit10 Bit11 Bit12 Bit13 Bit14 Bit15
IC0 (15,1) (14,1) (13,1) (12,1) (11,1) (10,1) (9,1) (8,1) (7,1) (6,1) (5,1) (4,1) (3,1) (2,1) (1,1) (0,1)
IC1 (15,0) (14,0) (13,0) (12,0) (11,0) (10,0) (9,0) (8,0) (7,0) (6,0) (5,0) (4,0) (3,0) (2,0) (1,0) (0,0)
As shown in fig. 5, when the output module includes 8 chips, the corresponding matrix structure is an 8×16 sub-reference area, and when the "position information (7, 0) =value (1, 1)" is recorded in the display reference table, the 0 th bit of the 7 th chip in the output module corresponds to the RGB data of the position of the coordinate (1, 1) in the 8×16 sub-reference area E1. When the output module contains 7 chips, the corresponding matrix structure is a sub-standard region of 7×16, and when the "position information (4, 3) =value (2, 1)" is recorded in the display comparison table, the RGB data of the position of the coordinates (2, 1) in the sub-standard region of 7×16 corresponding to the 3 rd bit of the 4 th chip in the output module is represented.
S104, outputting image point data to a memory position actually displayed by the target screen body according to the position information so as to display and output;
s105, judging whether all image point data of the chip in the output module are traversed, if yes, entering step S106, and if no, returning to step S103;
It should be noted that the present invention traverses forward from the last image point data of the last chip of the current output module.
S106, judging whether all the output modules are traversed, if yes, completing one frame of display output, and if no, returning to the step S102.
It should be noted that the present invention traverses forward from the last output module of the port.
In summary, the invention starts to traverse from the last output module of each port according to the hardware topology of the port; in the traversal process, the sub-standard region of the output module in the standard image is obtained according to the driving configuration information respectively; and traversing from the last image point data of the last chip forward according to the display comparison table of the corresponding output module, acquiring the color corresponding to the color in the reference image, and transmitting, so that synchronous display control of each display area is realized. Meanwhile, the invention can control each display area only by analyzing the same reference image, and has good universality and flexibility.
Referring to fig. 6, fig. 6 shows a flowchart of a second embodiment of a control method of the multi-pattern traffic screen of the present invention, which includes:
And S201, after power-on, loading the driving configuration information and analyzing and displaying the comparison table.
Unlike the first embodiment shown in fig. 1, in this embodiment, after the system is powered on, the driving configuration information is loaded and the comparison table is analyzed and displayed, so as to increase the operation speed of steps S202-S207.
S202, acquiring a reference image, and analyzing the reference image to generate bitmap data;
s203, acquiring driving configuration information, and acquiring a sub-standard region corresponding to the next output module in the standard image according to the driving configuration information;
s204, acquiring the position information of next image point data in a chip in the output module in bitmap data according to a display comparison table and a sub-standard region of the output module;
S205, outputting image point data to a memory position actually displayed by a target screen body according to the position information so as to display and output;
S206, judging whether all image point data of the chip in the output module are traversed, if yes, entering step S207, and if no, returning to step S204;
S207, judging whether all output modules are traversed, if yes, completing one frame of display output, and if no, returning to the step S203.
Therefore, the invention controls the display areas with different shapes in the same mode, thereby ensuring the control synchronism; in addition, the invention can control each display area only by analyzing the same reference image, and has good universality and flexibility.
Correspondingly, the invention also discloses a computer device which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the control method of the multi-pattern traffic screen when executing the computer program. Meanwhile, the invention also discloses a computer readable storage medium, on which a computer program is stored, wherein the computer program realizes the steps of the control method of the multi-pattern traffic screen when being executed by a processor.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (6)

1. A method for controlling a multi-pattern traffic screen, comprising:
S1, acquiring a reference image, and analyzing the reference image to generate bitmap data; the construction step of the reference image comprises the steps of constructing the reference image according to the target display state of a target screen body so as to map a regular display area and an irregular display area in the target screen body to the reference image for unified processing, wherein the target screen body comprises at least one display area, the reference image comprises at least one reference area, one display area corresponds to one reference area, the display area comprises at least one display unit, the reference area comprises at least one sub-reference area and the sub-reference area comprises at least one reference unit, and one display unit corresponds to one reference unit;
S2, acquiring driving configuration information, and acquiring a sub-reference area corresponding to the next output module in the reference image according to the driving configuration information; the drive configuration information records the comparison relation between the display area and the sub-standard area, the comparison relation between the standard unit and the hardware connection, the comparison relation between the hardware topological position and the output module and the quantity relation between the output module and the chip;
S3, acquiring the position information of the next image point data in the chip in the output module in the bitmap data according to the display comparison table and the sub-standard region of the output module; the output module comprises a chip or a plurality of chips which are connected in series, and the chips are displacement registers; the display comparison table records the position information of the image point data of the output module relative to the sub-reference area in the reference image;
S4, outputting the image point data to a memory position actually displayed by a target screen body according to the position information so as to display and output;
S5, judging whether all image point data of the chip in the output module are traversed, if yes, entering a step S6, and if no, returning to the step S3;
And S6, judging whether all the output modules are traversed, if yes, finishing one frame of display output, and if no, returning to the step S2.
2. The method for controlling a multi-pattern traffic screen according to claim 1, further comprising, before performing step S1: and after power-on, loading the driving configuration information and analyzing the display comparison table.
3. The method of claim 1, wherein the sub-reference area is an M x N matrix structure, where M is the number of chips of the output module and N is the number of image point data of the chips.
4. The method of claim 1, wherein the location information includes ordinate information indicating a sequence number of the chip and abscissa information indicating a bit offset within the chip.
5. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 4 when the computer program is executed.
6. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4.
CN202211439477.0A 2022-11-17 2022-11-17 Control method and equipment for multi-pattern traffic screen and readable storage medium Active CN115798376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211439477.0A CN115798376B (en) 2022-11-17 2022-11-17 Control method and equipment for multi-pattern traffic screen and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211439477.0A CN115798376B (en) 2022-11-17 2022-11-17 Control method and equipment for multi-pattern traffic screen and readable storage medium

Publications (2)

Publication Number Publication Date
CN115798376A CN115798376A (en) 2023-03-14
CN115798376B true CN115798376B (en) 2024-05-03

Family

ID=85438467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211439477.0A Active CN115798376B (en) 2022-11-17 2022-11-17 Control method and equipment for multi-pattern traffic screen and readable storage medium

Country Status (1)

Country Link
CN (1) CN115798376B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990085013A (en) * 1998-05-13 1999-12-06 구자홍 Pattern inspector of plasma display panel and inspection method
CN104375789A (en) * 2013-08-14 2015-02-25 杭州海康威视数字技术股份有限公司 Synchronous displaying method and system of tiled display screen
CN108630162A (en) * 2018-05-10 2018-10-09 昆山国显光电有限公司 Display panel and display device
CN109410829A (en) * 2018-12-19 2019-03-01 大连集思特科技有限公司 A kind of control system of abnormity flexible LED display screen
CN111427646A (en) * 2020-03-20 2020-07-17 RealMe重庆移动通信有限公司 Display control method and device, mobile terminal and storage medium
WO2020170317A1 (en) * 2019-02-18 2020-08-27 学校法人玉川学園 Information processing device
CN113838384A (en) * 2020-06-05 2021-12-24 广州市浩洋电子股份有限公司 Special-shaped display screen, special-shaped pixel lamp and control method of special-shaped pixel lamp
CN114185507A (en) * 2021-12-10 2022-03-15 西安诺瓦星云科技股份有限公司 Display screen configuration method and device, storage medium and processor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100759972B1 (en) * 2001-02-15 2007-09-18 삼성전자주식회사 Liquid crystal display device and driving apparatus and method therefor

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990085013A (en) * 1998-05-13 1999-12-06 구자홍 Pattern inspector of plasma display panel and inspection method
CN104375789A (en) * 2013-08-14 2015-02-25 杭州海康威视数字技术股份有限公司 Synchronous displaying method and system of tiled display screen
CN108630162A (en) * 2018-05-10 2018-10-09 昆山国显光电有限公司 Display panel and display device
CN109410829A (en) * 2018-12-19 2019-03-01 大连集思特科技有限公司 A kind of control system of abnormity flexible LED display screen
WO2020170317A1 (en) * 2019-02-18 2020-08-27 学校法人玉川学園 Information processing device
CN111427646A (en) * 2020-03-20 2020-07-17 RealMe重庆移动通信有限公司 Display control method and device, mobile terminal and storage medium
CN113838384A (en) * 2020-06-05 2021-12-24 广州市浩洋电子股份有限公司 Special-shaped display screen, special-shaped pixel lamp and control method of special-shaped pixel lamp
CN114185507A (en) * 2021-12-10 2022-03-15 西安诺瓦星云科技股份有限公司 Display screen configuration method and device, storage medium and processor

Also Published As

Publication number Publication date
CN115798376A (en) 2023-03-14

Similar Documents

Publication Publication Date Title
CN1707522B (en) Colour compressing system and method utilizing marginal data bit element shade
US6784897B2 (en) Apparatus for carrying out translucent-processing to still and moving pictures and method of doing the same
EP0447225B1 (en) Methods and apparatus for maximizing column address coherency for serial and random port accesses in a frame buffer graphics system
EP0783154B1 (en) Split-level graphics library
CN106293160B (en) Method and device for switching mouse pointers among multiple displays
CN110047434B (en) Compensation system and compensation method of organic light-emitting device
US20200058244A1 (en) Data transmission method and display driving system
EP3154027A1 (en) Dividing work among multiple graphics pipelines using a super-tiling technique
CN115798376B (en) Control method and equipment for multi-pattern traffic screen and readable storage medium
CN113315930A (en) Image display method, device, medium and system of spliced screen
CN108600659A (en) Event detection device
EP1562174A2 (en) Controller driver, mobile terminal using the same, and display panel driving method
CN1831931A (en) Display controller allowing overlapping display
CN108417181A (en) The interface of driving circuit defines method and apparatus
CN101211416B (en) Boundary creation method, system and production method during vector graph grating
US6992664B2 (en) Graphics plotting apparatus
CN107564460B (en) Display driving circuit, driving method thereof, display driving system and display device
US6778169B1 (en) Controller driver for display device and driving method thereof
US7050073B2 (en) Method and apparatus for scrolling an image to be presented on a display unit
CN113364690A (en) Method, device, terminal and storage medium for determining network transmission path of receiving card
GB2379149A (en) Display controller including display address generator
WO2006072108A1 (en) Efficient z testing
CN116013186A (en) Driving method and driving device of display panel and computer readable storage medium
JPH06176122A (en) Graphic editing device
US6448966B1 (en) Method for improving 3D computer graphic performance by pre-sorting

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