Vehicle software identification code generation method, management method, device, medium, and program

By generating a unique vehicle software identification code based on hash processing, the repetition and security of the vehicle software identification code are solved, and the uniqueness and data security of the identification code are realized.

CN120145342APending Publication Date: 2025-06-13CATARC AUTOMOTIVE TEST CENT TIANJIN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510109903.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

In the prior art, vehicle software identification codes may be repeated and are prone to forgery or tampering, resulting in poor security.

Method used

By obtaining the vehicle model number, regulation number and software upgrade version number, a message string is generated, and a random string is combined to generate the target string, and hashing is performed to generate the serial number, and finally a unique vehicle software identification code is generated.

Benefits of technology

Ensure the uniqueness of each vehicle software identification code, avoid duplication, enhance the security and authenticity of data, simplify the creation process of identification code, and improve work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120145342A_ABST
    Figure CN120145342A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicles, in particular to a vehicle software identification code generation method, a management method, equipment, a medium and a programmer.The method comprises the steps that the vehicle type number of a target vehicle, the regulation number of vehicle software and the software upgrading version number are obtained; generating a message character string according to the vehicle type number, the regulation number and the software upgrading version number; and generating a target character string according to the message character string and the random character string, performing hash processing on the target character string to obtain a serial number, and generating a vehicle software identification code of the target vehicle according to the serial number. Therefore, the problems of identification code repetition, easy identification code counterfeiting or tampering, poor security and the like possibly caused by limited combination of information such as vehicle type codes and law and regulation numbers in related technologies are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of vehicles, and particularly to a method for generating a vehicle software identification code, a management method, a device, a medium, and a program. Background Art

[0002] Under the background of the rapid development of modern industry and information technology, the vehicle manufacturing industry is undergoing unprecedented changes. With the continuous improvement of the intelligence and networking of vehicles, the role of software in vehicles has become increasingly prominent. From engine control to autonomous driving systems, software has become an indispensable part of modern cars. Therefore, ensuring the security, reliability, and traceability of in-vehicle software has become the focus of attention of manufacturers and regulatory agencies.

[0003] The software upgrade regulations attach particular importance to the management and security requirements of RXSWIN (Software Identification Number). Since RXSWIN contains software version information, software integrity verification data, etc., the regulations stipulate that when RXSWIN affects the type approval related to vehicle access during software upgrade, in addition to the RXSWIN of relevant components needing to be updated in a timely manner, it should also be ensured that RXSWIN requires authorization to access and modify. Therefore, requirements are put forward for RXSWIN in both the software upgrade management system and vehicle type certification, that is, the compilation of RXSWIN should be convenient for management and ensure security.

[0004] In related technologies, due to the limited combination of information such as vehicle model codes and regulation numbers, duplicate identification codes may occur, which is particularly obvious during mass production; unencrypted identification codes are easily reverse-engineered and parsed, increasing the risk of being maliciously exploited; when the identification code is tampered with, there is a lack of effective means to detect this change, thus affecting the authenticity and reliability of the data. Summary of the Invention

[0005] This application provides a method for generating a vehicle software identification code, a management method, a device, a medium, and a program to solve the problems in related technologies that due to the limited combination of information such as vehicle model codes and regulation numbers, the identification code may be repeated, the identification code is easily forged or tampered with, and the security is poor.

[0006] The first aspect of the embodiments of this application provides a method for generating a vehicle software identification code, including the following steps: obtaining the vehicle model number of the target vehicle, the regulation number of the vehicle software, and the software upgrade version number; generating a message string according to the vehicle model number, the regulation number, and the software upgrade version number; generating a target string according to the message string and a random string, performing a hash process on the target string to obtain a serial number, and generating a vehicle software identification code for the target vehicle according to the serial number.

[0007] Optionally, obtaining a serial number after hashing the target string includes: hashing the target string to generate a hash value; and selecting a preset number of leading digits of the hash value to generate the serial number.

