CN114862345A - Method, device and equipment for automatically generating EOL configuration code of control unit and storage medium - Google Patents

Method, device and equipment for automatically generating EOL configuration code of control unit and storage medium Download PDF

Info

Publication number
CN114862345A
CN114862345A CN202210451846.1A CN202210451846A CN114862345A CN 114862345 A CN114862345 A CN 114862345A CN 202210451846 A CN202210451846 A CN 202210451846A CN 114862345 A CN114862345 A CN 114862345A
Authority
CN
China
Prior art keywords
control unit
configuration
eol
code
software
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
CN202210451846.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.)
FAW Bestune Car Co Ltd
Original Assignee
FAW Bestune Car 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 FAW Bestune Car Co Ltd filed Critical FAW Bestune Car Co Ltd
Priority to CN202210451846.1A priority Critical patent/CN114862345A/en
Publication of CN114862345A publication Critical patent/CN114862345A/en
Priority to PCT/CN2022/127377 priority patent/WO2023206999A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Manufacturing & Machinery (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for automatically generating an EOL configuration code of a control unit. The method of the invention comprises the following steps: the method comprises the steps of creating a feature library, managing feature values of a target vehicle system, creating an engineering configuration table, setting software attributes for a control unit, maintaining a basic configuration table and a vehicle model configuration table of the control unit, analyzing to obtain binary configuration codes of the control unit under each single vehicle model, and converting the binary configuration codes into hexadecimal EOL configuration codes. The technical scheme of the invention can effectively improve the efficiency of the automobile host factory for generating the EOL configuration code for the control unit software and improve the correctness of the EOL configuration code.

Description

Method, device and equipment for automatically generating EOL configuration code of control unit and storage medium
Technical Field
The invention relates to the technical field of electrical control of automobile research and development, in particular to an EOL offline detection configuration code of an automobile electric control unit.
Background
With the development of the automobile industry, the functions of automobile products are gradually diversified, and the electric control units are applied to the automobile products more and are used for meeting various different automobile type configurations in automobile systems. From the angle that reduces development expense, practice thrift administrative cost and be convenient for to the electrical control unit management, integrate different functional configuration in same electrical control unit, only need write in through simple configuration, need not change the electrical control unit, just can realize different functions, electrical control unit software is according to the function development of maximize in the automobile system, realize opening and closing different functions through the configuration code, make the high-low distribution motorcycle type in the automobile system use the same electrical control unit, the reusability of electrical control unit function configurability has been improved greatly.
In the prior art, an automobile host factory calculates configuration codes by using a simpler manual calculation mode or a semi-automatic calculation scheme compiled based on an excel spreadsheet function.
The control unit designer gives a value of 0 or 1 for each configured vehicle type in the vehicle system based on the function meaning of each byte and bit of the control unit software, so as to obtain a configuration code (a binary code formed by combining 0 and 1) of the control unit on each configured vehicle type in the vehicle system, and then converts the configuration code into a hexadecimal code which is used as a configuration code of the EOL equipment and is written into the control unit of each vehicle by the offline detector.
The process of current EOL coding compilation relies on the excel function that automatically controlled unit designer encoded or the designer designed, needs the direct participation of people or needs the people to continuously update the excel file promptly, and intermediate link all has the direct participation of people and people's mental activities, and someone's activity can produce the error, and the quality and the efficiency of work can be reduced to the reliance of people. The manual coding method is easy to make mistakes and difficult to check problems. Particularly, with the development of the automobile industry, enterprises begin to develop in a direction of personalized customization of consumers, so that the number of sales codes in automobile systems can reach hundreds of thousands of types due to the combination of optional equipment, the manual calculation and coding mode has higher requirements on labor, higher error probability and high difficulty in checking and maintaining the correctness of results.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for automatically generating an EOL configuration code of a control unit, which can realize automatic analysis and generation of the EOL configuration code by a plurality of related functional modules based on logic finished by system design, and solve the problems of low efficiency, high error probability and difficulty in inspection of EOL code calculation in a manual mode in the prior art.
The invention provides a method, a device, equipment and a storage medium for automatically generating an EOL configuration code of a control unit, wherein the method comprises the following steps:
in a first aspect, an embodiment of the present invention provides a method for automatically generating an EOL configuration code of a control unit, where the method includes:
converting differential equipment into a characteristic value according to an equipment definition file, and recording a global characteristic library of a system;
secondly, selecting characteristic values related to the target vehicle system from the characteristic library to form a related characteristic value list of the target vehicle system, wherein the characteristic values in the related characteristic list are used for an engineering configuration table of the target vehicle system and a vehicle type configuration table of the control unit in the subsequent step;
step three, compiling the use/non-use relation between each high-low distribution single vehicle type and the characteristic value in the target vehicle system according to the equipment definition to form an engineering configuration table, and interpreting the equipment composition and the equipment difference of each single vehicle type through the engineering configuration table;
and step four, setting the control unit type attribute and the software attribute for the software of the control unit. Two attribute settings are made for the part number of the control unit: one is to select its corresponding control unit type, such as ESP (electronic stability program), AIC (audio control unit), BCM (body controller), etc.; selecting which of the assembly, the software and the hardware is selected, wherein only the serial number of the software-type part can maintain a basic configuration table and a vehicle type configuration table in the subsequent steps and generate an EOL configuration code by analysis;
and step five, according to the related functions of the control unit, compiling a basic configuration table of the control unit software, namely setting the number of bytes for the control unit, wherein each byte comprises 8 bits, and each bit is composed of binary 0 and 1. Two or three bits can be combined, and the two or three bits are represented by two binary values or three binary values;
and step six, compiling a vehicle type configuration table of the target vehicle system according to the functions related to the control unit. On the basis of the basic configuration table of the control unit, for each value under each bit under each byte, compiling a corresponding characteristic value or a combination of the characteristic values, and establishing the association between the control unit and the characteristic values;
analyzing and obtaining a binary configuration code of the control unit software on each single vehicle model in a high-low configuration mode according to the engineering configuration table and the vehicle model configuration table by the system;
and step eight, the system reorders the binary configuration codes generated by analysis in the step seven according to the correct order of bytes/bits, converts the binary configuration codes into hexadecimal codes, and obtains the EOL configuration codes of the control unit under each single vehicle type.
In a second aspect, an embodiment of the present invention further provides an apparatus for automatically generating an EOL configuration code, where the apparatus includes:
the characteristic library module is used for storing the characteristics and characteristic values of all vehicle systems of the host factory;
the product characteristic list module is used for extracting a characteristic value required to be used by the target train;
the engineering configuration module is used for creating using/selecting/not using relations between each single vehicle type of the target vehicle system and the characteristic values;
the control unit software attribute setting module is used for setting the corresponding control unit type and software and hardware type for the control unit;
the control unit software basic configuration table module is used for maintaining the function corresponding to each 'value' of each 'bit' under each 'byte' of the control unit;
the control unit software vehicle model configuration table module is used for maintaining a characteristic value or a combination of characteristic values corresponding to each value of each bit under each byte of the control unit;
a control unit software configuration code (binary system) analysis module, which is used for analyzing and calculating the value of each bit of the control unit under a single vehicle type based on the use/non-use relation between the single vehicle type and the characteristic value in the engineering configuration table and based on the characteristic value or the characteristic value combination corresponding to each value under each bit of each byte in the vehicle type configuration table, wherein the combination of a series of values is the obtained binary system configuration code;
and the control unit software configuration code binary code to hexadecimal code (EOL configuration code) module adjusts the binary code obtained in the last module according to the correct sequence of 'bits', and converts the obtained result into the hexadecimal code, namely the EOL configuration code of the control unit under each single vehicle type is obtained.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method for automatically generating the EOL configuration code according to any one of the embodiments of the present invention when executing the program.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for automatically generating a control unit EOL configuration code according to any one of the embodiments of the present invention.
The invention has the beneficial effects that:
according to the invention, the vehicle model specification number is subjected to configuration management, the vehicle model configuration table of the control unit software is subjected to configuration management, and the configuration characteristic values are taken as links through a plurality of modules and electronic equipment in the device, so that the analysis of EOL configuration codes of a specific control unit under the specific vehicle model specification number is realized, and the dependence on mental activity compilation codes of a person is reduced. Therefore, the problems of low efficiency, easy error and difficult inspection in the process of compiling the EOL configuration code in the prior art can be solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a method of automatically generating control unit EOL configuration codes in accordance with the present invention;
FIG. 2 is a block diagram of an EOL configuration code of an automatic generation control unit according to the present invention;
FIG. 3 is a block diagram of an apparatus for automatically generating EOL configuration codes for a control unit according to the present invention;
fig. 4 is a schematic structural diagram of an electronic device for automatically generating an EOL configuration code of a control unit according to the present invention.
Detailed Description
The embodiment of the invention provides a method for automatically generating EOL configuration codes of control units, which can automatically generate the EOL configuration codes of all control unit software under a train to all high and low vehicle types under the train based on the set numerical values of a series of functional modules. The embodiment of the invention also provides a corresponding device, equipment and a storage medium. The following are detailed below.
The following gives a description of the meaning of some terms:
equipment definition: the product planning department provides a use relationship table file between basic vehicle models and equipment items, and the relationship generally comprises use, non-use, selection and the like.
The method comprises the following steps: names of devices and functions constituting an automobile product. For example: bluetooth, 360 panorama images, skylight, luggage rack.
Is characterized in that: converting the equipment items in the equipment definition into system uniform codes according to the coding rules customized in the enterprise, for example: SUM means skylight and BLT means bluetooth.
Characteristic value: various equipment levels under the feature, for example 3B0 for no skylight, 3B1 for manual skylight, 3B2 for ordinary power skylight, 3B3 for panoramic skylight under the SUM feature; the BLT feature 9M0 indicates no bluetooth onboard, and 9M1 indicates bluetooth onboard.
A feature library: and a coding library for managing global features and feature values in the system, wherein the feature values of general equipment items and the feature values of interior and exterior decoration colors of all vehicle systems in the enterprise are stored in the library. The eigenvalues used by all trains are taken from the library.
Engineering configuration table: a list of use/selection/non-use relationships between the model of the basic vehicle in the vehicle system and the feature values of the general equipment items, the option packages, the interior color feature values and the exterior color feature values.
Basic configuration table: the control unit software controls the functions represented by each "byte", each "bit" under each "byte", and the "value" under each "bit".
Vehicle type configuration table: the control unit software is characterized by respectively writing characteristic values of each byte, each bit under the byte and the value under each bit or a characteristic value expression formed by combining two or more characteristic values.
Table 1 is a table of a feature library;
table 2 is a vehicle series association characteristic list table;
table 3 is a vehicle engineering configuration table;
table 4 is a basic configuration table of the control unit software;
table 5 is a model configuration table of the control unit software;
table 6 is a list (binary) of parsed configuration codes;
table 7 is a generated EOL configuration code (hexadecimal) table.
Example one
Fig. 1 is a flowchart of a method for automatically generating an EOL configuration code of a control unit according to an embodiment of the present invention, where this embodiment may be suitable for automatically calculating and generating an EOL configuration code for a control unit, and the method may be executed by an apparatus for automatically generating an EOL configuration code of a control unit according to a second embodiment of the present invention, where the apparatus may be implemented in a software and/or hardware manner, as shown in fig. 1, the method specifically includes the following steps:
converting differential equipment into a characteristic value according to an equipment definition file, and recording a global characteristic library of a system;
selecting a characteristic value related to the target vehicle system from the characteristic library to form an associated characteristic value list of the target vehicle system, wherein the characteristic value in the associated characteristic list is used for an engineering configuration table of the target vehicle system and a vehicle type configuration table of a control unit in the subsequent step;
step three, compiling the use/non-use relation between each high-low distribution single vehicle type and the characteristic value in the target vehicle system according to the equipment definition to form an engineering configuration table, and interpreting the equipment composition and the equipment difference of each single vehicle type through the engineering configuration table;
and step four, setting the control unit type attribute and the software attribute for the software of the control unit. Two attribute settings are made for the part number of the control unit: one is to select its corresponding control unit type, such as ESP (electronic stability program), AIC (audio control unit), BCM (body controller), etc.; selecting which of the assembly, the software and the hardware is selected, wherein only the serial number of the software-type part can maintain a basic configuration table and a vehicle type configuration table in the subsequent steps and generate an EOL configuration code by analysis;
and step five, according to the related functions of the control unit, compiling a basic configuration table of the control unit software, namely setting the number of bytes for the control unit, wherein each byte comprises 8 bits, and each bit is composed of binary 0 and 1. Two or three bits may also be combined, represented by two binary values or three binary values. The two "values" 0 and 1 under each "bit" correspond to the presence and absence of a certain function, respectively, or represent two schemes of low-level and high-level of a class of functions, for example, 0 represents no skylight 1 for skylight 1 or 0 represents 6 speakers 1 for 8 speakers. If some two "bits" are used in combination, they can be combined into four "values": 00. 01, 10, 11, each value may correspond to a combination of a set of functions, for example: 00 denotes: no networking function & no remote function, 01 with networking function & no remote function, 10 with no networking function & with remote function, 11 with networking function & with remote function;
and step six, compiling a vehicle type configuration table of the target vehicle system according to the functions related to the control unit. On the basis of the basic configuration table of the control unit, for each value under each bit under each byte, compiling a corresponding characteristic value or a combination of the characteristic values, and establishing the association between the control unit and the characteristic values;
analyzing and acquiring a binary configuration code of the control unit software on each single vehicle type in high-low configuration according to the engineering configuration table and the vehicle type configuration table by the system;
and step eight, the system reorders the binary configuration codes generated by analysis in the step seven according to the correct order of bytes/bits, converts the binary configuration codes into hexadecimal codes, and obtains the EOL configuration codes of the control unit under each single vehicle type.
Example two
Referring to fig. 3, an apparatus for automatically generating an EOL configuration code of a control unit according to a second embodiment of the present invention includes:
the characteristic library module is used for storing the characteristics and characteristic values of all vehicle systems of the host factory;
the product characteristic list module is used for extracting a characteristic value required to be used by the target train;
the engineering configuration module is used for creating using/selecting/not using relations between each single vehicle type of the target vehicle system and the characteristic values;
the control unit software attribute setting module is used for setting the corresponding control unit type and software and hardware type for the control unit;
the control unit software basic configuration table module is used for maintaining the function corresponding to each 'value' of each 'bit' under each 'byte' of the control unit;
the control unit software vehicle model configuration table module is used for maintaining a characteristic value or a combination of characteristic values corresponding to each value of each bit under each byte of the control unit;
a control unit software configuration code (binary system) analysis module, which is used for analyzing and calculating the value of each bit of the control unit under a single vehicle type based on the use/non-use relation between the single vehicle type and the characteristic value in the engineering configuration table and based on the characteristic value or the characteristic value combination corresponding to each value under each bit of each byte in the vehicle type configuration table, wherein the combination of a series of values is the obtained binary system configuration code;
and the control unit software configuration code binary code to hexadecimal code (EOL configuration code) module adjusts the binary code obtained in the last module according to the correct sequence of 'bits', and converts the obtained result into the hexadecimal code, namely the EOL configuration code of the control unit under each single vehicle type is obtained.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a computer device in the fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 4 is only one example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 4, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system 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, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system 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 in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, 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 CD-ROM, 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 having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. In the computer device 12 of the present embodiment, the display 24 is not provided as a separate body but is embedded in the mirror surface, and when the display surface of the display 24 is not displayed, the display surface of the display 24 and the mirror surface are visually integrated. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with the other modules of computer device 12 via 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 computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing a method for automatically generating control unit EOL configuration codes provided by an embodiment of the present invention.
Example four
A fourth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for automatically generating a control unit EOL configuration code according to all embodiments of the present invention provided in this application.
Any combination of one or more computer-readable media may be employed. 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 also 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 aspects 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).
EXAMPLE five
The method is applied to a new train system, the flow chart of the implementation is shown as the attached figure 1, and the implementation steps are as follows:
the method comprises the following steps: according to the 'equipment definition' file, the differentiated equipment in the new vehicle type (hereinafter referred to as 'target vehicle series') is converted into the characteristics and characteristic values of the specified rules, and the characteristics and the characteristic values are maintained in a global characteristic library of the system, which can be referred to as the selection example in table 1;
TABLE 1
Figure BDA0003617395870000111
Secondly, selecting characteristic values related to the target vehicle system from the characteristic library to form a related characteristic value list of the target vehicle system, wherein the characteristic values in the related characteristic list are used for an engineering configuration table of the target vehicle system and a vehicle type configuration table of the control unit in the subsequent step; selecting characteristic values of atmosphere lamps, intelligent headlamp control, loudspeakers and the like related to a target train as shown in the table 2 in the embodiment;
TABLE 2
Figure BDA0003617395870000121
And step three, compiling the use/non-use relation between each high-low distribution single vehicle type and the characteristic value in the target vehicle system according to the equipment definition to form an engineering configuration table, and interpreting the equipment composition and the equipment difference of each single vehicle type through the engineering configuration table. In this embodiment, a single vehicle type, honorable, flagship, has been intercepted altogether. A certain characteristic value is used for a single vehicle type represented by a symbol O, and a certain characteristic value is not used for a single vehicle type represented by a symbol.
Each single vehicle type as in table 3 needs to be explicitly given its use and disuse relationship for each feature value that the vehicle system refers to.
TABLE 3
Feature encoding Eigenvalue name Enjoy with honour Honor and honour Flagship
72A Automatic backward sliding without main driver seat - - -
72B Automatic backward sliding for getting on vehicle with main driving seat O O O
57A Welcome lamp without front door threshold O O -
57B Welcome lamp with front door threshold - - O
58A Control of ADB without matrix headlight O O -
58B With matrix headlamp control ADB - - O
5L0 Lamp without atmosphere - - -
5L1 With atmosphere lamp O O O
5Y0 Control IHC without intelligent headlamp O - O
5Y1 Take intelligent headlight control IHC - O -
6E5 8 loudspeaker (4 high pitch, 4 bass) - O O
6EF 6 loudspeaker (2 high pitch, 4 bass) O - -
6Y2 Combined instrument 8 inches - - -
6Y6 12 inch combined instrument O O O
AT0 Air filter (pollen/PM 2.5 filter) O - -
AT1 Air filter (super filter element) - O O
DU0 Non-exterior rearview mirror turning follow-up O O O
DU1 With outer mirror for following the turn - - -
8N0 Without pre-crash system (FCW front crash pre-warning system) O - -
8N1 With pre-collision system (FCW front collision early warning system) - O O
8P0 Monitoring system without blind spot (rear side direction coming warning) O - -
8P1 Monitoring system with blind spot (rear side direction coming warning) - O O
8X0 Without automatic emergency braking system (AEB) O - -
8X1 With automatic emergency braking system (AEB) - O O
9B0 Without automatic parking assistance system O O -
9B1 Automatic parking auxiliary system - - O
9C0 Parking radar without front part - - -
9C1 Parking radar with front (4 probe) O O -
9C2 Parking radar with front (6 probe) - - O
9D1 Back-up radar with back (4 probe) O O -
9D2 Radar for backing car with back (6 probe) - - O
9E0 Without image for backing a car O O O
9E1 With image for backing a car - - -
9F0 Without panoramic image - - -
9F1 With panoramic image O O O
CF0 Without networking function - - -
CF1 With internet function O O O
CK0 Without 3D virtual image (3D holographic robot) O O O
CK1 With 3D virtual image (3D holographic robot) - - -
CM0 Without remote functions - - -
CM1 With remote functions O O O
CP0 Navigation without live-action O O -
CP1 Navigation with live-action - - O
GJ0 Non-numeric key entry O O O
GJ1 Is digital key entry - - -
GP0 Without face recognition O O -
GP1 Camera with face recognition function - - O
3J0 Uncharged tail gate foot-extending induction opening function O - -
3J1 Induction opening function of foot extension of electrified tail gate - O O
0E0 Standard equipment O O O
0E2 Sports edition is equipped - - -
And step four, setting the control unit type attribute and the software attribute for the software of the control unit. Two attribute settings are made for the part number of the control unit: one is to select its corresponding control unit type, such as ESP (electronic stability program), AIC (audio control unit), BCM (body controller), etc.; and secondly, selecting which of the assembly, the software and the hardware is selected, and only the serial number of the software-type part can maintain a basic configuration table and a vehicle type configuration table in the subsequent steps and generate an EOL configuration code by analysis. In this embodiment, software of the sound control unit is selected as an example, and the control unit to which the sound control unit belongs is AIC and is a "software" class.
And step five, according to the related functions of the control unit, compiling a basic configuration table of the control unit software, namely setting the number of bytes for the control unit, wherein each byte comprises 8 bits, and each bit is composed of binary 0 and 1. Two or three bits may also be combined, represented by two binary values or three binary values. The two "values" 0 and 1 under each "bit" correspond to the presence and absence of a certain function, respectively, or represent two schemes of low-level and high-level of a class of functions, for example, 0 represents no skylight 1 for skylight 1 or 0 represents 6 speakers 1 for 8 speakers. If some two "bits" are used in combination, they can be combined into four "values": 00. 01, 10, 11, each value may correspond to a combination of a set of functions, for example: 00 denotes: no networking function & no remote function, 01 with networking function & no remote function, 10 with no networking function & with remote function, 11 with networking function & with remote function. In this embodiment, the AIC control unit software uses 3 bytes in total, and each byte has 8 bits, i.e., 24 bits in total. Some of the bits directly define the function of the value, and some adjacent bits are combined into two-bit values to define the function. The function defined by each bit or two bits per byte is given in table 4.
TABLE 4
Figure BDA0003617395870000141
Figure BDA0003617395870000151
And step six, compiling a vehicle type configuration table of the target vehicle system according to the functions related to the control unit. On the basis of the basic configuration table of the control unit, for each 'value' under each 'bit' under each 'byte', a corresponding characteristic value or a combination of characteristic values is compiled, and the association between the control unit and the characteristic values is established. As in the present example, see table 5: AT bit 5 of 1 byte, there are two values 0 and 1, 0 maintains its eigenvalue AT0, 2 maintains its eigenvalue AT1, and AT0 and AT1 represent the two eigenvalues: air cleaners (pollen/PM 2.5 filtration) and air cleaners (super cartridges).
TABLE 5
Figure BDA0003617395870000161
Figure BDA0003617395870000171
Figure BDA0003617395870000181
Analyzing and acquiring a binary configuration code of the control unit software on each single vehicle type in high-low configuration according to the engineering configuration table and the vehicle type configuration table by the system; table 6 is a list (binary) of parsed configuration codes;
in this embodiment, under three bytes of the AIC control unit software, each bit can resolve corresponding values under each single vehicle type (honor, flagship), for example, 1-0 bits of 2 bytes, the result of the honor type resolution is 01, the result of the honor type and flagship type resolution is 10, for example, 1 byte 5 bits of the honor type resolution is 0, and the result of the honor type flagship type resolution is 1.
TABLE 6
Figure BDA0003617395870000182
Figure BDA0003617395870000191
And step eight, the system reorders the binary configuration codes generated by analysis in the step seven according to the correct order of bytes/bits, converts the binary configuration codes into hexadecimal codes, and obtains the EOL configuration codes of the control unit under each single vehicle type. See table 7, the sequence of each bit is arranged in sequence under each byte, the value of 0 or 1 of each bit under each byte is obtained, then the binary code is converted into hexadecimal code, and the hexadecimal code of the AIC control unit under each single vehicle model, namely the EOL configuration code of the AIC control unit, is obtained through combination. The EOL configuration code of the AIC control unit under the honorable type is 9C9102, the configuration code under the honorable type is BD926A, and the configuration code under the flagship type is FDFABA.
TABLE 7
Figure BDA0003617395870000192
In conclusion, the method can solve the problems of low EOL configuration code rate, high error probability and difficulty in inspection of various control units under the condition of manually designing automobile products.
Although the preferred embodiments of the present invention have been described in detail with reference to the accompanying drawings, the scope of the present invention is not limited to the specific details of the above embodiments, and any person skilled in the art can substitute or change the technical solution of the present invention and its inventive concept within the technical scope of the present invention, and these simple modifications belong to the scope of the present invention.
It should be noted that the various technical features described in the above embodiments can be combined in any suitable manner without contradiction, and the invention is not described in any way for the possible combinations in order to avoid unnecessary repetition.
In addition, any combination of the various embodiments of the present invention is also possible, and the same should be considered as the disclosure of the present invention as long as it does not depart from the spirit of the present invention.
It should be noted that, because the contents of information interaction, execution process, and the like between the units in the apparatus and the system are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The method, the apparatus, the device and the storage medium for automatically generating the EOL configuration code of the control unit according to the embodiments of the present invention are described in detail above, and a specific example is applied to describe the principle and the implementation manner of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention. And those not described in detail in this specification are well within the skill of those in the art.

