Software configuration parameter testing method and device and automobile

A test method and software configuration technology, applied in the automotive field, can solve the problems of occupying many resources and complex software configuration parameter test process, and achieve the effect of reducing test cost and shortening test time.

Pending Publication Date: 2021-01-05
BEIJING ELECTRIC VEHICLE
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a method, device, and vehicle for testing software configuration parameters, which are used to solve the problems in the prior art that the testing process of software configuration parameters is complicated and consumes more resources

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
  • Software configuration parameter testing method and device and automobile
  • Software configuration parameter testing method and device and automobile

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0045]In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0046]Aiming at the problems of complicated software configuration parameter testing process and high resource occupation in the prior art, the present invention provides a software configuration parameter testing method, device and automobile.

[0047]Such asfigure 1 As shown, one of the embodiments of the present invention provides a software configuration parameter testing method, including:

[0048]S11: Obtain the machine code and the mapping table file obtained after the software under test is compiled by the compiler. The mapping table file records the configuration parameter and the storage address of the configuration parameter.

[0049]Specifically, the general process of vehicle control software design is: design and write software logical relationships an

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 provides a software configuration parameter testing method and device and an automobile. The testing method comprises the steps: obtaining a machine code and a mapping table file obtained after tested software is compiled by a compiler, wherein configuration parameters and storage addresses of the configuration parameters are recorded in the mapping table file; analyzing an address area and a corresponding data area in each row of codes according to the format of the machine code, and recording a storage address of data in the corresponding data area in the address area; determining the position of the target configuration parameter in the data area according to the target storage address of the target configuration parameter and the address of the address area, and reading the actual value of the target configuration parameter according to the position; and comparing the actual value of the target configuration parameter with the expected value of the target configuration parameter, and determining whether the target configuration parameter is configured correctly or not. According to the scheme, the numerical value of the tested parameter is extracted by directly reading and analyzing the machine code of the software, and the correctness of the numerical value is directly verified, so that the test time is shortened, and the test cost is reduced.

Description

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

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
Owner BEIJING ELECTRIC VEHICLE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products