Disclosure of Invention
In order to overcome the above defects in the prior art, an object of the present application is to provide a method and an apparatus for detecting a splicing wall fault, so as to solve or improve the above problems.
In order to achieve the above purpose, the embodiments of the present application employ the following technical solutions:
in a first aspect, an embodiment of the present application provides a method for detecting a failure of a splicing wall, where the method is applied to a sending box device communicatively connected to the splicing wall, where the sending box device includes a plurality of sending box ports, each sending box port is communicatively connected to a corresponding receiving card link in the splicing wall, and each receiving card link includes a plurality of receiving cards sequentially connected in series, and the method includes:
acquiring receiving card state information of a receiving card link currently mounted on each transmitting box network port, wherein the receiving card state information comprises the number of receiving cards in a normal connection state;
judging whether the receiving card state information is matched with receiving card configuration information of a receiving card link which is configured in advance;
if the receiving card state information is not matched with the receiving card configuration information of the receiving card link which is configured in advance, at least one fault receiving card in the receiving card link is searched according to the judgment result;
and generating corresponding alarm occurrence information according to at least one found fault receiving card in the receiving card link.
Optionally, before the step of obtaining the receiving card status information of the receiving card link currently mounted on each of the network ports of the sending box, the method further includes:
acquiring splicing wall configuration data of the splicing wall from a VWAS server;
and configuring receiving card configuration information of the receiving card links mounted on the net ports of the sending boxes according to the splicing wall configuration data, wherein the receiving card configuration information comprises the number of the receiving cards of the receiving card links mounted on the net ports of the corresponding sending boxes.
Optionally, the step of determining whether the receiving card status information matches with receiving card configuration information of the receiving card link configured in advance includes:
acquiring receiving card configuration information of a receiving card link mounted on the net port of the sending box, which is configured in advance;
judging whether the number of the receiving cards in the normal connection state in the receiving card state information is matched with the number of the receiving cards in the receiving card configuration information;
if yes, judging whether the receiving card state information is matched with receiving card configuration information of a receiving card link which is configured in advance;
if not, judging whether the receiving card state information is not matched with the receiving card configuration information of the receiving card link configured in advance.
Optionally, the step of searching for at least one faulty receiving card in the receiving card link according to the determination result includes:
and taking at least one receiving card which is not in the normal connection state in each receiving card link as a fault receiving card according to the judgment result.
Optionally, after the step of generating corresponding alarm occurrence information according to the found at least one faulty receiving card in the receiving card link, the method further includes:
and sending the alarm generation information to a corresponding user terminal for displaying.
Optionally, after the step of generating corresponding alarm occurrence information according to the found at least one faulty receiving card in the receiving card link, the method further includes:
and if the receiving card state information of the receiving card link is matched with the receiving card configuration information of the receiving card link which is configured in advance, sending the fault recovery information of the receiving card link to the corresponding user terminal.
Optionally, the alarm occurrence information includes sending box device information, location information of the fault receiving card, alarm level information, alarm description information, and fault occurrence time information.
In a second aspect, an embodiment of the present application further provides a splicing wall fault detection device, which is applied to a sending box device communicatively connected to a splicing wall, where the sending box device includes a plurality of sending box ports, each sending box port is communicatively connected to a corresponding receiving card link in the splicing wall, and each receiving card link includes a plurality of receiving cards serially connected in sequence, where the device includes:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring the state information of receiving cards of a receiving card link currently mounted on each transmitting box network port, and the state information of the receiving cards comprises the number of the receiving cards in a normal connection state;
the judging module is used for judging whether the receiving card state information is matched with receiving card configuration information of a receiving card link which is configured in advance;
the searching module is used for searching at least one fault receiving card in the receiving card link according to a judgment result if the receiving card state information is not matched with the receiving card configuration information of the receiving card link configured in advance;
and the generating module is used for generating corresponding alarm generation information according to the searched at least one fault receiving card in the receiving card link.
In a third aspect, an embodiment of the present application further provides a readable storage medium, on which a computer program is stored, where the computer program is executed to implement the above-mentioned splicing wall fault detection method.
Compared with the prior art, the method has the following beneficial effects:
according to the method and the device for detecting the splicing wall fault, the receiving card state information of the receiving card link currently mounted on each sending box network port is obtained, whether the receiving card state information is matched with the receiving card configuration information of the receiving card link configured in advance is judged, if the receiving card state information is not matched with the receiving card configuration information of the receiving card link configured in advance, at least one fault receiving card in the receiving card link is searched according to the judgment result, and finally corresponding alarm occurrence information is generated according to the searched at least one fault receiving card in the receiving card link. Therefore, the receiving card configuration information of each receiving card link is configured in advance, so that the fault receiving card in each receiving card link is positioned based on the receiving card configuration information of each receiving card link, effective maintenance and guarantee of the spliced wall can be realized, and the fault positioning efficiency and the self-diagnosis capability are improved.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Fig. 1 is a schematic view of an application scenario of the method for detecting a failure of a splicing wall according to the embodiment of the present application. In this embodiment, the application scenario may include the splice wall 300 and the sender box apparatus 100 communicatively connected to the splice wall 300. The transmitting box apparatus 100 may include a plurality of transmitting box network ports 101 (9 are shown in fig. 1), each transmitting box network port 101 is communicatively connected to a corresponding receiving card link 310 in the splicing wall 300, and each receiving card link 310 includes a plurality of sequentially serially connected receiving cards 315 (6 are shown in fig. 1).
In this embodiment, the transmitter box may include one or more transmitter boxes for generating and transmitting video signals to the corresponding receiver card links 310 in the wall 300 through the respective transmitter box portal 101.
In this embodiment, the splicing wall 300 may adopt small screen splicing or large screen splicing, either one-to-one single screen splicing or one-to-M × N full screen splicing, or mixed splicing of large and small screens, and specifically, according to the system scale and application requirements of a customer on the liquid crystal splicing curtain wall system, a specific implementation scheme may be selected according to the use environment of the system, so as to meet the application requirements of the system.
Referring to fig. 2, a schematic flow chart of a method for detecting a failure of a splicing wall according to an embodiment of the present application is shown, where the method can be executed by the above-mentioned distribution box apparatus 100. It should be noted that the method for detecting a fault of a splicing wall provided in the embodiment of the present application is not limited by fig. 2 and the following specific sequence. The method comprises the following specific processes:
in step S210, the receiving card status information of the receiving card link 310 currently mounted on each of the sending box ports 101 is obtained.
In this embodiment, in the display process of the splicing wall 300, the receiving cards 315 in each receiving card link 310 first receive the video signal and sequentially transmit the video signal to the next receiving card 315, and if a certain receiving card 315 fails, the receiving card cannot receive the video signal and enters a failure state, so in the display process of the splicing wall 300, the sending box device 100 may cyclically detect the receiving card state information of the receiving card link 310 currently mounted on each sending box network port 101, where the receiving card state information may include the number of receiving cards in a normal connection state.
Step S220 is to determine whether the receiving card status information matches with the receiving card configuration information of the receiving card link 310 configured in advance.
In this embodiment, before step S210, the sending box device 100 may obtain, in advance, the configuration data of the splicing wall 300 from the VWAS server, and configure, according to the configuration data of the splicing wall, the receiving card configuration information of the receiving card link 310 mounted on each sending box portal 101, where the receiving card configuration information includes the number of receiving cards of the receiving card link 310 mounted on the corresponding sending box portal 101, that is, the sending box device 100 may configure, in advance, the current number of receiving cards of the receiving card link 310 mounted on each sending box portal 101.
On this basis, in the loop detection process, the sender-box device 100 acquires, for the receiver card link 310 mounted on each sender-box portal 101, the pre-configured receiver card configuration information of the receiver card link 310 mounted on the sender-box portal 101, and determines whether the number of receiver cards in the receiver card state information under the normal connection state matches the number of receiver cards in the receiver card configuration information, if so, determines whether the receiver card state information matches the pre-configured receiver card configuration information of the receiver card link 310; if not, determining whether the receiving card status information is not matched with the receiving card configuration information of the receiving card link 310 configured in advance.
In step S230, if the receiving card status information does not match the receiving card configuration information of the receiving card link 310 configured in advance, at least one faulty receiving card in the receiving card link 310 is searched according to the determination result.
In this embodiment, if the receiving card status information does not match the receiving card configuration information of the receiving card link 310 configured in advance, at least one receiving card 315 that is not in the normal connection state in each receiving card link 310 may be used as a faulty receiving card according to the determination result.
Step S240, generating corresponding alarm occurrence information according to the found at least one faulty receiving card in the receiving card link 310.
In this embodiment, optionally, the alarm occurrence information may include sending box device information, location information of the fault receiving card, alarm level information, alarm description information, and fault occurrence time information. After the alarm occurrence information is generated, the alarm occurrence information can be sent to the corresponding user terminal for displaying, so that relevant maintenance personnel can timely carry out fault elimination on the corresponding fault receiving card according to the alarm occurrence information.
Based on the above steps, in the present embodiment, the receiving card configuration information of each receiving card link 310 is configured in advance, so that the fault receiving card in each receiving card link 310 is located based on the receiving card configuration information of each receiving card link 310, thereby achieving effective maintenance and guarantee of the splicing wall 300, and improving the fault location efficiency and the self-diagnosis capability.
Alternatively, if the failure of the failed receiving card of the receiving card link 310 has been eliminated, the transmitting box apparatus 100 may transmit the failure recovery information of the receiving card link 310 to the corresponding user terminal when detecting that the receiving card state information of the receiving card link 310 matches the receiving card configuration information of the receiving card link 310 configured in advance, so that the relevant maintenance personnel can know the failure elimination condition even though.
Further, referring to fig. 3, an embodiment of the present application further provides a splice wall fault detection apparatus 200, which may include:
an obtaining module 210, configured to obtain status information of the receiving card in the receiving card link 310 currently mounted on each sending box portal 101, where the status information of the receiving card includes the number of receiving cards in a normal connection state.
The determining module 220 is configured to determine whether the receiving card status information matches with the receiving card configuration information of the receiving card link 310 configured in advance.
The searching module 230 is configured to search for at least one faulty receiving card in the receiving card link 310 according to the determination result if the receiving card status information does not match the receiving card configuration information of the receiving card link 310 configured in advance.
The generating module 240 is configured to generate corresponding alarm occurrence information according to the found at least one failed receiving card in the receiving card link 310.
Optionally, still referring to fig. 3, the apparatus may further comprise:
a configuration module 209, configured to obtain the configuration data of the splicing wall 300 from the VWAS server, and configure the receiving card configuration information of the receiving card link 310 mounted on each sending box portal 101 according to the configuration data of the splicing wall, where the receiving card configuration information includes the number of receiving cards of the receiving card link 310 mounted on the corresponding sending box portal 101.
Optionally, the determining whether the receiving card status information matches with the receiving card configuration information of the receiving card link 310 configured in advance includes:
acquiring receiving card configuration information of a receiving card link 310 mounted on the net port 101 of the sending box, which is configured in advance;
judging whether the number of the receiving cards in the normal connection state in the receiving card state information is matched with the number of the receiving cards in the receiving card configuration information;
if yes, determining whether the receiving card state information is matched with the receiving card configuration information of the receiving card link 310 configured in advance;
if not, determining whether the receiving card status information is not matched with the receiving card configuration information of the receiving card link 310 configured in advance.
It can be understood that, for the specific operation method of each functional module in this embodiment, reference may be made to the detailed description of the corresponding step in the foregoing method embodiment, and no repeated description is provided herein.
Further, please refer to fig. 4, which is a schematic block diagram illustrating a structure of a launch box apparatus 100 for the above-mentioned method for detecting a failure of a splice wall according to an embodiment of the present application. In this embodiment, the sender cartridge device 100 may be implemented by a bus 110 as a general bus architecture. The bus 110 may include any number of interconnecting buses and bridges depending on the specific application of the sender box device 100 and the overall design constraints. Bus 110 connects various circuits together, including processor 120, storage medium 130, and bus interface 140. Alternatively, the transmitting box device 100 may connect a network adapter 150 or the like via the bus 110 using the bus interface 140. The network adapter 150 can be used to implement a signal processing function of a physical layer in the transmission box apparatus 100, and implement transmission and reception of radio frequency signals through an antenna. The user interface 160 may connect external devices such as: a keyboard, a display, a mouse or a joystick, etc. The bus 110 may also connect various other circuits such as timing sources, peripherals, voltage regulators, or power management circuits, which are well known in the art, and therefore, will not be described in detail.
Alternatively, the pod device 100 may also be configured as a general purpose processing system, such as what is commonly referred to as a chip, including: one or more microprocessors providing processing functions, and an external memory providing at least a portion of storage medium 130, all connected together with other support circuits through an external bus architecture.
Alternatively, the sender-box device 100 may be implemented using an ASIC (application specific integrated circuit) having a processor 120, a bus interface 140, a user interface 160, and at least a portion of the storage medium 130 integrated in a single chip, or the sender-box device 100 may be implemented using one or more FPGAs (field programmable gate arrays), P L D (programmable logic devices), controllers, state machines, gate logic, discrete hardware components, any other suitable circuit, or any combination of circuits capable of performing the various functions described throughout this application.
Among other things, processor 120 is responsible for managing bus 110 and general processing (including the execution of software stored on storage medium 130). Processor 120 may be implemented using one or more general-purpose processors and/or special-purpose processors. Examples of processor 120 include microprocessors, microcontrollers, DSP processors, and other circuits capable of executing software. Software should be construed broadly to mean instructions, data, or any combination thereof, whether referred to as software, firmware, middleware, microcode, hardware description language, or otherwise.
The storage medium 130 is shown separate from the processor 120 in fig. 4, however, it will be readily apparent to those skilled in the art that the storage medium 130, or any portion thereof, may be located outside of the sender box device 100. Storage medium 130 may include, for example, a transmission line, a carrier waveform modulated with data, and/or a computer product separate from the wireless node, which may be accessed by processor 120 via bus interface 140. Alternatively, the storage medium 130, or any portion thereof, may be integrated into the processor 120, e.g., may be a cache and/or general purpose registers.
The processor 120 may execute the above embodiments, specifically, the storage medium 130 may store the splice wall failure detection apparatus 200 therein, and the processor 120 may be configured to execute the splice wall failure detection apparatus 200.
Further, an embodiment of the present application further provides a non-volatile computer storage medium, where the computer storage medium stores computer-executable instructions, and the computer-executable instructions may execute the splicing wall fault detection method in any of the above method embodiments.
To sum up, according to the method and the device for detecting a failure of a splicing wall provided in the embodiment of the present application, status information of a receiving card link currently mounted on each transmission box network port is obtained, and then whether the status information of the receiving card matches with pre-configured configuration information of the receiving card link is determined, if the status information of the receiving card does not match with the pre-configured configuration information of the receiving card link, at least one failed receiving card in the receiving card link is searched according to a determination result, and finally, corresponding alarm occurrence information is generated according to the searched at least one failed receiving card in the receiving card link. Therefore, the receiving card configuration information of each receiving card link is configured in advance, so that the fault receiving card in each receiving card link is positioned based on the receiving card configuration information of each receiving card link, effective maintenance and guarantee of the spliced wall can be realized, and the fault positioning efficiency and the self-diagnosis capability are improved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g., from one website site, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DS L)) or wireless (e.g., infrared, wireless, microwave, etc.) manner to another website site, computer, server, or data center.
It should be noted that, in this document, 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.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.