[0008] Optionally, generating a vehicle software identification code for the target vehicle according to the serial number includes: identifying a target structure of the vehicle software identification code selected by the user; and inserting the serial number into a corresponding position of the target structure to generate the vehicle software identification code for the target vehicle.

[0009] Optionally, after generating the vehicle software identification code for the target vehicle according to the serial number, it further includes: identifying whether there is a change requirement for the software identification code; if there is a change requirement for the software identification code, then changing the software identification code according to the change requirement.

[0010] Optionally, changing the software identification code according to the change requirement includes: if the change requirement is to change the regulation number, then generating a new target string according to the new regulation number, hashing the target string again to obtain a serial number, and generating the vehicle software identification code for the target vehicle according to the serial number; if the change requirement is not to change the regulation number, then adjusting the random string to generate a new target string, hashing the target string again to obtain a serial number, and generating the vehicle software identification code for the target vehicle according to the serial number.

[0011] Optionally, after generating the vehicle software identification code for the target vehicle according to the serial number, it includes: storing the software identification code in a database.

[0012] An embodiment of the second aspect of the present application provides a method for managing a vehicle software identification code, including: obtaining a management requirement for the vehicle software identification code of a target vehicle; identifying the management requirement to determine a query field and a target management action, querying the database with the query field as an index to obtain the vehicle software identification code of the target vehicle, where the database includes the vehicle software identification code generated by the vehicle software identification code generation method described in the above embodiment; and performing the target management action on the vehicle software identification code of the target vehicle.

[0013] An embodiment of the third aspect of the present application provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the program to execute the vehicle software identification code generation method or the vehicle software identification code management method described in the above embodiment.

[0014] The fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, and the program is executed by a processor to execute the vehicle software identification code generation method or the vehicle software identification code management method as described in the above embodiments.

[0015] The fifth aspect of the present application provides a computer program product, including a computer program or instruction, characterized in that when the computer program or instruction is executed, it realizes the vehicle software identification code generation method or the vehicle software identification code management method as described in the above embodiments.

[0016] Therefore, the present application has at least the following beneficial effects:

[0017] (1) In the embodiments of the present application, a message string can be generated according to the vehicle model number, regulation number, and software upgrade version number; a target string is generated according to the message string and a random string, and after hashing the target string, a serial number is obtained, and a vehicle software identification code of the target vehicle is generated according to the serial number, so as to ensure that the vehicle software identification code contains core information such as the vehicle model number, regulation number, and software upgrade version number, and by introducing a random number and a hashing algorithm, the uniqueness of each vehicle software identification code is ensured, avoiding the possibility of duplication; hashing the target string protects the security and authenticity of the data, and through an automated generation process, simplifies the creation process of the identification code, reduces human errors, and improves work efficiency.

[0018] (2) In the embodiments of the present application, the query field and the target management action can be determined by identifying the management requirements, and using the query field as an index, the vehicle software identification code of the target vehicle is queried from the database, and the automated query and management action execution reduces human intervention, reduces the error probability, improves work efficiency, not only improves the efficiency and accuracy of vehicle software identification code management, but also enhances the security and compliance of the system, optimizes the maintenance process, and improves the quality of customer service.

[0019] The additional aspects and advantages of the present application will be partially given in the following description, partially become obvious from the following description, or be understood through the practice of the present application. Description of the Drawings

[0020] The above and / or additional aspects and advantages of the present application will become obvious and easy to understand from the following description of the embodiments in conjunction with the drawings, where:

[0021] Figure 1 is a flowchart of a vehicle software identification code generation method according to an embodiment of the present application;

[0022] Figure 2 is a schematic diagram of the target structure of a vehicle software identification code according to an embodiment of the present application;

[0023] Figure 3 A schematic diagram of the target structure of the vehicle software identification code provided according to another embodiment of the present application;

[0024] Figure 4 A schematic diagram of the vehicle software identification code management method provided according to an embodiment of the present application;

[0025] Figure 5 A schematic diagram of the structure of an electronic device provided according to an embodiment of the present application. Detailed implementation manners

[0026] The embodiments of the present application will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present application, and should not be construed as a limitation to the present application.

