A kind of LED display blind spot detection method and detection device thereof
Technical field
The invention belongs to LED display detection technique field, in particular to a kind of LED display blind spot detection method and detection device thereof.
Background technology
As the cross-application of computer technology and traffic LED technique of display, LED display is carried out blind spot detection technique in the monitoring of each distributed work node of traffic system, plays very crucial effect.
A usual section Controlling System comprises multiple LED display, forms different networks according to different topological frameworks, also just constitutes different data link. At present, the data link structure of centralized supervisory control can be divided into two kinds, and namely point-to-point link and point are to many links. If these data link are connected by Ethernet physics passage (such as RJ45), then it is referred to as Ethernet section Controlling System link structure; If these data link are connected by half-duplex operation physics passage (such as RS-485 bus), then it is referred to as half-duplex operation section Controlling System link structure.
In prior art, only having a main sending card in a LED display, other is all auxiliary sending card and blind spot detection receives card. The effect of main sending card is for section Surveillance center and auxiliary sending card and blind spot detection receive relaying and the forwarding that card provides data and information, is used for the equipment directly communicated with Surveillance center. Auxiliary sending card and blind spot detection receive card and refer in a monitoring sub-network being made up of multiple equipment, the equipment that directly can not communicate with section Surveillance center.
In the prior art, the LED display of different model according to the difference of LED module model and screen specification, can not be carried out blind spot detection by it, and cannot realize different generation equipment and realize blind spot detection compatibility.
Therefore, research and develop a kind of can according to the difference of LED module model and screen specification, its device of blind spot monitoring method that the LED display of different model carries out blind spot monitoring is extremely urgent.
Summary of the invention
The technical purpose of the present invention overcomes the deficiencies in the prior art, a kind of LED display blind spot detection method is provided, the method can according to the difference of LED module model and screen specification, the LED display of different model is carried out blind spot monitoring, and blind spot detection compatibility can also be realized by compatible different generation equipment, applied widely.
In order to reach above-mentioned technical purpose, the present invention realizes by following technical scheme:
The detection method of the blind point detection device of LED display of the present invention, its concrete steps are:
Step one, main sending card obtains with, after step data, timing receives card to all auxiliary sending cards and blind spot detection and sends synchronous data broadcast packets;
Step 2, each auxiliary sending card and blind spot detection receive card and receive synchronous data broadcast packets;
Step 3, auxiliary sending card and blind spot detection receive card and passive complete order bag process of transmitting;
Step 4, after each blind spot detection reception card receives order, select different bit map/bitmaps to calculate each GPIO mouth of display screen interface according to LED module model and display screen row, column number, then calculate color, the coordinate information of each pixel of each GPIO mouth, failure message.
As the further improvement of above-mentioned technology, in above-mentioned steps three, it comprises the steps:
(1) auxiliary sending card and blind spot detection receive card and the one or more order bags needing transmission are sent to main sending card;
(2) main website receives and orders bag, does not receive card transmission order to auxiliary sending card and blind spot detection and responds bag;
(3) if auxiliary sending card and blind spot detection reception card are still needed sends order bag, then return step one, otherwise do not send order bag.
As the further improvement of above-mentioned technology, in above-mentioned steps four, it specifically comprises the steps:
After described main sending card prepares to start blind spot detection order, then, (1) send and start blind spot detection data, and timing sends inquiry blind spot Detection Information;
(2) auxiliary sending card and blind spot detection reception are stuck in and receive inquiry order bag simultaneously or afterwards, and while sending inquiry blind spot detection response bag or before initiatively complete order bag process of transmitting.
As the further improvement of above-mentioned technology, in above-mentioned steps (2), specifically comprise the steps:
A, auxiliary sending card and blind spot detection receive card and receive inquiry order bag simultaneously or afterwards, it would be desirable to one or more order bags of transmission are sent to main sending card;
B, main sending card receives order bag;
C, if auxiliary sending card and blind spot detection reception card are still needed sends order bag, then returns step one, otherwise does not send order bag.
In the present invention, when upper computer and main sending card can not normally receive and dispatch data, it is empty that the prompting of described upper computer receives blind spot detection failure number.
In the present invention, described main sending card receives all auxiliary sending cards and blind spot detection receives and blocks the order bag that sends, and auxiliary sending card and blind spot detection receive card and be only main website but object address is the synchronous data broadcast packets of our station in process source station.
In the present invention, after described main sending card sends inquiry blind spot detection data broadcast packets, if the time that main sending card receives data broadcast response bag exceedes default timing parameters, then re-execute main sending card and send synchronous data broadcast packets order, if the number of times retransmitting synchronous data broadcast packets order exceedes the highest number of times of restriction, then stop sending this order; Or auxiliary sending card and blind spot detection receive card send order bag after, the time responding bag is ordered to exceed default timing parameters if auxiliary sending card and blind spot detection receive card reception, then re-execute auxiliary sending card and blind spot detection receive card send order bag order, if the number of times retransmitting order bag order exceedes the highest number of times of restriction, then stop sending this order.
In the present invention, after described main sending card sends inquiry blind spot detection data packet, if the time that main sending card receives inquiry blind spot Detection Information response bag exceedes default timing parameters, then re-execute main sending card and send inquiry blind spot detection order, if the number of times retransmitting inquiry blind spot detection order exceedes the highest number of times of restriction, then stop sending this order.
The invention also discloses the detection device of above-mentioned LED display blind spot detection method, it comprises upper computer, main sending card and some auxiliary sending cards, described upper computer is connected with main sending card netting twine, described main sending card and each auxiliary sending card are all corresponding to be connected with screen data, and the corresponding blind spot that connects detects reception card on each display screen, described main sending card receives bus between card with the detection of each blind spot and is connected, and between described main sending card with each auxiliary sending card, equal bus is connected.
Compared with prior art, the invention has the beneficial effects as follows:
The blind spot detection method of LED display of the present invention, it can obtain LED module model and display screen specification, and according to the difference of LED module model and screen specification, the LED display of different model is carried out blind spot monitoring, such as, P16 module bit map/bitmap is adopted when LED module is P16, P25 module bit map/bitmap is adopted when LED module is P25, P31 module bit map/bitmap is adopted when LED module is P31, practical, in addition, it can also realize the compatibility of blind spot detection by compatible different generation equipment, applied widely.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail:
Fig. 1 is the structural representation for the blind point detection device of LED display of the present invention;
Fig. 2 is the schematic flow sheet of LED display blind spot of the present invention detection;
Fig. 3 is the communication mechanism choice of LED display blind spot of the present invention detection.
Embodiment
As shown in Figure 1, the detection device of LED display blind spot detection method of the present invention, it comprises upper computer, main sending card and some auxiliary sending cards, described upper computer is connected with main sending card netting twine, described main sending card and each auxiliary sending card are all corresponding to be connected with screen data, and the corresponding blind spot that connects detects reception card on each display screen, described main sending card is received with the detection of each blind spot and is connected by bus between card, between described main sending card with each auxiliary sending card, equal bus is connected, and described detection device realizes what blind spot detected according to following step.
The detection method of the blind point detection device of LED display of the present invention, the steps include:
Step one, main sending card obtains with, after step data, timing receives card to all auxiliary sending cards and blind spot detection and sends synchronous data broadcast packets;
Step 2, each auxiliary sending card and blind spot detection receive card and receive synchronous data broadcast packets;
Step 3, auxiliary sending card and blind spot detection receive card and passive complete order bag process of transmitting;
Step 4, after each blind spot detection reception card receives order, select different bit map/bitmaps to calculate each GPIO mouth of display screen interface according to LED module model and display screen row, column number, then calculate color, the coordinate information of each pixel of each GPIO mouth, failure message.
In above-mentioned steps three, it comprises the steps:
(1) auxiliary sending card and blind spot detection receive card and the one or more order bags needing transmission are sent to main sending card;
(2) main website receives and orders bag, does not receive card transmission order to auxiliary sending card and blind spot detection and responds bag;
(3) if auxiliary sending card and blind spot detection reception card are still needed sends order bag, then return step one, otherwise do not send order bag.
In above-mentioned steps four, it specifically comprises the steps:
After described main sending card prepares to start blind spot detection order, then, (1) send and start blind spot detection data, and timing sends inquiry blind spot Detection Information;
(2) auxiliary sending card and blind spot detection reception are stuck in and receive inquiry order bag simultaneously or afterwards, and while sending inquiry blind spot detection response bag or before initiatively complete order bag process of transmitting, specifically comprise the steps:
A, auxiliary sending card and blind spot detection receive card and receive inquiry order bag simultaneously or afterwards, it would be desirable to one or more order bags of transmission are sent to main sending card;
B, main sending card receives order bag;
C, if auxiliary sending card and blind spot detection reception card are still needed sends order bag, then returns step one, otherwise does not send order bag.
In addition, in the present invention, when upper computer and main sending card can not normally receive and dispatch data, it is empty that the prompting of described upper computer receives blind spot detection failure number. Described main sending card receives all auxiliary sending cards and blind spot detection receives and blocks the order bag that sends, and auxiliary sending card and blind spot detection receive card and be only main website but object address is the synchronous data broadcast packets of our station in process source station.
In the present invention, after described main sending card sends inquiry blind spot detection data broadcast packets, if the time that main sending card receives data broadcast response bag exceedes default timing parameters, then re-execute main sending card and send synchronous data broadcast packets order, if the number of times retransmitting synchronous data broadcast packets order exceedes the highest number of times of restriction, then stop sending this order; Or auxiliary sending card and blind spot detection receive card send order bag after, the time responding bag is ordered to exceed default timing parameters if auxiliary sending card and blind spot detection receive card reception, then re-execute auxiliary sending card and blind spot detection receive card send order bag order, if the number of times retransmitting order bag order exceedes the highest number of times of restriction, then stop sending this order.
And, after described main sending card sends inquiry blind spot detection data packet, if the time that main sending card receives inquiry blind spot Detection Information response bag exceedes default timing parameters, then re-execute main sending card and send inquiry blind spot detection order, if the number of times retransmitting inquiry blind spot detection order exceedes the highest number of times of restriction, then stop sending this order.
Fig. 2 shows when sending card and blind spot detection receive the data link structure that the link structure blocked is half-duplex operation, adopts broadcast strategy mode to communicate, LED display blind spot detection method of the present invention, and it specifically comprises step:
Step S11: upper computer sends blind spot detection order to the main sending card of LED display;
Step S12: main sending card receives blind spot detection order, and confirms;
Step S13, main sending card forwards the blind spot detection order of upper computer to auxiliary sending card;
Step S14, main sending card and auxiliary sending card receive card to blind spot detection and send blind spot detection order;
Step S15, blind spot detection receives card and prepares to receive blind spot detection data;
Step S16, main sending card and auxiliary sending card receive card to LED display and blind spot detection and send blind spot detection data;
Step S17, blind spot detection receives card and starts to receive blind spot detection data;
Step S18, blind spot detection receives card and analyzes each pixel number certificate of LED display according to LED module model, LED display row, column, if data are 0, then represent that this pixel (red, green, blue) is for open circuit or short circuit, calculate the coordinate information (row coordinate, row coordinate) of this pixel (red, green, blue) again according to bit map/bitmap, and preserve trouble spot quantity, failed pixel point color, coordinate;
Step S19, main sending card and auxiliary sending card receive card to blind spot detection and send inquiry blind spot Detection Information.
Step S20, blind spot detection reception card sends order according to order bag content to sending card and responds bag after receiving order bag;
Step S21, auxiliary sending card sends fault order to main sending card and responds bag.
Step S22, main sending card sends fault order to PC and responds bag.
Fig. 3 shows the concrete communication mechanism flow process of blind spot detection method of the present invention, by above-mentioned Fig. 2, Fig. 3, can clearly understand the concrete steps of LED blind spot detection method of the present invention.
According to the blind point detection device of above-mentioned the present invention and detection method, it can obtain LED module model and display screen specification, and according to the difference of LED module model and screen specification, the LED display of different model is carried out blind spot monitoring, practical, in addition, it can also realize the compatibility of blind spot detection by compatible different generation equipment, compatible good, applied widely.
The present invention is not limited to above-mentioned enforcement mode, every various change to the present invention or modification do not depart from the spirit and scope of the present invention, if these change within the claim and equivalent technologies scope belonging to the present invention with modification, then the present invention also means to comprise these change and modification.