CN111949533A - Embedded software automatic test platform of electric power intelligent terminal - Google Patents

Embedded software automatic test platform of electric power intelligent terminal Download PDF

Info

Publication number
CN111949533A
CN111949533A CN202010806737.8A CN202010806737A CN111949533A CN 111949533 A CN111949533 A CN 111949533A CN 202010806737 A CN202010806737 A CN 202010806737A CN 111949533 A CN111949533 A CN 111949533A
Authority
CN
China
Prior art keywords
test
module
platform
processing module
unit
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
CN202010806737.8A
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.)
Anhui Jiyuan Examination And Detection Technology Co ltd
Original Assignee
Anhui Jiyuan Examination And Detection Technology 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 Anhui Jiyuan Examination And Detection Technology Co ltd filed Critical Anhui Jiyuan Examination And Detection Technology Co ltd
Priority to CN202010806737.8A priority Critical patent/CN111949533A/en
Publication of CN111949533A publication Critical patent/CN111949533A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an embedded software automatic test platform of an electric power intelligent terminal, which comprises a test software platform, a case management module, an integrated unit module, a control conversion module, a signal processing module, a test result reading and judging module and a graphic report generating module; according to the invention, through the embedded software automatic test platform, automatic test can be realized, not only functional test is supported, but also performance, interface and reliability test is supported, the dimension of the automatic test is improved, the cost is reduced, and the platform is provided with a fault injection test mechanism, so that the reliability of the software is further improved.

Description

Embedded software automatic test platform of electric power intelligent terminal
Technical Field
The invention relates to the technical field of embedded software detection platforms, in particular to an embedded software automatic test platform of an electric power intelligent terminal.
Background
In recent years, with the rapid increase of embedded software applications in the fields of power systems, rail transit, military industry and the like, some intelligent terminal devices are continuously appeared, the reliability requirement of embedded software is gradually improved, and the significance of testing embedded software is great.
The embedded simulation in-loop tests in the market at present adopt MIL special test software with higher price, and are usually used for testing the functions of embedded software more frequently, so that automatic generation of use cases and imaging generation of test reports are realized.
The embedded software in the market mainly adopts a test method of mainly manual test and secondarily equipment test, and the test method has low efficiency and higher labor cost; meanwhile, the price of the existing few embedded in-loop test software is expensive, and the requirement on testers is high.
Disclosure of Invention
In order to achieve the purpose, the invention adopts the technical scheme that:
an embedded software automatic test platform of an electric power intelligent terminal comprises a test software platform, a case management module, an integrated unit module, a control conversion module, a signal processing module, a test result reading and judging module and a graphic report generating module;
the test software platform obtains an expected result according to the information fed back by the signal processing module, and the expected result is compared with the received result through a verification algorithm to obtain a test result;
the test result reading and judging module judges the test result to obtain a test conclusion;
the control conversion module receives the information fed back by the case management module, converts the information and transmits the information to the signal processing module to feed back to the test software platform.
Furthermore, the comprehensive unit module comprises a unit case processing module, a software integration case processing module, a system case processing module and a fault injection case processing module, wherein each module sends out a test signal through the control conversion module, the test signal is transmitted to the signal processing module and is transmitted to a tested object after signal processing, after the tested object responds, the signal processing module collects and processes the response signal and transmits the signal to the test software platform, and the test software platform compares an expected result with a received result through a verification algorithm.
Further, the fault injection case processing module judges whether the previous test content has defects after the test is finished, the system generates a defect report, at the moment, the fault injection test is carried out after the defects need to be repaired, the fault injection test is directly executed without defects, the fault injection module injects the set faults into the tested object, the expected result is verified in the same steps, and finally the graphical test report is generated.
Furthermore, the test software platform comprises a Labview algorithm verification and simulation unit, a spline static analysis unit, a googletest unit integration test unit, an Xmeter test unit and a teststand management verification software unit, and not only supports the function and performance test of the power intelligent terminal, but also supports the code examination, MQTT and other transmission protocol tests and reliability tests of the terminal embedded software, wherein the spline static analysis unit mainly completes the static tests such as the code examination; the Xmeter test unit mainly completes MQTT protocol test, function and performance test.
Further, the signal processing module includes: and a processing unit for converting the analog signals and the digital signals builds each module information transmission bridge.
The working principle and the beneficial effects are as follows: the embedded software automatic test platform designed by the patent can realize automatic test, not only supports the function and performance test of the electric intelligent terminal, but also supports the code examination, MQTT and other transmission protocol tests and reliability tests of the terminal embedded software, wherein the Splint static analysis unit mainly completes the static tests such as the code examination; the Xmeter testing unit mainly completes MQTT protocol testing, function and performance testing; after the test is finished, the fault injection case processing module judges whether the previous test content has defects or not, the system generates a defect report, at the moment, after the defects need to be repaired, the fault injection test is carried out, the defects do not exist, the fault injection test is directly executed, the set faults are injected into the tested object by the fault injection module, the expected result is verified in the same step, and finally, the graphical test report is generated.
Drawings
FIG. 1 is a block diagram of the operational flow of the platform of the present invention;
fig. 2 is a block diagram of an operation flow of a fault injection case processing module in an operation flow of the platform of the present invention.
Detailed Description
The invention will be better understood from the following examples.
The structures, proportions, and dimensions shown in the drawings and described in the specification are for understanding and reading the present disclosure, and are not intended to limit the scope of the present disclosure, which is defined in the claims, and are not essential to the skilled in the art. In addition, the terms "upper", "lower", "front", "rear" and "middle" used in the present specification are for clarity of description, and are not intended to limit the scope of the present invention, and the relative relationship between the terms and the relative positions may be changed or adjusted without substantial technical changes.
As shown in fig. 1, an embedded software automation test platform of an electric power intelligent terminal includes a test software platform, a case management module, an integrated unit module, a control conversion module, a signal processing module, a test result reading and judging module, and a graphic report generating module;
the test software platform obtains an expected result according to the information fed back by the signal processing module, and the expected result is compared with the received result through a verification algorithm to obtain a test result;
the test result reading and judging module judges the test result to obtain a test conclusion;
the control conversion module receives the information fed back by the case management module, converts the information and transmits the information to the signal processing module to feed back to the test software platform.
Wherein, the integrated unit module comprises a unit case processing module, a software integration case processing module, a system case processing module and a fault injection case processing module, all modules are in parallel connection and carry out information conversion through a control conversion module, a test engineer designs and perfects each module test case of the embedded software to be tested and then introduces the case into the unit case processing module, the unit case processing module standardizes the cases into a script form, then the cases are respectively injected into the software integration case processing module, the system case processing module and the fault injection case processing module, each module sends out a test signal through the control conversion module, the test signal is transmitted to the signal processing module and is transmitted to the object to be tested after signal processing, after the object to be tested responds, the signal processing module collects and processes a response signal and then transmits the signal to a test software platform, the testing software platform compares the expected result with the received result through a verification algorithm.
The testing software platform comprises a Labview algorithm verifying and simulating unit, a spline static analysis unit, a googletest unit integrated testing unit, an Xmeter testing unit and a teststand management verifying software unit, wherein the spline static analysis unit mainly completes static tests such as code examination; the Xmeter test unit mainly completes MQTT protocol test, function and performance test.
As shown in fig. 2: after the test is finished, the fault injection case processing module judges whether the previous test content has defects or not, the system generates a defect report, at the moment, after the defects need to be repaired, the fault injection test is carried out, the defects do not exist, the fault injection test is directly executed, the set faults are injected into the tested object by the fault injection module, the expected result is verified in the same step, and finally, the graphical test report is generated.
Wherein, the signal processing module includes: and a processing unit for converting the analog signals and the digital signals builds each module information transmission bridge.