Claims (10)

1. A method for automatically generating a control unit EOL configuration code is characterized by comprising the following steps:
converting differential equipment into a characteristic value according to an equipment definition file, and recording a global characteristic library of a system;
secondly, selecting characteristic values related to the target vehicle system from the characteristic library to form a related characteristic value list of the target vehicle system, wherein the characteristic values in the related characteristic list are used for an engineering configuration table of the target vehicle system and a vehicle type configuration table of the control unit in the subsequent step;
step three, compiling the use or non-use relation between each high-low distribution single vehicle type and the characteristic value in the target vehicle system according to the equipment definition to form an engineering configuration table, and interpreting the equipment composition and the equipment difference of each single vehicle type through the engineering configuration table;
step four, setting control unit type attributes and software attributes for the software of the control unit;
fifthly, compiling a basic configuration table of the control unit software according to the functions related to the control unit;
step six, compiling a vehicle type configuration table of the target vehicle system according to the functions related to the control unit;
analyzing and acquiring a binary configuration code of the control unit software on each single vehicle type in high-low configuration according to the engineering configuration table and the vehicle type configuration table by the system;
and step eight, the system reorders the binary configuration codes generated by analysis in the step seven according to the correct sequence of bytes or bits, converts the binary configuration codes into hexadecimal codes, and obtains the EOL configuration codes of the control unit under each single vehicle type.
2. The method of claim 1, wherein the method comprises:
in the fourth step, the software of the control unit is set with the control unit class attribute and the software attribute, and the specific contents are as follows:
two attribute settings are made for the part number of the control unit: the method comprises the steps of firstly, selecting a control unit type corresponding to a part number of a control unit, secondly, selecting which of an assembly, software and hardware the part number of the control unit is, and only a software part number can maintain a basic configuration table and a vehicle model configuration table in the subsequent steps and generate an EOL configuration code by analysis.
3. A method of automatically generating a control unit EOL configuration code as claimed in claim 2, wherein:
fifthly, compiling a basic configuration table of the control unit software according to the functions related to the control unit; the specific contents are as follows:
setting the number of 'bytes' for the control unit, wherein each byte contains 8 'bits'; each bit is composed of binary 0 and 1; or a two-bit combination, represented by two binary values; or a three-bit merge, represented by three binary values.
4. The method of claim 1, wherein the method comprises:
step six, according to the functions related to the control unit, a vehicle type configuration table of the control unit in the target vehicle system is compiled, and the specific contents are as follows:
on the basis of the basic configuration table of the control unit, for each value under each bit under each byte, a characteristic value or a combination of characteristic values corresponding to the value is compiled, and the association between the control unit and the characteristic value is established.
5. A method of automatically generating a control unit EOL configuration code as claimed in claim 2, wherein:
the corresponding control unit type includes: the system comprises an electronic vehicle body stabilizing system, a sound control unit and a vehicle body controller.
6. An apparatus for automatically generating a control unit EOL configuration code, comprising:
the characteristic library module is used for storing the characteristics and characteristic values of all vehicle systems of the host factory;
the product characteristic list module is used for extracting a characteristic value required to be used by the target train;
the engineering configuration module is used for creating using, selecting or not using relations between each single vehicle type of the target vehicle system and the characteristic values;
the control unit software attribute setting module is used for setting the control unit type and the software and hardware type corresponding to the control unit for the control unit;
the control unit software basic configuration table module is used for maintaining the function corresponding to each 'value' of each 'bit' under each 'byte' of the control unit;
the control unit software vehicle model configuration table module is used for maintaining a characteristic value or a combination of characteristic values corresponding to each value of each bit under each byte of the control unit;
the control unit software configuration code binary analysis module is used for analyzing and calculating to obtain the value of each 'bit' of the control unit under a single vehicle type based on the use or non-use relation between the single vehicle type and the characteristic value in the engineering configuration table and the characteristic value or the characteristic value combination corresponding to each value under each bit of each byte in the vehicle type configuration table, wherein the combination of a series of 'values' is the obtained binary configuration code;
and the control unit software configuration code binary code to hexadecimal code module adjusts the binary code obtained in the last module according to the correct sequence of 'bits', and converts the obtained result into the hexadecimal code, namely the EOL configuration code of the control unit under each single vehicle type is obtained.
7. An apparatus for automatically generating a control unit EOL configuration code, comprising: comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of automatically generating control unit EOL configuration code as claimed in any one of claims 1 to 5 when executing the program.
8. An apparatus for automatically generating a control unit EOL configuration code as claimed in claim 7, wherein:
components of the device include, but are not limited to: one or more processors or processing units, a system memory, and a bus connecting the various system components including the system memory and the processing units.
9. A storage medium for automatically generating a control unit EOL configuration code, comprising: storage medium having stored thereon a computer program which, when being executed by a processor, carries out the method of automatically generating control unit EOL configuration codes according to any one of claims 1 to 5.
10. The storage medium for automatically generating a control unit EOL configuration code as in claim 9, wherein:
storage media includes computer-readable signal media, computer-readable storage media.
CN202210451846.1A 2022-04-26 2022-04-26 Method, device and equipment for automatically generating EOL configuration code of control unit and storage medium Pending CN114862345A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210451846.1A CN114862345A (en) 2022-04-26 2022-04-26 Method, device and equipment for automatically generating EOL configuration code of control unit and storage medium
PCT/CN2022/127377 WO2023206999A1 (en) 2022-04-26 2022-10-25 Method, apparatus, device and storage medium for automatically generating eol configuration code of control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210451846.1A CN114862345A (en) 2022-04-26 2022-04-26 Method, device and equipment for automatically generating EOL configuration code of control unit and storage medium

