CN111122996A - Automatic testing method and system based on intelligent rapid sensing module - Google Patents

Automatic testing method and system based on intelligent rapid sensing module Download PDF

Info

Publication number
CN111122996A
CN111122996A CN201911217048.7A CN201911217048A CN111122996A CN 111122996 A CN111122996 A CN 111122996A CN 201911217048 A CN201911217048 A CN 201911217048A CN 111122996 A CN111122996 A CN 111122996A
Authority
CN
China
Prior art keywords
module
test
state
sensing module
remote control
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
CN201911217048.7A
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.)
Fujian Wangneng Technology Development Co ltd
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Great Power Science and Technology Co of State Grid Information and Telecommunication Co Ltd
Original Assignee
Fujian Wangneng Technology Development Co ltd
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Great Power Science and Technology Co of State Grid Information and Telecommunication Co Ltd
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 Fujian Wangneng Technology Development Co ltd, State Grid Corp of China SGCC, State Grid Information and Telecommunication Co Ltd, Great Power Science and Technology Co of State Grid Information and Telecommunication Co Ltd filed Critical Fujian Wangneng Technology Development Co ltd
Priority to CN201911217048.7A priority Critical patent/CN111122996A/en
Publication of CN111122996A publication Critical patent/CN111122996A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

An automatic test method and system based on intelligent fast sensing module; the automatic testing method can inquire, compare and set the basic information of the equipment to be tested; carrying out test judgment on a deflection event and a remote signaling bit and a state change event of the remote control setting of the equipment to be tested; the upper computer forwards data, and whether the forwarding function is reliable is compared through the sensing module and the test tool; then, outputting and summarizing test results of all modules, and then forming an automatic test report; the automatic test system comprises an upper computer, an intelligent rapid sensing module and a test tool; the upper computer can send test data to the perception module and receive a response frame of the perception module; reporting an uplink serial port of the test tool to upper computer test software so as to confirm whether the hardware state of the sensing module is consistent with the state expression of a response frame of the intelligent quick sensing module; the invention can reduce the test workload of developers and improve the product development efficiency.

Description