Claims (5)

1. The utility model provides an automatic test platform of embedded software of electric power intelligent terminal which characterized in that: the embedded software automation test platform comprises a test software platform, a case management module, an integrated unit module, a control conversion module, a signal processing module, a test result reading and judging module and a graphic report generating module;
the test software platform obtains an expected result according to the information fed back by the signal processing module, and the expected result is compared with the received result through a verification algorithm to obtain a test result;
the test result reading and judging module judges the test result to obtain a test conclusion;
the control conversion module receives the information fed back by the case management module, converts the information and transmits the information to the signal processing module to feed back to the test software platform.
2. The embedded software automation test platform of the electric power intelligent terminal according to claim 1, characterized in that: the comprehensive unit module comprises a unit case processing module, a software integration case processing module, a system case processing module and a fault injection case processing module, wherein the modules are in parallel connection and perform information conversion through a control conversion module, each module sends out a test signal through the control conversion module, the test signal is transmitted to the signal processing module and is transmitted to a tested object after signal processing, after the tested object responds, the signal processing module collects and processes the response signal and transmits the signal to a test software platform, and the test software platform compares an expected result with a received result through a verification algorithm.
3. The embedded software automation test platform of the electric power intelligent terminal according to claim 2, characterized in that: after the test is finished, the fault injection case processing module judges whether the previous test content has defects or not, the system generates a defect report, at the moment, after the defects need to be repaired, the fault injection test is carried out, the defects do not exist, the fault injection test is directly executed, the set faults are injected into the tested object by the fault injection module, the expected result is verified in the same step, and finally, the graphical test report is generated.
4. The embedded software automation test platform of the electric power intelligent terminal according to claim 1, characterized in that: the testing software platform comprises a Labview algorithm verifying and simulating unit, a Splint static analyzing unit, a googletest unit integrated testing unit, an Xmeter testing unit and a teststand management verifying software unit, and not only supports the function and performance test of the electric power intelligent terminal, but also supports the code examination, MQTT and other transmission protocol tests and reliability tests of terminal embedded software, wherein the Splint static analyzing unit mainly completes the static tests such as the code examination; the Xmeter test unit mainly completes MQTT protocol test, function and performance test.
5. The embedded software automation test platform of the electric power intelligent terminal as claimed in claim 1: the signal processing module comprises: and a processing unit for converting the analog signals and the digital signals builds each module information transmission bridge.
CN202010806737.8A 2020-08-12 2020-08-12 Embedded software automatic test platform of electric power intelligent terminal Pending CN111949533A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010806737.8A CN111949533A (en) 2020-08-12 2020-08-12 Embedded software automatic test platform of electric power intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010806737.8A CN111949533A (en) 2020-08-12 2020-08-12 Embedded software automatic test platform of electric power intelligent terminal