[0027] Based on the research on the RXSWIN regulations and the current application status of foreign existing vehicle manufacturers for regulatory requirements, combined with the background of establishing software identification codes and the necessary requirements for related management, it is recommended that the unified software identification implemented in China should at least reflect core information such as regulatory information, vehicle model information, and software version, and ensure uniqueness. Therefore, a database management system is established, which includes three major components: regulations, vehicle models, and software versions, to help vehicle manufacturers achieve the following goals: (1) quickly compile software identification codes; (2) ensure the correspondence between software, vehicle models, and regulations; (3) improve software management efficiency and accuracy.

[0028] The vehicle software identification code generation method, management method, device, medium, and program of the embodiments of the present application will be described below with reference to the accompanying drawings.

[0029] Specifically, Figure 1 A flowchart of a vehicle software identification code generation method provided according to an embodiment of the present application.

[0030] As Figure 1 shown, the vehicle software identification code generation method includes the following steps:

[0031] In step S101, obtain the vehicle model number of the target vehicle, the regulatory number of the vehicle software, and the software upgrade version number.

[0032] It can be understood that the embodiments of the present application can obtain the vehicle model number of the target vehicle, the regulatory number of the vehicle software, and the software upgrade version number, so as to generate the corresponding vehicle software identification code subsequently.

[0033] It should be noted that in this application, the model identification, specific model name, basic information of the model, etc. can be determined by querying the model table with the model number of the target vehicle. The specific name of the regulation, regulation category, and a brief description of the regulation content can be determined by querying the regulation table with the regulation number of the vehicle software. The model table associated with the software version, software version number, software identification code, software release date, and software version change description can be determined by querying the software version table with the software upgrade version number.

[0034] Specifically, the model code can use the standard internal naming rules of the vehicle factory or adopt a common coding method, such as using the abbreviation or number of the model. For example, BMW X5 can be coded as "BMWX5". If there are multiple vehicle series, different numbers or letters can be used to represent them. For example: Class A vehicles are represented by "001", Class B vehicles are represented by "002", and so on.

[0035] The regulation ID is usually used to represent different regulation versions and may involve different countries or regions. For example: European regulations can be represented by "EU6", Chinese regulations can be represented by "CN5", or the specific regulation version number can be used. For example: "EU6" represents compliance with the EU's sixth-stage emission standard, and "CN5" represents compliance with China's fifth-stage emission standard.

[0036] The software version can adopt a common version control format, such as "1.0.0", "1.2.3", etc. If the software version has a major version and a minor version, two numbers can be used to represent it, such as "v1.2" representing a major version of 1 and a minor version of 2.

[0037] In step S102, a message string is generated based on the model number, regulation number, and software upgrade version number.

[0038] It can be understood that the embodiments of this application can generate a message string according to the model number, regulation number, and software upgrade version number, so as to facilitate the subsequent generation of the corresponding vehicle software identification code.

[0039] It should be noted that a serial number generator is created to automatically generate the model number, regulation number, and software upgrade version number, and finally splice them to generate a message string.

[0040] For example, 1) Automatic generation of the model code

[0041] Assume that make is the manufacturer name, model is the model name, and year is the production year. We generate the model code by extracting the first letters of the manufacturer and the model and combining the last two digits of the year. For example, for the manufacturer: BMW, the model: X5, and the corresponding production year: 2023, the generated model code is BMWX52023.

[0042] 2) Generation of the regulation ID

[0043] By providing regions (such as EU, CN, US) and regulation version numbers (such as 6, 7), generate regulation IDs in formats like EU6, CN5, etc. It can be automatically inferred according to different regions.

[0044] 3) Generation of software versions

[0045] Software versions are generated in the format of v1.0.0. By default, the major version number is 1, the minor version number is 0, and the patch version number is 0. If a custom version number parameter is provided, the algorithm will automatically use it.

[0046] 4) Generation of message strings

[0047] The algorithm concatenates three parts (model code, regulation ID, software version) into a message string in a unified format and returns it.

