CN117573192A - Configuration verification method and device for vehicle parts and electronic equipment - Google Patents

Configuration verification method and device for vehicle parts and electronic equipment Download PDF

Info

Publication number
CN117573192A
CN117573192A CN202311531409.1A CN202311531409A CN117573192A CN 117573192 A CN117573192 A CN 117573192A CN 202311531409 A CN202311531409 A CN 202311531409A CN 117573192 A CN117573192 A CN 117573192A
Authority
CN
China
Prior art keywords
configuration
vehicle
result
verification
checking
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
CN202311531409.1A
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.)
GAC Aion New Energy Automobile Co Ltd
Original Assignee
GAC Aion New Energy Automobile 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 GAC Aion New Energy Automobile Co Ltd filed Critical GAC Aion New Energy Automobile Co Ltd
Priority to CN202311531409.1A priority Critical patent/CN117573192A/en
Publication of CN117573192A publication Critical patent/CN117573192A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application provides a configuration verification method and device for vehicle parts, electronic equipment and storage media, wherein the method comprises the following steps: acquiring configuration requirement information of the vehicle parts; obtaining the bit of the vehicle part according to the configuration requirement information; obtaining a configuration code according to the bit; generating a bus signal value of the vehicle component; and checking the configuration code and the bus signal value to obtain a checking result. By implementing the embodiment of the application, the vehicle parts and the real vehicle configuration can be timely calibrated in the production stage of the vehicle, the completeness of the vehicle parts and the accuracy of the part combination are ensured, the problem of reworking the vehicle is avoided, the production progress is effectively improved, and the resources are saved.

Description

