CN112235630B - Data backup transmission method, LED mesh loop backup system and electronic equipment - Google Patents
Data backup transmission method, LED mesh loop backup system and electronic equipment Download PDFInfo
- Publication number
- CN112235630B CN112235630B CN202011042055.0A CN202011042055A CN112235630B CN 112235630 B CN112235630 B CN 112235630B CN 202011042055 A CN202011042055 A CN 202011042055A CN 112235630 B CN112235630 B CN 112235630B
- Authority
- CN
- China
- Prior art keywords
- interface
- network transceiving
- video data
- preset
- led box
- 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
- 230000005540 biological transmission Effects 0.000 title claims abstract description 99
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000012544 monitoring process Methods 0.000 claims abstract description 48
- 238000004891 communication Methods 0.000 claims description 19
- 230000002159 abnormal effect Effects 0.000 abstract description 12
- 230000008569 process Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 238000003491 array Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/4425—Monitoring of client processing errors or hardware failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The embodiment of the invention provides a data backup transmission method, an LED mesh loop backup system and electronic equipment, comprising the following steps: monitoring the video data transmission condition of the current network transceiving interface in the LED box body to obtain data transmission performance; monitoring the average data transmission performance of the current network transceiving interface within a preset time under the condition that the data transmission performance is not within a preset performance index range; under the condition that the average data transmission performance is not within the range of the preset performance index, selecting a target network transceiving interface from backup network transceiving interfaces; and switching the current network transceiving interface to a target network transceiving interface, so that the LED box body transmits video data through the target network transceiving interface. By applying the scheme provided by the invention, when the network transceiving interface which is transmitting the video data in the LED box body is abnormal, the abnormal network transceiving interface is cut off, and the backup network transceiving interface is switched to transmit the video data, so that the video data can be stably and reliably transmitted between the LED box bodies.
Description
Technical Field
The present invention relates to the field of LED technologies, and in particular, to a data backup transmission method, an LED mesh loop backup system, and an electronic device.
Background
The large screen in the LED system is usually composed of a plurality of LED boxes, each LED box is provided with a receiving card, the LED boxes are cascaded through network transceiving interfaces on the receiving card, video data to be displayed is transmitted between the LED boxes through each network transceiving interface, and the video data is transmitted to each LED box and then displayed, so that the large screen displays the video data to be displayed.
As the size of the large screen is increased, the number of the included LED boxes is increased, and when a network transceiving interface on one LED box has a problem, video data transmission is interrupted, which causes a black screen of the large screen. Therefore, how to ensure stable and reliable transmission of video data between LED boxes gradually becomes a problem of increasing concern for developers.
Disclosure of Invention
The embodiment of the invention provides a data backup transmission method, an LED mesh loop backup system and electronic equipment, so as to achieve the technical effect of ensuring stable and reliable transmission of video data between LED boxes.
In one aspect of the present invention, a data backup transmission method is provided, which is applied to an LED mesh loop backup system, where each LED box in the LED mesh loop backup system is correspondingly provided with a receiving card, each receiving card includes at least 3 network transceiving interfaces, so that each LED box is connected with each adjacent LED box through the network transceiving interfaces to form a mesh loop backup system, and the method includes:
monitoring the video data transmission condition of a current network transceiving interface which is used for transmitting video data currently in the LED box body to obtain the data transmission performance of the current network transceiving interface;
monitoring the average data transmission performance of the current network transceiving interface within a preset time length;
under the condition that the average data transmission performance is not within the range of the preset performance index, selecting a target network transceiving interface from backup network transceiving interfaces, wherein the backup network transceiving interfaces are network transceiving interfaces in the LED box body except the current network transceiving interface;
and switching the current network transceiving interface to the target network transceiving interface so that the LED box body transmits video data through the target network transceiving interface.
Optionally, the method further includes:
after each LED box receives the transmitted video data, the preset serial numbers of the video contents in the video data are utilized, and the target video contents are selected according to the preset video content selection rule, so that the LED boxes display the target video contents.
Optionally, the step of monitoring a video data transmission status of a current network transceiving interface currently used for transmitting video data in the LED box to obtain a data transmission performance of the current network transceiving interface includes:
monitoring the total code number and the error code number of video data transmitted by a current network transceiving interface which is used for transmitting the video data currently in the LED box body in unit time;
and calculating the error rate by using the total code number and the error code number, and taking the error rate as the data transmission performance of the current network transceiving interface.
Optionally, the step of selecting the target network transceiving interface from the backup network transceiving interfaces includes:
acquiring preset priorities of each backup network transceiving interface on the LED box body;
determining whether a backup network transceiving interface with a preset priority higher than that of the current network transceiving interface exists;
if the network receiving and sending interface exists, determining a backup network receiving and sending interface with the preset priority higher than the current network receiving and sending interface as a target network receiving and sending interface;
and if the network receiving and transmitting interface does not exist, determining the backup network receiving and transmitting interface with the next level of preset priority of the current network receiving and transmitting interface as a target network receiving and transmitting interface.
Optionally, the step of selecting the target video content according to a preset video content selection rule by using a preset number of each video content in the video data includes:
acquiring a preset number of each LED box body;
and selecting target video content according to a preset number matching rule by using the preset number of each video content in the video data and the preset number of each LED box.
In another aspect of the present invention, there is provided an LED mesh loop backup system, where each LED box in the LED mesh loop backup system is correspondingly provided with a receiving card, each receiving card includes at least 3 network transceiving interfaces, so that each LED box is connected with each adjacent LED box through the network transceiving interfaces to form the mesh loop backup system, where the system includes:
the first performance monitoring module is used for monitoring the video data transmission condition of a current network transceiving interface which is used for transmitting video data currently in the LED box body to obtain the data transmission performance of the current network transceiving interface;
the second performance monitoring module is connected with the first performance monitoring module and used for monitoring the average data transmission performance of the current network transceiving interface within a preset time length under the condition that the data transmission performance is not within a preset performance index range;
the interface selection module is connected with the second performance monitoring module and used for selecting a target network transceiving interface from backup network transceiving interfaces under the condition that the average data transmission performance is not within the range of the preset performance index, wherein the backup network transceiving interfaces are network transceiving interfaces in the LED box body except the current network transceiving interface;
and the interface switching module is connected with the interface selection module and used for switching the current network transceiving interface into the target network transceiving interface so that the LED box body transmits video data through the target network transceiving interface.
Optionally, the method further includes:
and the video display module is used for selecting target video content according to a preset video content selection rule by utilizing the preset number of each video content in the video data after each LED box body receives the transmitted video data so as to enable the LED box body to display the target video content.
Optionally, the first performance monitoring module includes:
the monitoring unit is used for monitoring the total code number and the error code number of video data transmitted by the current network transceiving interface which is used for transmitting the video data in the LED box body in unit time;
and the calculating unit is connected with the monitoring unit and the interface determining module and is used for calculating the error rate by utilizing the total code number and the error code number, and taking the error rate as the data transmission performance of the current network transceiving interface.
Optionally, the interface switching module includes:
the acquisition unit is connected with the interface determination module and is used for acquiring the preset priority of each backup network transceiving interface on the LED box body;
the determining unit is connected with the acquiring unit and is used for determining whether a backup network transceiving interface with a preset priority higher than the current network transceiving interface exists or not; if the network receiving and sending interface exists, determining a backup network receiving and sending interface with the preset priority higher than the current network receiving and sending interface as a target network receiving and sending interface; and if the current network transceiving interface does not exist, determining the backup network transceiving interface with the next level preset priority of the current network transceiving interface as the target network transceiving interface.
In another aspect of the present invention, an electronic device is further provided, which includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing processor-executable instructions;
and the processor is used for realizing any data backup transmission method when executing the instructions stored in the memory.
The data backup transmission method, the LED mesh loop backup system and the electronic equipment provided by the embodiment of the invention can monitor the video data transmission condition of the current network transceiving interface for transmitting video data in the LED box body at present, and obtain the data transmission performance of the current network transceiving interface; monitoring the average data transmission performance of the current network transceiving interface within a preset time length under the condition that the data transmission performance is not within a preset performance index range; under the condition that the average data transmission performance is not within the preset performance index range, selecting a target network transceiving interface from backup network transceiving interfaces, wherein the backup network transceiving interfaces are network transceiving interfaces in the LED box body except the current network transceiving interface; and switching the current network transceiving interface to the target network transceiving interface so that the LED box body transmits video data through the target network transceiving interface. By applying the scheme provided by the invention, at least 3 network transceiving interfaces are arranged on the receiving card, the LED box bodies are connected through each network transceiving interface to form a mesh loop backup system, when the current network transceiving interface in the LED box bodies, which is transmitting the video data, is abnormal, the abnormal network transceiving interface is cut off, and the backup network transceiving interface is switched to transmit the video data, so that the video data can be stably and reliably transmitted between the LED box bodies.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
fig. 1 is a schematic structural diagram of a first LED mesh loop backup system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a data backup transmission method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a second LED mesh loop backup system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the following embodiments and accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
Referring to fig. 1, a schematic structural diagram of a first LED mesh loop backup system according to an embodiment of the present invention is shown, where each LED box in the LED mesh loop backup system is correspondingly provided with a receiving card, each receiving card includes at least 3 network transceiving interfaces, so that each LED box is connected to each adjacent LED box through the network transceiving interfaces to form a mesh loop backup system, 4 transmitting cards are respectively connected to the LED boxes at 4 corners, that is, the receiving cards arranged on the 4 LED boxes at the upper left corner, the upper right corner, the lower left corner, and the lower right corner are respectively connected to one transmitting card, and each transmitting card is connected to upper computer software.
In implementation, the network transceiving interface may adopt a gigabit network port; and wireless network transceiving interfaces, such as an infrared network transceiving interface, a bluetooth network transceiving interface, and the like, can be adopted in order to reduce the wiring process.
The user sends the video data to be displayed to each sending card through the upper computer software, each sending card forwards the video data to the receiving card connected with the sending card, and the video data are transmitted among the LED box bodies through the network transceiving interfaces on the receiving cards.
In implementation, the data transmission quality of each network transceiver interface on the LED box may be detected in advance, and priorities are allocated to each network transceiver interface according to the data transmission quality, where the higher the data transmission quality is, the higher the priority is, for example, the higher the upper limit of data transmission amount per second is; taking the network transceiving interface with the highest priority as a default network transceiving interface, and taking other network transceiving interfaces as backup network transceiving interfaces;
in the video transmission process, the video data transmission condition of a current network transceiving interface for transmitting video data in the LED box body can be monitored, and under the condition that the network transceiving interface is not switched, the current network transceiving interface is also a default network transceiving interface, so that the data transmission performance of the current network transceiving interface is obtained; monitoring the average data transmission performance of the current network transceiving interface within a preset time under the condition that the data transmission performance is not within a preset performance index range; under the condition that the average data transmission performance is not within the range of the preset performance index, selecting a target network transceiving interface from backup network transceiving interfaces, wherein the backup network transceiving interfaces are network transceiving interfaces in the LED box body except the current network transceiving interface; the current network transceiving interface is switched to the target network transceiving interface, so that the LED box body transmits the video data through the target network transceiving interface, the abnormal network transceiving interface is cut off when the current network transceiving interface in the LED box body is abnormal, the backup network transceiving interface is switched to transmit the video data, and the video data are transmitted stably and reliably between the LED box bodies.
Referring to fig. 2, a schematic flow chart of a data backup transmission method provided in an embodiment of the present invention is applied to an LED mesh loop backup system, where each LED box in the LED mesh loop backup system is correspondingly provided with a receiving card, each receiving card includes at least 3 network transceiving interfaces, so that each LED box is connected to each adjacent LED box through the network transceiving interfaces to form a mesh loop backup system, and the method includes:
s200, monitoring the video data transmission condition of the current network transceiving interface for transmitting the video data in the LED box body, and obtaining the data transmission performance of the current network transceiving interface.
In an implementation, the video data transmission condition is an index that characterizes the quality of video data transmission, and for example, the video data transmission condition may include: high and low error rate.
Specifically, the total code number and the error code number of video data transmitted by the current network transceiving interface which is used for transmitting the video data currently in the LED box body in unit time can be monitored; and calculating the error rate by using the total code number and the error code number, and taking the error rate as the data transmission performance of the current network transceiving interface.
For example, the total code number and the error code number of the video data transmitted by the current network transceiving interface in each second can be detected, the error rate is obtained by calculating the proportion of the error code number to the total code number, the higher the error rate is, the worse the data transmission performance of the current network transceiving interface is, and the network transceiving interface can be switched in order to ensure the reliability of the system.
And S210, monitoring the average data transmission performance of the current network transceiving interface within a preset time length under the condition that the data transmission performance is not within the preset performance index range.
And determining a target network transceiving interface according to a preset network transceiving interface switching rule.
In implementation, when the bit error rate is used as the data transmission performance, the preset performance index range may be 0 to 0.001, that is, when the bit error rate is greater than 0.001, it may be considered that the average data transmission performance of the current network transceiver interface needs to be monitored within a preset time period.
In implementation, by means of average data transmission performance within a preset time length, the situation that the data transmission performance of the current network transceiving interface fluctuates to cause error switching can be prevented. For example, the data transmission performance of the network transceiving interface is suddenly reduced by external electromagnetic interference, and the network transceiving interface is recovered to be normal in a short time.
In the process of calculating the average data transmission performance, the preset time duration may be divided into a plurality of sub-time durations, and the average value of the data transmission performance of each sub-time duration is calculated to obtain the credential data transmission performance. For example, the preset time duration is 10 seconds, the sub-time duration is 1 second, that is, the data transmission performance of each second is respectively monitored to obtain 10 monitoring values of the data transmission performance, and then the average value of the 10 monitoring values of the data transmission performance is calculated to obtain the average data transmission performance.
And S220, under the condition that the average data transmission performance is not in the preset performance index range, selecting a target network transceiving interface from the backup network transceiving interfaces.
The backup network transceiving interface is the network transceiving interface in the LED box body except the current network transceiving interface.
After the network transceiving interfaces are determined to be switched, the preset priority of each backup network transceiving interface on the LED box body can be obtained; determining whether a backup network transceiving interface with a preset priority higher than that of a current network transceiving interface exists; if the network receiving and sending interface exists, determining a backup network receiving and sending interface with the preset priority higher than the current network receiving and sending interface as a target network receiving and sending interface; and if the network receiving and transmitting interface does not exist, determining the backup network receiving and transmitting interface with the next level preset priority of the current network receiving and transmitting interface as the target network receiving and transmitting interface.
In implementation, under the condition that the types of the network transceiving interfaces are different, priorities can be allocated to each network transceiving interface according to the performance of the network transceiving interface, and the higher the performance is, the higher the corresponding priority is; for example, the higher the upper limit of the amount of data transmitted per second, the higher the priority of the network transceiving interface;
and in the case that the types of the network transceiving interfaces are the same, the network transceiving interfaces on each receiving card may be set with priorities according to a uniform rule, for example, in the case that the receiving card has 4 network transceiving interfaces, the 4 network transceiving interfaces are respectively disposed on one side of the LED box, and the priorities of the network transceiving interfaces may be set according to a rule that the priorities decrease in a clockwise direction from the left.
And S230, switching the current network transceiving interface to a target network transceiving interface so that the LED box body transmits video data through the target network transceiving interface.
In implementation, after the target network transceiving interface is determined, the current network transceiving interface may be disconnected, that is, the current network transceiving interface is set to be in a standby state, the target network transceiving interface is activated, and video data is transmitted through the target network transceiving interface.
In implementation, after each LED box receives the transmitted video data, the LED box may further select the target video content according to a preset video content selection rule by using a preset number of each video content in the video data, so that the LED box displays the target video content.
Specifically, a preset number of each LED box can be obtained; and selecting the target video content according to the preset number matching rule by using the preset number of each video content in the video data and the preset number of each LED box.
For example, the numbers of the video contents are 0, 1, 2 and 3 … … in sequence; the numbers of each LED box body are 0, 1, 2 and 3 … … in sequence; therefore, the LED box body 0 selects the video content No. 0 to display, the LED box body 1 selects the video content No. 1 to display, the LED box body 2 selects the video content No. 2 to display … …, and the like, so that the display of the video data is completed.
By applying the scheme provided by the invention, at least 3 network transceiving interfaces are arranged on the receiving card, the LED box bodies are connected through each network transceiving interface to form a mesh loop backup system, when the network transceiving interface which is transmitting the video data in the LED box bodies is abnormal, the abnormal network transceiving interface is cut off, and the backup network transceiving interface is switched to transmit the video data, so that the stable and reliable transmission of the video data between the LED box bodies is ensured.
Referring to fig. 3, which is a schematic structural diagram of a second LED mesh loop backup system according to an embodiment of the present invention, each LED box in the LED mesh loop backup system is correspondingly provided with a receiving card, each receiving card includes at least 3 network transceiving interfaces, so that each LED box is connected with each adjacent LED box through the network transceiving interfaces to form the mesh loop backup system, where the system includes:
the first performance monitoring module 300 is configured to monitor a video data transmission status of a current network transceiving interface, which is currently used for transmitting video data, in the LED box, and obtain data transmission performance of the current network transceiving interface;
a second performance monitoring module 310, connected to the first performance monitoring module 300, configured to monitor, within a preset time period, an average data transmission performance of the current network transceiver interface when the data transmission performance is not within a preset performance index range;
an interface selecting module 320, connected to the second performance monitoring module 310, configured to select a target network transceiver interface from backup network transceiver interfaces when the average data transmission performance is not within the preset performance index range, where the backup network transceiver interface is a network transceiver interface in the LED box other than the current network transceiver interface;
an interface switching module 330, connected to the interface selecting module 320, configured to switch the current network transceiving interface to the target network transceiving interface, so that the LED box transmits video data through the target network transceiving interface.
In one implementation, the system further includes: and the video display module is used for selecting target video content according to a preset video content selection rule by utilizing the preset number of each video content in the video data after each LED box body receives the transmitted video data so as to enable the LED box body to display the target video content.
In one implementation, the first performance monitoring module 300 includes:
the monitoring unit is used for monitoring the total code number and the error code number of video data transmitted by the current network transceiving interface which is used for transmitting the video data in the LED box body in unit time;
and the calculating unit is connected with the monitoring unit and the interface determining module and is used for calculating the error rate by utilizing the total code number and the error code number, and taking the error rate as the data transmission performance of the current network transceiving interface.
In one implementation, the interface switching module 330 includes:
the acquisition unit is connected with the interface determination module and is used for acquiring the preset priority of each backup network transceiving interface on the LED box body;
the determining unit is connected with the acquiring unit and used for determining whether a backup network transceiving interface with a preset priority higher than that of the current network transceiving interface exists or not; if the network receiving and sending interface exists, determining a backup network receiving and sending interface with the preset priority higher than the current network receiving and sending interface as a target network receiving and sending interface; and if the network receiving and transmitting interface does not exist, determining the backup network receiving and transmitting interface with the next level of preset priority of the current network receiving and transmitting interface as a target network receiving and transmitting interface.
In one implementation, a video display module includes:
the number acquisition unit is used for acquiring the preset number of each LED box body;
and the video selection unit is connected with the number acquisition unit and is used for selecting target video contents according to a preset number matching rule by utilizing the preset number of each video content in the video data and the preset number of each LED box.
By applying the scheme provided by the invention, at least 3 network transceiving interfaces are arranged on the receiving card, the LED box bodies are connected through each network transceiving interface to form a mesh system, when the network transceiving interface for transmitting video data in the LED box bodies is abnormal, the abnormal network transceiving interface is cut off, and the backup network transceiving interface is switched to transmit the video data, so that the stable and reliable transmission of the video data between the LED box bodies is ensured.
An embodiment of the present invention further provides an electronic device, as shown in fig. 4, including a processor 001, a communication interface 002, a memory 003, and a communication bus 004, where the processor 001, the communication interface 002, and the memory 003 complete mutual communication through the communication bus 004,
a memory 003 for storing a computer program;
the processor 001 is configured to implement the data backup transmission method applied to the LED mesh loop backup system when executing the program stored in the memory 003, and the method includes:
monitoring the video data transmission condition of a current network transceiving interface which is used for transmitting video data currently in the LED box body to obtain the data transmission performance of the current network transceiving interface;
monitoring the average data transmission performance of the current network transceiving interface within a preset time length under the condition that the data transmission performance is not within a preset performance index range;
under the condition that the average data transmission performance is not within the preset performance index range, selecting a target network transceiving interface from backup network transceiving interfaces, wherein the backup network transceiving interfaces are network transceiving interfaces in the LED box body except the current network transceiving interface;
and switching the current network transceiving interface to the target network transceiving interface so that the LED box body transmits video data through the target network transceiving interface.
By applying the scheme provided by the invention, at least 3 network transceiving interfaces are arranged on the receiving card, the LED box bodies are connected through each network transceiving interface to form a mesh system, when the network transceiving interface which is in the LED box body and is transmitting the video data is abnormal, the abnormal network transceiving interface is cut off, and the backup network transceiving interface is switched to transmit the video data, so that the video data can be stably and reliably transmitted between the LED box bodies.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to be performed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the embodiments of the apparatus and the electronic device, since they are substantially similar to the embodiments of the method, the description is simple, and reference may be made to the partial description of the embodiments of the method for relevant points.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (10)
1. A data backup transmission method is characterized in that the method is applied to an LED mesh loop backup system, each LED box body in the LED mesh loop backup system is correspondingly provided with a receiving card, each receiving card comprises at least 3 network transceiving interfaces, and each LED box body is connected with each adjacent LED box body through the network transceiving interfaces to form the mesh loop backup system, and the method comprises the following steps:
monitoring the video data transmission condition of a current network transceiving interface which is used for transmitting video data currently in the LED box body to obtain the data transmission performance of the current network transceiving interface, wherein the data transmission performance is determined according to the error rate of the video data transmitted by the current network transceiving interface;
monitoring the average data transmission performance of the current network transceiving interface within a preset time length under the condition that the data transmission performance is not within a preset performance index range;
under the condition that the average data transmission performance is not within the preset performance index range, selecting a target network transceiving interface from backup network transceiving interfaces, wherein the backup network transceiving interfaces are network transceiving interfaces in the LED box body except the current network transceiving interface;
and switching the current network transceiving interface to the target network transceiving interface so that the LED box body transmits video data through the target network transceiving interface.
2. The method of claim 1, wherein the method further comprises:
after each LED box receives the transmitted video data, the preset serial number of each video content in the video data is utilized, and the target video content is selected according to the preset video content selection rule, so that the LED boxes display the target video content.
3. The method as claimed in claim 1, wherein the step of monitoring the video data transmission status of the current network transceiver interface in the LED box for transmitting video data to obtain the data transmission performance of the current network transceiver interface comprises:
monitoring the total code number and the error code number of video data transmitted by a current network transceiving interface which is used for transmitting the video data currently in the LED box body in unit time;
and calculating the error rate by using the total code number and the error code number, and taking the error rate as the data transmission performance of the current network transceiving interface.
4. The method of claim 1, wherein the step of selecting the target network transceiving interface among the backup network transceiving interfaces comprises:
acquiring preset priorities of each backup network transceiving interface on the LED box body;
determining whether a backup network transceiving interface with a preset priority higher than that of the current network transceiving interface exists or not;
if the network receiving and sending interface exists, determining a backup network receiving and sending interface with the preset priority higher than the current network receiving and sending interface as a target network receiving and sending interface;
and if the network receiving and transmitting interface does not exist, determining the backup network receiving and transmitting interface with the next level of preset priority of the current network receiving and transmitting interface as a target network receiving and transmitting interface.
5. The method of claim 2, wherein the step of selecting the target video content according to a preset video content selection rule by using the preset number of each video content in the video data comprises:
acquiring a preset number of each LED box body;
and selecting target video content according to a preset number matching rule by using the preset number of each video content in the video data and the preset number of each LED box.
6. An LED mesh loop backup system, wherein each LED box in the LED mesh loop backup system is correspondingly provided with a receiving card, each receiving card includes at least 3 network transceiving interfaces, so that each LED box is connected to each adjacent LED box through the network transceiving interfaces to form a mesh loop backup system, and the system includes:
the system comprises a first performance monitoring module, a second performance monitoring module and a control module, wherein the first performance monitoring module is used for monitoring the video data transmission condition of a current network transceiving interface which is used for transmitting video data in the LED box body at present to obtain the data transmission performance of the current network transceiving interface, and the data transmission performance is determined according to the error rate of the video data transmitted by the current network transceiving interface;
the second performance monitoring module is connected with the first performance monitoring module and used for monitoring the average data transmission performance of the current network transceiving interface within a preset time length under the condition that the data transmission performance is not within a preset performance index range;
an interface selection module connected to the second performance monitoring module and configured to select a target network transceiver interface from backup network transceiver interfaces when the average data transmission performance is not within the preset performance index range, where the backup network transceiver interface is a network transceiver interface of the LED box other than the current network transceiver interface
And the interface switching module is connected with the interface selection module and used for switching the current network transceiving interface to the target network transceiving interface so that the LED box body transmits video data through the target network transceiving interface.
7. The LED mesh loop backup system of claim 6, further comprising:
and the video display module is used for selecting target video content according to a preset video content selection rule by utilizing the preset number of each video content in the video data after each LED box body receives the transmitted video data so as to enable the LED box body to display the target video content.
8. The LED mesh loop backup system of claim 6, wherein said first performance monitoring module comprises:
the monitoring unit is used for monitoring the total code number and the error code number of video data transmitted by the current network transceiving interface which is used for transmitting the video data in the LED box body in unit time;
and the calculating unit is connected with the monitoring unit and the interface determining module and is used for calculating the error rate by utilizing the total code number and the error code number, and taking the error rate as the data transmission performance of the current network transceiving interface.
9. The LED mesh loop backup system of claim 8, wherein the interface switching module comprises:
the acquisition unit is connected with the interface determination module and is used for acquiring the preset priority of each backup network transceiving interface on the LED box body;
the determining unit is connected with the acquiring unit and is used for determining whether a backup network transceiving interface with a preset priority higher than the current network transceiving interface exists or not; if the network receiving and sending interface exists, determining a backup network receiving and sending interface with the preset priority higher than the current network receiving and sending interface as a target network receiving and sending interface; and if the current network transceiving interface does not exist, determining the backup network transceiving interface with the next level preset priority of the current network transceiving interface as the target network transceiving interface.
10. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing processor-executable instructions;
a processor adapted to perform the method steps of any of claims 1-5 when executing instructions stored in the memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011042055.0A CN112235630B (en) | 2020-09-28 | 2020-09-28 | Data backup transmission method, LED mesh loop backup system and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011042055.0A CN112235630B (en) | 2020-09-28 | 2020-09-28 | Data backup transmission method, LED mesh loop backup system and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112235630A CN112235630A (en) | 2021-01-15 |
CN112235630B true CN112235630B (en) | 2022-08-19 |
Family
ID=74119426
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011042055.0A Active CN112235630B (en) | 2020-09-28 | 2020-09-28 | Data backup transmission method, LED mesh loop backup system and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112235630B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113364690B (en) * | 2021-04-21 | 2023-01-31 | 深圳市乐美客视云科技有限公司 | Method, device, terminal and storage medium for determining network transmission path of receiving card |
CN116074570A (en) * | 2021-11-02 | 2023-05-05 | 无锡唐古半导体有限公司 | Transmitting end chip, receiving end chip, display control system and display equipment |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5172603B2 (en) * | 2008-10-24 | 2013-03-27 | シャープ株式会社 | Information communication system, information communication apparatus, communication terminal, and information communication system control method |
CN201323593Y (en) * | 2008-12-30 | 2009-10-07 | 吉林中软吉大信息技术有限公司 | Network device for automatic smooth switching between various network topology structures |
CN101447915B (en) * | 2008-12-30 | 2011-10-05 | 吉林中软吉大信息技术有限公司 | Method for realizing automatic and smooth switch among different network topology structures and network device thereof |
EP2830366A1 (en) * | 2013-07-23 | 2015-01-28 | Thomson Licensing | Method of management of a wireless interface of a device and corresponding wireless device |
CN105740178B (en) * | 2014-12-09 | 2018-11-16 | 扬智科技股份有限公司 | Chip network system with and forming method thereof |
US20160212054A1 (en) * | 2015-01-20 | 2016-07-21 | Microsoft Technology Licensing, Llc | Multiple Protocol Media Streaming |
CN207743963U (en) * | 2017-12-21 | 2018-08-17 | 北京智帮帮科技有限公司 | A kind of transmitting device based on LiFi light and Quick Response Code |
CN108092715A (en) * | 2017-12-21 | 2018-05-29 | 北京智帮帮科技有限公司 | A kind of transmitting device based on LiFi light and Quick Response Code |
CN108390777A (en) * | 2018-02-05 | 2018-08-10 | 深圳壹账通智能科技有限公司 | Call method, device, equipment and the computer readable storage medium of communication interface |
CN108737188B (en) * | 2018-05-24 | 2021-08-31 | 郑州云海信息技术有限公司 | Network card fault switching system |
CN209182816U (en) * | 2018-12-20 | 2019-07-30 | 中国电子科技集团公司第二十七研究所 | A kind of trigger-type dual redundant network |
CN109542823A (en) * | 2018-12-20 | 2019-03-29 | 中国电子科技集团公司第二十七研究所 | A kind of trigger-type dual redundant network and its application method |
CN109743771A (en) * | 2019-01-22 | 2019-05-10 | 苏州长风航空电子有限公司 | A kind of method and its system for realizing that vehicle device is network coexisted |
-
2020
- 2020-09-28 CN CN202011042055.0A patent/CN112235630B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112235630A (en) | 2021-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110083502B (en) | Method and system for monitoring information of memory module in real time | |
CN112235630B (en) | Data backup transmission method, LED mesh loop backup system and electronic equipment | |
US11537304B2 (en) | Data verification method and apparatus, and storage medium | |
CN111159269B (en) | Data processing method, device and system | |
US10432725B2 (en) | Server access processing system | |
CN108390856B (en) | DDoS attack detection method and device and electronic equipment | |
CN108156252B (en) | Data access method and device, server and client | |
CN110677684B (en) | Video processing method, video access method, distributed storage method and distributed video access system | |
CN110020383B (en) | Page data request processing method and device | |
CN110881224B (en) | Network long connection method, device, equipment and storage medium | |
CN116599917B (en) | Network port determining method, device, equipment and storage medium | |
CN110989877B (en) | Message management method, related equipment and computer readable storage medium | |
CN112131478A (en) | Transaction detection method and device | |
US10990569B2 (en) | Sorting system | |
CN108400885A (en) | A kind of service availability detection method, device and electronic equipment | |
CN112653736B (en) | Parallel source returning method and device and electronic equipment | |
CN111079061B (en) | Data processing method and electronic equipment | |
CN107168776B (en) | Event statistical method, device, equipment and storage medium | |
CN116319268A (en) | Network packet loss processing method, system and related components | |
CN108512698B (en) | Network disaster tolerance method and device and electronic equipment | |
CN114615525A (en) | Video pushing method, device, equipment and storage medium | |
CN109254855B (en) | Registration method and device of parameter transmission protocol and electronic equipment | |
CN110909171B (en) | Data scheduling method, device, terminal and storage medium | |
US11847089B2 (en) | Electronic device and method for sharing data lanes of a network interface device between two or more computing devices | |
CN112543213B (en) | Data processing method and device |
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 | ||
CB02 | Change of applicant information |
Address after: 518000 room 3801, block a, block 8, block C, Wanke Yuncheng phase III, Liuxin 4th Street, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province (37-39 floors) Applicant after: Carlette cloud Technology Co.,Ltd. Address before: 518000 room 3801, block a, block 8, block C, Wanke Yuncheng phase III, Liuxin 4th Street, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province (37-39 floors) Applicant before: COLORLIGHT (SHENZHEN) CLOUD TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |