CN113364690B - Method, device, terminal and storage medium for determining network transmission path of receiving card - Google Patents
Method, device, terminal and storage medium for determining network transmission path of receiving card Download PDFInfo
- Publication number
- CN113364690B CN113364690B CN202110430534.8A CN202110430534A CN113364690B CN 113364690 B CN113364690 B CN 113364690B CN 202110430534 A CN202110430534 A CN 202110430534A CN 113364690 B CN113364690 B CN 113364690B
- Authority
- CN
- China
- Prior art keywords
- receiving card
- network
- network port
- coding information
- port
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
-
- 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]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method, a device, a terminal and a storage medium for determining a network transmission path of a receiving card, wherein the method is applied to a four-network-port network card and comprises the following steps: acquiring the network port state data of a receiving card, and generating a network port on-site mark corresponding to the receiving card according to the network port state data. And then acquiring the position information of the receiving card, and determining the address coding information corresponding to the receiving card according to the position information. And finally, the network port on-site mark and the address coding information are transmitted back to preset control system software, and a network transmission path determined by the control system software based on the network port on-site mark and the address coding information is obtained. The invention can realize that the LED display control system automatically plans the network transmission path of the connecting card, and solves the problem that the network transmission path of the LED receiving card needs to be configured by a large amount of manpower in the prior art.
Description
Technical Field
The invention relates to the field of LED display control, in particular to a method, a device, a terminal and a storage medium for determining a network transmission path of a receiving card.
Background
A complete LED display device is composed of an LED display screen and an LED display control system, wherein the LED display control system is composed of a sending card, a receiving card, a front-end video processor and other accessories. Before the LED display equipment is normally used, the LED display control system needs to be configured according to information such as the size of an LED screen and the specification of an LED display module. Currently, a receiving card in an LED display control system generally adopts a dual-port structure, as shown in fig. 2, 4, and 5, one port of the dual-port receiving card is used as an input port, and the other port is used as an output port. Because the traditional dual-network-port receiving card does not have the functions of indicating the direction and determining the relative position between the receiving cards, when the LED display control system is configured, a manual configuration method is usually adopted, and a professional technician manually configures a connection sequence on LED display control system software according to the relative connection relationship between the receiving cards of an LED display screen and the connection relationship between the receiving cards, and determines the coordinate position of the receiving card and other related parameters to complete the configuration of the LED display control system. The configuration process is complex, time-consuming and low in debugging efficiency.
Thus, there is still a need for improvement and development of the prior art.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method, an apparatus, a terminal and a storage medium for determining a network transmission path of a receiving card, aiming at solving the problem that a large amount of manpower is consumed to configure a network transmission path of an LED receiving card in the prior art.
The technical scheme adopted by the invention for solving the problems is as follows:
in a first aspect, an embodiment of the present invention provides a method for determining a network transmission path of a receiving card, where the method is applied to a four-port receiving card, and the method includes:
acquiring network port state data of a receiving card, and generating a network port on-site mark corresponding to the receiving card according to the network port state data;
acquiring the position information of the receiving card, and determining the address coding information corresponding to the receiving card according to the position information;
and returning the network port on-site mark and the address coding information to preset control system software, and acquiring a network transmission path determined by the control system software based on the network port on-site mark and the address coding information.
In one embodiment, the obtaining internet access status data of the receiving card and generating an internet access in-place flag corresponding to the receiving card according to the internet access status data includes:
sending an in-place detection instruction to the receiving card, acquiring an in-place detection network packet generated by the receiving card according to the in-place detection instruction, and sending the in-place detection network packet to an adjacent receiving card network port through a network port of the receiving card;
acquiring an in-place detection response packet returned by the adjacent receiving card network port based on the in-place detection network packet;
and determining the network port state data of the receiving card according to the in-place detection response packet, and generating a network port in-place mark corresponding to the receiving card according to the network port state data.
In one embodiment, the obtaining the location information of the receiving card and determining the address coding information corresponding to the receiving card according to the location information includes:
taking the previous receiving card of the receiving cards as an encoded receiving card;
acquiring address coding information of the coded receiving card;
acquiring coordinate data of the receiving card, and taking the coordinate data of the receiving card as the position information of the receiving card;
and modifying the address coding information of the coded receiving card according to the coordinate data of the receiving card to obtain the address coding information corresponding to the receiving card.
In an embodiment, the modifying the address code information of the encoded receiving card according to the coordinate data of the receiving card to obtain the address code information corresponding to the receiving card includes:
when the receiving card and the coded receiving card are positioned in the same column, acquiring ordinate data in the coordinate data of the receiving card;
modifying the address coding information of the coded receiving card according to the ordinate data to obtain the address coding information corresponding to the receiving card;
when the receiving card and the coded receiving card are positioned in the same row, acquiring abscissa data in the coordinate data of the receiving card;
and modifying the address coding information of the coded receiving card according to the abscissa data to obtain the address coding information corresponding to the receiving card.
In an embodiment, the returning the portal presence flag and the address coding information to a preset control system software and acquiring a network transmission path determined by the control system software based on the portal presence flag and the address coding information includes:
acquiring a main path channel for data transmission, and transmitting the network port on-site mark and the address coding information back to preset control system software according to the main path channel;
acquiring a mesh connection topological graph generated by the control system software according to the address coding information;
and determining a network transmission path according to the network port on-site mark and the mesh connection topological graph.
In one embodiment, the obtaining the main path channel for data transmission, and returning the portal bit flag and the address coding information to the control system software according to the main path channel, includes:
sending a network topology detection query instruction to the receiving card, and acquiring a network detection packet generated by the receiving card based on the network topology detection query instruction;
acquiring a preset path priority sequence, executing a transmission operation on the network detection packet according to the path priority sequence, and taking a data transmission path generated based on the transmission operation as a main path channel;
and transmitting the network port on-site mark and the address coding information back to control system software according to the main path channel.
In one embodiment, the determining a network transmission path according to the portal presence flag and the mesh connection topology map includes:
determining a backup path channel according to the priority sequence of the network ports;
determining a target path channel corresponding to the receiving card in the main path channel and the backup path channel according to the network port in-place mark;
determining an input network port and an output network port corresponding to the receiving card according to the target path channel corresponding to the receiving card;
and determining a network transmission path according to the input network port and the output network port corresponding to the receiving card and the mesh connection topological graph.
In a second aspect, an embodiment of the present invention further provides a device for determining a network transmission path of a receiving card, where the device includes:
the mark generation module is used for acquiring the internet access state data of the receiving card and generating the internet access on-site mark corresponding to the receiving card according to the internet access state data;
the address determining module is used for acquiring the position information of the receiving card and determining the address coding information corresponding to the receiving card according to the position information;
and the path determining module is used for transmitting the network port in-place mark and the address coding information back to preset control system software and acquiring a network transmission path determined by the control system software based on the network port in-place mark and the address coding information.
In a third aspect, an embodiment of the present invention further provides a terminal, where the terminal includes a memory and one or more processors; the memory stores one or more programs; the program includes instructions for executing the method for determining a network transmission path of a receiving card according to any one of the above methods; the processor is configured to execute the program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a plurality of instructions are stored, where the instructions are adapted to be loaded and executed by a processor to implement any of the steps of the receiving card network transmission path determining method described above.
The invention has the beneficial effects that: according to the embodiment of the invention, the network port on-site mark corresponding to the receiving card is generated according to the network port state data by acquiring the network port state data of the receiving card. And then acquiring the position information of the receiving card, and determining the address coding information corresponding to the receiving card according to the position information. And finally, the network port on-site mark and the address coding information are transmitted back to preset control system software, and a network transmission path determined by the control system software based on the network port on-site mark and the address coding information is obtained. The invention can realize that the LED display control system automatically plans the network transmission path of the connecting card, and solves the problem that the network transmission path of the LED receiving card needs to be configured by a large amount of manpower in the prior art.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for determining a network transmission path of a receiving card according to an embodiment of the present invention.
Fig. 2 is a structural diagram of a dual-network-port receiving card according to an embodiment of the present invention.
Fig. 3 is a structural diagram of a four-network-port receiving card according to an embodiment of the present invention.
Fig. 4 is a first connection structure of a dual-network interface receiving card according to an embodiment of the present invention.
Fig. 5 is a second connection structure of a dual-network interface receiving card according to an embodiment of the present invention.
Fig. 6 is a network connection structure of a four-port card receiving device according to an embodiment of the present invention.
Fig. 7 is a setting manner of the active/standby path when the lower left corner of the transmitting card is accessed according to the embodiment of the present invention.
Fig. 8 is a setting manner of the active/standby path when the lower right corner of the sending card is accessed according to the embodiment of the present invention.
Fig. 9 is a setting manner of the active/standby paths when the upper left corner of the sending card is accessed according to the embodiment of the present invention.
Fig. 10 is a setting manner of the active/standby paths when the upper right corner of the sending card is accessed according to the embodiment of the present invention.
Fig. 11 is a schematic diagram of a network transmission path when the primary path of the receiving cards 1 and 2 fails according to an embodiment of the present invention.
Fig. 12 is a schematic diagram of a network transmission path when the primary path of the receiving cards 6 and 7 fails according to an embodiment of the present invention.
Fig. 13 is an internal block diagram of a network transmission path determining apparatus for a receiving card according to an embodiment of the present invention.
Fig. 14 is a functional block diagram of a terminal according to an embodiment of the present invention.
Fig. 15 is a schematic diagram of a fixed display area of a conventional dual-portal receiving card according to an embodiment of the present invention.
Fig. 16 is a schematic diagram of a transmission route of image and video data between a four-port receiving card and a sending card according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative position relationship between the components, the motion situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
A complete LED display device is composed of an LED display screen and an LED display control system, wherein the LED display control system is composed of a sending card, a receiving card, a front-end video processor and other accessories. Before the LED display equipment is normally used, the LED display control system needs to be configured according to information such as the size of an LED screen and the specification of an LED display module. Currently, a receiving card in an LED display control system generally adopts a dual-port structure, as shown in fig. 2, 4, and 5, one port of the dual-port receiving card is used as an input port, and the other port is used as an output port. Because the traditional dual-network-port receiving card does not have the functions of indicating the direction and determining the relative position between the receiving cards, when the LED display control system is configured, a manual configuration method is usually adopted, and a professional technician manually configures the connection sequence on the LED display control system software according to the relative connection relation between the receiving cards on the LED display screen and the connection relation between the receiving cards to determine the coordinate position of the receiving card and other related parameters to complete the configuration of the LED display control system. The configuration process is complex, time-consuming and low in debugging efficiency.
In view of the above-mentioned defects in the prior art, the present invention provides a method for determining a network transmission path of a receiving card, which is applied to a four-port network card, and generates a port in-place flag corresponding to the receiving card according to port state data by acquiring the port state data of the receiving card. And then acquiring the position information of the receiving card, and determining the address coding information corresponding to the receiving card according to the position information. And finally, the network port on-site mark and the address coding information are transmitted back to preset control system software, and a network transmission path determined by the control system software based on the network port on-site mark and the address coding information is obtained. The invention can realize that the LED display control system automatically plans the network transmission path of the connecting card, and solves the problem that the network transmission path of the LED receiving card needs to be configured by a large amount of manpower in the prior art.
As shown in fig. 1, the method comprises the steps of:
step S100, obtaining the network port state data of the receiving card, and generating the network port on-site sign corresponding to the receiving card according to the network port state data.
Specifically, as shown in fig. 3, the receiving card used in this embodiment is a four-portal receiving card with a direction indicating function, and four portals are respectively marked with four transmission directions, i.e., up, down, left, and right. Each receiving card is interconnected with an adjacent receiving card through a network port. The receiving cards can communicate with each other in two directions through the internet access. The receiving card is internally provided with a network cable connection detection functional unit. The network cable detection functional unit can acquire the network port state data of the 4 network ports respectively, namely, the network cable detection functional unit can detect the connection state of each network port and other receiving cards, and generates the network port in-place mark corresponding to each network port based on the state.
In one implementation, the step S100 specifically includes the following steps:
step S101, sending an in-place detection instruction to the receiving card, acquiring an in-place detection network packet generated by the receiving card according to the in-place detection instruction, and sending the in-place detection network packet to an adjacent receiving card network port through a network port of the receiving card;
step S102, acquiring an in-place detection response packet returned by the adjacent receiving card network port based on the in-place detection network packet;
step S103, determining the network port state data of the receiving card according to the in-place detection response packet, and generating a network port in-place mark corresponding to the receiving card according to the network port state data.
Specifically, in order to obtain the connection status between each network port and other receiving cards, in this embodiment, after an in-place detection instruction is sent to each receiving card by the LED display control system to obtain the in-place detection instruction, an in-place detection network packet is generated by the network cable detection function unit built in the receiving card, and each network port of the receiving card forwards the in-place detection network packet to the network ports of other receiving cards adjacent to the network port. After the network ports of other receiving cards acquire the in-place detection network packet, an in-place detection response packet is generated according to the in-place detection network packet, and the original path of the in-place detection response packet is returned to the network port which sends the in-place detection network packet. When the network port of the receiving card receives the in-place detection response packet, the network port indicates that the network port has normal functions and can normally perform data communication with other receiving cards, and then an in-place mark is generated. When the network port of the receiving card cannot receive the in-place detection response packet, the network port is abnormal in function and cannot exchange data with other receiving cards, and an out-of-place mark is generated.
As shown in fig. 1, the method further comprises the steps of:
and S200, acquiring the position information of the receiving card, and determining the address coding information corresponding to the receiving card according to the position information.
Specifically, the LED display control system needs to perform address coding on each receiving card, where the address coding can be used as an identity mark of each receiving card and can reflect the position of each receiving card in the LED large screen.
In an implementation manner, the step S200 specifically includes the following steps:
step S201, using the previous receiving card of the receiving cards as an encoded receiving card;
step S202, acquiring address coding information of the coded receiving card;
step S203, acquiring coordinate data of the receiving card, and taking the coordinate data of the receiving card as the position information of the receiving card;
and step S204, modifying the address coding information of the coded receiving card according to the coordinate data of the receiving card to obtain the address coding information corresponding to the receiving card.
In short, the present embodiment sequentially performs address coding on each receiving card according to the position of each receiving card on the LED large screen. For example, if the receiving card located at the position with the coordinate of (0, 0) on the LED large screen is the first receiving card, the first address code information is obtained after the first receiving card is encoded, and then the next receiving card is subjected to address encoding, for example, if the receiving card located at the position with the coordinate of (0,1) on the LED large screen is the second receiving card, the second receiving card may modify the address code information of the first receiving card according to the coordinate data of the second receiving card, and further obtain the address code information of the second receiving card.
In one implementation, when the second receiving card is in the same column as the first receiving card, since the ordinate in the coordinate data is the same, the address code information of the second receiving card can be obtained only by modifying the abscissa in the address code information of the first receiving card. For example, as shown in fig. 6, the receiving card is encoded according to the direction of the network port according to the coordinates (X, y), and the address code information of the first receiving card connected to the transmitting card is (0,0), the address code information of the adjacent receiving card connected to the right network port of the first receiving card can be obtained by adding 1,Y coordinates to the X coordinate in the address code information of the first receiving card and keeping the same. Similarly, the address code information of the adjacent receiving card connected with the left network port of the first receiving card can be obtained by subtracting 1 from the X coordinate in the address code information of the first receiving card. The Y coordinate remains unchanged.
In one implementation, when the second receiving card and the first receiving card are in the same row, since the abscissa in the coordinate data of the second receiving card and the first receiving card is the same, the address code information of the second receiving card can be obtained only by modifying the ordinate in the address code information of the first receiving card. For example, the following steps are carried out: as shown in fig. 6, if the address code information of the first receiving card connected to the transmitting card is (0,0), the address code information of the adjacent receiving card connected to the internet access port of the first receiving card can be obtained by adding 1 to the X coordinate of the address code information in the first receiving card while keeping the X coordinate unchanged. Similarly, the address code information of the adjacent receiving card connected with the lower port of the first receiving card can be kept unchanged by the X coordinate in the address code information of the first receiving card. The Y coordinate is subtracted by 1.
As shown in fig. 1, the method further comprises the steps of:
step S300, the network port in-place mark and the address coding information are transmitted back to preset control system software, and a network transmission path determined by the control system software based on the network port in-place mark and the address coding information is obtained.
Specifically, each receiving card has four network ports, and each network port has two transmission directions of input and output, and 8 transmission channels in total. If the data transmission path is irregular, the data transmission is easy to be confused. Therefore, when the path detection is performed on the receiving card, the states (i.e., the network port in-place marks) of the four network ports of each receiving card and the address coding information of each receiving card are acquired according to a default path, and are firstly transmitted back to the control system software through the default path, and then the control system software is used for determining a proper network transmission path by combining the states of the network ports of each receiving card.
In one implementation, the step S300 specifically includes the following steps:
step S301, acquiring a main path channel for data transmission, and transmitting the network port in-place mark and the address coding information back to preset control system software according to the main path channel;
step S302, acquiring a mesh connection topological graph generated by the control system software according to the address coding information;
step S303, determining a network transmission path according to the network port in-place mark and the mesh connection topological graph.
Specifically, the present embodiment takes the default path of data transmission as the main path channel. In an implementation manner, in order to determine the main path channel, the embodiment needs to send a network topology detection query instruction to the receiving card, the receiving card generates a network detection packet after receiving the network topology detection query instruction, then the receiving card forwards the network detection packet according to a preset path priority order, and sequentially transfers the network detection packet, and after the transfer is completed, the main path channel is generated (as shown in fig. 7, 8, 9, and 10).
For example, assuming that the priority of the input/output ports of the currently set receiving cards is set according to the priority of the upper, lower, left, and right, as shown in fig. 7, the first receiving card is addressed to (0,0) (i.e., the first receiving card connected to the sending card at the lower left corner), and according to the priority of the output port, the main path is output to the second receiving card addressed to (0,1) in the radial direction, and the right output port output is marked as the backup port output, and the second receiving card sets the main path to the upward port according to the output order of the upper, lower, left, and right ports, and simultaneously marks the output network packet to the right port as the backup network packet, and up to the 4 th card at the upper left corner, according to the priority order of the upper, lower, left, and right ports, because the upper net mouth and the left net mouth are not connected with the net wire, the upper net mouth and the left net mouth are not used as the output port, the downward net mouth is the main path input port of the card, and the downward net mouth is not used as the output port, so the right net mouth is used as the main output path of the receiving card 4 and is transmitted to the receiving card 8, the upper net mouth of the receiving card 8 is not connected with the net wire, the left net mouth is used as the input port, so only the right net mouth and the downward net mouth are left for use, according to the upper-lower-left-right priority sequence of the net mouths of the receiving card, on the premise that the upper net mouth cannot be used, the downward net mouth is used as the main output net mouth, the downward net mouth is used as the main path, the backup data packet is transmitted to the right net mouth, and at this moment, the main path of the receiving card 8 can point to the receiving card 7 downwards. The upper net mouth in the upper, lower, left and right 4 net mouths of the receiving card 7 receives the main path data packet, the left net mouth receives the backup data packet, the downward transmission is continued according to the priority principle of the upper, lower, left and right net mouths until the receiving card 5, the upper net mouth receives the main path data in the upper, lower, left and right 4 net mouths of the receiving card 5, the left net mouth receives the backup data, the lower net mouth is not available, the right net mouth is selected to transmit data, the analogy is repeated until the receiving card 13 is connected to the last receiving card, the upper net mouth in the upper, lower, left and right 4 net mouths of the receiving card 13 receives the main path data, the left net mouth receives the backup data, the right net mouth and the lower net mouth are not connected with the network cable, and the main path is finally terminated at the receiving card 13.
After the main path channel is determined, the network port in-place marks corresponding to the four network ports of each receiving card and the address coding information of each receiving card are transmitted back to the control system software for decision making through the main path channel. After the control system software obtains the network port in-place flags and the address coding information of all the receiving cards, it first determines the relative position relationship between each receiving card, i.e. the relative position relationship between each network port, according to the address coding information of all the receiving cards, thereby determining a mesh connection topology map (as shown in fig. 6) that can reflect the relative position relationship between the receiving cards and the relative position relationship between the network ports. And then determining which network ports in each receiving card can normally transmit data and which network ports cannot transmit data according to the previously obtained network port on-site marks. Specifically, in order to avoid confusion of data transmission, in this embodiment, a network port priority order is preset, and through the network port priority order, not only the main path channel of data transmission but also the backup path channel of data transmission can be determined. When four network ports in one receiving card can normally transmit data, transmitting according to the main path channel; and when the network port related to the main path in one receiving card can not normally transmit data, the backup path is adopted for transmission. Therefore, in this embodiment, the target path channel corresponding to the receiving card needs to be determined in the main path channel and the backup path channel according to the returned network port presence flag. After the target path channel corresponding to each receiving card is determined, the input port and the output port corresponding to each receiving card can be respectively determined, and the control system software can comprehensively decide a suitable network transmission path (as shown in fig. 11 and 12) capable of normally transmitting data by combining with the mesh connection topology structure diagram obtained previously.
For example, as shown in fig. 11, when a network between receiving card 1 and receiving card 2 fails, at a red X mark in the figure, neither the left network port nor the upper network port can communicate, and the lower network port is connected to the transmitting card, so that the main path is output from the upper network port of receiving card 5 to receiving card 5 according to a preset network port priority order after reaching receiving card 5, the upper network port is selected as an output main path according to the preset network port priority order after the lower network port of receiving card 6 receives the network communication, the left network port and the right network port of receiving card 6 are selected as backup paths to output backup data, and receiving card 7 and receiving card 8 also determine the main path and the backup path according to the preset network port priority order. And when the receiving card receives a plurality of backup paths at the same time, selecting an input path and an output path according to a preset priority order of the network ports. For example, the lower port and the right port of the receiving card 3 receive the backup data at the same time, and the communication data of the lower port is selected according to the preset port priority order and output to the upper port. The lower network port of the receiving card 8 receives the communication data of the main path, the left network port receives the backup network data, the upper network port is dislocated, the main path is output to the receiving card 12 from the right network port according to the preset priority sequence of the network ports, the receiving card 12 outputs the data of the main path from the lower network port of the receiving card 12 according to the preset priority sequence of the network ports, meanwhile, the backup data is output from the right network port of the receiving card 12, the receiving card 11, the receiving card 10 and the receiving card 9 input and output the network data according to the preset priority sequence of the network ports, after the receiving card 9, the left network port receives the backup data due to the dislocated lower network port, so the data is output to the receiving card 13 from the right network port according to the preset priority sequence of the network ports, and the receiving card returns to the receiving card 16 from the receiving card 13 according to the principle that the data of the main path is prior to the backup path.
For example, as shown in fig. 12, a network fault exists between the receiving card 6 and the receiving card 7, where a red X mark exists in the figure, at this time, communication cannot be performed between the upper network port of the receiving card 6 and the lower network port of the receiving card 7, after the main path is transmitted to the receiving card 7, since the left network port has already received the backup data, data is no longer transmitted to the left network port, and finally, the right network port reaches the receiving card 11 as the main output path, and after reaching the receiving card 11, the main path data is output to the upper network port of the receiving card 11 according to the preset priority order of the network ports, and the remaining right network port and lower network port output as backup paths to output the backup data. The receiving card 10 receives the data of the lower port of the receiving card 11 and the right port of the receiving card 6 at the same time, and selects the communication data received by the upper port according to the preset priority order of the ports when receiving the two backup path data at the same time. And simultaneously transmitting the data to the right network port and the lower network port. Since receiving card 16 only receives the main path data of the left network port and the network access and the right network port are out of position, the main path data is transmitted to receiving card 15 from the lower network port, the main path data is received by the network access of receiving card 15, the backup path data is received by the left network port, the main path data is transmitted to the network access of receiving card 14 according to the principle of priority of the main path data, and the receiving card 14 is transmitted to receiving card 13 according to the same principle.
Since the four-portal receiving card is adopted in the embodiment, compared with the conventional dual-portal receiving card, the display range of each receiving card is larger in the embodiment. Specifically, as shown in fig. 15, for a conventional dual-portal receiving card, each sending card can only send image video data of a fixed area, and therefore, the dual-portal receiving card corresponding to each sending card can only be used for displaying the image video data of the fixed area, for example, sending card 0 can only send image video data of areas where receiving cards 0-3 are located, or sending card 1 can only send image video data of areas where receiving cards 4-7 are located. As shown in fig. 16, since four network interface receiving cards are used in this embodiment, all the four network interface receiving cards can be connected through four network interfaces of each four network interface receiving card to obtain a mesh line, and image video data is transmitted according to the mesh line, so that all the four network interface receiving cards can receive image video data sent by each sending card, and the display area of each four network interface receiving card is expanded to the display area formed by all the sending cards.
Based on the foregoing embodiment, the present invention further provides a device for determining a network transmission path of a receiving card, as shown in fig. 13, where the device includes:
the mark generation module 01 is configured to obtain the internet access status data of the receiving card, and generate an internet access in-place mark corresponding to the receiving card according to the internet access status data;
the address determining module 02 is configured to obtain position information of the receiving card, and determine address coding information corresponding to the receiving card according to the position information;
and the path determining module 03 is configured to transmit the network port presence flag and the address coding information back to preset control system software, and acquire a network transmission path determined by the control system software based on the network port presence flag and the address coding information.
Based on the above embodiments, the present invention further provides a terminal, and a schematic block diagram thereof may be as shown in fig. 14. The terminal comprises a processor, a memory, a network interface and a display screen which are connected through a system bus. Wherein the processor of the terminal is configured to provide computing and control capabilities. The memory of the terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the terminal is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a receiving card network transmission path determining method. The display screen of the terminal can be a liquid crystal display screen or an electronic ink display screen.
It will be appreciated by those skilled in the art that the block diagram of fig. 14 is only a block diagram of a part of the structure associated with the solution of the present invention, and does not constitute a limitation to the terminal to which the solution of the present invention is applied, and a specific terminal may include more or less components than those shown in the drawings, or may combine some components, or have a different arrangement of components.
In one implementation, one or more programs are stored in a memory of the terminal and configured to be executed by one or more processors include instructions for performing a receiving card network transmission path determination method.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
In summary, the present invention discloses a method, an apparatus, a terminal and a storage medium for determining a network transmission path of a receiving card, wherein the method comprises: acquiring the network port state data of a receiving card, and generating a network port on-site mark corresponding to the receiving card according to the network port state data. And then acquiring the position information of the receiving card, and determining the address coding information corresponding to the receiving card according to the position information. And finally, the network port on-site mark and the address coding information are transmitted back to preset control system software, and a network transmission path determined by the control system software based on the network port on-site mark and the address coding information is obtained. The invention can realize that the LED display control system automatically plans the network transmission path of the connecting card, and solves the problem that the network transmission path of the LED receiving card needs to be configured by a large amount of manpower in the prior art.
It will be understood that the invention is not limited to the examples described above, but that modifications and variations will occur to those skilled in the art in light of the above teachings, and that all such modifications and variations are considered to be within the scope of the invention as defined by the appended claims.
Claims (7)
1. A method for determining network transmission path of receiving card is characterized in that the method is applied to a four-network-port receiving card, and comprises the following steps:
acquiring network port state data of a receiving card, and generating a network port on-site mark corresponding to the receiving card according to the network port state data;
acquiring the position information of the receiving card, and determining the address coding information corresponding to the receiving card according to the position information;
the network port on-site mark and the address coding information are transmitted back to preset control system software, and a network transmission path determined by the control system software based on the network port on-site mark and the address coding information is obtained;
the four network interface receiving cards have a direction indicating function, and the four network cards are respectively marked with an upper transmission direction, a lower transmission direction, a left transmission direction and a right transmission direction;
the step of transmitting the network port on-site flag and the address coding information back to preset control system software and acquiring a network transmission path determined by the control system software based on the network port on-site flag and the address coding information includes:
acquiring a main path channel for data transmission, and transmitting the network port on-site mark and the address coding information back to preset control system software according to the main path channel;
acquiring a mesh connection topological graph generated by the control system software according to the address coding information;
determining a network transmission path according to the network port in-place mark and the mesh connection topological graph;
the obtaining the main path channel for data transmission, and returning the network port on-site flag and the address coding information to the control system software according to the main path channel, includes:
sending a network topology detection query instruction to the receiving card, and acquiring a network detection packet generated by the receiving card based on the network topology detection query instruction;
acquiring a preset path priority sequence, executing transmission operation on the network detection packet according to the path priority sequence, and taking a data transmission path generated based on the transmission operation as a main path channel;
according to the main path channel, the network port on-site mark and the address coding information are transmitted back to control system software;
the determining a network transmission path according to the network port presence flag and the mesh connection topology map includes:
determining a backup path channel according to the sequence of the network port priority;
determining a target path channel corresponding to the receiving card in the main path channel and the backup path channel according to the network port in-place mark;
determining an input network port and an output network port corresponding to the receiving card according to the target path channel corresponding to the receiving card;
determining a network transmission path according to the input port and the output port corresponding to the receiving card and the mesh connection topological graph;
the path priority is determined based on the network port priority, and the network port priority is set according to the upper, lower, left and right priorities.
2. A method as claimed in claim 1, wherein the obtaining of the network port status data of the receiving card and the generating of the network port in-place flag corresponding to the receiving card according to the network port status data includes:
sending an in-place detection instruction to the receiving card, acquiring an in-place detection network packet generated by the receiving card according to the in-place detection instruction, and sending the in-place detection network packet to an adjacent receiving card network port through a network port of the receiving card;
acquiring an in-place detection response packet returned by the adjacent receiving card network port based on the in-place detection network packet;
and determining the network port state data of the receiving card according to the in-place detection response packet, and generating a network port in-place mark corresponding to the receiving card according to the network port state data.
3. A method as claimed in claim 1, wherein the obtaining the location information of the receiving card and determining the address code information corresponding to the receiving card according to the location information comprises:
taking the previous receiving card of the receiving cards as an encoded receiving card;
acquiring address coding information of the coded receiving card;
acquiring coordinate data of the receiving card, and taking the coordinate data of the receiving card as the position information of the receiving card;
and modifying the address coding information of the coded receiving card according to the coordinate data of the receiving card to obtain the address coding information corresponding to the receiving card.
4. A method as claimed in claim 3, wherein the step of modifying the address code information of the encoded receiving card according to the coordinate data of the receiving card to obtain the address code information corresponding to the receiving card comprises:
when the receiving card and the coded receiving card are positioned in the same column, acquiring ordinate data in the coordinate data of the receiving card;
modifying the address coding information of the coded receiving card according to the ordinate data to obtain the address coding information corresponding to the receiving card;
when the receiving card and the coded receiving card are positioned in the same row, acquiring abscissa data in the coordinate data of the receiving card;
and modifying the address coding information of the coded receiving card according to the abscissa data to obtain the address coding information corresponding to the receiving card.
5. A reception card network transmission path determination apparatus, the apparatus comprising:
the mark generation module is used for acquiring the internet access state data of the receiving card and generating the internet access on-site mark corresponding to the receiving card according to the internet access state data;
the address determining module is used for acquiring the position information of the receiving card and determining the address coding information corresponding to the receiving card according to the position information;
the path determining module is used for transmitting the network port on-site mark and the address coding information back to preset control system software and acquiring a network transmission path determined by the control system software based on the network port on-site mark and the address coding information;
the four network interface receiving cards have a direction indicating function, and the four network cards are respectively marked with an upper transmission direction, a lower transmission direction, a left transmission direction and a right transmission direction;
the returning of the network port in-place mark and the address coding information to preset control system software and the obtaining of the network transmission path determined by the control system software based on the network port in-place mark and the address coding information include:
acquiring a main path channel for data transmission, and transmitting the network port in-place mark and the address coding information back to preset control system software according to the main path channel;
acquiring a mesh connection topological graph generated by the control system software according to the address coding information;
determining a network transmission path according to the network port on-site mark and the mesh connection topological graph;
the obtaining the main path channel for data transmission, and returning the network port on-site flag and the address coding information to the control system software according to the main path channel, includes:
sending a network topology detection query instruction to the receiving card, and acquiring a network detection packet generated by the receiving card based on the network topology detection query instruction;
acquiring a preset path priority sequence, executing transmission operation on the network detection packet according to the path priority sequence, and taking a data transmission path generated based on the transmission operation as a main path channel;
according to the main path channel, the network port on-site mark and the address coding information are transmitted back to control system software;
the determining a network transmission path according to the network port presence flag and the mesh connection topology map includes:
determining a backup path channel according to the sequence of the network port priority;
determining a target path channel corresponding to the receiving card in the main path channel and the backup path channel according to the network port in-place mark;
determining an input network port and an output network port corresponding to the receiving card according to the target path channel corresponding to the receiving card;
determining a network transmission path according to the input network port and the output network port corresponding to the receiving card and the mesh connection topological graph;
the path priority is determined based on the network port priority, and the network port priority is set according to the upper, lower, left and right priorities.
6. A terminal, comprising a memory and one or more processors; the memory stores one or more programs; the program includes instructions for executing the reception card network transmission path determination method according to any one of claims 1 to 4; the processor is configured to execute the program.
7. A computer readable storage medium having stored thereon a plurality of instructions adapted to be loaded and executed by a processor to perform the steps of the method for determining network transmission paths of a receiver card according to any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110430534.8A CN113364690B (en) | 2021-04-21 | 2021-04-21 | Method, device, terminal and storage medium for determining network transmission path of receiving card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110430534.8A CN113364690B (en) | 2021-04-21 | 2021-04-21 | Method, device, terminal and storage medium for determining network transmission path of receiving card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113364690A CN113364690A (en) | 2021-09-07 |
CN113364690B true CN113364690B (en) | 2023-01-31 |
Family
ID=77525433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110430534.8A Active CN113364690B (en) | 2021-04-21 | 2021-04-21 | Method, device, terminal and storage medium for determining network transmission path of receiving card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113364690B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114078402A (en) * | 2021-11-12 | 2022-02-22 | 深圳市迈普视通科技有限公司 | Automatic connection method and device for LED display screen, electronic equipment and medium |
CN116110350B (en) * | 2023-02-14 | 2023-08-11 | 北京显芯科技有限公司 | LED control system, electronic equipment and data processing method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107331343A (en) * | 2017-07-07 | 2017-11-07 | 深圳市明微电子股份有限公司 | A kind of display screen and data transfer path planing method, resolution ratio expanding method |
CN112235630A (en) * | 2020-09-28 | 2021-01-15 | 卡莱特(深圳)云科技有限公司 | Data backup transmission method, LED mesh loop backup system and electronic equipment |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102157131A (en) * | 2011-04-15 | 2011-08-17 | 深圳市摩西尔电子有限公司 | LED (Light Emitting Diode) display screen and LED control system |
WO2015043139A1 (en) * | 2013-09-26 | 2015-04-02 | 西安诺瓦电子科技有限公司 | Led lamp panel, control card of led display screen, and led display screen system |
CN104361864B (en) * | 2014-12-01 | 2017-06-27 | 杭州士兰微电子股份有限公司 | LED modules and its port controlling method and LED display system |
CN104486211B (en) * | 2014-12-09 | 2017-12-26 | 深圳视爵光旭电子有限公司 | Data frame route device and LED display control programs |
CN205487274U (en) * | 2016-02-24 | 2016-08-17 | 西安诺瓦电子科技有限公司 | LED box and LED display screen system |
CN111653231B (en) * | 2019-02-18 | 2021-07-09 | 西安诺瓦星云科技股份有限公司 | Display screen configuration method, device and system and display control system |
CN112445445B (en) * | 2019-08-29 | 2023-08-15 | 西安诺瓦星云科技股份有限公司 | Screen matching method and device, system controller and LED display |
CN111767015B (en) * | 2020-06-29 | 2024-01-23 | 西安青松光电技术有限公司 | Display screen control method, device, equipment, system and storage medium |
CN112331133A (en) * | 2020-08-24 | 2021-02-05 | 浙江宇视科技有限公司 | Display control method, device, medium and system of LED screen |
-
2021
- 2021-04-21 CN CN202110430534.8A patent/CN113364690B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107331343A (en) * | 2017-07-07 | 2017-11-07 | 深圳市明微电子股份有限公司 | A kind of display screen and data transfer path planing method, resolution ratio expanding method |
CN112235630A (en) * | 2020-09-28 | 2021-01-15 | 卡莱特(深圳)云科技有限公司 | Data backup transmission method, LED mesh loop backup system and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113364690A (en) | 2021-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113364690B (en) | Method, device, terminal and storage medium for determining network transmission path of receiving card | |
CN111967236B (en) | Message processing method, device, computer equipment and storage medium | |
CN105353989A (en) | Stored data access method, related controller, device, mainframe and system | |
CN111629371B (en) | Screen projection method and system | |
CN109491671A (en) | Diagnostic software method for down loading, device, terminal device and storage medium | |
EP3905740A1 (en) | Sim card registration method and apparatus, computer device, and storage medium | |
CN107015912A (en) | Realize system, method, device and the electronic equipment of remote debugging | |
CN110933170A (en) | Multi-device linkage control method and device of ZigBee gateway and storage medium | |
CN109360142B (en) | Multi-channel graphic output control method based on ZYNQ | |
CN108388943B (en) | Pooling device and method suitable for neural network | |
CN107645430B (en) | Data processing method, system and related equipment | |
CN114390042B (en) | Industrial communication method, industrial communication system, device, and storage medium | |
CN113364607B (en) | Receiving card connection topological structure determining method, device, terminal and storage medium | |
CN115695077A (en) | Bus data receiving method and device, electronic equipment and storage medium | |
CN111740972B (en) | Method, device, equipment and storage medium for updating communication protocol stack information | |
CN111371799B (en) | Method, device and equipment for controlling data receiving and transmitting of MCTP (Multi-channel media Port) controller | |
CN113206786B (en) | Method and device for training intelligent agent | |
CN112506684A (en) | Method, system and storage medium for quickly transmitting big data across processes | |
US12019571B1 (en) | Communication method for multi-chip neural network algorithm based on FPGA main control | |
CN109388498A (en) | A kind of processing method of mutual exclusion, device, equipment and medium | |
CN111666243B (en) | Debugging device, method and storage medium | |
CN110704899B (en) | Connecting node placement method and device for tiger window model and roof opening model | |
CN113949628B (en) | Automatic equipment adding method and system | |
CN112765915B (en) | Communication port connection method, terminal and storage medium | |
CN111405040B (en) | Real-time data processing method, device and equipment |
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 |