[0048] Specifically, import random

[0049] import string

[0050] # Basic rules for automatic generation of models (simplified version)

[0051] def generate_model_code(make, model, year):

[0052] # The model code is composed of the manufacturer abbreviation + model abbreviation + year

[0053] return f"{make[:3].upper()}{model[:3].upper()}{str(year)[-2:]}"

[0054] # Regulation ID generation rules (generated according to region and regulation version)

[0055] def generate_regulation_id(region="EU", version="6"):

[0056] # Simple rule: region abbreviation + regulation version number

[0057] return f"{region}{version}"

[0058] # Software version generation rules (simple version control)

[0059] def generate_software_version(version_prefix="v", major=1, minor=0, patch=0):

[0060] # Default software version number

[0061] return f"{version_prefix}{major}.{minor}.{patch}"

[0062] # Main function to generate a unique identification code

[0063] def generate_identification_code(make, model, year, region="EU", version="6", major=1, minor=0, patch=0):

[0064] # Automatically generate a vehicle model code

[0065] model_code = generate_model_code(make, model, year)

[0066] # Automatically generate a regulation ID

[0067] regulation_id = generate_regulation_id(region, version)

[0068] # Automatically generate a software version

[0069] software_version = generate_software_version("v", major, minor, patch)

[0070] # Concatenate and return the final identification code

[0071] identification_code = f"{model_code}-{regulation_id}-{software_version}"

[0072] return identification_code

[0073] # Example: Generate a message string for a vehicle

[0074] make = "BMW"

[0075] model = "X5"

[0076] year = 2023

[0077] region = "EU"

[0078] version = "6"

[0079] major = 1

[0080] minor = 0

[0081] patch = 2

[0082] identification_code = generate_identification_code(make, model, year, region, version, major, minor, patch)

[0083] print("Automatically generated message string:", identification_code)

[0084] In step S103, a target string is generated based on the message string and the random string. After performing a hash process on the target string, a serial number is obtained, and a vehicle software identification code for the target vehicle is generated based on the serial number.

[0085] It can be understood that in the embodiments of the present application, a target string can be generated based on the message string and the random string. After performing a hash process on the target string, a serial number is obtained, and a vehicle software identification code for the target vehicle is generated based on the serial number, thereby ensuring that the vehicle software identification code contains core information such as the vehicle model number, regulation number, and software upgrade version number. By introducing a random number and a hash algorithm, the uniqueness of each vehicle software identification code is ensured, avoiding the possibility of duplication; performing a hash process on the target string protects the security and authenticity of the data. Through an automated generation process, the creation process of the identification code is simplified, human errors are reduced, and work efficiency is improved.

[0086] It should be noted that the random string can add a random number with a target number of digits at the end of the message string. For example, a four-digit random number can be set according to requirements, and no specific limitation is made.

[0087] In the embodiments of the present application, after performing a hash process on the target string to obtain a serial number, it includes: performing a hash process on the target string to generate a hash value; selecting a preset number of digits at the front end of the hash value to generate a serial number.

[0088] Among them, the preset number can be set according to user requirements. For example, a serial number is generated from the first six digits at the front end of the hash value, and no specific limitation is made.

[0089] It can be understood that the embodiments of the present application can perform hash processing on the target string to generate a hash value; select a preset number of the front end of the hash value to generate a serial number to ensure the uniqueness of the subsequent generated software identification code. Using hash processing to generate the serial number can enhance the security of data and prevent unauthorized access and tampering.

[0090] It should be noted that the hash processing adopted in the present application uses a hash function. Among them, the hash function is an algorithm that maps data of any length to a fixed-length output. Common secure hash algorithms include SHA-256, SHA-3, etc. The present application uses the SHA-256 algorithm for hash processing. Even if there are slight differences in the input data, the hash value will change greatly, ensuring a high degree of uniqueness and randomness. The original input data cannot be deduced from the hash value, enhancing the security of the data.

