CN114791524A - Vehicle test report generation method and device - Google Patents

Vehicle test report generation method and device Download PDF

Info

Publication number
CN114791524A
CN114791524A CN202210387196.9A CN202210387196A CN114791524A CN 114791524 A CN114791524 A CN 114791524A CN 202210387196 A CN202210387196 A CN 202210387196A CN 114791524 A CN114791524 A CN 114791524A
Authority
CN
China
Prior art keywords
vehicle
current test
test data
static current
sampling time
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
CN202210387196.9A
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.)
FAW Group Corp
Original Assignee
FAW Group 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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202210387196.9A priority Critical patent/CN114791524A/en
Publication of CN114791524A publication Critical patent/CN114791524A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/0092Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring current only
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/003Measuring mean values of current or voltage during a given time interval

Abstract

The embodiment of the invention discloses a vehicle test report generation method and device. The method comprises the following steps: determining whole vehicle static current test data of a target vehicle in each sampling time period in a preset sampling period; determining the weight of the whole vehicle static current test data in each sampling period based on each sampling period and the preset sampling period; obtaining whole vehicle static current test data of the target vehicle in the preset sampling period based on the whole vehicle static current test data and the weight corresponding to the whole vehicle static current test data; and generating a vehicle test report of the target vehicle based on the whole vehicle static current test data. According to the technical scheme of the embodiment of the invention, the electrostatic current test data in the sampling period can be more accurately obtained, and the vehicle test report can be more quickly generated, so that the accuracy of the vehicle test report is improved.

Description

