Vehicle configuration method and device, equipment and storage medium
By automatically obtaining and applying the configuration information in the vehicle production record file, the problem of time-consuming and easy to operate after the vehicle parts are replaced is solved, the configuration efficiency and accuracy are improved, and the vehicle safety function is ensured.
Patent Information
- Application Number
- CN202411952632.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-22
AI Technical Summary
During vehicle maintenance, the configuration level and type need to be manually confirmed after the vehicle parts are replaced, which results in time-consuming, costly and easy to operate incorrectly, affecting the function and safety of the vehicle.
By obtaining the production record file of the vehicle to be configured, reading the part number of the part number of the part to be configured, and reading the corresponding part number from the production record file, and finding and applying the configuration file to be configured.
It realizes automatic acquisition and application of configuration files during production, reduces manual intervention, improves configuration speed, avoids misconfiguration, and ensures the correct configuration of vehicle components.
Smart Images

Figure CN119861962A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a vehicle configuration method, device, equipment and storage medium. Background Art
[0002] During vehicle maintenance, if vehicle components (such as controllers in the vehicle, etc.) are damaged, they generally need to be replaced. After replacing vehicle components, it is generally necessary to write the corresponding configuration to the vehicle components so that the components can be used normally. However, after replacing components, it is generally necessary to rely on manual processing, manually confirming the configuration level and configuration type of the vehicle, and then manually operating the corresponding equipment (such as operating a diagnostic instrument) to write the configuration. This operation process relies on the experience of the corresponding operators, is time-consuming and costly overall, and there is the possibility of misoperation. Once the configuration is written incorrectly, it will cause vehicle component abnormalities, affecting the vehicle's functions and vehicle usage experience, and more seriously, it may even cause vehicle safety risks. Summary of the invention
[0003] The main purpose of the present application is to provide a vehicle configuration method, device, equipment and storage medium, aiming to solve the technical problems of the related technology that the configuration of vehicle parts replaced in the vehicle is time-consuming and prone to misoperation.
[0004] To achieve the above objectives, the present application proposes a vehicle configuration method, the method comprising:
[0005] Obtaining a production record file corresponding to the vehicle to be configured, and reading the part number of the component to be configured in the vehicle to be configured;
[0006] Read the component configuration number corresponding to the component to be configured from the production record file;
[0007] If the part number recorded in the production record file is consistent with the component part number, then search for the configuration file corresponding to the component configuration part number;
[0008] The component to be configured is configured based on the configuration file.
[0009] Optionally, reading the component configuration number corresponding to the component to be configured from the production record file includes:
[0010] Obtaining the component type of the component to be configured, and constructing a configuration component identifier according to the component type;
[0011] Extracting the component configuration record from the production record file based on the configuration component identifier;
[0012] The component configuration number is read from the component configuration record.
[0013] Optionally, constructing a configuration component identification according to the component type includes:
[0014] Reading vehicle model information from the production record file;
[0015] Searching for identification naming rules according to the vehicle model information;
[0016] A configuration part identification is constructed according to the identification naming rule and the component type.
[0017] Optionally, after reading the component configuration number corresponding to the component to be configured from the production record file, the method further includes:
[0018] If the part number recorded in the production record file is inconsistent with the component part number, obtaining a design update file corresponding to the vehicle to be configured;
[0019] Detect whether there is record data corresponding to the component part number in the design update file;
[0020] If it exists, read the configuration data from the design update file according to the component configuration number;
[0021] The components to be configured are configured based on the configuration data.
[0022] Optionally, if present, reading configuration data from the design update file according to the component configuration number includes:
[0023] If it exists, extracting the record data corresponding to the component part number in the design update file;
[0024] Extracting a configuration storage type from the record data;
[0025] If the configuration storage type is a direct read type, locating the location information of the component configuration number in the design update file;
[0026] Find the record separator closest to the location information to determine the starting position, and find the record separator closest to the location information to determine the ending position;
[0027] Configuration data is read from the design update file based on the starting position and the ending position.
[0028] Optionally, after extracting the configuration storage type from the record data, the method further includes:
[0029] If the configuration storage type is a file reference type, determining the number of data rows corresponding to the component configuration number in the design update file;
[0030] Reading configuration record data from the design update file based on the number of data rows;
[0031] Extracting file acquisition information from the configuration record data;
[0032] Download the configuration file according to the file acquisition information;
[0033] Configuration data is read from the configuration file.
[0034] Optionally, obtaining a production record file corresponding to the vehicle to be configured includes:
[0035] Read the vehicle identification code corresponding to the vehicle to be configured;
[0036] Constructing record query data according to the vehicle identification code;
[0037] The production record file corresponding to the vehicle to be configured is searched based on the record query data.
[0038] In addition, to achieve the above-mentioned purpose, the present application also provides a vehicle configuration device, the device comprising:
[0039] An acquisition module is used to acquire a production record file corresponding to a vehicle to be configured, and read a part number of a part to be configured in the vehicle to be configured;
[0040] A reading module, used for reading the component configuration number corresponding to the component to be configured from the production record file;
[0041] A search module, used for searching for a configuration file corresponding to the component configuration number if the part number recorded in the production record file is consistent with the component part number;
[0042] A configuration module is used to configure the component to be configured based on the configuration file.
[0043] In addition, to achieve the above-mentioned purpose, the present application also provides a vehicle configuration device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vehicle configuration method as described above.
[0044] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle configuration method as described above are implemented.
[0045] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the vehicle configuration method described above are implemented.
[0046] One or more technical solutions proposed in this application have at least the following technical effects:
[0047] Since the production record file can be automatically obtained and the part number of the component to be configured can be read for analysis, when it is determined that the component to be configured can be configured according to the configuration during production, the configuration file used during production is automatically obtained to configure the component to be configured. There is no need for excessive manual intervention. While improving the configuration speed, it also avoids misconfiguration caused by lack of experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0049] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0050] Figure 1 A schematic diagram of a process flow provided for the first embodiment of the vehicle configuration method of the present application;
[0051] Figure 2 This is a schematic diagram of the structure of a production record file according to an embodiment of the present application;
[0052] Figure 3 A flow chart of the second embodiment of the vehicle configuration method of the present application;
[0053] Figure 4 A schematic diagram of a design update file structure of an embodiment of the present application;
[0054] Figure 5 This is a schematic diagram of the module structure of the vehicle configuration device according to an embodiment of the present application;
[0055] Figure 6 Schematic diagram of the device structure of the hardware operating environment involved in the vehicle configuration method in the embodiment of the present application.
[0056] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0057] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0058] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0059] Based on this, the embodiment of the present application provides a vehicle configuration method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the vehicle configuration method of the present application.
[0060] In this embodiment, the vehicle configuration method includes steps S10 to S40:
[0061] Step S10: Obtain the production record file corresponding to the vehicle to be configured, and read the part number of the component to be configured in the vehicle to be configured.
[0062] It should be noted that the execution subject of this embodiment can be an electronic device integrated with (or connected to) a diagnostic instrument that can perform operations such as detection and configuration on the vehicle, such as a smart computer or tablet computer integrated with (or connected to) a diagnostic instrument. Of course, it can also be other devices that can achieve the same or similar functions. This embodiment does not limit this. In this embodiment and the following embodiments, the vehicle configuration method of the present invention is explained by taking the vehicle configuration device as an example.
[0063] It should be noted that the vehicle to be configured may be a vehicle that has been repaired or replaced with parts, and some parts need to be reconfigured. The production record file of the vehicle to be configured may be a record file of various information related to the vehicle to be configured recorded by the manufacturer when the vehicle to be configured is produced. The production record file may include information about the parts carried in the vehicle to be configured, such as part number, part configuration part number (i.e., configuration file number), etc. The parts to be configured may be parts (such as controllers, sensors, etc.) that have been repaired or replaced in the vehicle to be configured and need to be configured. The part number may be a number used to characterize the functional model of the part.
[0064] It should be noted that when replacing parts in a vehicle (i.e. replacing on-board components), the configuration file has not yet been flashed into the replaced parts (i.e. the parts to be configured). In this case, the diagnostic instrument can only read the part number from the parts to be configured, but cannot directly read the configuration-related information of the parts to be configured (such as the configuration part number) from the parts to be configured. In addition, the same model of parts may use different configurations when used in different vehicles. That is, the same part number may correspond to different configuration information for different vehicles (such as high-end or low-end vehicle models will have different configurations for the same on-board component). Therefore, after replacing parts, when it is necessary to flash the configuration to match the vehicle configuration, the only valid information that can be read from the parts to be configured is basically the part number.
[0065] In actual use, the production record files can be stored in the factory backend database of the vehicle manufacturer, and the vehicle configuration device can search for the production record files corresponding to the vehicle to be configured in the factory backend database of the vehicle manufacturer. The vehicle configuration device is integrated with a diagnostic instrument, which can be connected to the vehicle through the diagnostic instrument to read the part number of the part to be configured in the vehicle to be configured.
[0066] In a specific implementation, in order to accurately and quickly obtain the production record file of the vehicle to be configured, the step of obtaining the production record file corresponding to the vehicle to be configured in this embodiment may include:
[0067] Read the vehicle identification code corresponding to the vehicle to be configured;
[0068] Constructing record query data according to the vehicle identification code;
[0069] The production record file corresponding to the vehicle to be configured is searched based on the record query data.
[0070] It should be noted that the vehicle identification code may be a unique identification code of the vehicle, such as a vehicle VIN (Vehicle Identification Number) code, or a vehicle frame number.
[0071] In actual use, after obtaining the vehicle identification code, record query data can be constructed according to the vehicle identification code, and then, based on the record query data, the production record file corresponding to the vehicle to be configured is searched in the factory background database of the vehicle manufacturer.
[0072] The specific implementation method of constructing the record query data according to the vehicle identification code can be adjusted according to the type of the factory background database of the vehicle manufacturer.
[0073] For example, if the factory backend database of a vehicle manufacturer is a relational database (such as MySQL or Oracle), a SQL statement type record query data can be constructed based on the vehicle identification code and the table name of the data table storing the production record file;
[0074] If the factory backend database of the vehicle manufacturer is a document database (such as MongoDB, etc.), the document field corresponding to the vehicle identification code can be determined first, and then record query data for querying the document field can be constructed based on the document field and the vehicle identification code.
[0075] Step S20: Read the component configuration number corresponding to the component to be configured from the production record file.
[0076] It should be noted that the component configuration number corresponding to the component to be configured in the production record file may be the file number of the configuration file used when configuring the same type of component as the component to be configured when the vehicle to be configured leaves the factory.
[0077] In actual use, the information of the production record file can be traversed and compared with the relevant information of the part to be configured, so as to extract the part configuration number corresponding to the part to be configured.
[0078] In a specific implementation, since the information in the production record file may be large, the traversal method of reading data may be slow. In order to quickly read the component configuration number corresponding to the component to be configured in the production record file, step S20 in this embodiment may include:
[0079] Obtaining the component type of the component to be configured, and constructing a configuration component identifier according to the component type;
[0080] Extracting the component configuration record from the production record file based on the configuration component identifier;
[0081] The component configuration number is read from the component configuration record.
[0082] It should be noted that the component type can be identification information used to distinguish the purpose and function of the components in the vehicle. For example, if the controller is used to control the anti-lock braking system, its component type is ABS; if the controller is used to control the airbag, its component type is ACU; if the controller is used to control the vehicle for automatic driving or assisted driving, its component type may be ADAS.
[0083] Among them, functions for the same purpose may include multiple controllers, and their component types can be further divided according to the serial number of the controller in the function. For example, if there are three controllers used to control the vehicle for automatic driving or assisted driving, their component types can be further divided into ADAS-1, ADAS-2, ADAS-3, etc.
[0084] In actual use, the component configuration records corresponding to each component recorded in the production record file generally include the component configuration part identification and the related component configuration part number. Since the same type of component may have multiple records in the production record file (for example, for the same type of component, there will be records recording the component part number, component configuration part number, component production date, component configuration date, etc. in the production record file), in order to distinguish, the configuration part identification is generally constructed based on the component type. At this time, in order to quickly find the component configuration record, after obtaining the component type, the configuration part identification can be constructed according to the component type. After that, the corresponding component configuration record can be quickly found according to the configuration part identification, and the component configuration part number can be read from the component configuration record.
[0085] In a specific implementation, in order to avoid reading errors, the step of constructing a configuration component identification according to the component type in this embodiment may include:
[0086] Reading vehicle model information from the production record file;
[0087] Searching for identification naming rules according to the vehicle model information;
[0088] A configuration part identification is constructed according to the identification naming rule and the component type.
[0089] It should be noted that since vehicles of different models may be produced from different production lines or even different factories, the naming rules of their configuration parts identification may be different, while for vehicles of the same model, the rules for configuration parts identification are basically the same. In order to avoid reading errors, after obtaining the part type, you can also first read the vehicle model information from the production record file, and then look up the identification naming rules in the rule vehicle model mapping table based on the vehicle model information. Finally, build the configuration parts identification based on the identification naming rules and the part type.
[0090] The rule vehicle model mapping table can be pre-built by the manager of the vehicle configuration equipment to store the mapping relationship between the identification naming rule and the vehicle model information. The identification naming rule is to build the naming rule of the configuration part identification according to the part type. For example, if the identification naming rule is a prefix plus the identifier "FC_", and the part type is ABS, then the configuration part identification can be "FC_ABS".
[0091] Step S30: If the part number recorded in the production record file is consistent with the component part number, then search for a configuration file corresponding to the component configuration part number.
[0092] Step S40: configuring the components to be configured based on the configuration file.
[0093] It should be noted that after a vehicle leaves the factory, the manufacturer may change the relevant design specifications of the vehicle due to function upgrades, bug repairs, etc. Such changes may cause changes in the configuration of some parts in the vehicle, and such changes may not be recorded in the production record file, but in a new design file. Once a design change occurs, if the previous configuration continues to be used to configure the parts to be configured, it may cause subsequent abnormal functions of the parts to be configured. In order to distinguish whether there is a design change, the part number recorded in the production record file can be read and compared with the part number of the part to be configured.
[0094] Among them, in order to quickly obtain the part number recorded in the production record file, a method similar to reading the component configuration number can also be adopted. First, build a component part identification according to the part type of the part to be configured, and then search for the corresponding component part number record in the production record file according to the component part identification. Then, read the part number recorded in the production record file from the record.
[0095] In actual use, if the part number recorded in the production record file is consistent with the part number of the component to be configured, it means that the relevant design of the component to be configured has not changed, and the component to be configured can still be configured using the factory configuration. Therefore, the configuration file corresponding to the component configuration number can be found.
[0096] It can be understood that since the vehicle to be configured has not had any changes in its configuration related to the same model of parts as the parts to be configured after leaving the factory, that is, the configuration at the time of leaving the factory can be used. Therefore, when the configuration file for configuring the same model of parts as the parts to be configured in the vehicle to be configured at the time of leaving the factory is found according to the part configuration number, the configuration data can be read from the configuration file, and the configuration data can be written into the parts to be configured through the diagnostic instrument integrated in the vehicle configuration equipment, thereby realizing the configuration of the parts to be configured.
[0097] For ease of understanding, now combined Figure 2 This is for illustration only, but not for limitation. Figure 2 This is a schematic diagram of the production record file structure of this embodiment.
[0098] Assume that the VIN code of the vehicle to be configured is "LGBMBXXXXLS001543", the part type of the part to be configured is "ABS", and the part number is "4766XXXS3B";
[0099] The factory backend database is a document database, and the document field corresponding to the vehicle identification code is "VIN". The record query data constructed can be "VIN: LGBMBXXXXLS001543". The information contained in the production record file found at this time can be as follows Figure 2 As shown, at this time, you can first build the configuration part identification "FC_ABS" according to the part type, and then find the corresponding part configuration record "<item name="FC_ABS"type="6"> 4785XXXS0D", from which the component configuration number "4785XXXS0D" can be extracted, and then the component part identification "REF_ABS" is constructed according to the component type;
[0100] You can find the record "<item name="REF_ABS"type="6"> 4766XXXS3B", from which the part number "4766XXXS3B" recorded in the production record file can be extracted. Since the part number recorded in the production record file is consistent with the part number of the component to be configured, the configuration file corresponding to the component number "4785XXXS0D" can be found, and then the component to be configured is configured according to the found configuration file.
[0101] The present embodiment provides a vehicle configuration method. Since the production record file can be automatically obtained and the part number of the component to be configured can be read and analyzed, when it is determined that the component to be configured can be configured according to the configuration at the time of production, the configuration file used during production is automatically obtained to implement the configuration of the component to be configured. There is no need for excessive manual intervention. While improving the configuration speed, it also avoids misconfiguration caused by lack of experience.
[0102] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can refer to the above introduction, and will not be repeated later. Figure 3 After step S20, the vehicle configuration method further includes steps S30' to S60':
[0103] Step S30': if the part number recorded in the production record file is inconsistent with the component part number, then obtaining a design update file corresponding to the vehicle to be configured.
[0104] It should be noted that the design update file corresponding to the vehicle to be configured may be a file used to record subsequent vehicle design change data of the same model as the vehicle to be configured.
[0105] In actual use, if the part number recorded in the production record file is inconsistent with the component part number, it means that the component used in the vehicle at this time is not the same as the component model when the vehicle leaves the factory. There is a high probability that the relevant design has changed after the vehicle leaves the factory. At this time, in order to obtain the relevant configuration file after the change, the design update file can be obtained.
[0106] Among them, since the design update files of different models may be different, the model information of the vehicle to be configured can be obtained first, and then the corresponding design update file can be found according to the model information.
[0107] Step S40 ′: Detect whether there is record data corresponding to the component part number in the design update file.
[0108] In actual use, in some cases (such as when the replaced component is wrong or the record is lost), the design update file may not actually contain the relevant information of the component to be configured. In order to avoid configuration errors caused by direct reading, you can first check whether there is record data corresponding to the component part number in the design update file.
[0109] Step S50': if it exists, read the configuration data from the design update file according to the component configuration number.
[0110] Step S60 ′: configuring the components to be configured based on the configuration data.
[0111] In actual use, if the record data corresponding to the component part number does not exist in the design update file, it means that the change data contained in the design update file does not actually have the data of the same model of the component to be configured. At this time, it can be considered that the record is lost or the component is replaced incorrectly. The vehicle configuration device can prompt manual intervention for troubleshooting;
[0112] If the design update file contains record data corresponding to the component part number, it means that the change data contained in the design update file actually includes data of the same model of the component to be configured. Therefore, the configuration data can be read from the design update file according to the component configuration part number.
[0113] There may be multiple design update files. If no record data corresponding to the component part number exists in all design update files, manual intervention will be prompted.
[0114] It is understandable that after obtaining the configuration data 21
[0115] If it exists, extracting the record data corresponding to the component part number in the design update file;
[0116] Extracting a configuration storage type from the record data;
[0117] If the configuration storage type is a direct read type, locating the location information of the component configuration number in the design update file;
[0118] Find the record separator closest to the location information to determine the starting position, and find the record separator closest to the location information to determine the ending position;
[0119] Configuration data is read from the design update file based on the starting position and the ending position.
[0120] It should be noted that, in order to distinguish how to obtain the configuration data, a corresponding identifier may be set in the record data corresponding to the component part number, and the configuration storage type may be determined according to the identifier.
[0121] In actual use, if the configuration storage type is a direct read type, it means that the configuration data is less at this time and is directly written in the design update file. In order to correctly read the configuration data at this time, you can first locate the position information of the component configuration number in the design update file, and then, with the position information as the center, search forward and backward for the record separator closest to the record, so as to determine the starting position and the ending position, and then read the data between the starting position and the ending position in the design update file to obtain the configuration data.
[0122] The record separator may be a special symbol for distinguishing two records, and may be pre-set by the administrator of the vehicle configuration equipment, for example: using a line break as a record separator, or using symbols such as "~" and ";" as record separators.
[0123] In a specific implementation, in order to ensure that the configuration data can be correctly read when using reference, after extracting the configuration storage type from the record data in this embodiment, the following may also be included:
[0124] If the configuration storage type is a file reference type, determining the number of data rows corresponding to the component configuration number in the design update file;
[0125] Reading configuration record data from the design update file based on the number of data rows;
[0126] Extracting file acquisition information from the configuration record data;
[0127] Download the configuration file according to the file acquisition information;
[0128] Configuration data is read from the configuration file.
[0129] It should be noted that if the configuration storage type is a file reference type, it means that there is a lot of configuration data at this time, and the accessory data is not written directly in the design update file, but in other files. The reference data of the file is recorded in the design update file. Therefore, the number of data rows corresponding to the component configuration number in the design update file can be determined. Then, the configuration record data can be obtained based on the entire row of data corresponding to the number of read data rows. Then, the file acquisition information can be extracted from the configuration record data, and then the configuration file can be downloaded based on the file acquisition information. Finally, the configuration data can be read from the configuration file.
[0130] The file acquisition information may be a storage path of the configuration file, or an access path of a server storing the configuration file and identification information of the file.
[0131] For ease of understanding, now combined Figure 4 This is for illustration only, but not for limitation. Figure 4 This is a schematic diagram of the design update file structure of this embodiment.
[0132] Assume that the part number of the component to be configured is "4766XXXS3B", and the corresponding part number of the component to be configured is "4785XXXS0D" read from the production record file. Figure 4 As shown, at this time, you can first find the record data corresponding to the part number in the production record file according to the part number (such as Figure 4 According to the recorded data (the recorded data may contain a corresponding identifier indicating the configuration storage type), the configuration storage type can be determined. If the configuration storage type is a direct read type, the start position and end position are determined as follows: Figure 4 As shown in the blue dotted box;
[0133] If the configuration storage type is a file reference type, then the record data may contain a corresponding identifier to indicate the number of rows of the configuration record data, and the corresponding configuration record data may be read according to the number of rows (such as Figure 4 After that, the file is extracted from the configuration record data to obtain information.
[0134] This embodiment provides a vehicle configuration method. When it is determined that the factory configuration cannot be used, the relevant documents of the design change will be further searched to ensure that when the factory configuration cannot be used, the automatic configuration of the components to be configured can still be achieved.
[0135] This application also provides a vehicle configuration device, please refer to Figure 5 , the vehicle configuration device comprises:
[0136] The acquisition module 10 is used to acquire the production record file corresponding to the vehicle to be configured, and read the part number of the part to be configured in the vehicle to be configured;
[0137] A reading module 20 is used to read the component configuration number corresponding to the component to be configured from the production record file;
[0138] A search module 30 is used to search for a configuration file corresponding to the component configuration number if the part number recorded in the production record file is consistent with the component part number;
[0139] The configuration module 40 is used to configure the component to be configured based on the configuration file.
[0140] The vehicle configuration device provided by the present application adopts the vehicle configuration method in the above embodiment, which can solve the technical problems of the related technology that it takes a long time to configure the vehicle parts replaced in the vehicle and is prone to misoperation. Compared with the prior art, the beneficial effects of the vehicle configuration device provided by the present application are the same as the beneficial effects of the vehicle configuration method provided by the above embodiment, and the other technical features in the vehicle configuration device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0141] The present application provides a vehicle configuration device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle configuration method in the above-mentioned embodiment one.
[0142] Reference below Figure 6 , which shows a schematic diagram of the structure of a vehicle configuration device suitable for implementing an embodiment of the present application. The vehicle configuration device in the embodiment of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The vehicle configuration device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0143] like Figure 6As shown, the vehicle configuration device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the vehicle configuration device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the vehicle configuration device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a vehicle configuration device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0144] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0145] The vehicle configuration device provided by the present application adopts the vehicle configuration method in the above embodiment, which can solve the technical problems of the related technology that the configuration of the vehicle parts replaced in the vehicle is time-consuming and easy to be misoperated. Compared with the prior art, the beneficial effects of the vehicle configuration device provided by the present application are the same as the beneficial effects of the vehicle configuration method provided by the above embodiment, and the other technical features in the vehicle configuration device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0146] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0147] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0148] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the vehicle configuration method in the above-mentioned embodiment.
[0149] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0150] The computer-readable storage medium may be included in the vehicle configuration device; or may exist independently without being assembled into the vehicle configuration device.
[0151] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the vehicle configuration device, the vehicle configuration device: obtains the production record file corresponding to the vehicle to be configured, and reads the component part number of the component to be configured in the vehicle to be configured; reads the component configuration part number corresponding to the component to be configured from the production record file; if the part number recorded in the production record file is consistent with the component part number, searches for the configuration file corresponding to the component configuration part number; and configures the component to be configured based on the configuration file.
[0152] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a 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 may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0153] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0154] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0155] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned vehicle configuration method, and can solve the technical problems of the related art that the configuration of vehicle parts replaced in the vehicle is time-consuming and prone to misoperation. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the vehicle configuration method provided by the above-mentioned embodiment, and will not be repeated here.
[0156] The present application also provides a computer program product, including a computer program, which implements the steps of the vehicle configuration method as described above when executed by a processor.
[0157] The computer program product provided by the present application can solve the technical problem that the configuration of the vehicle parts replaced in the vehicle is time-consuming and prone to misoperation in the related art. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the vehicle configuration method provided by the above embodiment, which will not be repeated here.
[0158] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A vehicle configuration method, characterized in that: The method comprises: Obtaining a production record file corresponding to the vehicle to be configured, and reading the part number of the component to be configured in the vehicle to be configured; Read the component configuration number corresponding to the component to be configured from the production record file; If the part number recorded in the production record file is consistent with the component part number, then search for the configuration file corresponding to the component configuration part number; The component to be configured is configured based on the configuration file.
2. The vehicle configuration method according to claim 1, characterized in that: The step of reading the component configuration number corresponding to the component to be configured from the production record file includes: Obtaining the component type of the component to be configured, and constructing a configuration component identifier according to the component type; Extracting the component configuration record from the production record file based on the configuration component identifier; The component configuration number is read from the component configuration record.
3. The vehicle configuration method according to claim 2, characterized in that: The step of constructing a configuration component identification according to the component type includes: Reading vehicle model information from the production record file; Searching for identification naming rules according to the vehicle model information; A configuration part identification is constructed according to the identification naming rule and the component type.
4. The vehicle configuration method according to claim 1, characterized in that: After reading the component configuration number corresponding to the component to be configured from the production record file, the method further includes: If the part number recorded in the production record file is inconsistent with the component part number, obtaining a design update file corresponding to the vehicle to be configured; Detect whether there is record data corresponding to the component part number in the design update file; If it exists, read the configuration data from the design update file according to the component configuration number; The components to be configured are configured based on the configuration data.
5. The vehicle configuration method according to claim 4, characterized in that: If the configuration data exists, the configuration data is read from the design update file according to the component configuration number, including: If it exists, extracting the record data corresponding to the component part number in the design update file; Extracting a configuration storage type from the record data; If the configuration storage type is a direct read type, locating the location information of the component configuration number in the design update file; Find the record separator closest to the location information to determine the starting position, and find the record separator closest to the location information to determine the ending position; Configuration data is read from the design update file based on the starting position and the ending position.
6. The vehicle configuration method according to claim 5, characterized in that: After extracting the configuration storage type from the record data, the method further includes: If the configuration storage type is a file reference type, determining the number of data rows corresponding to the component configuration number in the design update file; Reading configuration record data from the design update file based on the number of data rows; Extracting file acquisition information from the configuration record data; Download the configuration file according to the file acquisition information; Configuration data is read from the configuration file.
7. The vehicle configuration method according to any one of claims 1 to 6, characterized in that: The step of obtaining the production record file corresponding to the vehicle to be configured includes: Read the vehicle identification code corresponding to the vehicle to be configured; Constructing record query data according to the vehicle identification code; The production record file corresponding to the vehicle to be configured is searched based on the record query data.
8. A vehicle configuration device, characterized in that: The device comprises: An acquisition module is used to acquire a production record file corresponding to a vehicle to be configured, and read a part number of a part to be configured in the vehicle to be configured; A reading module, used for reading the component configuration number corresponding to the component to be configured from the production record file; A search module, used for searching for a configuration file corresponding to the component configuration number if the part number recorded in the production record file is consistent with the component part number; A configuration module is used to configure the component to be configured based on the configuration file.
9. A vehicle configuration device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vehicle configuration method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle configuration method according to any one of claims 1 to 7 are implemented.