Publications (1)

Publication Number Publication Date
CN111949533A true CN111949533A (en) 2020-11-17

Family

ID=73333237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010806737.8A Pending CN111949533A (en) 2020-08-12 2020-08-12 Embedded software automatic test platform of electric power intelligent terminal

Country Status (1)

Country Link
CN (1) CN111949533A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023065438A1 (en) * 2021-10-18 2023-04-27 河南许继仪表有限公司 Virtual hardware test acceleration method and apparatus for software function of electricity meter

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407971A (en) * 2014-11-18 2015-03-11 中国电子科技集团公司第十研究所 Method for automatically testing embedded software
KR101575649B1 (en) * 2014-10-20 2015-12-21 현대자동차주식회사 Test apparatus of embedded system and method thereof
CN107315679A (en) * 2017-05-12 2017-11-03 昆明奥多智能科技有限公司 A kind of embedded software automation exact p-value method and test system
CN107562635A (en) * 2017-09-15 2018-01-09 西南电子技术研究所(中国电子科技集团公司第十研究所) Embedded software test accessory system
CN108038052A (en) * 2017-11-27 2018-05-15 平安科技(深圳)有限公司 Automatic test management method, device, terminal device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101575649B1 (en) * 2014-10-20 2015-12-21 현대자동차주식회사 Test apparatus of embedded system and method thereof
CN104407971A (en) * 2014-11-18 2015-03-11 中国电子科技集团公司第十研究所 Method for automatically testing embedded software
CN107315679A (en) * 2017-05-12 2017-11-03 昆明奥多智能科技有限公司 A kind of embedded software automation exact p-value method and test system
CN107562635A (en) * 2017-09-15 2018-01-09 西南电子技术研究所(中国电子科技集团公司第十研究所) Embedded software test accessory system
CN108038052A (en) * 2017-11-27 2018-05-15 平安科技(深圳)有限公司 Automatic test management method, device, terminal device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023065438A1 (en) * 2021-10-18 2023-04-27 河南许继仪表有限公司 Virtual hardware test acceleration method and apparatus for software function of electricity meter

Similar Documents

Publication Publication Date Title
CN109541353B (en) Distribution automation detecting system
CN203673055U (en) Battery management system hardware-in-loop test platform rack
CN103543640A (en) Test system for battery management system
CN104483959A (en) Fault simulation and test system
CN108268023B (en) Remote fault diagnosis method and system for rail transit platform door
CN111580501A (en) Test equipment and method for vehicle electronic stability system
CN110501998B (en) BMS hardware in-loop test system and test method
CN112306875A (en) Automatic testing method based on HIL (hardware-in-the-loop) rack
CN103913728B (en) A kind of method of testing based on portable radar comprehensive tester
CN109298317A (en) A kind of Intelligent test device and its test method of middle low-frequency channel
CN111949533A (en) Embedded software automatic test platform of electric power intelligent terminal
CN102707710A (en) Diagnosis function verification method and system for automobile electronic control unit
CN109164378B (en) Design and test method of boundary scan test link
CN113092130A (en) Method for simulating conformance test of electric automobile and vehicle-mounted terminal
CN111707966A (en) CPLD electric leakage detection method and device
CN111708661A (en) Pressure testing system and method suitable for central gateway
CN108255697A (en) Vehicle Controller software based on SMT half formalizes requirements verification system and method
CN116449134A (en) Method and system for acquiring fault information of photovoltaic inverter
CN107346128A (en) Automated testing method and system for lock control plate
CN100501424C (en) Device and method for testing clock or signal driving load capacity
CN112783137A (en) Hybrid component OBD service automatic test system and method
CN109587015B (en) TCN-CAN network communication test platform
CN206818808U (en) The test system of semaphore drive system
CN102495335B (en) Sensitivity detection method of travelling wave distance measuring device and system thereof
CN111510355A (en) Automatic sequence test system and method for CAN communication of whole vehicle

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