Vehicle test report generation method and device
Technical Field
The embodiment of the invention relates to the field of vehicle testing, in particular to a method and a device for generating a vehicle test report.
Background
At present, test data in a vehicle test report needs to be manually filled by a tester, and the problem of low vehicle test report generation efficiency exists. The static current test data of the sampling period included in the vehicle test report is usually the static current test data in the sampling period that needs to be manually calculated by a tester, and the average value of the static current test data at each time point in the sampling period is used as the static current test data in the sampling period, so that the problem that the accuracy rate of the static current test data recorded in the vehicle test report is low is caused, and the accuracy rate of the vehicle test report is reduced.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present invention provide a method and an apparatus for generating a vehicle test report, so as to obtain static current test data in a sampling period more accurately, and further generate a vehicle test report more quickly, thereby improving the accuracy of the vehicle test report.
In a first aspect, an embodiment of the present invention provides a vehicle test report generation method, where the method includes:
determining whole vehicle static current test data of a target vehicle in each sampling time period in a preset sampling period;
determining the weight of the whole vehicle static current test data in each sampling time period based on each sampling time period and the preset sampling period;
obtaining whole vehicle static current test data of the target vehicle in the preset sampling period based on the whole vehicle static current test data and the weight corresponding to the whole vehicle static current test data;
and generating a vehicle test report of the target vehicle based on the whole vehicle static current test data.
Optionally, the determining of the whole vehicle static current test data of the target vehicle in each sampling time period in the preset sampling period includes:
acquiring whole vehicle static current test data of a target vehicle at each sampling time point in a preset sampling period aiming at each sampling time period;
and calculating the average value of the whole vehicle static current test data of each sampling time point, and taking the average value as the whole vehicle static current test data of each sampling time period of the target vehicle in a preset sampling period.
Optionally, the method includes: and generating an electrostatic current test drawing corresponding to the whole vehicle electrostatic current test data in each sampling time period according to the whole vehicle electrostatic current test data of the target vehicle at each sampling time point in each sampling time period, and adding the electrostatic current test drawing to the vehicle test report.
Optionally, the generating, according to the whole vehicle static current test data of the target vehicle at each sampling time point in each sampling time period, a static current test drawing corresponding to the whole vehicle static current test data in each sampling time period includes:
and respectively carrying out data image drawing processing on the whole vehicle static current test data of each sampling time point in each sampling time period by calling a predefined data image drawing method, and generating a static current test drawing corresponding to the whole vehicle static current test data in each sampling time period.
Optionally, the method includes: acquiring a vehicle version information image of the target vehicle, and extracting text information in the vehicle version information image; and determining vehicle version information of the target vehicle based on the text information, and writing the vehicle version information into the vehicle test report.
Optionally, the extracting text information in the vehicle version information image includes:
performing information marking on the vehicle version information image based on a preset image information line marking mode to obtain a marked image; reading the text information in the marked image based on an image optical character recognition technology.
Optionally, the vehicle version information includes at least one item of a vehicle part identifier, a software version identifier, and a hardware version identifier.
Optionally, the extracting text information in the vehicle version information image includes:
if the arrangement mode of each field in the vehicle version information image and the information corresponding to each field is transverse arrangement, carrying out image recombination on the vehicle version information image to obtain a recombined image, wherein the arrangement mode of each field in the recombined image and the information corresponding to each field is longitudinal arrangement;
and reading the text information of the recombined image line by line according to the sequence from top to bottom.
Optionally, the method further includes:
and if the arrangement mode of each field in the vehicle version information image and the information corresponding to each field is longitudinal arrangement, executing the text information operation of reading the recombined image line by line from top to bottom.
In a second aspect, an embodiment of the present invention further provides a vehicle test report generating apparatus, where the apparatus includes:
the time section data determining module is used for determining whole vehicle static current test data of each sampling time section of a target vehicle in a preset sampling period;
the weight determining module is used for determining the weight of the whole vehicle static current test data in each sampling period based on each sampling time period and the preset sampling period;
the period data obtaining module is used for obtaining the whole vehicle static current test data of the target vehicle in the preset sampling period based on the whole vehicle static current test data and the weight corresponding to the whole vehicle static current test data;
and the report generating module is used for generating a vehicle test report of the target vehicle based on the whole vehicle static current test data.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
storage means for storing one or more programs;
when executed by the processor, cause the processor to implement a vehicle test report generation method as provided by any of the embodiments of the invention.
In a fourth aspect, embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a vehicle test report generation method as provided in any of the embodiments of the present invention.
According to the technical scheme of the embodiment of the invention, the whole vehicle static current test data of the target vehicle in each sampling time period in the preset sampling period is determined. And further, the weight of the whole vehicle static current test data in each sampling period can be determined based on each sampling period and the preset sampling period. After the weight is determined, the whole vehicle static current test data of the target vehicle in the preset sampling period can be obtained based on the whole vehicle static current test data and the weight corresponding to the whole vehicle static current test data. The technical scheme of the embodiment of the invention solves the problems of low accuracy of the static current test data of the whole vehicle and low generation efficiency of the vehicle test report in the prior art, realizes more accurate acquisition of the static current test data in the sampling period, and further more rapid generation of the vehicle test report, thereby improving the accuracy of the vehicle test report.
Drawings
In order to more clearly illustrate the technical solution of the exemplary embodiment of the present invention, a brief introduction will be made to the drawings required for describing the embodiment. It should be clear that the described figures are only views of some of the embodiments of the invention to be described, not all, and that for a person skilled in the art, other figures can be derived from these figures without inventive effort.
FIG. 1 is a schematic flow chart of a method for generating a vehicle test report according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a vehicle test report generation method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a vehicle test report generating method according to a third embodiment of the present invention;
fig. 4A is an exemplary diagram illustrating a method for generating a vehicle test report according to a third embodiment of the present invention to determine an arrangement manner of information in a vehicle version information image;
fig. 4B is an exemplary diagram after information in the vehicle version information image is reorganized based on the vehicle test report generation method according to the third embodiment of the present invention;
FIG. 5 is an exemplary diagram of a vehicle version information stored based on a vehicle test report generation method according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of a vehicle test report generation apparatus according to a fourth embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
Before discussing exemplary embodiments in greater detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, subprograms, and the like.
Example one
Fig. 1 is a flowchart of a vehicle test report generation method according to an embodiment of the present invention, where the present embodiment is applicable to a case where a vehicle test report is automatically generated, and the method may be executed by a vehicle test report generation apparatus, and the vehicle test report generation apparatus may be implemented by software and/or hardware, and may be integrated in an electronic device such as a computer or a server.
As shown in fig. 1, the method of the present embodiment includes:
and S110, determining whole vehicle static current test data of the target vehicle in each sampling time period in a preset sampling period.
The target vehicle can be understood as a vehicle needing to calculate static current test data of the whole vehicle in a sampling period. The preset sampling period may be set according to actual needs, and is not particularly limited herein, for example, the preset sampling period may be 24 hours, 48 hours, or 56 hours, etc. The number of sampling periods in the preset sampling period may be one or more, and in practical applications, the number of sampling periods in the preset sampling period is usually multiple. The duration of each sampling time period in the preset sampling period may be the same or different. The whole vehicle static current test data can be data obtained by processing vehicle static current generated by a target vehicle in the process of testing the target vehicle.
Specifically, for each sampling time period in the preset sampling period, the whole vehicle static current test data of the target vehicle at all time points in the sampling time period can be acquired. And then the average value of the static current test data of the whole vehicle at all time points can be calculated. And then the average value can be used as the whole vehicle static current test data of the target vehicle in each sampling time period in the preset sampling period.
In order to improve the efficiency of calculating the whole vehicle static current test data of the target vehicle in each sampling time period in the preset sampling period, the whole vehicle static current test data of the target vehicle at each sampling time point in the sampling time period can be acquired for each sampling time period in the preset sampling period. And then the average value of the whole vehicle static current test data at each sampling time point can be calculated. Therefore, the average value can be used as the whole vehicle static current test data of the target vehicle in each sampling time period in the preset sampling period. The time interval between adjacent sampling time points in each sampling time period may be the same or different.
Illustratively, the sampling period is 10:00-10:30 sampling periods, each of the sampling time points included in the 10:00-10:30 sampling periods being 10:00, 10:15, and 10: 30. The static current test data of the whole vehicle at the position of 10:00 is 20mA, the static current test data of the whole vehicle at the position of 10:15 is 30mA, the static current test data of the whole vehicle at the position of 10:30 is 10mA, and at the moment, the static current test data of the whole vehicle at the sampling time period of 10:00-10:30 is (20+30+10)/3 which is equal to 20 mA.
And S120, determining the weight of the whole vehicle static current test data in each sampling time period based on each sampling time period and a preset sampling period.
Specifically, the ratio of the duration of each sampling time period to the duration of the preset sampling period is used as the weight of the electrostatic current test data of the whole vehicle in the corresponding sampling time period.
Illustratively, the preset sampling period is 24 hours, and the sampling time period in the preset sampling period may be 0:00-6:00 sampling time period, 6:00-18:00 sampling time period, and 18:00-24:00 sampling time period. The time length of the sampling time period of 0:00-6:00 is 6 hours, the time length of the sampling time period of 6:00-18:00 is 10 hours, and the time length of the sampling time period of 18:00-24:00 is 8 hours, then the weight of the electrostatic current test data of the whole vehicle in the sampling time period of 0:00-6:00 is 6/24, the weight of the electrostatic current test data of the whole vehicle in the sampling time period of 6:00-18:00 is 10/24, and the weight of the electrostatic current test data of the whole vehicle in the sampling time period of 18:00-24:00 is 8/24.
S130, obtaining the whole vehicle static current test data of the target vehicle in a preset sampling period based on the whole vehicle static current test data and the weight corresponding to the whole vehicle static current test data.
Specifically, after the weight of the whole vehicle static current test data in each sampling time period is obtained, multiplication operation may be performed on the whole vehicle static current test data and the weight corresponding to the whole vehicle static current test data to obtain each product result. And summing the product results, and taking the ratio of the sum result to a preset sampling period as the whole vehicle static current test data of the target vehicle in the preset sampling period.
The whole vehicle static current test data of the target vehicle in the preset sampling period can be calculated according to the following formula:
Figure BDA0003594142830000081
Figure BDA0003594142830000082
wherein avel may represent the entire vehicle static current test data of the target vehicle in a preset sampling period, n may represent the total number of sampling periods, i may represent the ith sampling period, tR i May represent the start time, tL, of the ith sample period i May represent the end time, I, of the ith sample period i The static current test data of the whole vehicle in the ith sampling time period can be expressed, and sumTime can be expressed as the duration of the ith sampling time period.
Along the above example, the whole vehicle static current test data in the sampling time period of 0:00-6:00 is 20mA, the whole vehicle static current test data in the sampling time period of 6:00-18:00 is 30mA, and the whole vehicle static current test data in the sampling time period of 18:00-24:00 is 10mA, and the whole vehicle static current test data of the target vehicle in the sampling period is
Figure BDA0003594142830000091
And S140, generating a vehicle test report of the target vehicle based on the whole vehicle static current test data.
The information included in the vehicle test report may include, but is not limited to, an identification of the target vehicle, entire vehicle static current test data, and the like. The format of the vehicle test report may be a format set according to actual needs, and for example, the format may be a pdf format, a txt format, a word format, or the like.
Specifically, after the whole vehicle static current test data of the target vehicle in the preset sampling period is obtained, the whole vehicle static current test data can be written into a pre-created file, so that the file written with the whole vehicle static current test data can be used as a vehicle test report of the target vehicle, and the generation efficiency of the vehicle test report can be improved.
According to the technical scheme of the embodiment of the invention, the whole vehicle static current test data of the target vehicle in each sampling time period in the preset sampling period is determined. And then, the weight of the whole vehicle static current test data in each sampling period can be determined based on each sampling period and a preset sampling period. After the weight is determined, the whole vehicle static current test data of the target vehicle in the preset sampling period can be obtained based on the whole vehicle static current test data and the weight corresponding to the whole vehicle static current test data. The technical scheme of the embodiment of the invention solves the problems of low accuracy of the static current test data of the whole vehicle and low generation efficiency of the vehicle test report in the prior art, realizes more accurate acquisition of the static current test data in the sampling period, and further more rapid generation of the vehicle test report, thereby improving the accuracy of the vehicle test report.
Example two
Fig. 2 is a schematic flow chart of a vehicle test report generation method provided in a second embodiment of the present invention, and on the basis of the foregoing embodiment, optionally, the vehicle test report generation method in this embodiment may further include: and generating an electrostatic current test drawing corresponding to the whole vehicle electrostatic current test data in each sampling time period according to the whole vehicle electrostatic current test data of the target vehicle at each sampling time point in each sampling time period, and adding the electrostatic current test drawing to the vehicle test report. The technical terms that are the same as or corresponding to the above embodiments are not repeated herein.
As shown in fig. 2, the method of the embodiment may specifically include:
s210, determining whole vehicle static current test data of the target vehicle in each sampling time period in a preset sampling period.
And S220, determining the weight of the whole vehicle static current test data in each sampling period based on each sampling period and a preset sampling period.
And S230, obtaining the whole vehicle static current test data of the target vehicle in a preset sampling period based on the whole vehicle static current test data and the weight corresponding to the whole vehicle static current test data.
And S240, generating a vehicle test report of the target vehicle based on the whole vehicle static current test data.
And S250, generating an electrostatic current test drawing corresponding to the whole vehicle electrostatic current test data in each sampling time period according to the whole vehicle electrostatic current test data of the target vehicle at each sampling time point in each sampling time period, and adding the electrostatic current test drawing to a vehicle test report.
The static current test drawing can be understood as an image obtained by drawing whole vehicle static current test data of a target vehicle at each sampling time point in each sampling time period.
Specifically, a predefined data image drawing method is called to respectively perform data image drawing processing on the whole vehicle static current test data at each sampling time point in each sampling time period, so as to generate a static current test drawing corresponding to the whole vehicle static current test data in each sampling time period. The predefined data image drawing method may be a method of writing a data image drawing function based on any computer programming language. Any computer programming language may be the Java language, C + + language, C # language, Python language, JavaScript language, or the like.
According to the technical scheme of the embodiment of the invention, the electrostatic current test drawings corresponding to the electrostatic current test data of the whole vehicle in each sampling time period are generated according to the electrostatic current test data of the whole vehicle at each sampling time point of the target vehicle in each sampling time period, the electrostatic current test drawings are added to the vehicle test report, the electrostatic current test drawings corresponding to each sampling time period are automatically generated, each electrostatic current test drawing is added to the vehicle test report, and the technical effect of further improving the vehicle test report is achieved.
EXAMPLE III
Fig. 3 is a schematic flow chart of a vehicle test report generation method provided in a third embodiment of the present invention, and on the basis of the foregoing embodiment, optionally, the vehicle test report generation method of this embodiment may further include: acquiring a vehicle version information image of the target vehicle, and extracting text information in the vehicle version information image; and determining vehicle version information of the target vehicle based on the text information, and writing the vehicle version information into the vehicle test report. The technical terms that are the same as or corresponding to the above-mentioned embodiments are not described in detail herein.
As shown in fig. 3, the method of the embodiment may specifically include:
s310, determining whole vehicle static current test data of the target vehicle in each sampling time period in a preset sampling period.
And S320, determining the weight of the whole vehicle static current test data in each sampling period based on each sampling period and the preset sampling period.
S330, obtaining the whole vehicle static current test data of the target vehicle in a preset sampling period based on the whole vehicle static current test data and the weight corresponding to the whole vehicle static current test data.
And S340, generating a vehicle test report of the target vehicle based on the whole vehicle static current test data.
And S350, acquiring the vehicle version information image of the target vehicle, and extracting the text information in the vehicle version information image.
The vehicle version information image may be understood as an image including vehicle version information of the target vehicle.
Specifically, the vehicle version information image of the target vehicle may be acquired from a test apparatus for testing the target vehicle. After the vehicle version information image is acquired, text information in the vehicle version information image may be read based on image optical character recognition technology.
In order to read the text information in the vehicle version information image more quickly, the vehicle version information image can be subjected to information marking based on a preset image information line marking mode, and then the marked image can be obtained. So that text information in the marked image can be read based on image optical character recognition technology. The preset image information line marking mode can be that each data in the vehicle version information image is marked by a preset graphic frame respectively, and the data in the same line is marked. The preset graphic frame may be a rectangular frame. The color of the preset graphic frame corresponding to each data may be the same or different. The concrete representation of labeling the data in the same row can be characters and/or numbers.
Optionally, the text information in the vehicle version information image is extracted by the following method:
and determining the arrangement mode of each field and the information corresponding to each field in the vehicle version information image. Wherein, the arrangement mode can be transverse arrangement or longitudinal arrangement.
If the fields in the vehicle version information image and the arrangement of the information corresponding to the fields are arranged in the transverse direction (see fig. 4A), the vehicle version information image may be subjected to image reorganization. And a reconstructed image can be obtained (see fig. 4B). After the recombined image is obtained, the text information of the recombined image can be read line by line according to the sequence from top to bottom. And arranging each field in the recombined image and the information corresponding to each field in a longitudinal arrangement mode. As shown in fig. 4A or 4B, the field in the vehicle version information image is the part number, and the information corresponding to the part number field is AAA.
On the basis, if the arrangement mode of each field and the information corresponding to each field in the vehicle version information image is longitudinal arrangement, the text information operation of reading the recombined image line by line in the order from top to bottom can be executed.
And S360, determining the vehicle version information of the target vehicle based on the text information, and writing the vehicle version information into a vehicle test report.
The vehicle version information may include at least one of a vehicle part identifier, a software version identifier, and a hardware version identifier.
Specifically, after the text information of the recombined image is read line by line in the order from top to bottom, the read text information may be subjected to information processing, and thus the vehicle version information of the target vehicle may be obtained. After the vehicle version information is obtained, the vehicle version information can be written into the vehicle test report.
In order to quickly and effectively perform information processing on the read text information to obtain the vehicle version information of the target vehicle, a regular expression for an information processing logic may be predefined, and the read text information is subjected to information processing through the predefined regular expression for information processing to extract the vehicle version information of the target vehicle.
After the read text information is information-processed by a pre-defined regular expression for information processing, the vehicle version information of the target vehicle may be stored into a preset file (see fig. 5). For subsequent verification and application of the test information.
It should be noted that, in the vehicle test report, the data storage manners of the whole vehicle static current test data of the target vehicle in the preset sampling period, the static current test drawing of each sampling time period, and the vehicle version information may be set according to actual needs, which is not specifically limited herein, for example, as an optional implementation manner of the embodiment of the present invention, the whole vehicle static current test data of the preset sampling period, the static current test drawing of each sampling time period, and the vehicle version information may be separately stored. Independent storage may be understood as any one or more pages in the vehicle test report storing full vehicle static current test data for a preset sampling period, static current test plots for each sampling period, or vehicle version information.
As another optional implementation manner of the embodiment of the present invention, the electrostatic current test data of the whole vehicle in the preset sampling period, the electrostatic current test drawing of each sampling time period, and the vehicle version information are respectively stored in a combined manner. The combined storage may be understood as storing at least two of the vehicle static current test data of the preset sampling period, the static current test drawing of each sampling time period, and the vehicle version information to any one or more pages in the test report.
According to the technical scheme of the embodiment of the invention, the text information in the vehicle version information image is extracted by acquiring the vehicle version information image of the target vehicle. And then the vehicle version information of the target vehicle can be determined based on the text information, and the vehicle version information is written into the vehicle test report, so that the vehicle version information is automatically filled into the vehicle test report, and the effect of further improving the vehicle test report is achieved.
Example four
Fig. 6 is a schematic structural diagram of a vehicle test report generation apparatus according to a fourth embodiment of the present invention, where the present invention provides a vehicle test report generation apparatus, including: a time segment data determination module 410, a weight determination module 420, a period data derivation module 430, and a report generation module 440.
The time period data determining module 410 is configured to determine complete vehicle static current test data of a target vehicle at each sampling time period in a preset sampling period; the weight determining module 420 is configured to determine, based on each sampling time period and the preset sampling period, a weight of the whole vehicle static current test data in each sampling time period; a period data obtaining module 430, configured to obtain, based on each of the entire vehicle static current test data and a weight corresponding to the entire vehicle static current test data, entire vehicle static current test data of the target vehicle in the preset sampling period; a report generating module 440, configured to generate a vehicle test report of the target vehicle based on the whole vehicle static current test data.
According to the technical scheme of the embodiment of the invention, the whole vehicle static current test data of the target vehicle in each sampling time period in the preset sampling period is determined through the time period data determination module. And then, the weight of the whole vehicle static current test data in each sampling period can be determined through the weight determination module based on each sampling period and the preset sampling period. After the weights are determined, the whole vehicle static current test data of the target vehicle in a preset sampling period can be obtained through the period data obtaining module based on the whole vehicle static current test data and the weights corresponding to the whole vehicle static current test data. According to the technical scheme, the problems that the accuracy of the electrostatic current test data of the whole vehicle is low and the generation efficiency of the vehicle test report is low in the vehicle test report in the prior art are solved, the electrostatic current test data in the sampling period can be obtained more accurately, the vehicle test report can be generated more quickly, and therefore the accuracy of the vehicle test report is improved.
Optionally, the time period data determining module 410 is configured to, for each sampling time period in a preset sampling period, obtain complete vehicle static current test data of the target vehicle at each sampling time point in the sampling time period; and calculating the average value of the whole vehicle static current test data of each sampling time point, and taking the average value as the whole vehicle static current test data of each sampling time period of the target vehicle in a preset sampling period.
Optionally, the apparatus comprises: and the static current test drawing adding module is used for generating a static current test drawing corresponding to the whole vehicle static current test data in each sampling time period according to the whole vehicle static current test data of the target vehicle at each sampling time point in each sampling time period, and adding the static current test drawing to the vehicle test report.
Optionally, the static current test drawing adding module is configured to perform data image drawing processing on the entire vehicle static current test data at each sampling time point in each sampling time period by calling a predefined data image drawing method, and generate a static current test drawing corresponding to the entire vehicle static current test data in each sampling time period.
Optionally, the apparatus comprises: the vehicle version information writing module is used for acquiring a vehicle version information image of the target vehicle and extracting text information in the vehicle version information image; and determining vehicle version information of the target vehicle based on the text information, and writing the vehicle version information into the vehicle test report.
Optionally, the vehicle version information writing module is configured to perform information marking on the vehicle version information image based on a preset image information line marking manner, so as to obtain a marked image; reading the text information in the marked image based on an image optical character recognition technology.
Optionally, the text information in the vehicle version information image includes at least one item of a vehicle part identifier, a software version identifier, and a hardware version identifier.
Optionally, the vehicle version information writing module is configured to, if the arrangement manner of the fields and the information corresponding to the fields in the vehicle version information image is horizontal arrangement, perform image recombination on the vehicle version information image to obtain a recombined image, where the arrangement manner of the fields and the information corresponding to the fields in the recombined image is vertical arrangement; and reading the text information of the recombined image line by line according to the sequence from top to bottom.
Optionally, the vehicle version information writing module is further configured to, if the fields in the vehicle version information image and the arrangement manner of the information corresponding to the fields are arranged longitudinally, perform the operation of reading the text information of the reassembled image line by line in the order from top to bottom.
The device can execute the vehicle test report generation method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects for executing the vehicle test report generation method.
It should be noted that, the units and modules included in the vehicle test report generating device are merely divided according to the functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
EXAMPLE five
Fig. 7 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention. FIG. 7 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing any of the embodiments of the present invention. The electronic device 12 shown in fig. 7 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention. The device 12 is typically an electronic device that undertakes the processing of configuration information.
As shown in FIG. 7, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a memory 28, and a bus 18 that couples the various components (including the memory 28 and the processing unit 16).
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer-readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer device readable media in the form of volatile Memory, such as Random Access Memory (RAM) 30 and/or cache Memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown, but commonly referred to as a "hard drive"). Although not shown, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product 40, with program product 40 having a set of program modules 42 that are configured to carry out the functions of embodiments of the invention. Program product 40 may be stored, for example, in memory 28, and such program modules 42 include, but are not limited to, one or more application programs, other program modules, and program data, each of which examples or some combination may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of embodiments of the invention as described.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, mouse, camera, etc., and display), one or more devices that enable a user to interact with electronic device 12, and/or any device (e.g., network card, modem, etc.) that enables electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), and/or a public Network such as the internet) via the Network adapter 20. As shown, the network adapter 20 communicates with the other modules of the electronic device 12 over the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, RAID (Redundant Arrays of Independent Disks) devices, tape drives, and data backup storage devices, to name a few.
The processing unit 16 executes various functional applications and data processing by running the program stored in the memory 28, for example, implementing the vehicle test report generation method provided by the above-described embodiment of the present invention, the method including:
determining whole vehicle static current test data of a target vehicle in each sampling time period in a preset sampling period; determining the weight of the whole vehicle static current test data in each sampling period based on each sampling period and the preset sampling period; obtaining whole vehicle static current test data of the target vehicle in the preset sampling period based on the whole vehicle static current test data and the weight corresponding to the whole vehicle static current test data; and generating a vehicle test report of the target vehicle based on the whole vehicle static current test data.
Of course, those skilled in the art can understand that the processor may also implement the technical solution of the vehicle test report generation method provided in any embodiment of the present invention.
EXAMPLE six
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor, and is characterized in that, when the program is executed by the processor, for example, the method for generating a vehicle test report provided in the foregoing embodiment of the present invention includes:
determining whole vehicle static current test data of a target vehicle in each sampling time period in a preset sampling period; determining the weight of the whole vehicle static current test data in each sampling period based on each sampling period and the preset sampling period; obtaining whole vehicle static current test data of the target vehicle in the preset sampling period based on the whole vehicle static current test data and the weight corresponding to the whole vehicle static current test data; and generating a vehicle test report of the target vehicle based on the whole vehicle static current test data.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in some detail by the above embodiments, the invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the invention, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. A vehicle test report generation method, comprising:
determining whole vehicle static current test data of a target vehicle in each sampling time period in a preset sampling period;
determining the weight of the whole vehicle static current test data in each sampling period based on each sampling period and the preset sampling period;
obtaining whole vehicle static current test data of the target vehicle in the preset sampling period based on the whole vehicle static current test data and the weight corresponding to the whole vehicle static current test data;
and generating a vehicle test report of the target vehicle based on the whole vehicle static current test data.
2. The method of claim 1, wherein the determining the full vehicle static current test data for the target vehicle at each sampling time period in the preset sampling period comprises:
acquiring whole vehicle static current test data of a target vehicle at each sampling time point in a preset sampling period aiming at each sampling time period;
and calculating the average value of the whole vehicle static current test data of each sampling time point, and taking the average value as the whole vehicle static current test data of each sampling time period of the target vehicle in a preset sampling period.
3. The method according to claim 1, characterized in that it comprises:
and generating an electrostatic current test drawing corresponding to the whole vehicle electrostatic current test data in each sampling time period according to the whole vehicle electrostatic current test data of the target vehicle at each sampling time point in each sampling time period, and adding the electrostatic current test drawing to the vehicle test report.
4. The method of claim 3, wherein generating an electrostatic current test plot corresponding to the full vehicle electrostatic current test data for each of the sampling time periods according to the full vehicle electrostatic current test data for each of the sampling time points of the target vehicle in each of the sampling time periods comprises:
and respectively carrying out data image drawing processing on the whole vehicle static current test data of each sampling time point in each sampling time period by calling a predefined data image drawing method, and generating a static current test drawing corresponding to the whole vehicle static current test data in each sampling time period.
5. The method according to claim 1, characterized in that it comprises:
acquiring a vehicle version information image of the target vehicle, and extracting text information in the vehicle version information image;
and determining vehicle version information of the target vehicle based on the text information, and writing the vehicle version information into the vehicle test report.
6. The method according to claim 5, wherein the extracting text information in the vehicle version information image comprises:
performing information marking on the vehicle version information image based on a preset image information line marking mode to obtain a marked image;
reading the text information in the marked image based on an image optical character recognition technology.
7. The method of claim 5, wherein the vehicle version information includes at least one of a vehicle part identification, a software version identification, and a hardware version identification.
8. The method according to claim 5, wherein the extracting text information in the vehicle version information image comprises:
if the arrangement mode of each field in the vehicle version information image and the information corresponding to each field is transverse arrangement, carrying out image recombination on the vehicle version information image to obtain a recombined image, wherein the arrangement mode of each field in the recombined image and the information corresponding to each field is longitudinal arrangement;
and reading the text information of the recombined image line by line according to the sequence from top to bottom.
9. The method of claim 8, further comprising:
and if the arrangement mode of each field in the vehicle version information image and the information corresponding to each field is longitudinal arrangement, executing the text information operation of reading the recombined image line by line from top to bottom.
10. A vehicle test report generation device, comprising:
the time section data determining module is used for determining whole vehicle static current test data of each sampling time section of a target vehicle in a preset sampling period;
the weight determining module is used for determining the weight of the whole vehicle static current test data in each sampling period based on each sampling time period and the preset sampling period;
the period data obtaining module is used for obtaining the whole vehicle static current test data of the target vehicle in the preset sampling period based on the whole vehicle static current test data and the weight corresponding to the whole vehicle static current test data;
and the report generating module is used for generating a vehicle test report of the target vehicle based on the whole vehicle static current test data.
CN202210387196.9A 2022-04-13 2022-04-13 Vehicle test report generation method and device Pending CN114791524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210387196.9A CN114791524A (en) 2022-04-13 2022-04-13 Vehicle test report generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210387196.9A CN114791524A (en) 2022-04-13 2022-04-13 Vehicle test report generation method and device