Automatic testing method and system based on intelligent rapid sensing module
Technical Field
The invention relates to an automatic testing method and system based on an intelligent rapid sensing module, and belongs to the technical field of automatic testing.
Background
The intelligent rapid sensing module is a hardware product developed by the network energy science and technology development limited company at present; the quick perception module of intelligence includes: the remote control system comprises an LED indicator light module, a remote control setting module and a remote signaling query module; the intelligent rapid sensing module is connected with the test tool through an LEDIO port, a remote signaling IO port and a remote control IO port and is connected with the upper computer through a serial port; the remote control setting module in the intelligent quick sensing module is connected with the remote signaling query module and the LED indicator light module, and when information in the remote control setting module and the remote signaling query module changes, the LED indicator light changes correspondingly; the existing testing method for the intelligent fast sensing module equipment is to manually arrange a testing scheme according to data items specified by a power protocol; according to the requirement of each data item, manually sending a data request frame through a serial port module tool of a PC (personal computer) end, returning a response frame after the intelligent quick sensing module receives the request frame, analyzing the obtained data frame through a tool for analyzing the corresponding frame after the serial port tool of the PC end receives the response frame, and observing the state of an LED (light-emitting diode) indicator lamp of the intelligent quick sensing module by combining human eyes so as to comprehensively judge whether the function item of the intelligent quick sensing module is realized;
in the prior art, operators need to spend great effort and time to complete the test of the internal parameters of the intelligent fast sensing module equipment, and the accuracy is not ideal; the method solves the problems that the hardware parameter test is slow, the accuracy is not as expected, the operation is complicated, the automation level is low, and the manual test is needed.
Disclosure of Invention
The invention provides an automatic testing method based on an intelligent rapid sensing module, which comprises an upper computer, the intelligent sensing module and a testing tool; the automatic testing method comprises the following steps:
s11, inquiring and comparing the basic information of the equipment to be tested, and outputting the result of whether the basic information of the equipment to be tested is consistent;
s12, setting basic information of the device to be tested in the device test program; and outputting the updated basic information of the equipment to be tested to the equipment to be tested.
S13, carrying out state deflection event test judgment on the remote control setting of the equipment to be tested, and outputting a remote control position state result;
s14, carrying out state change event test judgment on remote signaling inquiry of the equipment to be tested, and outputting a remote signaling state result;
s15, testing and judging the data forwarding function of the device to be tested, and outputting a data forwarding result;
and S16, outputting the module test results and summarizing the module test results in the steps S11 to S15, and then forming an automatic test report.
Further, in the automated testing method based on the intelligent fast sensing module, the query and comparison of the basic information of the device to be tested includes the following steps:
s21, acquiring basic information of the device to be tested;
s22, sequentially sending request frame information data to the intelligent fast sensing module from the upper computer;
s23, reading response frame information data from the intelligent fast sensing module;
s24, comparing whether the response frame information data is consistent with the data in the configuration file read in advance;
and S25, outputting a test result of whether the data are consistent to the upper computer.
Further, the automated testing method based on the intelligent fast sensing module, wherein the setting of the basic information of the device to be tested, comprises the following steps:
s31, presetting 3 effective numerical parameters and two ineffective numerical parameters by the upper computer according to the equipment data items to be tested; the effective numerical parameter comprises 1 common effective numerical parameter and two critical effective numerical values; the invalid numerical parameter is a critical invalid numerical parameter, and common values and critical values of the equipment to be tested are set and tested in sequence;
s32, the upper computer reads the numerical parameters of the device data item to be tested and stores the numerical parameters in the test software;
s33, the upper computer can sequentially send the request frame of the data item parameters of the equipment to be tested to the intelligent fast sensing module;
s34, the intelligent fast sensing module sends the response frame parameter back to the upper computer;
s35, the upper computer judges whether the equipment value parameter to be tested is set correctly according to the response frame parameter;
and S36, outputting a device value parameter setting test result.
Further, the automated testing method based on the intelligent fast sensing module comprises the following steps of:
s41, reading the state of the remote control position to be tested by the intelligent quick sensing module by the upper computer;
s42, sending a data frame for changing the current remote control state and sending the data frame to the intelligent quick sensing module;
s43, the upper computer acquires a remote control response frame of the intelligent quick sensing module, and then judges whether the response is normal or not;
s44, obtaining the state of the current remote control position through the test tool, and judging whether the current remote control state is correct;
s45, acquiring the state of the LED indicating lamp corresponding to the state change of the current remote control position through the test fixture, and judging whether the state change of the LED indicating lamp is correct or not;
s46, the upper computer combines the results from S43 to S45 to judge whether the current remote control position setting is successful;
s47, reading the latest 10 records of the remote control event record of the current remote control setting;
and S48, judging whether the remote control event record has errors or not, sequentially testing each remote control position, increasing the cycle increasing setting times if the final remote control displacement testing times are less than 20, and then outputting a remote control setting testing result.
Further, the automated testing method based on the intelligent fast sensing module comprises the following steps of:
s51, setting a random remote signaling state on the intelligent fast sensing module through a test tool;
s52, sending a request frame from the upper computer to acquire the set remote signaling bit state; the set remote signaling bit state is state 1;
s53, the upper computer reads the response frame of the intelligent quick sensing module, acquires the corresponding remote signaling bit state on the current intelligent sensing module, and calls the corresponding remote signaling bit state as state 2;
s54, comparing the state 1 with the state 2 in an upper computer;
s55, the upper computer judges whether the remote signaling bit inquiry is successful;
s56, changing the state 1 into a state 1' through a test tool;
s57, repeating the steps from S52 to S53 to obtain a state 2';
s57, comparing 1 'and 2' to judge whether the remote signaling bit state changes and whether the change state is reflected by an LED indicator light;
s58, reading the latest 10 records of the telecommand event records of the current telecommand deflection;
and S59, judging whether the telecommand event records have errors, sequentially testing each telecommand bit, if the final telecommand deflection test frequency is less than 20, increasing the cycle increase setting frequency, and then outputting a telecommand bit state test result.
Further, the automated testing method based on the intelligent fast sensing module comprises the following steps of:
s61, sending a complete data frame to be forwarded to the intelligent fast sensing module;
s62, the upper computer receives the forwarding frame sent by the intelligent fast sensing module through the test tool;
s63, comparing whether the forwarding frame is legal or not in the software of the upper computer;
s64, sending the damaged data frame to be forwarded to the intelligent quick sensing module; if the data to be forwarded is incomplete or damaged, the data to be forwarded is discarded by the sensing module and is not forwarded any more;
s65, judging whether overtime waiting can pass through the tool; the upper computer judges whether the damaged frame is discarded or not through a timer;
and S66, outputting a test data forwarding test result.
Furthermore, the upper computer can test each module at one time, output corresponding module test results after the test of each module is completed, and summarize all module test results, thereby forming an automatic test report.
An automatic test system based on an intelligent rapid sensing module comprises the intelligent rapid sensing module, a test tool and an upper computer; the upper computer is provided with a serial port module, is electrically connected with the intelligent quick sensing module and an uplink serial port of the test tool, and can send test data to the intelligent quick sensing module and receive a response frame of the intelligent quick sensing module; when the test request relates to remote control setting detection, remote signaling state detection and data forwarding, detecting a corresponding interface by using a test tool, and reporting the interface to upper computer test software through an uplink serial port of the test tool, so as to confirm whether the hardware state of the intelligent fast sensing module is consistent with the state expression of a response frame of the intelligent fast sensing module;
quick perception module area test module of intelligence includes: the remote control system comprises an LED indicator light module, a remote control setting module and a remote signaling query module; the remote control setting module is connected with the remote signaling query module and the LED indicator light module, and when information in the remote control setting module and the remote signaling query module changes, the LED indicator light changes correspondingly;
the test fixture comprises: the remote control device comprises an LED indicator light change detection module, a remote control setting detection module and a remote signaling deflection detection module; the LED indicator lamp change detection is judged through LED IO; the state of the telecommand deflection is judged through a telecommand IO; remote control setting detection is judged through remote control IO state; the testing tool module is electrically connected with the LED indicator lamp and the downlink serial port of the intelligent rapid sensing module through signal wires and is electrically connected with the serial port of the upper computer; the test tool module supplies power for the intelligent quick sensing module.
Furthermore, the automatic test system based on the intelligent quick sensing module comprises a data forwarding module, an equipment basic information query module and an equipment basic information setting module; the device information that the device basic information query module can query includes: the method comprises the following steps of (1) equipment address, equipment current time, equipment production time, equipment manufacturer code information, equipment firmware version information, equipment hardware version information, equipment protocol version number and equipment number; the device basic information query module can compare whether the read device information is consistent or not by reading a device information configuration file prepared in advance; the information content which can be set for the equipment by the equipment basic information setting module comprises the following steps: equipment address, current equipment time, production time, universal address, alarm time, baud rate, remote time and asset management code; the device basic information setting module can set and test basic information in the quick sensing door module; the setting test includes a normal value test and a critical value setting test.
Furthermore, the automatic test system based on the intelligent quick sensing module is characterized in that the remote control setting module has a test remote control setting function and a remote control deflection event recording function generated after remote control setting; the remote signaling deflection detection module can read a remote signaling state and record a remote signaling state deflection event; the state of the telecommand position change event can be judged through the testing tool.
The invention has the following gain effects:
1) the test workload is reduced, and the product development efficiency is improved;
2) the product testing automation of the production line is realized, and the production efficiency is improved.
Drawings
FIG. 1 is a system work flow diagram of the present invention;
FIG. 2 is a basic information query comparison workflow diagram of the test equipment of the present invention;
FIG. 3 is a flowchart illustrating a process of setting basic information of a device under test according to the present invention;
FIG. 4 is a schematic diagram illustrating a working flow of the shift event test for the remote control setting of the device under test according to the present invention;
FIG. 5 is a schematic diagram of a working flow of the present invention for testing and determining a state change event in a remote signaling query of a device under test;
FIG. 6 is a schematic diagram of a data forwarding workflow of the present invention;
FIG. 7 is a schematic block diagram of a system.
Detailed Description
An automatic test method based on an intelligent rapid sensing module comprises an upper computer, the intelligent sensing module and a test tool; the automatic testing method comprises the following steps:
s11, inquiring and comparing the basic information of the equipment to be tested, and outputting the result of whether the basic information of the equipment to be tested is consistent;
s12, setting basic information of the device to be tested in the device test program; and outputting the updated basic information of the equipment to be tested to the equipment to be tested.
S13, carrying out state deflection event test judgment on the remote control setting of the equipment to be tested, and outputting a remote control position state result;
s14, carrying out state change event test judgment on remote signaling inquiry of the equipment to be tested, and outputting a remote signaling state result;
s15, testing and judging the data forwarding function of the device to be tested, and outputting a data forwarding result;
and S16, outputting the module test results and summarizing the module test results in the steps S11 to S15, and then forming an automatic test report.
The inquiring and comparing of the basic information of the device to be tested is to compare whether the read device information is correct through a device information configuration file prepared in advance, referring to fig. 2, and the method comprises the following steps:
s21, acquiring basic information of the device to be tested;
s22, sequentially sending request frame information data from the upper computer to the intelligent fast sensing module;
s23, reading response frame information data from the intelligent fast sensing module;
s24, comparing whether the response frame information data is consistent with the data in the configuration file read in advance; when the read configuration file is consistent with the response frame result, the reading is successful;
and S25, the test software in the upper computer judges whether the test is carried out at present, and the obtained test result outputs the test result to the upper computer no matter whether the reading is successful.
The automatic testing method based on the intelligent fast sensing module sets the basic information of the device to be tested, referring to fig. 3, and comprises the following steps:
s31, presetting 3 effective numerical parameters and two ineffective numerical parameters by the upper computer according to the equipment data items to be tested; the effective numerical parameter comprises 1 common effective numerical parameter and two critical effective numerical values; the invalid numerical parameter is a critical invalid numerical parameter; setting and testing common values and critical values of the equipment to be tested in sequence; when a tested device data item falls within a critical valid range of values, the device data item is legitimate; when the tested equipment data item is out of the critical invalid range, the equipment data item is illegal;
s32, the upper computer reads the numerical parameters of the device data item to be tested and stores the numerical parameters in the test software;
s33, the upper computer can sequentially send the request frame of the data item parameters of the equipment to be tested to the intelligent fast sensing module;
s34, the intelligent fast sensing module sends the response frame parameter back to the upper computer;
s35, the upper computer judges whether the equipment value parameter to be tested is set correctly according to the response frame parameter;
and S36, outputting a device value parameter setting test result. When the equipment numerical parameter is correctly set, indicating that the equipment data item is successfully set, and then outputting a test result; and then judging whether other equipment data items need to be tested (directly judging whether the equipment data items need to be tested when the equipment data items fail), and outputting a test result if the equipment data items do not need to be tested.
The automated testing method based on the intelligent fast sensing module is characterized in that the test and judgment of the displacement event of the remote control setting of the equipment to be tested are carried out, referring to fig. 4, and the method comprises the following steps:
s41, the upper computer reads the state of the remote control position to be tested, which can only be tested by the quick sensing module;
s42, sending the data frame for changing the current remote control state to the intelligent fast sensing module;
s43, the upper computer acquires a remote control response frame of the intelligent quick sensing module, and then judges whether the response is normal or not;
s44, obtaining the state of the current remote control position through the test tool, and judging whether the current remote control state is correct;
s45, acquiring the state of the LED indicating lamp corresponding to the state change of the current remote control position through the test fixture, and judging whether the state change of the LED indicating lamp is correct or not;
s46, the upper computer combines the results from S43 to S45 to judge whether the current remote control position setting is successful;
s47, reading the latest 10 records of the remote control event record of the current remote control setting; judging whether the record writing is normal or not for 10 times;
and S48, judging whether the remote control event record has errors or not, sequentially testing each remote control position, increasing the cycle increasing setting times if the final remote control displacement testing times are less than 20, and then outputting a remote control setting testing result.
The automatic testing method based on the intelligent fast perception module tests and judges the state change event of the remote signaling inquiry of the equipment to be tested, and with reference to fig. 5, the method comprises the following steps:
s51, setting a random remote signaling state on the intelligent fast sensing module through a test tool; the set remote signaling bit state is in a state 1, and the testing tool transmits the state 1 to an upper computer through a serial port; s52, sending a request frame from the upper computer to acquire a remote signaling state set by the testing tool;
s53, the upper computer reads the response frame of the intelligent quick sensing module, acquires the corresponding remote signaling bit state on the current intelligent sensing module, and calls the corresponding remote signaling bit state as state 2;
s54, comparing the state 1 with the state 2 in an upper computer;
s55, the upper computer judges whether the remote signaling bit inquiry is successful;
s56, changing the state 1 into a state 1' through a test tool;
s57, repeating the steps from S52 to S53 to obtain a state 2';
s57, comparing 1 'and 2' to judge whether the remote signaling bit state changes and whether the change state is reflected by an LED indicator light;
s58, reading the latest 10 records of the telecommand event records of the current telecommand query; (ii) a
And S59, judging whether the telecommand event records have errors, sequentially testing each telecommand bit, if the final telecommand deflection test frequency is less than 20, increasing the cycle increase setting frequency, and then outputting a telecommand bit state test result.
The automatic test method based on the intelligent fast sensing module is characterized in that after data forwarding needs to be tested and data to be forwarded are sent to the intelligent fast sensing module from an upper computer, whether the intelligent fast sensing module can be completely forwarded to a downlink serial port of the intelligent fast sensing module or not can be tested and judged, and referring to FIG. 6, the step of testing and judging the data forwarding function of equipment to be tested comprises the following steps:
s61, sending a complete data frame to be forwarded to the intelligent fast sensing module;
s62, the upper computer receives the forwarding frame sent by the intelligent fast sensing module through the test tool;
s63, comparing whether the forwarding frame is legal or not in the software of the upper computer;
s64, sending the damaged data frame to be forwarded to the intelligent quick sensing module; if the data to be forwarded is incomplete or damaged, the data to be forwarded is discarded by the sensing module and is not forwarded any more;
s65, judging whether overtime waiting can pass through the tool; the upper computer judges whether the damaged frame is discarded or not through a timer;
and S66, outputting the data forwarding test result.
According to the automatic testing method based on the intelligent fast sensing module, the upper computer can test each module at one time, corresponding module testing results are output after the testing of each module is completed, and all module testing results are summarized, so that an automatic testing report is formed.
An automatic test system based on an intelligent rapid sensing module comprises the intelligent rapid sensing module, a test tool and an upper computer; the upper computer is provided with a serial port module, is electrically connected with the intelligent quick sensing module and an uplink serial port of the test tool, and can send test data to the intelligent quick sensing module and receive a response frame of the intelligent quick sensing module; when the test request relates to remote control setting detection, remote signaling state detection and data forwarding, detecting a corresponding interface by using a test tool, and reporting the interface to test software in an upper computer through an uplink serial port of the test tool, so as to confirm whether the hardware state of the intelligent fast sensing module is consistent with the state expression of a response frame of the intelligent fast sensing module;
quick perception module area test module of intelligence includes: the remote control system comprises an LED indicator light module, a remote control setting module and a remote signaling query module; the remote control setting module is connected with the remote signaling query module and the LED indicator light module, and when information in the remote control setting module and the remote signaling query module changes, the LED indicator light changes correspondingly;
the test fixture comprises: the remote control device comprises an LED indicator light change detection module, a remote control setting detection module and a remote signaling deflection detection module; the LED indicator lamp change detection is judged through LED IO; the state of the telecommand deflection is judged through a telecommand IO; remote control setting detection is judged through remote control IO state; the test fixture is electrically connected with an LED indicator lamp and a downlink serial port of the intelligent rapid sensing module through signal wires and is electrically connected with a serial port of an upper computer; the test tool supplies power to the intelligent rapid sensing module;
the automatic test system based on the intelligent quick sensing module comprises a data forwarding module, an equipment basic information query module and an equipment basic information setting module; the device information that the device basic information query module can query includes: the method comprises the following steps of (1) equipment address, equipment current time, equipment production time, equipment manufacturer code information, equipment firmware version information, equipment hardware version information, equipment protocol version number and equipment number; the device basic information query module can compare whether the read device information is consistent or not by reading a device information configuration file prepared in advance; the information content which can be set for the equipment by the equipment basic information setting module comprises the following steps: equipment address, current equipment time, production time, universal address, alarm time, baud rate, remote time and asset management code; the device basic information setting module can set and test basic information in the quick sensing door module; the setting test comprises a common value test and a critical value setting test;
the automatic test system based on the intelligent quick sensing module is characterized in that the remote control setting module has a test remote control setting function and a remote control deflection event recording function generated after remote control setting; the remote signaling deflection detection module can read a remote signaling state and record a remote signaling state deflection event; the state of the telecommand position change event can be judged through the testing tool.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all changes in the structure and process of the invention, which are made by the contents of the specification and the drawings, or directly or indirectly applied to other related technical fields, are also included in the scope of the present invention.