[0091] In the embodiments of the present application, generating a vehicle software identification code for the target vehicle according to the serial number includes: identifying the target structure of the vehicle software identification code selected by the user; inserting the serial number into the corresponding position of the target structure to generate the vehicle software identification code of the target vehicle.

[0092] It can be understood that the embodiments of the present application can identify the target structure of the vehicle software identification code selected by the user; insert the serial number into the corresponding position of the target structure to generate the vehicle software identification code of the target vehicle. The serial number can not only ensure the uniqueness of the identifier, but also play a role in verification, ensuring the integrity of the identifier.

[0093] It should be noted that the target structure of the vehicle software identification code calibrated in the present application includes:

[0094] (As Figure 2 shown) Structure 1: Vehicle model code (vehicle model identifier) + Regulation category (regulation number) + Decade number (decade number in the VIN (Vehicle Identification Number) rule) + Serial number (ensuring uniqueness) + Controller software version number;

[0095] (As Figure 3 shown) Structure 2: WMI (World Manufacturer Identifier) + Internal vehicle model number (customized by the enterprise) + Regulation category (number) + Decade number (decade number in the VIN rule) + Serial number (ensuring uniqueness) + Controller software version number.

[0096] Specifically, the serial number is a key part to ensure uniqueness in the entire unified identifier. Its generation method is as follows: In both schemes, the part excluding the serial number is used as the original code. A four-digit random number is added to the end of the original code, and then this part of the code is hashed as a whole using SHA-256. The first six digits of the hash value are taken as the serial number, and the obtained serial number is added to the original position. Such a serial number not only ensures the uniqueness of the identifier but also plays a role in verification, ensuring the integrity of the identifier.

[0097] In the embodiment of the present application, after generating the vehicle software identification code of the target vehicle according to the serial number, it further includes: identifying whether there is a change requirement for the software identification code; if there is a change requirement for the software identification code, the software identification code is changed according to the change requirement.

[0098] It can be understood that in the embodiment of the present application, when there is a change requirement for the software identification code, the software identification code can be changed according to the change requirement to improve the management efficiency.

[0099] In the embodiment of the present application, changing the software identification code according to the change requirement includes: if the change requirement is to change the regulation number, after generating a new target string according to the new regulation number, the target string is hashed again to obtain a serial number, and the vehicle software identification code of the target vehicle is generated according to the serial number; if the change requirement is not to change the regulation number, after adjusting the random string to generate a new target string, the target string is hashed again to obtain a serial number, and the vehicle software identification code of the target vehicle is generated according to the serial number.

[0100] It can be understood that in the embodiment of the present application, corresponding operations can be performed according to the change requirement to update the software identification code. Since a new regulation number is introduced, even if other information remains unchanged, the new target string will result in a completely different hash value, which not only ensures the uniqueness of the vehicle software identification code but also enhances the data security and is convenient for management.

[0101] Specifically, when it comes to the change of the unified identification of automotive software, for a certain regulation of a certain vehicle model, if a new type certification is required, the regulation category number field is filled in again; if it is only an expansion based on the original certified vehicle model without involving regulation changes, only the random number for generating the serial number needs to be incremented by one, and a new serial number is generated again.

[0102] In the embodiment of the present application, after generating the vehicle software identification code of the target vehicle according to the serial number, it includes: storing the software identification code in the database.

[0103] It can be understood that in the embodiment of the present application, the software identification code can be stored in the database to support efficient data storage and query and improve work efficiency.

[0104] The vehicle software identification code generation method proposed according to the embodiments of the present application generates a message string based on the vehicle model number, regulation number, and software upgrade version number; generates a target string based on the message string and a random string, performs a hashing process on the target string to obtain a serial number, and generates a vehicle software identification code for the target vehicle, thereby ensuring that the vehicle software identification code contains core information such as the vehicle model number, regulation number, and software upgrade version number, and by introducing a random number and a hashing algorithm, ensuring the uniqueness of each vehicle software identification code and avoiding the possibility of duplication; performing a hashing process on the target string protects the security and authenticity of the data, and through an automated generation process, simplifies the creation process of the identification code, reduces human errors, and improves work efficiency.