Publications (1)

Publication Number Publication Date
CN114862345A true CN114862345A (en) 2022-08-05

Family

ID=82632571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210451846.1A Pending CN114862345A (en) 2022-04-26 2022-04-26 Method, device and equipment for automatically generating EOL configuration code of control unit and storage medium

Country Status (2)

Country Link
CN (1) CN114862345A (en)
WO (1) WO2023206999A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116700808A (en) * 2023-06-26 2023-09-05 中国第一汽车股份有限公司 EOL configuration code processing method, system, electronic equipment and storage medium
WO2023206999A1 (en) * 2022-04-26 2023-11-02 一汽奔腾轿车有限公司 Method, apparatus, device and storage medium for automatically generating eol configuration code of control unit

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7506309B2 (en) * 2004-03-23 2009-03-17 General Motors Corporation Method for managing vehicle software configuration updates
CN109063006B (en) * 2018-07-10 2021-12-28 奇瑞汽车股份有限公司 Method for calculating and analyzing configuration code of whole vehicle software by Excel
CN110413265B (en) * 2019-08-02 2023-11-03 甘棠软件系统(上海)有限公司 Software configuration code generation method and device and electronic equipment
CN112445160B (en) * 2019-09-02 2022-06-14 广州汽车集团股份有限公司 Automatic generation method and device of ECU configuration code
CN114202274A (en) * 2021-11-29 2022-03-18 一汽奔腾轿车有限公司 Method, device, equipment and storage medium for automatically matching and identifying first eight bits of code number
CN114862345A (en) * 2022-04-26 2022-08-05 一汽奔腾轿车有限公司 Method, device and equipment for automatically generating EOL configuration code of control unit and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023206999A1 (en) * 2022-04-26 2023-11-02 一汽奔腾轿车有限公司 Method, apparatus, device and storage medium for automatically generating eol configuration code of control unit
CN116700808A (en) * 2023-06-26 2023-09-05 中国第一汽车股份有限公司 EOL configuration code processing method, system, electronic equipment and storage medium
CN116700808B (en) * 2023-06-26 2024-05-14 中国第一汽车股份有限公司 EOL configuration code processing method, system, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2023206999A1 (en) 2023-11-02

