Method and system for generating RXSWIN account lines based on software BOM and computer program
By constructing a software BOM structure tree and a regulatory library, the controller hardware and software combination information is obtained and cleaned to generate RXSWIN ledger lines, which solves the problem of generating and managing RXSWIN ledger lines in vehicle systems and achieves compliance and traceability.
Patent Information
- Application Number
- CN202411505061.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2024-11-26
AI Technical Summary
Existing technologies are insufficient to effectively generate and manage RXSWIN ledger lines in vehicle systems to meet the compliance requirements of UN Regulation UN R156.
By constructing a software BOM structure tree, the controller hardware and software combination information is obtained, RXSWIN ledger lines are generated, and data is cleaned and deduplicated using a regulatory library and controller list to generate a unique RXSWIN code.
It enables the generation and management of RXSWIN ledger lines in the vehicle system, ensuring software version consistency and traceability, and meeting the compliance requirements of UN R156.
Smart Images

Figure CN119025155A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a method for generating RXSWIN ledger lines based on software BOM. Background Art
[0002] RXSWIN (Regulation X Software Identification Number) is a unique identifier that defines a unique set of software for a type approval system that complies with a given UN Regulation "X". The RXSWIN configuration management process can be used to prove the manufacturer's recorded data and find the corresponding software information through RXSWIN to respond to UNR156 compliance review.
[0003] RXSWIN ledger refers to a ledger system that records and manages RXSWIN-related information in vehicle systems. In the field of vehicle manufacturing and software updates, RXSWIN ledger is essential to ensure the consistency and traceability of software versions.
[0004] At present, car companies have managed their software and built software BOMs, so we need to identify rxswin ledger lines from the software BOM and add them to the rxswin ledger to meet compliance requirements. Summary of the invention
[0005] The present invention provides a method for generating RXSWIN ledger lines based on software BOM, by constructing a software BOM structure tree, acquiring controller software and hardware combination information from the BOM line, and generating the rxswin ledger line.
[0006] To achieve the above object, the embodiments of the present invention adopt the following technical solutions: A method for generating rxswin ledger lines based on software BOM, comprising the following steps: Build a software BOM structure tree based on the controller hardware and software information of the announced vehicle model; Build a regulatory database based on the sales markets corresponding to the regulations and the list of controllers associated with the regulations; Obtain BOM lines based on the announced vehicle model, software BOM structure tree and regulatory library; Based on the BOM line, obtain the controller hardware and software combination information; Remove duplicate data from the controller's hardware and software combination information; Generate rxswin ledger rows based on the controller hardware and software combination information.
[0007] According to one aspect of the present invention, the building of a regulation library based on a sales market corresponding to the regulation and a list of controllers associated with the regulation includes: Set up sales markets corresponding to regulations; Set up a list of controllers associated with regulations; Set the entry information corresponding to the regulations.
[0008] According to one aspect of the present invention, the method for generating rxswin ledger lines based on software BOM also includes: Set the baseline version according to the software BOM structure tree; The changed BOM line version after removing the baseline.
[0009] According to one aspect of the present invention, obtaining the BOM line based on the announced vehicle model, the software BOM structure tree and the regulatory library includes: Get the configuration string information of the announced vehicle model; Calculate the controller list based on the configuration string; Generate BOM lines related to the announced vehicle model and regulations based on the announced vehicle model, controller list, software BOM structure tree and regulatory library, and match the BOM line version of the announced vehicle model.
[0010] According to one aspect of the present invention, removing duplicate data in the controller hardware and software combination information includes: Generate MD5 value based on controller software and hardware combination information; Remove the BOM lines with the same MD5; Group the remaining BOM lines according to the identifier; Remove BOM lines with the same identifier; For the remaining BOM lines, remove the BOM lines that have generated rxswin ledger lines.
[0011] According to one aspect of the present invention, the method for generating rxswin ledger lines based on software BOM also includes: Get the previous version of the ledger and get the snapshot of the ledger version; Based on the ledger version snapshot, obtain the corresponding rxswin code list; Based on the rxswin code list, obtain the corresponding controller hardware and software combination information; Remove the controller hardware and software combination information added after this version of the ledger; The remaining controller hardware and software combination information is used to generate rxswin ledger lines.
[0012] According to one aspect of the present invention, generating an rxswin ledger row based on the controller hardware and software combination information further includes: Generate rxswin code based on the controller hardware and software combination information.
[0013] According to one aspect of the present invention, the method for generating rxswin ledger lines based on software BOM also includes: Update the rxswin ledger row based on regulations and controller hardware and software combination information.
[0014] A system for generating rxswin ledger lines based on software BOM, based on the method for generating rxswin ledger lines based on software BOM as described above, comprising: BOM module, used to build a software BOM structure tree based on the controller hardware and software information of the announced vehicle model; The regulatory library module is used to build a regulatory library based on the sales market corresponding to the regulations and the list of controllers associated with the regulations; BOM line module, used to obtain BOM lines based on the announced vehicle model, software BOM structure tree and regulatory library; The controller module is used to obtain the controller hardware and software combination information based on the BOM line; Deduplication module, used to remove duplicate data in the controller's software and hardware combination information; The ledger line module is used to generate rxswin ledger lines based on the controller hardware and software combination information.
[0015] A computer program, when executed, implements the steps of the method for generating rxswin ledger lines based on software BOM as described above.
[0016] Advantages of the present invention: The present invention provides a method for generating RXSWIN ledger lines based on software BOM. By constructing a software BOM structure tree, controller software and hardware combination information is obtained from the BOM line to generate the rxswin ledger line; the controller software and hardware combination information is obtained through the rxswincode of the old version of the ledger to generate the rxswin ledger line; the rxswin ledger line can be updated according to regulations and the controller software and hardware combination information. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 This is a flowchart of a method for generating rxswin ledger lines based on software BOM according to Embodiment 1 of the present invention; Figure 2This is a flowchart of a method for generating rxswin ledger lines based on software BOM according to Embodiment 2 of the present invention; Figure 3 This is the BOM line described in the present invention. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] Embodiment 1
[0021] like Figure 1 As shown, a method for generating rxswin ledger lines based on software BOM includes the following steps: S1: Build a software BOM structure tree based on the controller hardware and software information of the announced vehicle model.
[0022] Specifically, building a software BOM structure tree includes: Build a vehicle-level software BOM structure tree template; Build the structure of the software product; Based on the structure of the software product, attach the software and hardware version information of the software product that has been tested, verified and released; The software entity file information is mounted based on the software version information of the software product.
[0023] The method for generating rxswin ledger lines based on software BOM also includes: According to the software BOM structure tree, the baseline version is set; specifically, the baseline version can be captured based on all the software BOM lines corresponding to the announced vehicle model and the BOM.
[0024] The changed BOM line version after removing the baseline.
[0025] S2: Build a regulatory library based on the sales market corresponding to the regulations and the list of controllers associated with the regulations.
[0026] The regulation library is constructed based on the sales market corresponding to the regulation and the controller list associated with the regulation, and includes: Set up sales markets corresponding to regulations; Set up a list of controllers associated with regulations; Set the entry information corresponding to the regulations.
[0027] Specifically, setting up the regulatory database includes: Added UN R156 regulatory entry information, and set applicable markets, associated controllers, and rxswin regulatory coding information based on the UN R156 regulatory entry; Added UN R156 regulatory version, and selected regulatory item information based on UN R156 regulatory version; For the newly created UN R156 regulation version, fill in the corresponding revision description information when submitting it for review, go through the approval process, and the status of the approved UN R156 regulation version is effective.
[0028] S3: Get the BOM line based on the announced vehicle model, software BOM structure tree and regulatory library.
[0029] The method of obtaining BOM lines based on the announced vehicle model, software BOM structure tree and regulatory library includes: Get the configuration string information of the announced vehicle model; Calculate the controller list based on the configuration string; According to the announced model, controller list, software BOM structure tree and regulatory library, generate BOM lines related to the announced model and regulations, and match the BOM line version of the announced model. Specifically, the BOM line is as follows: Figure 3 shown.
[0030] S4: Based on the BOM line, obtain the controller hardware and software combination information.
[0031] S5: Remove duplicate data in the controller hardware and software combination information.
[0032] The method of removing duplicate data in the controller hardware and software combination information includes: Generate an MD5 value based on the controller hardware and software combination information; specifically, the controller hardware and software combination can be formed by taking "controller abbreviation + ECU assembly number + hardware version + software version + calibration version" to generate an MD5 value.
[0033] Remove BOM rows with the same MD5. Specifically, determine whether the MD5 value already exists. If not, fill the BOM row with the MD5 value. If so, group the BOM rows by MD5 and remove rows with the same MD5.
[0034] The remaining BOM lines are grouped according to the identifiers; specifically, the remaining BOM lines are grouped by OCC ID.
[0035] Remove BOM lines with the same identifier; specifically, remove lines with the same OCC ID.
[0036] For the remaining BOM lines, remove the BOM lines that have generated rxswin ledger lines. Specifically, the remaining BOM lines are to be stored in the warehouse. Determine whether the BOM line has been stored in the warehouse. If it has been stored in the warehouse and the rxswin code has been generated, it is duplicate data and is removed. The remaining BOM lines are those that need to generate rxswin ledger lines.
[0037] S6: Generate rxswin ledger rows based on the controller hardware and software combination information.
[0038] The generating of the rxswin ledger row based on the controller hardware and software combination information also includes: Generate rxswin code based on the controller hardware and software combination information.
[0039] rxswin code refers to the change description information corresponding to the software and hardware version information of this version.
[0040] The beneficial effect of this embodiment is that: this method constructs a software BOM structure tree, obtains the controller hardware and software combination information from the BOM line, and generates an rxswin ledger line.
[0041] Embodiment 2
[0042] like Figure 2 As shown, a method for generating rxswin ledger lines based on software BOM includes the following steps: S1: Build a software BOM structure tree based on the controller hardware and software information of the announced vehicle model.
[0043] Specifically, building a software BOM structure tree includes: Build a vehicle-level software BOM structure tree template; Build the structure of the software product; Based on the structure of the software product, attach the software and hardware version information of the software product that has been tested, verified and released; The software entity file information is mounted based on the software version information of the software product.
[0044] The method for generating rxswin ledger lines based on software BOM also includes: According to the software BOM structure tree, the baseline version is set; specifically, the baseline version can be captured based on all the software BOM lines corresponding to the announced vehicle model and the BOM.
[0045] The changed BOM line version after removing the baseline.
[0046] S2: Build a regulatory library based on the sales market corresponding to the regulations and the list of controllers associated with the regulations.
[0047] The regulation library is constructed based on the sales market corresponding to the regulation and the controller list associated with the regulation, and includes: Set up sales markets corresponding to regulations; Set up a list of controllers associated with regulations; Set the entry information corresponding to the regulations.
[0048] Specifically, setting up the regulatory database includes: Added UN R156 regulatory entry information, and set applicable markets, associated controllers, and rxswin regulatory coding information based on the UN R156 regulatory entry; Added UN R156 regulatory version, and selected regulatory item information based on UN R156 regulatory version; For the newly created UN R156 regulation version, fill in the corresponding revision description information when submitting it for review, go through the approval process, and the status of the approved UN R156 regulation version is effective.
[0049] S3: Get the BOM line based on the announced vehicle model, software BOM structure tree and regulatory library.
[0050] The method of obtaining BOM lines based on the announced vehicle model, software BOM structure tree and regulatory library includes: Get the configuration string information of the announced vehicle model; Calculate the controller list based on the configuration string; According to the announced model, controller list, software BOM structure tree and regulatory library, generate BOM lines related to the announced model and regulations, and match the BOM line version of the announced model. Specifically, the BOM line is as follows: Figure 3 shown.
[0051] S4: Based on the BOM line, obtain the controller hardware and software combination information.
[0052] S5: Remove duplicate data in the controller hardware and software combination information.
[0053] The method of removing duplicate data in the controller hardware and software combination information includes: Generate an MD5 value based on the controller hardware and software combination information; specifically, the controller hardware and software combination can be formed by taking "controller abbreviation + ECU assembly number + hardware version + software version + calibration version" to generate an MD5 value.
[0054] Remove BOM rows with the same MD5. Specifically, determine whether the MD5 value already exists. If not, fill the BOM row with the MD5 value. If so, group the BOM rows by MD5 and remove rows with the same MD5.
[0055] The remaining BOM lines are grouped according to the identifiers; specifically, the remaining BOM lines are grouped by OCC ID.
[0056] Remove BOM lines with the same identifier; specifically, remove lines with the same OCC ID.
[0057] For the remaining BOM lines, remove the BOM lines that have generated rxswin ledger lines. Specifically, the remaining BOM lines are to be stored in the warehouse. Determine whether the BOM line has been stored in the warehouse. If it has been stored in the warehouse and the rxswin code has been generated, it is duplicate data and is removed. The remaining BOM lines are those that need to generate rxswin ledger lines.
[0058] S6: Generate rxswin ledger rows based on the controller hardware and software combination information.
[0059] The generating of the rxswin ledger row based on the controller hardware and software combination information also includes: Generate rxswin code based on the controller hardware and software combination information.
[0060] rxswin code refers to the change description information corresponding to the software and hardware version information of this version.
[0061] S7: Get the previous version of the ledger and get the snapshot of the ledger version.
[0062] S8: Based on the ledger version snapshot, obtain the corresponding rxswin code list.
[0063] S9: Based on the rxswin code list, obtain the corresponding controller hardware and software combination information.
[0064] S10: Remove the controller hardware and software combination information added after this version of the ledger.
[0065] S11: Generate rxswin ledger rows with the remaining controller hardware and software combination information.
[0066] S12: Update the rxswin ledger row according to regulations and controller hardware and software combination information.
[0067] Based on the version of rxswin code, determine whether it affects the regulations. If it affects the regulations, the rxswin code needs to be upgraded; if it does not affect the regulations, the existing rxswin code needs to be inherited to form rxswin account information.
[0068] Specifically, the rxswin ledger row updates include: The first version of the ledger, rxswin code initialization, the last two digits of the rxswin code of the first version of the ledger are 00; The changed ledger determines whether the changed controller hardware and software combination affects the regulations based on the change description information. If it affects the regulations, the rxswin code is upgraded, and the last two digits of the rxswin code are upgraded from 00 to 01, and the relationship between the rxswincode of 01 and the new controller hardware and software combination is established; if it does not affect the regulations, the new controller hardware and software combination is inherited under the existing rxswin code to form a complete ledger information.
[0069] After the complete ledger is formed, it is submitted to the Ministry of Transport for review. Then the software is installed on the vehicle, meeting the compliance requirements of UN R156.
[0070] The beneficial effects of this embodiment are: this method obtains the controller hardware and software combination information through the rxswin code of the old version of the ledger, and generates the rxswin ledger line; the rxswin ledger line can be updated according to regulations and the controller hardware and software combination information.
[0071] Embodiment 3
[0072] A system for generating rxswin ledger lines based on software BOM, based on the method for generating rxswin ledger lines based on software BOM as described in Embodiment 1 or 2, comprising: BOM module, used to build a software BOM structure tree based on the controller hardware and software information of the announced vehicle model; The regulatory library module is used to build a regulatory library based on the sales market corresponding to the regulations and the list of controllers associated with the regulations; BOM line module, used to obtain BOM lines based on the announced vehicle model, software BOM structure tree and regulatory library; The controller module is used to obtain the controller hardware and software combination information based on the BOM line; Deduplication module, used to remove duplicate data in the controller's software and hardware combination information; The ledger line module is used to generate rxswin ledger lines based on the controller hardware and software combination information.
[0073] Preferably, the system further includes: The snapshot module is used to obtain the previous version of the ledger and obtain the snapshot of the ledger version; The rxswin code module is used to obtain the corresponding rxswin code list based on the ledger version snapshot; The controller information module is used to obtain the corresponding controller software and hardware combination information based on the rxswin code list; The removal module is used to remove the controller hardware and software combination information added after this ledger version; The update module is used to update the rxswin ledger row according to regulations and controller hardware and software combination information.
[0074] Embodiment 4
[0075] A computer program, when executed, implements the steps of the method for generating RXSWIN ledger lines based on software BOM as described in embodiment one or two.
[0076] Embodiment 5
[0077] A readable storage medium having stored thereon a computer program as described in Example 4, wherein when the computer program is executed, the steps of the method for generating RXSWIN ledger lines based on software BOM as described in Example 1 or 2 are implemented.
[0078] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the art within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for generating rxswin ledger lines based on software BOM, characterized in that: The following steps are involved: Build a software BOM structure tree based on the controller hardware and software information of the announced vehicle model; Build a regulatory database based on the sales markets corresponding to the regulations and the list of controllers associated with the regulations; Obtain BOM lines based on the announced vehicle model, software BOM structure tree and regulatory library; Based on the BOM line, obtain the controller hardware and software combination information; Remove duplicate data from the controller's hardware and software combination information; Generate rxswin ledger rows based on the controller hardware and software combination information.
2. The method for generating rxswin ledger lines based on software BOM according to claim 1, characterized in that: The regulation library is constructed based on the sales market corresponding to the regulation and the controller list associated with the regulation, and includes: Set up sales markets corresponding to regulations; Set up a list of controllers associated with regulations; Set the entry information corresponding to the regulations.
3. The method for generating rxswin ledger lines based on software BOM according to claim 1, characterized in that: The method for generating rxswin ledger lines based on software BOM also includes: Set the baseline version according to the software BOM structure tree; The changed BOM line version after removing the baseline.
4. The method for generating rxswin ledger lines based on software BOM according to claim 1, characterized in that: The method of obtaining BOM lines based on the announced vehicle model, software BOM structure tree and regulatory library includes: Get the configuration string information of the announced vehicle model; Calculate the controller list based on the configuration string; Generate BOM lines related to the announced vehicle model and regulations based on the announced vehicle model, controller list, software BOM structure tree and regulatory library, and match the BOM line version of the announced vehicle model.
5. The method for generating rxswin ledger lines based on software BOM according to claim 1, characterized in that: The method of removing duplicate data in the controller hardware and software combination information includes: Generate MD5 value based on controller software and hardware combination information; Remove the BOM line with the same MD5; Group the remaining BOM lines according to the identifier; Remove BOM lines with the same identifier; For the remaining BOM lines, remove the BOM lines that have generated rxswin ledger lines.
6. The method for generating rxswin ledger lines based on software BOM according to claim 3, characterized in that: The method for generating rxswin ledger lines based on software BOM also includes: Get the previous version of the ledger and get the snapshot of the ledger version; Based on the ledger version snapshot, obtain the corresponding rxswin code list; Based on the rxswin code list, obtain the corresponding controller hardware and software combination information; Remove the controller hardware and software combination information added after this version of the ledger; The remaining controller hardware and software combination information is used to generate rxswin ledger lines.
7. The method for generating rxswin ledger lines based on software BOM according to claim 1 or 6, characterized in that: The generating of the rxswin ledger row based on the controller software and hardware combination information also includes: Generate rxswin code based on the controller hardware and software combination information.
8. The method for generating rxswin ledger lines based on software BOM according to claim 1, characterized in that: The method for generating rxswin ledger lines based on software BOM also includes: Update the rxswin ledger row based on regulations and controller hardware and software combination information.
9. A system for generating rxswin ledger lines based on software BOM, characterized in that: The method for generating rxswin ledger lines based on software BOM according to any one of claims 1 to 8 comprises: BOM module, used to build a software BOM structure tree based on the controller hardware and software information of the announced vehicle model; The regulatory library module is used to build a regulatory library based on the sales market corresponding to the regulations and the list of controllers associated with the regulations; BOM line module, used to obtain BOM lines based on the announced vehicle model, software BOM structure tree and regulatory library; The controller module is used to obtain the controller hardware and software combination information based on the BOM line; Deduplication module, used to remove duplicate data in the controller's hardware and software combination information; The ledger line module is used to generate rxswin ledger lines based on the controller hardware and software combination information.
10. A computer program, characterized in that When the computer program is executed, the steps of the method for generating rxswin ledger lines based on software BOM as described in any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Vehicle BOM configuration method and device, electronic equipment and computer readable medium
CN117495258A
