CN107356284A - A kind of detection method, apparatus and system - Google Patents

A kind of detection method, apparatus and system Download PDF

Info

Publication number
CN107356284A
CN107356284A CN201610309118.1A CN201610309118A CN107356284A CN 107356284 A CN107356284 A CN 107356284A CN 201610309118 A CN201610309118 A CN 201610309118A CN 107356284 A CN107356284 A CN 107356284A
Authority
CN
China
Prior art keywords
detected
detection
link
module
parameter
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.)
Pending
Application number
CN201610309118.1A
Other languages
Chinese (zh)
Inventor
王坚
骆毅
孙琼华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201610309118.1A priority Critical patent/CN107356284A/en
Priority to PCT/CN2017/080469 priority patent/WO2017193763A1/en
Publication of CN107356284A publication Critical patent/CN107356284A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of detection method, apparatus and system, first determines object to be detected, then parameter information corresponding to object to be detected is called from database, finally treats detection object according to the parameter information and is detected, and obtains testing result.Pass through the implementation to technical solution of the present invention, measurement equipment to be checked only need to be determined, malfunction elimination quickly can be carried out to equipment online, debug the nature of trouble of detection device, also shield each agreement, the distinct interface of each producer and software and hardware instrument simultaneously, do not need operation maintenance personnel to spend great effort concern device interface protocol and corresponding producer to detect instrument application method again, while malfunction elimination efficiency is improved, also reduce the operation complexity of operation maintenance personnel.

Description