Similar Documents

Publication Publication Date Title
CN114862345A (en) Method, device and equipment for automatically generating EOL configuration code of control unit and storage medium
US11254304B2 (en) Control method and apparatus for autonomous vehicle, computer device, and storage medium
CN107133645B (en) Method, equipment and storage medium for predicting order cancelling behavior of passenger
CN106873441A (en) The method and system of electron assistant track entrance
CN102138139A (en) Data logging in graph-based computations
US10496234B2 (en) Modeling the connection between the software signal path and hardware signal path using routes
CN112858908B (en) System, method, device, equipment and storage medium for testing motor of steering gear
CN111950223A (en) Automobile wire harness modularized circuit splitting method and system
WO2021195047A1 (en) Systems and methods for determining a total amount of carbon emissions produced by a vehicle
CN114202274A (en) Method, device, equipment and storage medium for automatically matching and identifying first eight bits of code number
CN110059313A (en) Translation processing method and device
CN109063362A (en) Avionics software interface controls document design management system
US20100211582A1 (en) Open architecture vehicle information module for vehicle and trailer, and system and method thereof
CN110262799A (en) Quick interface arrangement method, display methods, device and equipment based on IVI system
US20090112566A1 (en) Automated generation of executable deployment code from a deployment activity model
CN112009460B (en) Vehicle control method, device, equipment and storage medium
CN104598661B (en) For the method and apparatus for changing requirement analysis for the project for being related to IT system
CN111785000A (en) Vehicle state data uploading method and device, electronic equipment and storage medium
CN110555732A (en) Marketing strategy pushing method and device and marketing strategy operation platform
CN113312085B (en) Instruction block processing method, device, equipment and storage medium
US20060184345A1 (en) Method for producing a complex technical system
CN103116352A (en) Storage method of fault code desk computer (DTC) when no memory space exists
EP3910525A1 (en) Method, computer program and apparatus for detecting a semantic change of a word between domains
CN107835475A (en) Quiet down mode adjusting method and the device of intelligent back vision mirror
CN114035878A (en) Information display method, information display device, 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