Claims (10)

1. An automatic test method based on an intelligent rapid sensing module comprises an upper computer, the intelligent rapid sensing module and a test tool; the automatic testing method is characterized by comprising the following steps:
s11, inquiring and comparing the basic information of the equipment to be tested, and outputting the result of whether the basic information of the equipment to be tested is consistent;
s12, setting basic information of the device to be tested in the device test program; outputting the updated basic information of the equipment to be tested;
s13, carrying out state deflection event test judgment on the remote control setting of the equipment to be tested, and outputting a remote control position state result;
s14, carrying out state change event test judgment on remote signaling inquiry of the equipment to be tested, and outputting a remote signaling state result;
s15, testing and judging the data forwarding function of the device to be tested, and outputting a data forwarding result;
and S16, outputting the module test results and summarizing the module test results in the steps S11 to S15, and then forming an automatic test report.
2. The automated testing method based on the intelligent fast perception module according to claim 1, wherein the basic information query comparison of the devices to be tested comprises the following steps:
s21, acquiring basic information of the device to be tested;
s22, sequentially sending request frame information data to the intelligent fast sensing module from the upper computer;
s23, reading response frame information data from the intelligent fast sensing module;
s24, comparing whether the response frame information data is consistent with the data in the configuration file read in advance;
and S25, outputting a test result of whether the data are consistent to the upper computer.
3. The automated testing method based on the intelligent fast perception module according to claim 1, wherein the setting of the basic information of the device to be tested comprises the following steps:
s31, presetting 3 effective numerical parameters and two ineffective numerical parameters by the upper computer according to the equipment data items to be tested; the effective numerical parameter comprises 1 common effective numerical parameter and two critical effective numerical values; the invalid numerical parameter is a critical invalid numerical parameter; setting and testing common values and critical values of the equipment to be tested in sequence;
s32, the upper computer reads the numerical parameters of the device data item to be tested and stores the numerical parameters in the test software;
s33, the upper computer can sequentially send the request frame of the data item parameters of the equipment to be tested to the intelligent fast sensing module;
s34, the intelligent fast sensing module sends the response frame parameter back to the upper computer;
s35, the upper computer judges whether the equipment value parameter to be tested is set correctly according to the response frame parameter;
and S36, outputting a device value parameter setting test result.
4. The automated testing method based on the intelligent fast sensing module according to claim 1, wherein the step of performing a deflection event test judgment on the remote control setting of the device to be tested comprises the following steps:
s41, reading the state of the remote control position to be tested by the intelligent quick sensing module by the upper computer;
s42, sending the data frame for changing the current remote control state to the intelligent fast sensing module;
s43, the upper computer acquires a remote control response frame of the intelligent quick sensing module, and then judges whether the response is normal or not;
s44, obtaining the state of the current remote control position through the test tool, and judging whether the current remote control state is correct;
s45, acquiring the state of the LED indicating lamp corresponding to the state change of the current remote control position through the test fixture, and judging whether the state change of the LED indicating lamp is correct or not;
s46, the upper computer combines the results from S43 to S45 to judge whether the current remote control position setting is successful;
s47, reading the latest 10 records of the remote control event record of the current remote control setting;
and S48, judging whether the remote control event record has errors, sequentially testing each remote control position, increasing the cycle increasing setting times if the final remote control displacement testing times are less than 20, and then outputting a remote control setting testing result.
5. The automated testing method based on the intelligent fast perception module according to claim 1, wherein the state change event testing and judging of the remote signaling query of the device to be tested comprises the following steps:
s51, setting a random remote signaling state on the intelligent fast sensing module through a test tool; the set remote signaling bit state is in a state 1, and the testing tool transmits the state 1 to an upper computer through a serial port;
s52, sending a request frame from the upper computer to acquire a remote signaling state set by the testing tool;
s53, the upper computer reads the response frame of the intelligent quick sensing module, acquires the corresponding remote signaling bit state on the current intelligent sensing module, and calls the corresponding remote signaling bit state as state 2;
s54, comparing the state 1 with the state 2 in an upper computer;
s55, the upper computer judges whether the remote signaling bit inquiry is successful;
s56, changing the state 1 into a state 1' through a test tool;
s57, repeating the steps from S52 to S53 to obtain a state 2';
s57, comparing 1 'and 2' to judge whether the remote signaling bit state changes and whether the change state is reflected by an LED indicator light;
s58, reading the latest 10 records of the telecommand event records of the current telecommand bit;
and S59, judging whether the telecommand event records have errors, sequentially testing each telecommand bit, if the final telecommand deflection test frequency is less than 20, increasing the cycle increase setting frequency, and then outputting a telecommand bit state test result.
6. The automated testing method based on the intelligent fast perception module according to claim 1, wherein the testing and judging the data forwarding function of the device to be tested comprises the following steps:
s61, sending a complete data frame to be forwarded to the intelligent fast sensing module;
s62, the upper computer receives the forwarding frame sent by the intelligent fast sensing module through the test tool;
s63, comparing whether the forwarding frame is legal or not in the software of the upper computer;
s64, sending the damaged data frame to be forwarded to the intelligent quick sensing module; the complete data frame can be forwarded to the test tool by the sensing module; if the data to be forwarded is incomplete or damaged, the data to be forwarded is discarded by the sensing module and is not forwarded any more;
s65, judging whether overtime waiting can pass through the tool; the upper computer judges whether the damaged frame is discarded or not through a timer;
and S66, outputting the data forwarding test result.
7. The automated testing method based on the intelligent fast sensing module according to claim 1, wherein the upper computer can test each module at a time, output corresponding module testing results after completing the testing of each module, and summarize all module testing results to form an automated testing report.
8. An automatic test system based on an intelligent rapid sensing module comprises the intelligent rapid sensing module, a test tool and an upper computer; the intelligent rapid sensing device is characterized in that the upper computer is provided with a serial port module, is electrically connected with the intelligent rapid sensing module and an uplink serial port of the testing tool, and can send testing data to the intelligent rapid sensing module and receive a response frame of the intelligent rapid sensing module; when the test request relates to remote control setting detection, remote signaling state detection and data forwarding, detecting a corresponding interface by using a test tool, and reporting the interface to test software in an upper computer through an uplink serial port of the test tool, so as to confirm whether the hardware state of the intelligent fast sensing module is consistent with the state expression of a response frame of the intelligent fast sensing module;
quick perception module area test module of intelligence includes: the remote control system comprises an LED indicator light module, a remote control setting module and a remote signaling query module; the remote control setting module is connected with the remote signaling query module and the LED indicator light module, and when information in the remote control setting module and the remote signaling query module changes, the LED indicator light changes correspondingly;
the test fixture comprises: the remote control device comprises an LED indicator light change detection module, a remote control setting detection module and a remote signaling deflection detection module; the LED indicator lamp change detection is judged through LED IO; the state of the telecommand deflection is judged through a telecommand IO; remote control setting detection is judged through remote control IO state; the test fixture is electrically connected with an LED indicator lamp and a downlink serial port of the intelligent rapid sensing module through signal wires and is electrically connected with a serial port of an upper computer; the test tool supplies power to the intelligent rapid sensing module.
9. The automated testing system based on the intelligent fast perception module according to claim 8, characterized in that, the data forwarding module, the device basic information query module and the device basic information setting module; the device information that the device basic information query module can query includes: the method comprises the following steps of (1) equipment address, equipment current time, equipment production time, equipment manufacturer code information, equipment firmware version information, equipment hardware version information, equipment protocol version number and equipment number; the device basic information query module can compare whether the read device information is consistent or not by reading a device information configuration file prepared in advance; the information content which can be set for the equipment by the equipment basic information setting module comprises the following steps: equipment address, current equipment time, production time, universal address, alarm time, baud rate, remote time and asset management code; the device basic information setting module can set and test basic information in the quick sensing door module; the setting test includes a normal value test and a critical value setting test.
10. The automated testing system based on the intelligent fast sensing module according to claim 8, wherein the remote control setting module has a function of testing remote control setting and a function of recording remote control displacement events generated after remote control setting; the remote signaling deflection detection module can read a remote signaling state and record a remote signaling state deflection event; the state of the telecommand position change event can be judged through the testing tool.
CN201911217048.7A 2019-12-03 2019-12-03 Automatic testing method and system based on intelligent rapid sensing module Pending CN111122996A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911217048.7A CN111122996A (en) 2019-12-03 2019-12-03 Automatic testing method and system based on intelligent rapid sensing module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911217048.7A CN111122996A (en) 2019-12-03 2019-12-03 Automatic testing method and system based on intelligent rapid sensing module

