Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Intelligent electric energy meter software white box cross test method based on lightweight test framework

A smart energy meter and test framework technology, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve problems such as lack of testing and limited sufficient hardware resources, and achieve low test cost and timing and the effect of low resource overhead and strong portability

Pending Publication Date: 2021-07-13
ZHEJIANG UNIV OF TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In order to solve the problem that the host machine-based embedded software white box testing method test is not sufficient and the hardware resources are limited when testing based on the target machine, the intelligent electric energy meter software based on the lightweight test framework provided by the present invention The white-box cross-test method eliminates the bottleneck constraint of white-box testing in the target environment, that is, the impact of environmental differences on test results, and increases the reliability of test results

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Intelligent electric energy meter software white box cross test method based on lightweight test framework
  • Intelligent electric energy meter software white box cross test method based on lightweight test framework
  • Intelligent electric energy meter software white box cross test method based on lightweight test framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0067] Such as figure 1 As shown, the white-box cross-testing method for smart electric energy meter software based on the lightweight test framework provided in this embodiment includes the following method steps:

[0068] S110 builds a Host / Target cross-test environment, and performs related test design, compilation, linking and test analysis on the host computer, while the program under test runs in the target computer;

[0069] S120 designs a lightweight test framework suitable for the tested software according to the tested smart energy meter software;

[0070] S130 transplanting the lightweight test framework into the software engineering code of the smart electric energy meter under test;

[0071] S140 Design test cases according to test requirements and coverage principles;

[0072] S150 generates an executable file and downloads i...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an intelligent electric energy meter software white-box cross test method based on a lightweight test framework, which comprises the following steps: establishing a Host / Target cross test environment, carrying out related test design, compiling link and test analysis on a host machine, and running a tested program in a target machine; designing a lightweight test framework suitable for the tested software according to the tested software; transplanting a lightweight test framework into a tested software engineering code; designing a test case according to a test requirement and a coverage principle; and generating an executable file, downloading the executable file into the target machine to execute a test, and obtaining a test result. According to the intelligent electric energy meter software white-box cross test method based on the lightweight test framework disclosed by the invention, the dynamic unit test based on the target machine in the cross test environment is realized through the designed lightweight framework, the bottleneck restriction of the white-box test in the target environment, namely the influence of the environment difference on the test result, is eliminated, and the reliability of a test result is improved.

Description

technical field [0001] The invention relates to the field of embedded software testing, in particular to a white-box cross-testing method for smart electric energy meter software based on a lightweight testing framework. Background technique [0002] As the acquisition terminal equipment of the smart grid in the Huimin project, in addition to the basic measurement function, the smart energy meter also has additional functions based on two-way communication, which collects and analyzes the original electric energy data, displays and transmits the measurement, and completes the two-way multi- A series of intelligent operations such as rate metering, load control client, remote power supply and shutdown, and anti-theft electricity have been widely used. The realization of the above functions mostly requires the support of reliable software. The complexity of software codes leads to rising safety hazards such as abnormal electricity meter data and black screen faults. Therefore,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688G06F11/3676
Inventor 南余荣王永琦
Owner ZHEJIANG UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products