[0105] Next, a vehicle software identification code management method proposed according to the embodiments of the present application will be described with reference to the accompanying drawings.

[0106] Figure 4 It is a flowchart of the vehicle software identification code management method according to the embodiments of the present application.

[0107] As Figure 4 shown, the vehicle software identification code management method includes the following steps:

[0108] In step S201, obtain the management requirements for the vehicle software identification code of the target vehicle.

[0109] It can be understood that the embodiments of the present application can obtain the management requirements for the vehicle software identification code of the target vehicle to facilitate subsequent execution of target management actions on the vehicle software identification code of the target vehicle.

[0110] It should be noted that the management requirements for the vehicle software identification code include query requirements, change requirements, access requirements, etc., and are not specifically limited.

[0111] In step S202, identify the management requirements to determine the query fields and target management actions, and use the query fields as an index to query the database to obtain the vehicle software identification code of the target vehicle, where the database includes the vehicle software identification codes generated by the vehicle software identification code generation method in the above embodiments.

[0112] It can be understood that the embodiments of the present application can identify the management requirements to determine the query fields and target management actions, and use the query fields as an index to query the database to obtain the vehicle software identification code of the target vehicle, ensuring the convenience and accuracy of the query operation.

[0113] It should be noted that the software identification code management database is an important part of the digital management of vehicle manufacturers. Through standardized database design, enterprises can effectively improve software management efficiency, ensure regulatory compliance, and maintain competitiveness in the rapidly changing market. It is recommended to continuously optimize the system functions and data structure according to the actual usage to meet the future development needs.

[0114] In step S203, perform a target management action on the vehicle software identification code of the target vehicle.

[0115] It can be understood that the embodiments of the present application can perform a target management action on the vehicle software identification code of the target vehicle, automate the query and management action execution, reduce human intervention, reduce the error probability, improve work efficiency, not only improve the efficiency and accuracy of vehicle software identification code management, but also enhance the security and compliance of the system, optimize the maintenance process, and improve customer service quality.

[0116] Specifically, the present application also supports data insertion: support inserting regulatory, vehicle model, and software version information through the user interface or API interface. Data query: Provide multiple query methods, and users can quickly locate relevant information according to regulations, vehicle models, or software identification codes. Data update: Implement the update function for existing regulations, vehicle models, and software versions to ensure that the database information is always up-to-date. Data security: Implement a permission control mechanism to ensure that only authorized users can access and modify the database information to protect data security. Backup and recovery: Regularly back up the database to prevent data loss and ensure rapid recovery in case of system failures.

[0117] According to the vehicle software identification code management method proposed by the embodiments of the present application, determine the query fields and target management actions by identifying management requirements, use the query fields as an index, query the database to obtain the vehicle software identification code of the target vehicle, automate the query and management action execution, reduce human intervention, reduce the error probability, improve work efficiency, not only improve the efficiency and accuracy of vehicle software identification code management, but also enhance the security and compliance of the system, optimize the maintenance process, and improve customer service quality.

[0118] Figure 5 It is a schematic structural diagram of the electronic device provided by the embodiments of the present application. The electronic device may include:

[0119] A memory 501, a processor 502, and a computer program stored on the memory 501 and executable on the processor 502.

[0120] When the processor 502 executes the program, it implements the vehicle software identification code generation method or the vehicle software identification code management method provided in the above embodiments.

[0121] Furthermore, the electronic device further includes:

[0122] A communication interface 503 for communication between the memory 501 and the processor 502.

[0123] A memory 501 for storing a computer program that can run on the processor 502.

[0124] The memory 501 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.

[0125] If the memory 501, the processor 502, and the communication interface 503 are implemented independently, the communication interface 503, the memory 501, and the processor 502 can be interconnected through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.

[0126] Optionally, in a specific implementation, if the memory 501, the processor 502, and the communication interface 503 are integrated on a chip, the memory 501, the processor 502, and the communication interface 503 can communicate with each other through an internal interface.