Publications (1)

Publication Number Publication Date
CN111122996A true CN111122996A (en) 2020-05-08

Family

ID=70497134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911217048.7A Pending CN111122996A (en) 2019-12-03 2019-12-03 Automatic testing method and system based on intelligent rapid sensing module

Country Status (1)

Country Link
CN (1) CN111122996A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112180189A (en) * 2020-09-09 2021-01-05 杭州涂鸦信息技术有限公司 Automatic detection method, device and system based on multi-class intelligent module
CN113009291A (en) * 2021-02-20 2021-06-22 国网湖南省电力有限公司 Intelligent substation intelligent sensing terminal performance detection method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102928707A (en) * 2012-10-31 2013-02-13 西安供电局 Comprehensive testing device of observe and control terminal unit of switching station
WO2016090908A1 (en) * 2014-12-12 2016-06-16 国家电网公司 Memory simulation testing board system and testing method for embedded application of intelligent electric meter
CN107402332A (en) * 2016-05-20 2017-11-28 中国电力科学研究院 A kind of Intelligent power distribution terminal multi-epitope automatic checkout system and its detection method
CN108732443A (en) * 2018-05-21 2018-11-02 湖北三江航天万峰科技发展有限公司 A kind of Auto-Test System and method based on Linux
CN108761238A (en) * 2018-05-29 2018-11-06 国网山东省电力公司济南供电公司 A kind of long-range monitoring and maintenance system of digital transformer substation straight-flow system
CN211878085U (en) * 2019-12-03 2020-11-06 福建网能科技开发有限责任公司 Automatic test system based on intelligent quick sensing module

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102928707A (en) * 2012-10-31 2013-02-13 西安供电局 Comprehensive testing device of observe and control terminal unit of switching station
WO2016090908A1 (en) * 2014-12-12 2016-06-16 国家电网公司 Memory simulation testing board system and testing method for embedded application of intelligent electric meter
CN107402332A (en) * 2016-05-20 2017-11-28 中国电力科学研究院 A kind of Intelligent power distribution terminal multi-epitope automatic checkout system and its detection method
CN108732443A (en) * 2018-05-21 2018-11-02 湖北三江航天万峰科技发展有限公司 A kind of Auto-Test System and method based on Linux
CN108761238A (en) * 2018-05-29 2018-11-06 国网山东省电力公司济南供电公司 A kind of long-range monitoring and maintenance system of digital transformer substation straight-flow system
CN211878085U (en) * 2019-12-03 2020-11-06 福建网能科技开发有限责任公司 Automatic test system based on intelligent quick sensing module

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112180189A (en) * 2020-09-09 2021-01-05 杭州涂鸦信息技术有限公司 Automatic detection method, device and system based on multi-class intelligent module
CN113009291A (en) * 2021-02-20 2021-06-22 国网湖南省电力有限公司 Intelligent substation intelligent sensing terminal performance detection method and device
CN113009291B (en) * 2021-02-20 2022-10-28 国网湖南省电力有限公司 Intelligent substation intelligent sensing terminal performance detection method and device

