Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of Wired TV network equipment fault detection method and device.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses following technical scheme:
According to the first aspect of disclosure embodiment, a kind of Wired TV network equipment fault detection method is provided, the method is applied to terminal, described terminal is connected with checkout equipment, and described checkout equipment is connected with Wired TV network equipment respectively, described Wired TV network equipment fault detection method comprises:
According to the cable TV network topological diagram prestored, the link of Wired TV network equipment composition described in cutting, link after acquisition cutting, wherein, the input port of each Wired TV network equipment comprised in link after every bar cutting is single input port, and output port is single output port;
Every default sense cycle, obtain the warning information of each Wired TV network equipment of described checkout equipment transmission, and according to described warning information and default inner parameter alarm logic, determine the fault type of the Wired TV network equipment broken down, wherein, described warning information comprises alarm parameter, and described inner parameter alarm logic comprises the dependence of each alarm parameter corresponding to described Wired TV network equipment;
According to the upstream-downstream relationship between Wired TV network equipment each in link after described cutting, and the fault type of the Wired TV network equipment broken down, determine Root alarm equipment and derivative alarm equipment.
Preferably, if in this sense cycle, do not obtain the warning information of whole cable network television equipment, described according to the upstream-downstream relationship between Wired TV network equipment each in link after described cutting, and the fault type of the Wired TV network equipment broken down, determine Root alarm equipment and derivative alarm equipment, comprising:
Obtain the testing result that a upper sense cycle is determined;
According to the upstream-downstream relationship between Wired TV network equipment each in link after described cutting, the fault type of Wired TV network equipment that breaks down, and the testing result that a described upper sense cycle is determined, determine the Root alarm equipment in this sense cycle and derivative alarm equipment.
Preferably, alarm grade corresponding to each alarm parameter is also comprised in described warning information.
Preferably, described Wired TV network equipment fault detection method also comprises:
The alarm grade corresponding according to described each alarm parameter, and the fault type of the Wired TV network equipment broken down, the fault warning grade of the Wired TV network equipment broken down described in determining.
According to the second aspect of disclosure embodiment, a kind of Wired TV network equipment failure detector is provided, this application of installation is in terminal, described terminal is connected with checkout equipment, and described checkout equipment is connected with Wired TV network equipment respectively, described Wired TV network equipment failure detector comprises:
Link cutting module, for the cable TV network topological diagram that basis prestores, the link of Wired TV network equipment composition described in cutting, link after acquisition cutting, wherein, the input port of each Wired TV network equipment comprised in link after every bar cutting is single input port, and output port is single output port;
Determination module in equipment, for every default sense cycle, obtain the warning information of each Wired TV network equipment of described checkout equipment transmission, and according to described warning information and default inner parameter alarm logic, determine the fault type of the Wired TV network equipment broken down, wherein, described warning information comprises alarm parameter, and described inner parameter alarm logic comprises the dependence of each alarm parameter corresponding to described Wired TV network equipment;
Equipment room determination module, for according to the upstream-downstream relationship between Wired TV network equipment each in link after described cutting, and the fault type of the Wired TV network equipment broken down, determine Root alarm equipment and derivative alarm equipment.
Preferably, if in this sense cycle, do not obtain the warning information of whole cable network television equipment, described equipment room determination module comprises:
Testing result acquiring unit, for obtaining the testing result that a upper sense cycle is determined;
Equipment determining unit, for according to the upstream-downstream relationship between Wired TV network equipment each in link after described cutting, the fault type of Wired TV network equipment that breaks down, and the testing result that a described upper sense cycle is determined, determine the Root alarm equipment in this sense cycle and derivative alarm equipment.
Preferably, alarm grade corresponding to each alarm parameter is also comprised in described warning information.
Preferably, described Wired TV network equipment failure detector also comprises:
Fault warning level determination module, for the alarm grade corresponding according to described each alarm parameter, and the fault type of the Wired TV network equipment broken down, the fault warning grade of the Wired TV network equipment broken down described in determining.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
Scheme disclosed in the present application is in conjunction with cable TV network topological diagram, link cutting has been carried out to each Wired TV network equipment, thus be convenient to the upstream-downstream relationship obtaining each Wired TV network equipment, and according to each Wired TV network equipment of checkout equipment the transmission warning information transmitted and the inner parameter alarm logic preset, determine the fault type of the Wired TV network equipment broken down, then in conjunction with the upstream-downstream relationship between the fault type of each Wired TV network equipment and each Wired TV network equipment, determine Root alarm equipment and derivative alarm equipment, and achieve location fault being occurred to source, what solve that prior art exists cannot the problem in source that occurs of localizing faults.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
In order to solve in prior art, when employing equipment active prompt alarm method and user report exception method carry out fault detect to Wired TV network equipment, cannot the problem in source that occurs of localizing faults, the application discloses a kind of Wired TV network equipment fault detection method and device.
The embodiment one of the application discloses a kind of Wired TV network equipment fault detection method, and the method is applied to terminal, and described terminal is connected with checkout equipment, and described checkout equipment is connected with Wired TV network equipment respectively.Described checkout equipment can gather the warning information of the Wired TV network equipment be connected with self, and warning information is transferred to described terminal.
Workflow schematic diagram shown in Figure 1, Wired TV network equipment fault detection method disclosed in the present application comprises:
The cable TV network topological diagram that step S11, basis prestore, the link of Wired TV network equipment composition described in cutting, link after acquisition cutting, wherein, the input port of each Wired TV network equipment comprised in link after every bar cutting is single input port, and output port is single output port.
In described cable TV network topological diagram, comprise physical layout and the annexation of each Wired TV network equipment.In addition, a Wired TV network equipment, often through multi input port and multi output port, is connected with multiple stage Wired TV network equipment.Link schematic diagram before cutting shown in Figure 2, wherein First Wired TV network equipment (i.e. equipment 1) is connected with second Wired TV network equipment (i.e. equipment 2), the 3rd Wired TV network equipment (i.e. equipment 3) respectively by two output ports, equipment 2 is connected with the 4th Wired TV network equipment (i.e. equipment 4), forms a composite link.
In the application scenarios of reality, the annexation of Wired TV network equipment is more complicated, such as present stelliform connection topology configuration, ring topology etc., in order to determine the upstream-downstream relationship of each Wired TV network equipment, be convenient to the source that follow-up localizing faults occurs, need in the application to carry out cutting to the link of Wired TV network equipment composition.See Fig. 3 (a) and Fig. 3 (b), after cutting in link, Wired TV network equipment is single input port and single output port, wherein, in Fig. 3 (a), equipment 1 is connected with equipment 2 by single output port, and equipment 2 is connected with equipment 4 by single output port; In Fig. 3 (b), equipment 1 is connected with equipment 4 by single output port.
Step S12, every default sense cycle, obtain the warning information of each Wired TV network equipment of described checkout equipment transmission, and according to described warning information and default inner parameter alarm logic, determine the fault type of the Wired TV network equipment broken down, wherein, described warning information comprises alarm parameter, and described inner parameter alarm logic comprises the dependence of each alarm parameter corresponding to described Wired TV network equipment.
Described checkout equipment is connected with Wired TV network equipment respectively.Described checkout equipment can gather the warning information of the Wired TV network equipment be connected with self, and warning information is transferred to terminal.In actual applications, described checkout equipment can be Snmp (SimpleNetworkManagementProtocol, Simple Network Management Protocol) transponder.Certainly, can also select the checkout equipment of other types, the application does not limit this.
After the warning information obtaining checkout equipment transmission, the application according to the alarm parameter in warning information and default inner parameter alarm logic, can determine the fault type of the Wired TV network equipment broken down.Same Wired TV network equipment is corresponding multiple alarm parameter often, and such as, the alarm parameter that image intensifer is corresponding generally includes input optical power, laser pumping bias current and Output optical power three kinds of alarm parameters.Wherein, the dependence of each alarm parameter refers to the subordinate relation between alarm parameter, such as, if the dependence of alarm parameter A and alarm parameter B is A subordinate B, B subordinate C, then represent that alarm parameter B is caused by alarm parameter A, alarm parameter C is caused by alarm parameter B, in this case, usually alarm parameter A is called Level 1Alarming parameter, alarm parameter B is called secondary alarm parameter, and alarm parameter C is called three grades of alarm parameters, and the like.In addition, in this application, if alarm parameter A causes alarm parameter B, alarm parameter B has caused again alarm parameter C, then think that alarm parameter A has caused alarm parameter B and alarm parameter C, in this case source alarm parameter A is called Root alarm parameter, alarm parameter B and alarm parameter C is called derivative alarm parameter.The fault type of the described Wired TV network equipment broken down, the fault that the Root alarm parameter referring to this cable television appliances causes.
When the fault type according to warning information and inner parameter alarm logic determination cable tv network system equipment, the fault type of the described Level 1Alarming parameter instruction of setting is usually the fault type that described Wired TV network equipment is corresponding.
In the application, described inner parameter alarm logic is usually as shown in the table, and wherein, "-> " represents subordinate relation:
In upper table, the wherein parameter-dependent rule that image intensifer is corresponding is: " input optical power-> laser pumping bias current-> Output optical power ", the input optical power of this Rule Expression image intensifer can affect the laser pumping bias current of self, and laser pumping biased electrical fails to be convened for lack of a quorum and affects Output optical power, then described input optical power is Level 1Alarming parameter, laser pumping bias current is secondary alarm parameter, and Output optical power is three grades of alarm parameters.If the input optical power of image intensifer is not in normal range (NR); usually the laser pumping bias current of self can be caused to exceed normal range (NR); further, laser pumping bias current, not when normal range (NR), often causes the Output optical power of self not in normal range (NR).In this case, if according to the warning information that described checkout equipment transmits, determine that the input optical power of image intensifer, laser pumping bias current and Output optical power be not all in normal range (NR), then think that the input optical power of image intensifer breaks down, the fault type of described image intensifer is input optical power fault.
In addition, in upper table, "+12VL " represents the supply voltage of left, "+3.3VL " represents the output voltage of left, "+12VL->+3.3VL " represents that the supply voltage of left can affect the output voltage of left, if the supply voltage of left is not in normal range (NR), often causes the output voltage of left also not in normal range (NR), then the supply voltage of left is Level 1Alarming parameter, and the output voltage of left is secondary alarm parameter.In this case, if according to the warning information that described checkout equipment transmits, determine the supply voltage of the left of image intensifer, and the output voltage of left is not all in normal range (NR), then think that the supply voltage of left of image intensifer breaks down, the fault type of described image intensifer is left supply voltage fault.
Accordingly, "+12VR " represents the supply voltage of right wing, "+3.3VR " represents the output voltage of right wing, "+12VR->+3.3VR " represents that the supply voltage of right wing can affect the output voltage of right wing, if the supply voltage of right wing is not in normal range (NR), often cause the output voltage of right wing also not in normal range (NR), then the supply voltage of right wing is Level 1Alarming parameter, and the output voltage of right wing is secondary alarm parameter.In this case, if according to the warning information that described checkout equipment transmits, determine the supply voltage of the right wing of image intensifer, and the output voltage of right wing is not all in normal range (NR), then think that the supply voltage of right wing of image intensifer breaks down, the fault type of described image intensifer is right wing supply voltage fault.
Step S13, according to the upstream-downstream relationship between Wired TV network equipment each in link after described cutting, and the fault type of the Wired TV network equipment broken down, determines Root alarm equipment and derivative alarm equipment.
In this application, if the fault of equipment 1 has caused the fault of equipment 2, and the fault of equipment 2 causes the fault of equipment 3, then think that the fault of equipment 1 has caused the fault of equipment 2 and equipment 3, equipment 1 is called Root alarm equipment, equipment 2 and equipment 3 are called derivative alarm equipment, and equipment 1,2 and 3 is called a fault.
Wherein, usually rule is determined according to equipment room fault, determine Root alarm equipment and derivative alarm equipment, described equipment room fault determines that rule is: the defeated light-emitting window of Wired TV network equipment affects the light mouth of the cable TV network in downstream, and the output shop mouth of Wired TV network equipment affects the electric mouth of the cable TV network in downstream.
See the schematic diagram shown in Fig. 3 (a), if according to the fault type that step S12 determines, determine that the defeated light-emitting window of equipment 1 breaks down, and the equipment 2 in equipment 1 downstream and the light mouth of equipment 3 also break down, then think that equipment 1 is for Root alarm equipment, equipment 2 and equipment 3 are derivative alarm equipment.
Wherein, Root alarm equipment is the source that fault occurs, by determining Root alarm equipment in each Wired TV network equipment and derivative alarm equipment, can realize location fault being occurred to source.
The embodiment 1 of the application discloses a kind of Wired TV network equipment fault detection method, scheme disclosed in step S11 to step S13, this Wired TV network equipment fault detection method is in conjunction with cable TV network topological diagram, link cutting has been carried out to each Wired TV network equipment, thus be convenient to the upstream-downstream relationship obtaining each Wired TV network equipment, and according to each Wired TV network equipment of checkout equipment the transmission warning information transmitted and the inner parameter alarm logic preset, determine the fault type of the Wired TV network equipment broken down, then in conjunction with the upstream-downstream relationship between the fault type of each Wired TV network equipment and each Wired TV network equipment, determine Root alarm equipment and derivative alarm equipment, and achieve location fault being occurred to source, what solve that prior art exists cannot the problem in source that occurs of localizing faults.
In step s 13, the upstream-downstream relationship between disclosing according to Wired TV network equipment each in link after described cutting, and the fault type of the Wired TV network equipment broken down, determine the technical characteristic of Root alarm equipment and derivative alarm equipment.If in this sense cycle, whole Wired TV network equipments in cable TV network topological diagram are detected, after obtaining the warning information of whole Wired TV network equipment, can determine in whole Wired TV network equipment, the fault type of the Wired TV network equipment broken down, determines Root alarm equipment and derivative alarm equipment then.
But, be subject to the restriction of physical condition, in a sense cycle, often cannot complete the detection to all Wired TV network equipments, that is, the warning information of whole Wired TV network equipment cannot be obtained.If in this sense cycle, do not obtain the warning information of whole cable network television equipment, described according to the upstream-downstream relationship between Wired TV network equipment each in link after described cutting, and the fault type of the Wired TV network equipment broken down, determine Root alarm equipment and derivative alarm equipment, comprising:
First, the testing result that a upper sense cycle is determined is obtained; Wherein, in the testing result of a described upper sense cycle, the fault type of the Wired TV network equipment broken down determined is included in a sense cycle.
Then, according to the upstream-downstream relationship between Wired TV network equipment each in link after described cutting, the fault type of Wired TV network equipment that breaks down, and the testing result that a described upper sense cycle is determined, determine the Root alarm equipment in this sense cycle and derivative alarm equipment.
In this case, usually fault is divided into two classes, a class is current failure, and described current failure refers in a sense cycle, detects the fault type of the Wired TV network equipment broken down obtained; Another kind of is new source fault, and described new source fault refers in this sense cycle, the fault type of the Wired TV network equipment broken down detected.If in this sense cycle, do not obtain the warning information of whole cable network television equipment, the cable network television equipment not getting warning information can be called non-checkout equipment, in this case, then obtain the testing result that a upper sense cycle is determined, the testing result of non-checkout equipment described in extracting from the testing result that a sense cycle described is determined, it can be used as the testing result of non-checkout equipment described in this sense cycle, determine the Root alarm equipment in this sense cycle and derivative alarm equipment accordingly.
Such as, if link comprises equipment 1 after a certain bar cutting, equipment 2 and equipment 3 three Wired TV network equipments, these three Wired TV network equipments connect successively according to upstream-downstream relationship, if this sense cycle only detects the warning information of equipment 2 and equipment 3, and determine the fault type of equipment 2 and equipment 3, the warning information of the equipment 1 detected in a sense cycle can also be extracted, according to the fault type of the warning information determination equipment 1 of equipment 1, then by equipment 1, the fault type of equipment 2 and equipment 3 and upstream-downstream relationship, determine the Root alarm equipment of this fault and derivative alarm equipment.
Accordingly, this sense cycle and a upper sense cycle are compared, the fault in cable TV network topological structure often exist newly-increased, upgrade and remove three kinds of situations.
If link comprises equipment 1, equipment 2 and equipment 3 three Wired TV network equipments after a certain bar cutting, these three Wired TV network equipments connect successively according to upstream-downstream relationship, if in a upper sense cycle, according to the warning information of equipment 2 and equipment 3, determine that equipment 2 is for Root alarm equipment, equipment 3 is derivative alarm equipment.And in this sense cycle, the warning information of equipment 1 detected, and determine that equipment 1 is for Root alarm equipment, equipment 2 and equipment 3 are derivative alarm equipment, in this case, then think that newly-increased situation appears in fault.
In addition, if link comprises equipment 1 after a certain bar cutting, equipment 2 and equipment 3 three Wired TV network equipments, these three Wired TV network equipments connect successively according to upstream-downstream relationship, if in a upper sense cycle, according to equipment 1, the alarm parameter of equipment 2 and equipment 3, determine that equipment 1 is for Root alarm equipment, equipment 2 and equipment 3 are derivative alarm equipment, and in this sense cycle, determine that every alarm parameter of equipment 3 is in normal range (NR), determine that equipment 1 is for Root alarm equipment, equipment 2 is derivative alarm equipment, in this case, then think that more news appears in fault.
In addition, the structure of cable TV network topology changes sometimes.Such as, after a certain bar cutting, link comprises equipment 1, equipment 2 and equipment 3 three Wired TV network equipments, but after the structure of cable TV network topology changes, equipment 3 is not in cable TV network, then after the cutting after changing, link comprises equipment 1 and equipment 2 two Wired TV network equipments.In this case, when obtaining Root alarm equipment and derivative alarm equipment, no longer considering equipment 3, then thinking that situation about removing appears in fault.
In Wired TV network equipment fault detection method disclosed in the present application, comprise alarm parameter in the warning information of checkout equipment transmission, further, in described warning information, also comprise the alarm grade that each alarm parameter is corresponding.In this case, Wired TV network equipment fault detection method disclosed in the present application also comprises: the alarm grade corresponding according to described each alarm parameter, and the fault type of the Wired TV network equipment broken down, the fault warning grade of the Wired TV network equipment broken down described in determining.Wherein, described in the fault warning grade of Wired TV network equipment that breaks down, be generally the alarm grade that the alarm parameter of described fault type instruction is corresponding.
Such as, the alarm parameter of image intensifer comprises input optical power, laser pumping bias current, Output optical power, supply voltage and output voltage etc., for different alarm parameter, is previously provided with the alarm grade that alarm parameter is corresponding.According to described default inner parameter alarm logic, determine that the fault type of image intensifer is after input optical power fault, then determine that alarm grade that this alarm parameter of input optical power is corresponding is the fault warning grade of described image intensifer.
In addition, after the fault warning grade of the Wired TV network equipment broken down described in determining, the fault warning information corresponding with described fault warning grade can also be generated, to point out staff, thus be convenient to staff and take corresponding maintenance measure.
Accordingly, second embodiment of the application discloses a kind of Wired TV network equipment failure detector, this Wired TV network equipment failure detector is applied to terminal, and described terminal is connected with checkout equipment, and described checkout equipment is connected with Wired TV network equipment respectively.
Structural representation shown in Figure 4, described Wired TV network equipment failure detector disclosed in the present application comprises: determination module 200 and equipment room determination module 300 in link cutting module 100, equipment.
Wherein, described link cutting module 100, for the cable TV network topological diagram that basis prestores, the link of Wired TV network equipment composition described in cutting, link after acquisition cutting, wherein, the input port of each Wired TV network equipment comprised in link after every bar cutting is single input port, and output port is single output port;
Determination module 200 in described equipment, for every default sense cycle, obtain the warning information of each Wired TV network equipment of described checkout equipment transmission, and according to described warning information and default inner parameter alarm logic, determine the fault type of the Wired TV network equipment broken down, wherein, described warning information comprises alarm parameter, and described inner parameter alarm logic comprises the dependence of each alarm parameter corresponding to described Wired TV network equipment;
Described equipment room determination module 300, for according to the upstream-downstream relationship between Wired TV network equipment each in link after described cutting, and the fault type of the Wired TV network equipment broken down, determine Root alarm equipment and derivative alarm equipment.
The application discloses a kind of Wired TV network equipment failure detector, this device is by cable TV network topological diagram, link cutting has been carried out to each Wired TV network equipment, thus be convenient to the upstream-downstream relationship obtaining each Wired TV network equipment, and according to each Wired TV network equipment of checkout equipment the transmission warning information transmitted and the inner parameter alarm logic preset, determine the fault type of the Wired TV network equipment broken down, then in conjunction with the upstream-downstream relationship between the fault type of each Wired TV network equipment and each Wired TV network equipment, determine Root alarm equipment and derivative alarm equipment, and achieve location fault being occurred to source, what solve that prior art exists cannot the problem in source that occurs of localizing faults.
Further, if in this sense cycle, do not obtain the warning information of whole cable network television equipment, described equipment room determination module comprises:
Testing result acquiring unit, for obtaining the testing result that a upper sense cycle is determined;
Equipment determining unit, for according to the upstream-downstream relationship between Wired TV network equipment each in link after described cutting, the fault type of Wired TV network equipment that breaks down, and the testing result that a described upper sense cycle is determined, determine the Root alarm equipment in this sense cycle and derivative alarm equipment.
By described testing result acquiring unit and equipment determining unit, the testing result can determined according to a upper sense cycle, realizes the determination to the Root alarm equipment in this sense cycle and derivative alarm equipment, to improve the reliability to this fault location.
Further, alarm grade corresponding to each alarm parameter is also comprised in described warning information.
Further, if also comprise alarm grade corresponding to each alarm parameter in described warning information, then described Wired TV network equipment failure detector also comprises:
Fault warning level determination module, for the alarm grade corresponding according to described each alarm parameter, and the fault type of the Wired TV network equipment broken down, the fault warning grade of the Wired TV network equipment broken down described in determining.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.