[0127] The processor 502 may be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0128] The embodiments of the present application also provide a computer-readable storage medium, on which a computer program or instruction is stored. When the computer program or instruction is executed by a processor, the vehicle software identification code generation method or the vehicle software identification code management method as described above is implemented.

[0129] The embodiment of the present application further provides a computer program product, including a computer program or instructions, characterized in that when the computer program or instructions are executed, the above vehicle software identification code generation method or vehicle software identification code management method is implemented.

[0130] In the description of this specification, the descriptions referring to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. mean that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or N embodiments or examples in a suitable manner. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0131] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "N" is at least two, such as two, three, etc., unless otherwise specifically defined.

[0132] Any process or method description in the flowchart or described in other ways herein can be understood as representing a module, segment or part of code including one or N executable instructions for implementing a customized logic function or process, and the scope of the preferred embodiments of the present application includes additional implementations, where the functions can be executed in a substantially simultaneous manner or in a reverse order according to the involved functions, rather than in the order shown or discussed, which should be understood by those skilled in the art of the embodiments of the present application.

[0133] It should be understood that each part of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.

[0134] Those of ordinary skill in the art can understand that all or part of the steps carried out in implementing the methods of the above embodiments can be completed by instructing relevant hardware through a program. The said program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.

Claims

1. A method for generating a vehicle software identification code, characterized in that: The following steps are involved: Obtain the target vehicle model, vehicle software regulation number, and software upgrade version number; Generate a message string according to the vehicle model, the regulation number and the software upgrade version number; A target character string is generated according to the message character string and the random character string, a serial number is obtained after hash processing is performed on the target character string, and a vehicle software identification code of the target vehicle is generated according to the serial number.

2. The method for generating a vehicle software identification code according to claim 1, characterized in that: The step of obtaining a serial number by performing hash processing on the target character string includes: Performing hash processing on the target string to generate a hash value; Select the preset number of hash value front-ends to generate the serial number.

3. The vehicle software identification code generation method according to claim 1, characterized in that: The step of generating a vehicle software identification code of the target vehicle according to the serial number includes: Recognize the target structure of the vehicle software identification code selected by the user; Inserting the serial number into a corresponding position of the target structure generates a vehicle software identification code of the target vehicle.

4. The method for generating a vehicle software identification code according to claim 1, characterized in that: After generating the vehicle software identification code of the target vehicle according to the serial number, the method further includes: Identify whether there is a need to change the software identification code; If there is a change requirement for the software identification code, the software identification code is changed according to the change requirement.

5. The method for generating a vehicle software identification code according to claim 4, characterized in that: The changing the software identification code according to the change requirement includes: If the change requirement is to change the regulation number, after generating a new target string according to the new regulation number, the target string is hashed again to obtain a serial number, and the vehicle software identification code of the target vehicle is generated according to the serial number; If the change requirement is not to change the regulation number, the random character string is adjusted to generate a new target character string, and the target character string is hashed again to obtain a serial number, and the vehicle software identification code of the target vehicle is generated according to the serial number.

6. The vehicle software identification code generation method according to claim 1, characterized in that: After generating the vehicle software identification code of the target vehicle according to the serial number, the method further comprises: The software identification code is stored in a database.

7. A vehicle software identification code management method, characterized in that: include: Management requirements for obtaining the vehicle software identification code of the target vehicle; Identify the management requirement to determine the query field and the target management action, and use the query field as an index to query a database to obtain the vehicle software identification code of the target vehicle, wherein the database includes the vehicle software identification code generated by the vehicle software identification code generation method according to any one of claims 1 to 6; A target management action is performed on the vehicle software identification code of the target vehicle.

8. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle software identification code generation method as described in any one of claims 1 to 6, or the vehicle software identification code management method as described in claim 7.

9. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed by a processor, it is used to implement the vehicle software identification code generation method as described in any one of claims 1 to 6, or the vehicle software identification code management method as described in claim 7.

10. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed, it implements the vehicle software identification code generation method as described in any one of claims 1 to 6, or the vehicle software identification code management method as described in claim 7.