Publications (1)

Publication Number Publication Date
CN114791524A true CN114791524A (en) 2022-07-26

Family

ID=82461914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210387196.9A Pending CN114791524A (en) 2022-04-13 2022-04-13 Vehicle test report generation method and device

Country Status (1)

Country Link
CN (1) CN114791524A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115118754A (en) * 2022-08-29 2022-09-27 中国汽车技术研究中心有限公司 Remote monitoring test system and monitoring test method for electric vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115118754A (en) * 2022-08-29 2022-09-27 中国汽车技术研究中心有限公司 Remote monitoring test system and monitoring test method for electric vehicle

Similar Documents

Publication Publication Date Title
CN107832662B (en) Method and system for acquiring image annotation data
CN108052577B (en) Universal text content mining method, device, server and storage medium
CN109949797B (en) Method, device, equipment and storage medium for generating training corpus
CN107908641B (en) Method and system for acquiring image annotation data
CN108229364B (en) Building contour generation method and device, computer equipment and storage medium
CN109637000B (en) Invoice detection method and device, storage medium and electronic terminal
CN107909088B (en) Method, apparatus, device and computer storage medium for obtaining training samples
US20200005073A1 (en) Method, device and system for processing image tagging information
CN110826494A (en) Method and device for evaluating quality of labeled data, computer equipment and storage medium
CN112308077A (en) Sample data acquisition method, image segmentation method, device, equipment and medium
CN114428677A (en) Task processing method, processing device, electronic equipment and storage medium
CN114791524A (en) Vehicle test report generation method and device
CN109657127B (en) Answer obtaining method, device, server and storage medium
US9799326B2 (en) Training a cognitive agent using document output generated from a recorded process
CN113762455A (en) Detection model training method, single character detection method, device, equipment and medium
CN110362688B (en) Test question labeling method, device and equipment and computer readable storage medium
CN112395450B (en) Picture character detection method and device, computer equipment and storage medium
US11556881B2 (en) Generation of business process model
CN113111230B (en) Regular expression-based alarm receiving text home address extraction method and device
US11132500B2 (en) Annotation task instruction generation
CN113553826A (en) Information input method and device combining RPA and AI and electronic equipment
CN112542163B (en) Intelligent voice interaction method, device and storage medium
CN113792138A (en) Report generation method and device, electronic equipment and storage medium
CN112966671A (en) Contract detection method and device, electronic equipment and storage medium
CN109460511B (en) Method and device for acquiring user portrait, electronic 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