Similar Documents

Publication Publication Date Title
CN111624427A (en) Detection method and system of relay protection device
CN111122996A (en) Automatic testing method and system based on intelligent rapid sensing module
CN104391244B (en) The relay protection device closed loop method of inspection and system
CN109217465A (en) Supervisory control of substation information Acceptance Test System and method
CN102118282A (en) Communication protocol consistency detection method and system
CN103678124B (en) Video surveillance platform auto-test method and device based on continuous integrated environment
CN112235166B (en) Bluetooth connection time detection method and system
CN111813655B (en) Buried point test method and device, buried point management system and storage medium
CN211878085U (en) Automatic test system based on intelligent quick sensing module
CN113839712B (en) Optical module-based signal transmission monitoring method, equipment, storage medium and device
CN110097275A (en) A kind of family change relational checking method and device based on platform area power failure data
CN110554940A (en) Serial port detection tool and method based on electric energy meter communication
CN116485376A (en) Data closed-loop method for equipment maintenance outsourcing service flow
CN109254214B (en) Automatic test system and method for valve-based electronic equipment
CN111355740A (en) Method for rapidly and conveniently detecting firewall configuration
KR101330143B1 (en) Method of testing can gateway
CN116719265B (en) Industrial control computer self-checking control system and method
CN111125066B (en) Method and device for detecting functions of database auditing equipment
CN112867024A (en) Test method, system and communication equipment
CN108920311A (en) A kind of test method and test equipment of Intelligent lamp
CN112433488A (en) Equipment safety management system
CN116506007A (en) Optical module firmware testing system and method
CN105574460B (en) Barcode scanning equipment working state monitoring method and device
CN109543860A (en) A kind of boiler for Design of Intelligent Workshop quickly reports method and device for repairment
CN115396351A (en) Automatic router test method, device, equipment and storage medium

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