A kind of detection method, apparatus and system
Technical field
The present invention relates to power & environment supervision system regions, more particularly to a kind of detection method, apparatus and system.
Background technology
In the monitoring system such as the Intelligent data center of power & environment supervision or computer room, it is necessary to internal power-equipment Monitored in real time with ambient conditions, be related to the docking collection of a large amount of infrastructure devices, for example each distribution is set The sensor devices such as standby, refrigeration plant, humiture, leak water detdction, pass through the monitoring number of these infrastructure devices According to, can the critical data such as the operation conditions of accurate checking monitoring system, energy consumption in time, give O&M to provide Very big facility.
But during day-to-day operation, this kind of infrastructure device is as some environment or software and hardware problem are led Cause monitoring of tools interface fault so that Various types of data can not correctly be gathered and reported, especially some fault warnings If information can not report in time, very big hidden danger can be brought to whole monitoring system.Currently for various bases Plinth equipment fault, because the agreement of each equipment is different, such as SNMP (Simple Network Management Protocol, Simple Network Management Protocol), MODBUS (industrial communication systems), BACNET(A Data Communication Protocol for Building Automation and Control Networks, building automation and coutrol Data Communication in Computer Networks agreement) etc. agreement, while the producer of each equipment makes by oneself Justice interface protocol list and debugging acid, therefore can only rely on traditional approach, such as PC, each equipment correspondence Debugging software, hardware interface converter etc. infrastructure device failure is investigated step by step, operation maintenance personnel also needs The information such as parameter, the agreement of each equipment are manually entered to be detected.
But this detection mode by operation maintenance personnel manual input device parameter information causes operation maintenance personnel Higher stock of knowledge is needed to have for the knowledge expertise such as the agreement of each equipment and interface, if desired for right The debugging acid of each producer is learnt so that the efficiency of malfunction elimination substantially reduces, operation complexity It is corresponding to improve.Meanwhile interrupt adopting for other non-faulting status devices it is also possible to existing during investigation Collection, the problems such as engineering wiring is changed, so as to be produced a very large impact to system.
The content of the invention
The main technical problem to be solved in the present invention is to provide a kind of detection method, apparatus and system, with solution Certainly in the prior art operation maintenance personnel manually input equipment parameter information or for distinct device using different Detection instrument, malfunction elimination efficiency is greatly reduced, increase the work complexity of operation maintenance personnel, so as to influence The technical problem of monitoring system normal operation.
In order to solve the above technical problems, the present invention provides a kind of detection method, including:
Determine object to be detected;
The parameter information of the object to be detected is called from database;
The object to be detected is detected according to the parameter information, and obtains testing result.
It is described to determine that object to be detected includes in an embodiment of the present invention:
Determine detection type;Based on the detection type, the object to be detected is determined.
In an embodiment of the present invention, detection bag is carried out to the object to be detected according to the parameter information Include:
Determine the protocol type that the object to be detected is supported;Pass through link pair corresponding with the protocol type The object to be detected is detected.
In an embodiment of the present invention, believe in the parameter that the object to be detected is called from database Before breath, in addition to:Gather the parameter information of each object and store into database.
In an embodiment of the present invention, the object to be detected is being detected according to the parameter information Before, in addition to:Create link corresponding with each protocol type.
In an embodiment of the present invention, after testing result is obtained, in addition to:
When testing result is that the object to be detected itself breaks down, controlled by link to described to be checked The link for surveying object is controlled;When testing result is the abnormal parameters of the object to be detected, by adopting Mode set controls to be controlled to the acquisition mode of the parameter.
In an embodiment of the present invention, the detection type comprises at least:Link detecting, parameter detecting.
Further, present invention also offers a kind of detection means, including:
Determining module, for determining object to be detected;
Calling module, for calling the parameter information of the object to be detected from database;
Detection module, for being detected according to the parameter information to the object to be detected, and obtain inspection Survey result.
In an embodiment of the present invention, determining module includes:
Type determination module, for determining detection type;
Object determination sub-module, for based on the detection type, determining the object to be detected.
In an embodiment of the present invention, the detection module includes:
Agreement determination sub-module, the protocol type supported for determining the object to be detected;
Detection sub-module, for being carried out by object to be detected described in link pair corresponding with the protocol type Detection.
In an embodiment of the present invention, in addition to:
Acquisition module, for before the parameter information of the object to be detected is called from database, gathering The parameter information of each object is simultaneously stored into database.
In an embodiment of the present invention, in addition to:
Link establishment module, for before being detected according to the parameter information to the object to be detected, Create link corresponding with each protocol type.
In an embodiment of the present invention, in addition to:
Link control module, for after testing result is obtained, when testing result is the object to be detected When itself breaks down, the link of the object to be detected is controlled by link control;
Acquisition mode control module, for when testing result is the abnormal parameters of the object to be detected, leading to Acquisition mode control is crossed to be controlled the acquisition mode of the parameter.
Further, present invention also offers a kind of detecting system, including object to be detected and as described above Detection means;The object to be detected includes subject body to be detected and link.
The beneficial effects of the invention are as follows:
The invention provides a kind of detection method, apparatus and system, object to be detected is first determined, then from data Parameter information corresponding to object to be detected is called in storehouse, finally treating detection object according to the parameter information is carried out Detection, and obtain testing result.By the implementation to technical solution of the present invention, to be detected set only need to be determined It is standby, so that it may malfunction elimination quickly is carried out to equipment online, debugs the nature of trouble of detection device, while also shield Each agreement, the distinct interface of each producer and software and hardware instrument are covered, it is not necessary to which operation maintenance personnel is spent greatly again Measure energy concern device interface protocol and instrument application method detects in corresponding producer, improve malfunction elimination efficiency While, also reduce the operation complexity of operation maintenance personnel.
In addition, when finding that measurement equipment itself to be checked breaks down, it will be controlled by link and be set to be detected It is standby to be controlled, so as to isolate the equipment in time, avoid influenceing the data acquisition and processing (DAP) of other normal devices, Influence of the faulty equipment to system is reduced to minimum.
Brief description of the drawings
Fig. 1 is the detection method flow chart that the embodiment of the present invention one provides;
Fig. 2 is the structure of the detecting device schematic diagram that the embodiment of the present invention two provides;
Fig. 3 is the detecting system topology diagram that the embodiment of the present invention two provides;
Fig. 4 is the link detecting flow chart that the embodiment of the present invention three provides;
Fig. 5 is the parameter detecting flow chart that the embodiment of the present invention four provides;
Fig. 6 is the parameter acquisition mode control flow chart that the embodiment of the present invention five provides;
Fig. 7 is the TCP link control flow charts that the embodiment of the present invention six provides.
Embodiment
The present invention is described in further detail below by embodiment combination accompanying drawing.
Embodiment one
The present embodiment provides a kind of detection method, refers to Fig. 1, its specific detecting step is as follows:
S101, determine object to be detected;
Specifically, object to be detected includes infrastructure device, such as refrigeration plant, controller switching equipment, humiture, leakage The sensor devices such as water detection, by the monitoring data of these infrastructure devices, accurately can be checked in data in time The critical datas such as the operation conditions of the heart, energy consumption.
S102, the parameter information of object to be detected is called from database;
Specifically, the parameter information of a large amount of infrastructure devices is acquired in database, such as facility information and corresponding ginseng Ordered series of numbers table, facility information have the protocol type of equipment, IP address, port etc..Carried out treating detection object During detection, backstage is automatic directly from database to call the parameter information related to object to be detected, O&M people Member can just select measurement equipment to be checked from numerous equipment, also get the parameter information of the equipment accordingly, So as to avoid operation maintenance personnel from being manually entered the parameter information of object to be detected.
S103, detection object is treated according to parameter information and detected, and obtain testing result.
Specifically, the detection for treating detection object includes but is not limited to link detecting, parameter detecting, detect Testing result will be fed back to foreground after finishing, the result that operation maintenance personnel is shown according to foreground knows that this is to be detected right As if no failure.
By the implementation to above-mentioned detecting step, only measurement equipment to be checked need to be determined, so that it may which quick online pair sets It is standby to carry out malfunction elimination, the nature of trouble of detection device is debugged, while also shield each agreement, Ge Gechang The distinct interface and software and hardware instrument of family, it is not necessary to which operation maintenance personnel spends great effort concern equipment interface association again Negotiate peace and correspond to producer's detection instrument application method, while malfunction elimination efficiency is improved, also reduce O&M The operation complexity of personnel.
Further, in S101 steps, it is determined that during object to be detected (hereafter will using measurement equipment to be checked as Example illustrates to scheme), operation maintenance personnel can select a kind of function first, such as Link State is detected, Device parameter is detected, parameter acquisition mode is controlled, link is controlled;Based on choosing The function of selecting, reselection equipment to be detected carry out malfunction elimination.In another embodiment, system can To be investigated automatically to each measurement equipment to be checked, measurement equipment to be checked is selected to be detected one by one without operation maintenance personnel, When system searching is to fault object, to foreground feedback result, operation maintenance personnel is according to the result of feedback to failure Equipment is handled, the link as corresponding to disconnecting the equipment, in case the equipment influences adopting for other normal devices Collection reports.Further, system can support multiple equipment while carry out malfunction elimination, such as determine to need The function of execution, multiple equipment is selected based on the function, while each equipment is detected, with fast positioning Faulty equipment.In addition, in certain measurement equipment to be checked, the information stored in database can be connect by inside Mouth is supplied to foreground to be selected for operation maintenance personnel infrastructure device.
Further, in S102 steps, when calling the information of measurement equipment to be checked from database, root According to information corresponding to the protocol type acquisition of equipment.Specifically, protocol type includes but is not limited to MODBUS-RTU agreements, MODBUS-TCP agreements, snmp protocol and BACNET agreements, If measurement equipment to be checked is MODBUS-RTU and MODBUS-TCP agreements, acquisition device IP, The parameter informations such as port, protocol type, first parameter register address and register type;It is if to be detected When equipment is snmp protocol, then device IP, port, protocol type, the OID (Object of first parameter are obtained Identifier, object identity) etc. parameter information;If measurement equipment to be checked is BACNET agreements, obtain The parameter informations such as device IP, port, protocol type and device id.
In S103 steps, after the parameter information to measurement equipment to be checked is called, system can be according to parameter information The protocol type that the equipment is supported is determined, is then carried out by link pair equipment corresponding with the protocol type Detection.System can set detection cycle, periodically carry out malfunction elimination to each equipment automatically;It can also work as and set During standby failure, malfunction elimination is carried out to each equipment.System creates multiple links for different agreement type, When carrying out equipment detection, detection is completed according to link corresponding to the selection of the protocol type of equipment, specifically, System first determines whether the link is reachable, if unreachable, the link possible breakdown of the equipment, this is tied Fruit feeds back to foreground and handled;If link is reachable, continue to carry out subsequent detection to equipment, finally will inspection Survey result and feed back to foreground.
During detection, following two detection cases be present:
The first, if some equipment is broken down, it is impossible to when parameter is got in slave unit, chain is carried out to the equipment Road is detected, and investigates whether physical link goes wrong;If physical link is normal, possible equipment goes out in itself Existing failure.Specifically, when being detected to some equipment, system have sent parameter request to equipment, but It is the parameter that equipment does not report request, illustrates that equipment has the problem of faults itself or link failure, because This, investigates to the Link State of equipment first, corresponding such as transmission link up to test request to equipment MODBUS-RTU and MODBUS-TCP use Transmission Control Protocol (Transmission Control Protocol, transmission control protocol) keep live (keep-alive) detection link whether can use, SNMP and BACNET agreements, udp protocol (User Datagram Protocol, UDP) is used, It is whether reachable using common ping/tracert detection links, Link State just can determine whether according to testing result, If testing result is that link is unreachable, illustrate link fails, conversely, explanation equipment has problem in itself. Certainly, for the accuracy of detection, above-mentioned testing process can be performed a plurality of times.
Further, when equipment has failure in itself, as equipment fault causes the system frequent reconnection equipment, Or the equipment frequently reports unexpected message, in order to prevent faulty equipment from influenceing to lead the collection of other normal devices With the processing of data number, the link of the equipment can be controlled, if the equipment supports TCP links, to TCP Link is controlled, if supporting UDP links, UDP links is controlled, other links are similar; This device link is arranged to off-state, after equipment fault recovers or replaces new equipment, then this is set Bar link is connection status, re-establishes key road.
2nd, in link up in the case of, if some equipment breaks down, the partial parameters value of acquisition occurs When abnormal, single parameter can be made requests on by parameter detecting function, can be arranged according to the parameter actually returned Infrastructure device itself failure when looking into, or system-computed mistake.Specifically, detected to some equipment When, when link up to when, illustrate that the request that foreground issues normally can be delivered in equipment, based on this kind of feelings Condition, if exception occurs in the partial parameters value that equipment returns, system sends parameter request to be measured to equipment, right MODBUS-RTU the and MODBUS-TCP agreements answered send parameter register request command to be measured, Snmp protocol sends parameter OID to be measured SNMP GET messages, and BACNET agreements send parameter to be measured Read Property Multiple detection message, can be where failure judgement, if detection knot according to testing result Fruit is correct, illustrates system-computed mistake, conversely, explanation equipment breaks down in itself.
Further, under system health according to the automatic taken at regular intervals device parameter of the collection period set, If some device parameter needs to investigate extremely, investigate for convenience, parameter acquisition mode control function can be passed through Acquisition mode is controlled, such as terminates automatic data collection, after waiting malfunction elimination and recovering, is restarted automatic Collection.
By the implementation to such scheme, when the fault warning of operation maintenance personnel discovering device or device parameter exception, Line link and parameter detecting can be entered to single faulty equipment by the online of system foreground simple, intuitive, can also By control parameter acquisition mode and link come isolated fault equipment, ensure that supervisory control system running is unaffected, Whole process operation maintenance personnel need not pay close attention to various protocol types, equipment interface parameter and the inspection of various producers again Survey instrument.
Embodiment two
Detection method in above-described embodiment one can be applied to the detection means of the present embodiment offer, therefore this implementation Example no longer elaborates to the part of module in detection means, and particular content refers to the phase in embodiment one Close description.It is specific to refer to Fig. 2, the structure of the detecting device schematic diagram that Fig. 2 provides for the present embodiment, the device Concrete structure is as follows:
Determining module 201, for determining object to be detected;
Calling module 202, for calling the parameter information of object to be detected from database;
Detection module 203, detected for treating detection object according to parameter information, and obtain testing result.
Above-mentioned object to be detected includes infrastructure device, such as refrigeration plant, controller switching equipment, humiture, leak inspection The sensor devices such as survey, by the monitoring data of these infrastructure devices, can accurately check data center in time The critical datas such as operation conditions, energy consumption.The detection for treating detection object includes but is not limited to link detecting, ginseng Number detection, testing result, the result that operation maintenance personnel is shown according to foreground will be fed back to foreground after detection It can intuitively know whether the object to be detected breaks down, all agreements are managed so as to reduce operation maintenance personnel The requirement of solution, it is no longer necessary to which plenty of time and energy are spent in the analysis and correspondingly of each producer's interface protocol The use of instrument, without the cumbersome operating procedure of progress, it is only necessary to select measurement equipment and needs to be checked The function of detection, ensuing work are operated automatically by system background, greatly improve failure row Look into efficiency.
Further, determining module 201 is it is determined that (hereafter will be by taking measurement equipment to be checked as an example during object to be detected Scheme is illustrated), two kinds of detection triggering modes be present, first, being selected detection function by operation maintenance personnel and being treated Detection device, manual detection trigger flow;First, default detection cycle, periodically enters to each infrastructure device Row detection, or when there is equipment fault, automatic detection trigger flow carries out malfunction elimination to each equipment, Triggered manually without operation maintenance personnel.In addition, it is determined that during measurement equipment to be checked, number of devices is not limited, I.e. after selected detection function, once one or more equipment can be investigated, with fast positioning failure Equipment.Further, determining module 201 by internal interface the call parameters information from database, with Just feature operation corresponding to carrying out.Such as by calling the facility information in database, operation maintenance personnel just can be from Measurement equipment to be checked is selected in numerous equipment, and detection request is sent to calling module 202.Need to understand that It is that the parameter information of a large amount of infrastructure devices is acquired in database, such as facility information and corresponding parameter list, Facility information has the protocol type of equipment, IP address, port etc., and protocol type includes but is not limited to MODBUS-RTU agreements, MODBUS-TCP agreements, snmp protocol and BACNET agreements, If the protocol type of measurement equipment to be checked is MODBUS-RTU and MODBUS-TCP agreements, obtain The parameter informations such as taking equipment IP, port, protocol type, first parameter register address and register type; If the protocol type of measurement equipment to be checked is snmp protocol, obtain device IP, port, protocol type, The parameter informations such as the OID (Object identifier, object identity) of first parameter;If measurement equipment to be checked Protocol type is BACNET agreements, then obtains device IP, port, protocol type and device id etc. Parameter information.When treating detection object and being detected, backstage directly from database it is automatic call with it is to be checked The related parameter information of object is surveyed, so as to avoid operation maintenance personnel from being manually entered the parameter information of object to be detected.
Further, after calling module 202 receives the detection request of the transmission of determining module 201, from data Parameter information corresponding to being called in storehouse, and the request of the parameter information will be carried according to the protocol type of the equipment Detection module 203 is sent to, the request is assembled by detection module 203, is assembled into the lattice of link support Formula, the request after assembling is then sent to measurement equipment to be checked.The request of assembling such as Modbus Request, SNMP Get, Bacnet read Property Multiple etc..Specifically by taking MODBUS-RTU agreements as an example, Detection module 203 by TCP three-way handshake, creates TCP links according to device IP and port, according to Equipment is to maintain register, register address from address, parameter type and register address, such as parameter It is 0x01, then builds the request that code stream " 01 03 00 01 00 01CRC " carries out the parameter to equipment.
Further, determining module 201 includes:Type determination module 2011 and object determine submodule Block 2012;Type determination module 2011 is used to determine detection type, and object determination sub-module 2012 is used for Based on the detection type, object to be detected is determined.Specifically, by type determination module 2011 from parameter A detection function is determined in the types such as detection, link detecting, is then based on the detection function, object determines Submodule 2012 determines a measurement equipment to be checked.Above-mentioned steps can be selected manually by operation maintenance personnel on foreground Select, each detection function can also be performed successively to each equipment automatically by system and carry out fault detect.
Further, detection module 203 includes:Agreement determination sub-module 2031 and detection sub-module 2032; Agreement determination sub-module 2031 is used for the protocol type for determining that object to be detected is supported;Detection sub-module 2032 For being detected by link pair object to be detected corresponding with protocol type.Specifically, detection module 203 Link is created first against each protocol type, the link pair equipment for being then based on creating carries out malfunction elimination.Only Have when first time carries out malfunction elimination or link termination needs to re-create link, can just be directed to corresponding assist View creates link.In link up in the case of, measurement equipment to be checked is determined by agreement determination sub-module 2031 Protocol type, then detection sub-module 2032 entered by the measurement equipment to be checked of link pair corresponding to the protocol type Row detection, and obtain testing result and feed back to foreground.
In addition, the detection means also includes:Acquisition module 204, for called from database it is to be detected right Before the parameter information of elephant, gather the parameter information of each object and store into database;Link establishment module 205, for before detection object is treated according to parameter information and is detected, creating corresponding with each protocol type Link;Link control module 206, for after testing result is obtained, when testing result is to be detected right When being broken down as itself, the link that detection object is treated by link control is controlled;Acquisition mode control Molding block 207, for when testing result is the abnormal parameters of object to be detected, passing through acquisition mode control pair The acquisition mode of parameter is controlled.
Further, present invention also offers a kind of detecting system, the system includes measurement equipment to be checked and above-mentioned Detection means, wherein, measurement equipment to be checked includes subject body to be detected and link.Fig. 3 specifically is referred to, is schemed 3 be the present embodiment provide detecting system topology diagrams, figure include determining module 301, calling module 302, Detection module 303, collection network 304 and equipment 1,2,3 and 4.Wherein, equipment 1 and equipment 2 are equal Interacted by Transmission Control Protocol and system, equipment 3 and equipment 4 pass through udp protocol and system interaction. The request that equipment 1 is sent by the reception system of acquisition gateway 304, while the request is to pass through MODBUS-RTU protocol interfaces send to equipment 1, equipment 2 and directly connect by MODBUS-TCP agreements The request that mouth reception system is sent, equipment 3 are directly asked by snmp protocol interface, and equipment 4 is straight Connect BACNET protocol interfaces and receive request.Certainly, 4 equipment in Fig. 3 are only used for this implementation Example is made explanations, and is not intended to limit the present invention.
Embodiment three
The detection means that the present embodiment is provided based on above-described embodiment two, the function that detection means is realized is carried out Illustrate, the present invention will specifically be explained by taking link detecting as an example, specifically refer to Fig. 4, Fig. 4 is this reality The link detecting flow chart of example offer is applied, its specific testing process is as follows:
S401, determining module selection link detecting function;
Specifically, determining module selects link detecting function, the function that system is able to carry out includes but is not limited to Link detecting, parameter detecting, parameter acquisition mode control, link control, and the present embodiment is with link detecting work( Illustrated exemplified by energy.
S402, determining module selection need to carry out the equipment of link detecting and send to calling module to ask;
S403, calling module is according to request call parameter information and sends to detection module;
Asked specifically, determining module detects to calling module transmission link, calling module is according to request from number Parameter information is sent to detection module according to call parameters information in storehouse, and according to device protocol type.Parameter Information includes facility information and parameter list, and facility information has the protocol type of equipment, IP address, port etc.. If protocol type is MODBUS-RTU and MODBUS-TCP agreements, issue device IP, port, Protocol type, from address, first parameter register address and register type;If snmp protocol, Then issue device IP, port, protocol type, the OID of first parameter;If BACNET agreements, then Issue device IP, port, protocol type, equipment DeviceID.
S404, detection module up to test request and obtain test result to measurement equipment transmission link to be checked;
Specifically, parameter module detects request and corresponding facility information, ginseng according to calling module downlink Number information, for different agreement, transmission link is up to test request first;Corresponding MODBUS-RTU With MODBUS-TCP using Transmission Control Protocol keep live detection link whether can use, SNMP and BACNET agreements, use udp protocol, and whether detect link using common ping/tracert reachable. If test result is that link is unreachable, " mistake is returned to determining module by calling module:Link can not Reach!" result;If test result is that link is reachable, S405 steps are performed.
S405, parameter module assemble first parameter request and obtain testing result.
Specifically, MODBUS-RTU and MODBUS-TCP agreements send first parameter register request Order, snmp protocol send first parameter OID SNMP GET messages, and BACNET agreements are directly sent out Who is Device ID are sent to detect message.If what testing result was not returned or returned is error result, return Return " mistake:Required parameter fails!”;If testing result is correct, return " correct:Link is reachable!Ginseng Number is asked successfully!", two kinds of results are delivered to determining module by calling module.
Example IV
The detection means that the present embodiment is provided based on above-described embodiment two is right by taking parameter detecting this function as an example The present invention explains, and specifically refers to Fig. 5, and Fig. 5 is the parameter detecting flow chart that the present embodiment provides, its Specific testing process is as follows:
S501, determining module selection parameter detection function;
S502, determining module selection need to carry out the equipment of parameter detecting and send to calling module to ask;
S503, calling module is according to request call parameter information and sends to detection module;
Specifically, determining module sends parameter detecting request to calling module, calling module is according to request from number Parameter information is sent to detection module according to call parameters information in storehouse, and according to device protocol type.If Protocol type is MODBUS-RTU and MODBUS-TCP agreements, then issues device IP, port, association Discuss type, from address, parameter register address to be measured and register type;If snmp protocol, then Issue device IP, port, protocol type, the OID of parameter to be measured;If BACNET agreements, then under Send out device IP, port, protocol type, parameter attribute type to be measured and Instance.
S504, detection module are asked to measurement equipment to be checked transmission parameter detecting and obtain testing result;
Specifically, parameter detecting request includes parameter information, detection module is asked according to the parameter detecting, For different agreement, parameter detecting request to be measured, corresponding MODBUS-RTU and MODBUS-TCP are assembled Agreement sends parameter register request command to be measured, and snmp protocol sends parameter OID to be measured SNMP GET Message, BACNET agreements send the read Property Multiple detection message of parameter to be measured.If detection As a result what is do not returned or return is error result, then returns to " mistake to determining module by calling module transmission: Required parameter fails!”;If testing result is correct, the original value of corresponding register is returned to calling module.
S505, calling module are handled original value, and result is back into determining module.
Specifically, after calling module receives original value, reality is calculated according to the factor and field type etc. is calculated Value, and the information such as the actual value after original value, calculating and Parameter units are returned to determining module together.
Embodiment five
The detection means that the present embodiment is provided based on above-described embodiment two, controls this work(in a manner of parameter acquisition The present invention is explained exemplified by energy, specifically refers to Fig. 6, Fig. 6 is the parameter acquisition side that the present embodiment provides Formula control flow chart, its specific control flow are as follows:
S601, determining module selection parameter acquisition mode control function;
Parameter acquisition mode, which controls, to be referred to carry out automatic data collection or non-automatic collection to parameter.
S602, determining module select the measurement equipment to be checked for needing parameter acquisition mode to control and pass through calling module Acquisition mode control data is sent to detection module;
Specifically, parameter acquisition mode control data includes device identification and acquisition mode.
S603, detection module are handled acquisition mode.
Specifically, detection module is controlled according to the acquisition mode control data received to acquisition mode; If acquisition mode is automatic, detection module carries out taken at regular intervals according to collection period to parameter list; If control mode is non-automatic, without timing automatic collection.
Embodiment six
The detection means that the present embodiment is provided based on above-described embodiment two, using TCP links control this function as Example explains to the present invention, specifically refers to Fig. 7, and Fig. 7 is the TCP links control that the present embodiment provides Flow chart, its specific control flow are as follows:
S701, determining module selection TCP link control functions;
S702, determining module selection need the equipment into line link control and by calling module to detection module Transmission link control data;
Specifically, link control data includes device identification and control mode.
S703, detection module are handled control mode.
Specifically, detection module is controlled according to the link control data received to the link of the equipment; If control action is disconnects, detection module terminates TCP link connections corresponding to the equipment;If control Act to connect, then detection module establishes the connection of link corresponding to the equipment.
Obviously, those skilled in the art should be understood that each module of the invention described above or each step can be used General computing device realizes that they can be concentrated on single computing device, or be distributed in multiple On the network that computing device is formed, alternatively, they can with computing device can perform program code come Realize, it is thus possible to be stored in storage medium (ROM/RAM, magnetic disc, CD) by calculating Device performs, and in some cases, can be with shown or described by being performed different from order herein The step of, they are either fabricated to each integrated circuit modules respectively or by multiple modules in them Or step is fabricated to single integrated circuit module to realize.So the present invention be not restricted to it is any specific hard Part and software combine.
Above content is to combine specific embodiment further description made for the present invention, it is impossible to is recognized The specific implementation of the fixed present invention is confined to these explanations.For the ordinary skill of the technical field of the invention For personnel, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, Protection scope of the present invention should be all considered as belonging to.

Claims (14)

  1. A kind of 1. detection method, it is characterised in that including:
    Determine object to be detected;
    The parameter information of the object to be detected is called from database;
    The object to be detected is detected according to the parameter information, and obtains testing result.
  2. 2. detection method as claimed in claim 1, it is characterised in that described to determine object bag to be detected Include:
    Determine detection type;
    Based on the detection type, the object to be detected is determined.
  3. 3. detection method as claimed in claim 1, it is characterised in that according to the parameter information to institute Stating object to be detected and carrying out detection includes:
    Determine the protocol type that the object to be detected is supported;
    Detected by object to be detected described in link pair corresponding with the protocol type.
  4. 4. the detection method as described in claim any one of 1-3, it is characterised in that described from database Before the parameter information of the middle calling object to be detected, in addition to:Gather the parameter information of each object and deposit Store up in database.
  5. 5. the detection method as described in claim any one of 1-3, it is characterised in that according to the parameter Before information detects to the object to be detected, in addition to:Create link corresponding with each protocol type.
  6. 6. the detection method as described in claim any one of 1-3, it is characterised in that obtaining testing result Afterwards, in addition to:
    When testing result is that the object to be detected itself breaks down, controlled by link to described to be checked The link for surveying object is controlled;
    When testing result is the abnormal parameters of the object to be detected, controlled by acquisition mode to the ginseng Several acquisition modes are controlled.
  7. 7. detection method as claimed in claim 2, it is characterised in that the detection type comprises at least: Link detecting, parameter detecting.
  8. A kind of 8. detection means, it is characterised in that including:
    Determining module, for determining object to be detected;
    Calling module, for calling the parameter information of the object to be detected from database;
    Detection module, for being detected according to the parameter information to the object to be detected, and obtain inspection Survey result.
  9. 9. detection means as claimed in claim 8, it is characterised in that determining module includes:
    Type determination module, for determining detection type;
    Object determination sub-module, for based on the detection type, determining the object to be detected.
  10. 10. detection means as claimed in claim 8, it is characterised in that the detection module includes:
    Agreement determination sub-module, the protocol type supported for determining the object to be detected;
    Detection sub-module, for being carried out by object to be detected described in link pair corresponding with the protocol type Detection.
  11. 11. the detection means as described in claim any one of 8-10, it is characterised in that also include:
    Acquisition module, for before the parameter information of the object to be detected is called from database, gathering The parameter information of each object is simultaneously stored into database.
  12. 12. the detection means as described in claim any one of 8-10, it is characterised in that also include:
    Link establishment module, for before being detected according to the parameter information to the object to be detected, Create link corresponding with each protocol type.
  13. 13. the detection means as described in claim any one of 8-10, it is characterised in that also include:
    Link control module, for after testing result is obtained, when testing result is the object to be detected When itself breaks down, the link of the object to be detected is controlled by link control;
    Acquisition mode control module, for when testing result is the abnormal parameters of the object to be detected, leading to Acquisition mode control is crossed to be controlled the acquisition mode of the parameter.
  14. 14. a kind of detecting system, it is characterised in that including object to be detected and as claim 8-13 is any Detection means described in;The object to be detected includes subject body to be detected and link.
CN201610309118.1A 2016-05-10 2016-05-10 A kind of detection method, apparatus and system Pending CN107356284A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610309118.1A CN107356284A (en) 2016-05-10 2016-05-10 A kind of detection method, apparatus and system
PCT/CN2017/080469 WO2017193763A1 (en) 2016-05-10 2017-04-13 Testing method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610309118.1A CN107356284A (en) 2016-05-10 2016-05-10 A kind of detection method, apparatus and system

Publications (1)

Publication Number Publication Date
CN107356284A true CN107356284A (en) 2017-11-17

Family

ID=60266348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610309118.1A Pending CN107356284A (en) 2016-05-10 2016-05-10 A kind of detection method, apparatus and system

Country Status (2)

Country Link
CN (1) CN107356284A (en)
WO (1) WO2017193763A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110059916A (en) * 2019-03-04 2019-07-26 青岛海尔空调电子有限公司 Equipment quality standard detecting method, device and computer storage medium
CN111258289A (en) * 2018-11-30 2020-06-09 湖南中车时代电动汽车股份有限公司 Full-automatic function testing method and device for new energy automobile controller
CN113978394A (en) * 2021-10-26 2022-01-28 深圳市元征科技股份有限公司 Vehicle fault detection method and device, electronic equipment and storage medium
CN114689963A (en) * 2022-02-24 2022-07-01 深圳市双合电气股份有限公司 Fault analysis method
CN114780357A (en) * 2022-06-27 2022-07-22 西安羚控电子科技有限公司 Simulation test system monitoring method and monitoring system based on B _ S framework

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090164850A1 (en) * 2007-07-03 2009-06-25 Mcguinn Jackie Electronic Supervisor
CN102035694A (en) * 2010-12-20 2011-04-27 中兴通讯股份有限公司 Link detection device and method
CN102333011A (en) * 2011-10-17 2012-01-25 中兴通讯股份有限公司 Unidirection link detection (UDLD) method and UDLD device
CN104052631A (en) * 2014-05-22 2014-09-17 中兴通讯股份有限公司 Equipment information collecting method, device and system
CN105101272A (en) * 2014-05-13 2015-11-25 中兴通讯股份有限公司 Wireless communication device online fault detection method and apparatus, and wireless communication device thereof
CN105471667A (en) * 2014-09-09 2016-04-06 中兴通讯股份有限公司 Multicast link detection method, network equipment and server

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206130A (en) * 2007-12-17 2008-06-25 中国电子科技集团公司第二十研究所 Automatic verification/calibration/test platform for electronic instrument
CN101515248A (en) * 2008-02-21 2009-08-26 国际商业机器公司 Tracking method and tracking system for object-oriented program
CN101997728B (en) * 2009-08-21 2015-08-12 中兴通讯股份有限公司 A kind of checkout gear of Ethernet localised protection and method
CN102300335B (en) * 2010-06-22 2016-12-21 中兴通讯股份有限公司 A kind of method and device processing wireless link error
CN102843765B (en) * 2011-06-20 2017-11-28 中兴通讯股份有限公司 A kind of methods, devices and systems for determining the SOT state of termination
US9528914B2 (en) * 2013-09-27 2016-12-27 Rosemount, Inc. Non-intrusive sensor system
CN103528627A (en) * 2013-10-29 2014-01-22 哈尔滨海外电气系统工程总包有限公司 SNMP (simple network management protocol) based humiture detection instrument and method for detecting humiture by humiture detection instrument
CN104751050A (en) * 2015-04-13 2015-07-01 成都睿峰科技有限公司 Client application program management method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090164850A1 (en) * 2007-07-03 2009-06-25 Mcguinn Jackie Electronic Supervisor
CN102035694A (en) * 2010-12-20 2011-04-27 中兴通讯股份有限公司 Link detection device and method
CN102333011A (en) * 2011-10-17 2012-01-25 中兴通讯股份有限公司 Unidirection link detection (UDLD) method and UDLD device
CN105101272A (en) * 2014-05-13 2015-11-25 中兴通讯股份有限公司 Wireless communication device online fault detection method and apparatus, and wireless communication device thereof
CN104052631A (en) * 2014-05-22 2014-09-17 中兴通讯股份有限公司 Equipment information collecting method, device and system
CN105471667A (en) * 2014-09-09 2016-04-06 中兴通讯股份有限公司 Multicast link detection method, network equipment and server

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
冯明: "《实用网络管理技术》", 30 November 1995, 人民邮电出版社 *
徐华 等: "《智能建筑》", 31 May 2007, 中国计划出版社 *
蒋建春 等: "《计算机网络管理理论与实践教程》", 30 September 2008, 北京邮电大学出版社 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258289A (en) * 2018-11-30 2020-06-09 湖南中车时代电动汽车股份有限公司 Full-automatic function testing method and device for new energy automobile controller
CN110059916A (en) * 2019-03-04 2019-07-26 青岛海尔空调电子有限公司 Equipment quality standard detecting method, device and computer storage medium
CN113978394A (en) * 2021-10-26 2022-01-28 深圳市元征科技股份有限公司 Vehicle fault detection method and device, electronic equipment and storage medium
CN114689963A (en) * 2022-02-24 2022-07-01 深圳市双合电气股份有限公司 Fault analysis method
CN114780357A (en) * 2022-06-27 2022-07-22 西安羚控电子科技有限公司 Simulation test system monitoring method and monitoring system based on B _ S framework

Also Published As

Publication number Publication date
WO2017193763A1 (en) 2017-11-16

Similar Documents

Publication Publication Date Title
CN107356284A (en) A kind of detection method, apparatus and system
CN100536403C (en) Method and equipment of intelligent patrol detection for communication network
CN102111310B (en) Method and system for monitoring content delivery network (CDN) equipment status
CN104601415B (en) Intelligent substation steady state data closed loop test method and test system thereof
WO2016045353A1 (en) Troubleshooting analysis method, device, system and storage medium
CN102830694A (en) Automatic fault inspection system and client monitoring terminal
US20160127207A1 (en) System for Analyzing an Industrial Control Network
CN110768845A (en) Intelligent substation process level virtual connection fault positioning system
CN109104335A (en) A kind of industrial control equipment network attack test method and system
CN110752959A (en) Intelligent substation process layer physical link fault positioning system
CN107094091A (en) A kind of intelligent substation station level network configuration method of calibration and system
CN104950832B (en) Steel plant's control system
CN105891679A (en) Fault detection system and method for electric power grid
CN111082979A (en) Intelligent substation process layer secondary circuit fault diagnosis method based on switch and fault diagnosis host
CN101707503B (en) Embedded method and device for controlling automatic positioning of channel communication failure
CN109100116B (en) Optical module fault diagnosis system and method
CN102170368B (en) Intelligent fault locating method of distributed measuring system facing heavy gauge member
CN116896499B (en) kubernetes Pod network error checking system and method
CN109412902A (en) A kind of intelligent monitoring method of power dispatch data network system, storage equipment, terminal and system
CN106533739B (en) Method and device for positioning process layer network port fault
CN107026761A (en) A kind of method and device for determining alarm source
CN102830671A (en) Method for real-time monitoring of remote equipment
CN116506278A (en) Abnormal monitoring platform based on zabbix
CN108632109B (en) Network communication quality obtaining method, device and system
KR100500836B1 (en) Fault management system of metro ethernet network and method thereof

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171117