Configuration verification method and device for vehicle parts and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and an apparatus for checking the configuration of a vehicle component, an electronic device, and a storage medium.
Background
With the increasing of vehicle configuration, in order to ensure that software and hardware of the off-line vehicle and after-sale vehicle are matched, and avoid that a fault vehicle flows out of the market, the configuration code of the off-line vehicle needs to be compared with a received partial part configuration signal (or a message capable of representing configuration) so as to check whether the whole vehicle configuration code is consistent with the actually assembled part, and the test can be performed in a mule stage before the vehicle is off line in a factory.
The configuration verification test work needs to be covered on each configuration combination, however, the vehicle cannot test all the configuration combinations and perform the configuration verification work before production, and if the real vehicle configuration verification is performed on all the vehicle combinations, the project development progress is difficult to meet, so that the test is required to be performed on the independent sub-functions, the time and the labor are wasted, a large amount of resources are consumed, the vehicle state software problem can occur in the whole vehicle production process, and the production progress can be greatly influenced.
Disclosure of Invention
An object of the embodiments of the present application is to provide a configuration verification method, device, electronic equipment, and storage medium for vehicle parts, which can timely calibrate vehicle parts and real vehicle configuration in a production stage of a vehicle, ensure the integrity of the vehicle parts and the accuracy of the combination of the parts, avoid the problem of reworking the vehicle, effectively improve the production progress, and save resources.
In a first aspect, an embodiment of the present application provides a method for checking a configuration of a vehicle component, where the method includes:
acquiring configuration requirement information of the vehicle parts;
obtaining the bit of the vehicle part according to the configuration requirement information;
obtaining a configuration code according to the bit;
generating a bus signal value of the vehicle component;
and checking the configuration code and the bus signal value to obtain a checking result.
In the implementation process, the configuration code is obtained according to the configuration demand information of the vehicle parts, and then the comparison and verification are carried out according to the configuration code and the bus signal value, so that the vehicle parts and the real vehicle configuration can be timely corrected in the production stage of the vehicle, the completeness of the vehicle parts and the accuracy of the combination of the parts are ensured, the problem of reworking the vehicle is avoided, the production progress is effectively improved, and the resources are saved.
Further, the step of obtaining the bit of the vehicle component according to the configuration requirement information includes:
acquiring a configuration table in the configuration requirement information;
and selecting bits corresponding to the configuration signals of the vehicle parts in the configuration table.
In the implementation process, the bit position of the configuration signal of the vehicle part is selected according to the configuration table, so that the specific position of the vehicle part can be simply and effectively obtained, and the trouble of searching multiple parts is avoided.
Further, the step of obtaining a configuration code according to the bit includes:
obtaining a bit value corresponding to the bit;
and combining the bit values to obtain the configuration code.
In the implementation process, the bit values are combined to obtain the configuration code, so that the configuration code can contain the position information of a plurality of vehicle parts, the vehicle parts are convenient to find and detect, and the positions of the vehicle parts do not need to be checked one by one.
Further, the step of generating the bus signal value of the vehicle component includes:
acquiring a configuration signal of the vehicle part;
correlating the configuration signals with system variables to obtain system variable assignment;
and sending the system variable assignment to a bus to obtain the bus signal value.
In the implementation process, the configuration signals and the system variables are associated, so that the bus signal values can be conveniently modified, the corresponding bus signal values can be modified only by adjusting the system variables, and the verification efficiency is improved.
Further, the step of verifying the configuration code and the bus signal value to obtain a verification result includes:
writing the configuration code according to the basic diagnosis standard to obtain a basic diagnosis message;
configuring the basic diagnosis message and the bus signal value to obtain a configuration result;
and checking the configuration result according to the diagnosis instruction to obtain a checking result.
In the implementation process, the configuration result is checked according to the diagnosis instruction, so that the configuration result can be ensured to completely accord with the diagnosis instruction, the error rate in the checking process can be reduced, and the accuracy of the checking result is improved.
Further, the step of verifying the configuration result according to the diagnostic instruction to obtain a verification result includes:
acquiring a configuration instruction;
obtaining a configuration check routine according to the configuration instruction;
and verifying the configuration result according to the configuration verification routine to obtain the verification result.
In the implementation process, the configuration result is checked according to the configuration check routine, and the configuration check routine can clearly and accurately know the specific implementation process of the check, so that the configuration result is checked conveniently.
Further, the step of verifying the configuration result according to the configuration verification routine to obtain the verification result includes:
if the basic diagnosis message and the bus signal value are not consistent, the checking result is a fault code, and the fault code is subjected to configuration logic checking according to the configuration checking routine to obtain the checking result;
and if the basic diagnosis message and the bus signal value are mutually consistent, the configuration result is the combination of the vehicle parts, and the verification result is consistent.
In the implementation process, the combination of the vehicle parts can be rapidly and accurately determined by checking according to different configuration results, and the combination of the vehicle parts is prevented from meeting the configuration requirements.
In a second aspect, an embodiment of the present application further provides a configuration verification apparatus for a vehicle component, where the apparatus includes:
the acquisition module is used for acquiring configuration requirement information of the vehicle parts;
the data acquisition module is used for acquiring bit positions of the vehicle parts according to the configuration requirement information; the configuration code is also obtained according to the bit;
the generating module is used for generating bus signal values of the vehicle parts;
and the verification module is used for verifying the configuration code and the bus signal value to obtain a verification result.
In the implementation process, the configuration code is obtained according to the configuration demand information of the vehicle parts, and then the comparison and verification are carried out according to the configuration code and the bus signal value, so that the vehicle parts and the real vehicle configuration can be timely corrected in the production stage of the vehicle, the completeness of the vehicle parts and the accuracy of the combination of the parts are ensured, the problem of reworking the vehicle is avoided, the production progress is effectively improved, and the resources are saved.
In a third aspect, an electronic device provided in an embodiment of the present application includes: a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to any one of the first aspects when the computer program is executed.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored thereon instructions that, when executed on a computer, cause the computer to perform the method according to any of the first aspects.
In a fifth aspect, embodiments of the present application provide a computer program product, which when run on a computer, causes the computer to perform the method according to any one of the first aspects.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part will be obvious from the description, or may be learned by practice of the techniques of the disclosure.
And may be practiced in accordance with the disclosure as hereinafter described in detail with reference to the preferred embodiments of the present application.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope values, and other related drawings may be obtained according to these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a flow chart of a configuration verification method for vehicle parts according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a configuration code according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a configuration checking device for vehicle components according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
The detailed description of the present application is further described in detail below with reference to the drawings and examples. The following examples are illustrative of the present application but are not intended to limit the scope of the values of the present application.
Example 1
Fig. 1 is a flow chart of a configuration verification method for a vehicle component according to an embodiment of the present application, as shown in fig. 1, the method includes:
s1, acquiring configuration requirement information of vehicle parts;
s2, obtaining bit positions of vehicle parts according to the configuration requirement information;
s3, obtaining a configuration code according to the bit;
s4, generating a bus signal value of the vehicle part;
s5, checking the configuration code and the bus signal value to obtain a checking result.
In the implementation process, the configuration code is obtained according to the configuration demand information of the vehicle parts, and then the comparison and verification are carried out according to the configuration code and the bus signal value, so that the vehicle parts and the real vehicle configuration can be timely corrected in the production stage of the vehicle, the completeness of the vehicle parts and the accuracy of the combination of the parts are ensured, the problem of reworking the vehicle is avoided, the production progress is effectively improved, and the resources are saved.
The configuration requirement information is obtained, and comprises a function requirement and a scheme book with detailed configuration verification, wherein the function requirement and scheme book comprises corresponding bus DBC (database file of CAN), a configuration signal name sent by a corresponding component, a vehicle type configuration table containing configuration information corresponding to bits, a fault code of configuration verification errors of the corresponding component and other parameter information.
Further, S2 includes:
acquiring a configuration table in the configuration requirement information;
and selecting bits corresponding to the configuration signals of the vehicle parts in the configuration table.
In the implementation process, the bit position of the configuration signal of the vehicle part is selected according to the configuration table, so that the specific position of the vehicle part can be simply and effectively obtained, and the trouble of searching multiple parts is avoided.
And confirming corresponding bits in the configuration table corresponding to the configuration signals sent by the parts according to the vehicle type configuration table. As shown in fig. 2, one Bit contains two parts, such as Bit Byte3 is composed of bits 3 and 08, where 08 is its corresponding hexadecimal value.
Further, S3 includes:
obtaining a bit value corresponding to the bit;
and combining the bit values to obtain the configuration code.
In the implementation process, the bit values are combined to obtain the configuration code, so that the configuration code can contain the position information of a plurality of vehicle parts, the vehicle parts are convenient to find and detect, and the positions of the vehicle parts do not need to be checked one by one.
According to the bit position, the corresponding configuration code is calculated, and the information can be unified into a table for being conveniently read and called by an automatic test tool, and the bit positions of different components and corresponding Byte bytes (bit values) can be determined in the vehicle type configuration table, so that the configuration code can be generated by combining the bit values.
Further, S4 includes:
acquiring a configuration signal of a vehicle part;
correlating the configuration signals with system variables to obtain system variable assignment;
and sending the system variable assignment to a bus to obtain a bus signal value.
In the implementation process, the configuration signals and the system variables are associated, so that the bus signal values can be conveniently modified, the corresponding bus signal values can be modified only by adjusting the system variables, and the verification efficiency is improved.
Based on the DBC generating bus test environment, the DBC contains definition of configuration signals sent by parts, corresponding messages are sent by generating CAPL scripts, specific signals are associated to one system variable, and the system variable can be read and assigned by other tools by changing or adjusting the system variable.
Further, S5 includes:
writing configuration codes according to basic diagnosis standards to obtain basic diagnosis messages;
configuring a basic diagnosis message and a bus signal value to obtain a configuration result;
and checking the configuration result according to the diagnosis instruction to obtain a checking result.
In the implementation process, the configuration result is checked according to the diagnosis instruction, so that the configuration result can be ensured to completely accord with the diagnosis instruction, the error rate in the checking process can be reduced, and the accuracy of the checking result is improved.
In the embodiment of the application, the configuration code and the corresponding bus signal value are combined, and only the corresponding configuration code and bus signal value can pass configuration verification, and the corresponding fault code can be generated if the configuration code and the bus signal value are not corresponding.
Further, the step of verifying the configuration result according to the diagnostic instruction to obtain a verification result includes:
acquiring a configuration instruction;
obtaining a configuration checking routine according to the configuration instruction;
and checking the configuration result according to the configuration checking routine to obtain a checking result.
In the implementation process, the configuration result is checked according to the configuration check routine, and the configuration check routine can clearly and accurately know the specific implementation process of the check, so that the configuration result is checked conveniently.
According to the embodiment of the application, the configuration signal value sent by the parts received by the electronic control unit (Electronic Control Unit, ECU) is assigned to the system variable, the configuration code is written into the ECU through the 2E service in diagnosis (basic service in diagnosis service, external interface capable of writing in ECU data, and relevant state information in software can be acquired in real time), and then the 3E service in diagnosis (basic service in diagnosis service) is used for checking and testing the configuration result.
Further, the step of verifying the configuration result according to the configuration verification routine to obtain a verification result includes:
if the basic diagnosis message and the bus signal value are not consistent, the checking result is a fault code, and the fault code is subjected to configuration logic checking according to a configuration checking routine to obtain a checking result;
if the basic diagnosis message and the bus signal value are mutually consistent, the configuration result is the combination of the vehicle parts, and the verification result is consistent.
In the implementation process, the combination of the vehicle parts can be rapidly and accurately determined by checking according to different configuration results, and the combination of the vehicle parts is prevented from meeting the configuration requirements.
And reading the fault code, observing whether the fault code accords with the expectation, wherein the value and the configuration code assigned to the system variable can be input into a table which is manufactured according to the values defined in the scheme book before testing, testing each combination according to the correct combination and the error combination, and labeling the verification results one by one.
According to the embodiment of the application, based on the thought of hardware in the loop, the simulation bus message is used for providing the interaction information of required input for the ECU, and based on the bus environment generated by the whole vehicle DBC, the real tested vehicle can be replaced in a certain sense, and the problem that the configuration checking algorithm cannot be verified due to the configuration of a plurality of vehicles can be solved.
Example two
In order to implement a corresponding method of the above embodiment to achieve the responsive function and technical effect, a configuration checking device for vehicle parts is provided below, as shown in fig. 3, the device includes:
the acquisition module 1 is used for acquiring configuration requirement information of vehicle parts;
the data acquisition module 2 is used for acquiring bit positions of the vehicle parts according to the configuration requirement information; the method is also used for obtaining configuration codes according to the bit positions;
a generating module 3, configured to generate a bus signal value of a vehicle component;
and the verification module 4 is used for verifying the configuration code and the bus signal value to obtain a verification result.
In the implementation process, the configuration code is obtained according to the configuration demand information of the vehicle parts, and then the comparison and verification are carried out according to the configuration code and the bus signal value, so that the vehicle parts and the real vehicle configuration can be timely corrected in the production stage of the vehicle, the completeness of the vehicle parts and the accuracy of the combination of the parts are ensured, the problem of reworking the vehicle is avoided, the production progress is effectively improved, and the resources are saved.
Further, the data obtaining module 2 is further configured to:
acquiring a configuration table in the configuration requirement information;
and selecting bits corresponding to the configuration signals of the vehicle parts in the configuration table.
In the implementation process, the bit position of the configuration signal of the vehicle part is selected according to the configuration table, so that the specific position of the vehicle part can be simply and effectively obtained, and the trouble of searching multiple parts is avoided.
Further, the data obtaining module 2 is further configured to:
obtaining a bit value corresponding to the bit;
and combining the bit values to obtain the configuration code.
In the implementation process, the bit values are combined to obtain the configuration code, so that the configuration code can contain the position information of a plurality of vehicle parts, the vehicle parts are convenient to find and detect, and the positions of the vehicle parts do not need to be checked one by one.
Further, the generating module 3 is further configured to:
acquiring a configuration signal of a vehicle part;
correlating the configuration signals with system variables to obtain system variable assignment;
and sending the system variable assignment to a bus to obtain a bus signal value.
In the implementation process, the configuration signals and the system variables are associated, so that the bus signal values can be conveniently modified, the corresponding bus signal values can be modified only by adjusting the system variables, and the verification efficiency is improved.
Further, the verification module 4 is further configured to:
writing configuration codes according to basic diagnosis standards to obtain basic diagnosis messages;
configuring a basic diagnosis message and a bus signal value to obtain a configuration result;
and checking the configuration result according to the diagnosis instruction to obtain a checking result.
In the implementation process, the configuration result is checked according to the diagnosis instruction, so that the configuration result can be ensured to completely accord with the diagnosis instruction, the error rate in the checking process can be reduced, and the accuracy of the checking result is improved.
Further, the verification module 4 is further configured to:
acquiring a configuration instruction;
obtaining a configuration checking routine according to the configuration instruction;
and checking the configuration result according to the configuration checking routine to obtain a checking result.
In the implementation process, the configuration result is checked according to the configuration check routine, and the configuration check routine can clearly and accurately know the specific implementation process of the check, so that the configuration result is checked conveniently.
Further, the verification module 4 is further configured to:
if the basic diagnosis message and the bus signal value are not consistent, the checking result is a fault code, and the fault code is subjected to configuration logic checking according to a configuration checking routine to obtain a checking result;
if the basic diagnosis message and the bus signal value are mutually consistent, the configuration result is the combination of the vehicle parts, and the verification result is consistent.
In the implementation process, the combination of the vehicle parts can be rapidly and accurately determined by checking according to different configuration results, and the combination of the vehicle parts is prevented from meeting the configuration requirements.
The above-described configuration verification device for vehicle components may implement the method of the first embodiment. The options in the first embodiment described above also apply to this embodiment, and are not described in detail here.
The rest of the embodiments of the present application may refer to the content of the first embodiment, and in this embodiment, no further description is given.
Example III
An embodiment of the present application provides an electronic device, including a memory and a processor, where the memory is configured to store a computer program, and the processor is configured to execute the computer program to cause the electronic device to execute the configuration checking method of the vehicle component of the first embodiment.
Alternatively, the electronic device may be a server.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device may include a processor 41, a communication interface 42, a memory 43, and at least one communication bus 44. Wherein the communication bus 44 is used to enable direct connection communication of these components. The communication interface 42 of the device in the embodiment of the present application is used for performing signaling or data communication with other node devices. The processor 41 may be an integrated circuit chip with signal processing capabilities.
The processor 31 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but may also be a Digital Signal Processor (DSP), application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. The general purpose processor may be a microprocessor or the processor 41 may be any conventional processor or the like.
The Memory 43 may be, but is not limited to, random access Memory (Random Access Memory, RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc. The memory 43 has stored therein computer readable instructions which, when executed by the processor 41, enable the apparatus to perform the steps described above in relation to the embodiment of the method of fig. 1.
Optionally, the electronic device may further include a storage controller, an input-output unit. The memory 43, the memory controller, the processor 41, the peripheral interface, and the input/output unit are electrically connected directly or indirectly to each other to realize data transmission or interaction. For example, the components may be electrically coupled to each other via one or more communication buses 44. The processor 41 is arranged to execute executable modules stored in the memory 43, such as software functional modules or computer programs comprised by the device.
The input-output unit is used for providing the user with the creation task and creating the starting selectable period or the preset execution time for the task so as to realize the interaction between the user and the server. The input/output unit may be, but is not limited to, a mouse, a keyboard, and the like.
It will be appreciated that the configuration shown in fig. 4 is merely illustrative, and that the electronic device may also include more or fewer components than shown in fig. 4, or have a different configuration than shown in fig. 4. The components shown in fig. 4 may be implemented in hardware, software, or a combination thereof.
In addition, the embodiment of the present application further provides a computer readable storage medium storing a computer program, where the computer program when executed by a processor implements the configuration checking method of the vehicle component of the first embodiment.
The present application also provides a computer program product which, when run on a computer, causes the computer to perform the method described in the method embodiments.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners as well. The apparatus embodiments described above are merely illustrative, for example, flow diagrams and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based devices which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely exemplary embodiments of the present application and is not intended to limit the scope of the present application, and various modifications and variations may be suggested to one skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application are intended to be included within the scope of the present application. It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the scope of the present application, and the changes or substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be defined by the protection scope of the claims.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method for verifying the configuration of vehicle components, the method comprising:
acquiring configuration requirement information of the vehicle parts;
obtaining the bit of the vehicle part according to the configuration requirement information;
obtaining a configuration code according to the bit;
generating a bus signal value of the vehicle component;
and checking the configuration code and the bus signal value to obtain a checking result.
2. The configuration verification method of vehicle parts according to claim 1, wherein the step of obtaining the bit of the vehicle part according to the configuration requirement information includes:
acquiring a configuration table in the configuration requirement information;
and selecting bits corresponding to the configuration signals of the vehicle parts in the configuration table.
3. The method of checking the configuration of vehicle parts according to claim 1, wherein the step of obtaining a configuration code from the bits comprises:
obtaining a bit value corresponding to the bit;
and combining the bit values to obtain the configuration code.
4. The method of claim 1, wherein the step of generating the bus signal value for the vehicle component comprises:
acquiring a configuration signal of the vehicle part;
correlating the configuration signals with system variables to obtain system variable assignment;
and sending the system variable assignment to a bus to obtain the bus signal value.
5. The method for verifying the configuration of a vehicle component according to claim 1, wherein the step of verifying the configuration code and the bus signal value to obtain a verification result includes:
writing the configuration code according to the basic diagnosis standard to obtain a basic diagnosis message;
configuring the basic diagnosis message and the bus signal value to obtain a configuration result;
and checking the configuration result according to the diagnosis instruction to obtain a checking result.
6. The method for verifying the configuration of a vehicle component according to claim 5, wherein the step of verifying the configuration result according to the diagnostic instruction to obtain a verification result comprises:
acquiring a configuration instruction;
obtaining a configuration check routine according to the configuration instruction;
and verifying the configuration result according to the configuration verification routine to obtain the verification result.
7. The method for verifying the configuration of a vehicle component according to claim 6, wherein the step of verifying the configuration result according to the configuration verification routine to obtain the verification result comprises:
if the basic diagnosis message and the bus signal value are not consistent, the checking result is a fault code, and the fault code is subjected to configuration logic checking according to the configuration checking routine to obtain the checking result;
and if the basic diagnosis message and the bus signal value are mutually consistent, the configuration result is the combination of the vehicle parts, and the verification result is consistent.
8. A configuration verification device for a vehicle component, the device further comprising:
the acquisition module is used for acquiring configuration requirement information of the vehicle parts;
the data acquisition module is used for acquiring bit positions of the vehicle parts according to the configuration requirement information; the configuration code is also obtained according to the bit;
the generating module is used for generating bus signal values of the vehicle parts;
and the verification module is used for verifying the configuration code and the bus signal value to obtain a verification result.
9. An electronic device comprising a memory for storing a computer program and a processor that runs the computer program to cause the electronic device to perform the configuration verification method of a vehicle component according to any one of claims 1 to 7.
10. A storage medium storing a computer program which, when executed by a processor, implements the method of configuration verification of vehicle parts according to any one of claims 1 to 7.
CN202311531409.1A 2023-11-16 2023-11-16 Configuration verification method and device for vehicle parts and electronic equipment Pending CN117573192A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311531409.1A CN117573192A (en) 2023-11-16 2023-11-16 Configuration verification method and device for vehicle parts and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311531409.1A CN117573192A (en) 2023-11-16 2023-11-16 Configuration verification method and device for vehicle parts and electronic equipment

Publications (1)

Publication Number Publication Date
CN117573192A true CN117573192A (en) 2024-02-20

Family

ID=89892906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311531409.1A Pending CN117573192A (en) 2023-11-16 2023-11-16 Configuration verification method and device for vehicle parts and electronic equipment

Country Status (1)

Country Link
CN (1) CN117573192A (en)

Similar Documents

Publication Publication Date Title
CN108628748B (en) Automatic test management method and automatic test management system
CN111258900A (en) Interface test script generation method, system, equipment and storage medium
CN111651358B (en) Method for generating test case, software test method, device and server
CN112306568A (en) Service instance configuration method and device, electronic equipment and storage medium
CN110908903B (en) Test method based on editable YAML file
CN110888804B (en) Interface test method and interface test platform
CN117573192A (en) Configuration verification method and device for vehicle parts and electronic equipment
US8051048B2 (en) System and method for automated transfer and evaluation of the quality of mass data of a technical process or a technical project
CN116562227A (en) Chip signal connectivity verification method and device
CN116150020A (en) Test case conversion method and device
CN115061852A (en) Functional board card, production system of functional board card and use method of servo system
CN112084278B (en) Verification method and device for map data conversion customized product
CN114036008A (en) Equipment information detection method and device, computer equipment and storage medium
Ambrosio et al. Designing fault injection experiments using state-based model to test a space software
CN111625459A (en) Application program testing method and device, computer equipment and storage medium
CN110795142A (en) Configuration file generation method and device
CN117785267A (en) DBC file repairing method and device and electronic equipment
CN113485284B (en) Message data processing method, device, equipment and storage medium
CN114756217B (en) Plug-in based script generation system
CN114116466B (en) Unit test method, device and medium based on operation log
CN114448851B (en) Automatic data testing method and system
CN113360388B (en) Method for integrally managing test process of unmanned aerial vehicle ground station software
CN117033244A (en) Test case generation method and device, electronic equipment and storage medium
CN114090424A (en) Troubleshooting method, troubleshooting device, troubleshooting equipment and computer storage medium
CN115796139A (en) Production report template establishing method and production report generating method

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