A method for activating vehicle computer debugging authority

The method of activating vehicle and machine debugging rights through cloud management and multiple verifications solves the problems of insufficient security and lack of flexibility in the existing technology, and realizes efficient, safe and flexible vehicle and machine debugging rights management, which is suitable for cross-brand and cross-brand applications. Vehicle commissioning of the platform.

CN118643484BActive Publication Date: 2024-10-29BEIJING YUNCHI FUTURE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411110779.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-10-29
Estimated Expiration
2044-08-14

AI Technical Summary

Technical Problem

Existing vehicle debugging permission activation methods have insufficient security, lack flexibility and remote operation capabilities, and cannot meet the needs of quick response and remote support. Moreover, permission management is rough, making it difficult to track and monitor debugging operations. There is a risk of information leakage and affecting vehicle performance. and user experience.

Method used

Log in through the pre-assigned user name and password on the cloud, select the vehicle model information, functions and authorization file validity period, generate the activation authorization file, and perform multiple verifications (Hash value, signature, time and vehicle model matching) to ensure authorization, and achieve remote activation and fine-grained permission control. Use server-side transfer mode to transfer files, providing time limits and automated activation processes.

Benefits of technology

It improves the security and flexibility of permission activation, reduces labor costs, enhances the accuracy of permission management, reduces the risk of unauthorized access and misoperation, improves operational efficiency and system compatibility, and provides a better user experience. and cross-brand debugging capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118643484B_ABST
    Figure CN118643484B_ABST
Patent Text Reader

Abstract

The present invention proposes a method for activating vehicle computer debugging authority, which belongs to the field of vehicle computer debugging activation. The method comprises the following steps: a user logs in to the cloud through a user name and password pre-assigned in the cloud, selects vehicle model information, functions to be activated and validity period of authorization file in the cloud after logging in to the cloud, and generates an activation authorization file; multiple verifications are used to ensure that only authorized users can activate the specified function. Remote activation is achieved without physical contact with the vehicle. Flexibility is increased, and vehicle models and functions can be selected according to needs. Time limits are introduced to improve the accuracy of authority management. The activation process is simplified and operational efficiency is improved. More flexible and accurate authority control is achieved. This not only improves debugging efficiency, but also reduces the risk of misoperation. The time limit function increases the dynamic nature of authority management, and managers can set authorization time according to actual needs, further improving the security and controllability of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of vehicle computer debugging activation, and in particular relates to a method for activating vehicle computer debugging authority. Background Art

[0002] With the continuous development of automobile technology and the improvement of intelligence, the functions of vehicle infotainment systems and vehicle electronic control units (ECUs) are becoming increasingly complex. In order to ensure the normal operation and performance optimization of these systems, the activation of vehicle debugging permissions has become a crucial link. Vehicle debugging permissions allow technicians and developers to access the deep functions of the vehicle system to adjust parameters, diagnose faults and optimize performance. However, the current method of activating vehicle debugging permissions has many problems and limitations, which affects debugging efficiency and system security.

[0003] Traditional methods of activating debugging permissions usually require physical connections, such as through the OBD-II interface or dedicated diagnostic equipment. This method not only requires professional equipment, but also requires the technician to be present in person, which increases time and labor costs. Many existing activation methods lack flexibility and remote operation capabilities, and cannot meet the needs of rapid response and remote support. In an emergency, the inability to obtain debugging permissions in time leads to problems that cannot be solved in time, affecting vehicle performance and user experience.

[0004] In addition, current activation methods often lack adequate security protection measures. Some simple password protections or fixed activation codes can be easily cracked or leaked, allowing unauthorized personnel to obtain debugging permissions, posing a potential security threat to the vehicle system. Another significant problem is the coarseness of permission management. Many existing systems only provide two extreme options: full or no permissions, lacking fine-grained permission control. This makes it impossible to assign appropriate permissions based on different levels of technicians or specific debugging needs, increasing the risk of system abuse or misoperation.

[0005] Existing activation methods usually lack complete logging and auditing functions, making it difficult to track and monitor the entire debugging process, which is not only not conducive to problem tracing and analysis, but also increases the difficulty of security management. In addition, many vehicle debugging permission activation methods are bound to specific models or manufacturers, lacking universality and standardization, which increases the complexity of cross-brand or cross-platform debugging and limits the participation of third-party developers and service providers.

[0006] Existing activation methods often ignore the issue of user privacy protection. In the process of obtaining debugging permissions, sensitive vehicle data and user information are involved, but there is a lack of effective data encryption and anonymization processing mechanisms, which poses a risk of information leakage. These problems and limitations seriously affect the efficiency, security and reliability of vehicle computer debugging. A more advanced, secure and flexible debugging permission activation method is urgently needed to solve these challenges.

[0007] Therefore, there is an urgent need for a method for activating vehicle computer debugging permissions. Summary of the invention

[0008] The present invention proposes a method for activating vehicle computer debugging authority, which solves the following technical problems: improves the security of authority activation, and ensures that only authorized users can activate specified functions through multiple verifications. Remote activation is achieved without physical contact with the vehicle. Flexibility is increased, and vehicle models and functions can be selected according to needs. Time limits are introduced to improve the accuracy of authority management. The activation process is simplified and the operation efficiency is improved.

[0009] The technical solution of the present invention is implemented as follows: a method for activating vehicle computer debugging authority, the method comprising the following steps:

[0010] The user logs in to the cloud using the user name and password pre-assigned on the cloud. After logging in to the cloud, the user selects the vehicle model information, the function to be activated, and the validity period of the authorization file on the cloud, and generates an activation authorization file;

[0011] After the user downloads the activation authorization file, he / she saves the activation authorization file to the server and puts it in the directory specified by the activation client on the server. The activation client on the server sends the activation authorization file to the activation server on the vehicle computer.

[0012] The activation server of the vehicle computer authenticates the authorization file and activates the functions specified in the authorization file. During activation, the activation server of the vehicle computer reads the authorization file and calculates the hash value to obtain H';

[0013] Compare H' and the read Hash value. If they are inconsistent, activation fails. If H' and the read Hash value are consistent, the signature is judged. If the signatures are inconsistent, activation fails. If the signatures are consistent, the authorization time of the authorization file is verified. If the authorization time has expired, activation fails. If the authorization file has not expired, check whether the vehicle model matches. If the vehicle model does not match, activation fails. If the vehicle models match, read the activation function list and perform activation according to the activation function list.

[0014] This method adopts the cloud management and remote activation mode, which is in sharp contrast to the traditional method that requires physical connection or on-site operation. Users can remotely generate and manage activation authorization files through pre-assigned accounts in the cloud, greatly improving the convenience and efficiency of operations.

[0015] This method introduces a more sophisticated permission management mechanism. Users can select vehicle model information, functions to be activated, and the validity period of the authorization file according to their specific needs. This flexibility is rare in existing technologies. In this way, more precise permission control can be achieved, avoiding the rough permission allocation mode of all or nothing in traditional methods. Another important difference is the improvement of security.

[0016] This method uses a multiple verification mechanism, including hash value verification, signature verification, time verification, and vehicle model matching verification. This multi-level security check greatly reduces the risk of unauthorized access and abuse, and provides a higher level of security compared to existing technologies. This method also introduces the concept of time limit, and realizes time management of debugging permissions by setting the validity period of the authorization file. This not only enhances security, but also provides greater flexibility for permission management in different scenarios. In terms of file transmission and processing, this method adopts a server-side transit mode, sending files to the activation server of the vehicle computer through the activation client.

[0017] This design helps solve the compatibility or safety issues that exist when connecting directly to the car computer. The activation process of this method is automated. Once the verification is passed, the system automatically reads the activation function list and performs the corresponding activation actions. This degree of automation is not common in existing technologies. It not only improves efficiency, but also reduces the possibility of human operation errors.

[0018] As a preferred implementation, the authorization file includes vehicle model information, activation function list, generation time, validity period, serial number, Hash value and activation code information. When transmitting data, the vehicle model information occupies 16 bytes, the activation function list occupies 16 bytes, the generation time occupies 4 bytes, the validity period occupies 4 bytes, the serial number occupies 8 bytes, the Hash value occupies 32 bytes, and the activation code information occupies 256 bytes.

[0019] As a preferred implementation, the vehicle model information is defined by the OEM manufacturer and has built-in vehicle model related information of the vehicle to be activated; each byte of the activation function list is a single function, each function is defined by the OEM manufacturer, and 0 or 1 is used in each byte to indicate whether the function is turned on or off.

[0020] As a preferred implementation, the generation time is the time when the authorization file is generated in the cloud, and the format is UTC time. The validity period is the expiration time of the authorization file, and the format is UTC time. The Hash value is calculated based on the vehicle model information and the activation function list information. SHA256, and the activation code uses the RSA2048 algorithm to sign the Hash value.

[0021] As a preferred implementation, the user uses the SSL / TLS protocol to encrypt all communications with the cloud, hashes the username and password using the bcrypt algorithm, and encrypts and stores the user information and vehicle model information data stored in the cloud using the AES symmetric encryption algorithm.

[0022] As a preferred implementation, the specific step of verifying whether the signatures are consistent is to use the public key preset by the activation server and adopt the RSA2048 algorithm to verify the signature in the authorization file.

[0023] After adopting the above technical solution, the beneficial effects of the present invention are: significantly improving the convenience and efficiency of operation. Through cloud remote management and activation, technicians can complete the permission activation without being present in person, which greatly saves time and labor costs.

[0024] This method enhances security. Multiple verification mechanisms (including hash value, signature, time and vehicle model matching verification) effectively prevent unauthorized access and abuse, and protect the security of the vehicle system. It provides more refined permission management. Users can select vehicle models, functions and validity periods according to specific needs, achieving more flexible and accurate permission control. This not only improves debugging efficiency, but also reduces the risk of misoperation. The time limit function increases the dynamic nature of permission management. Managers can set the authorization time according to actual needs, further improving the security and controllability of the system. The automated activation process reduces human errors and improves the accuracy and consistency of operations.

[0025] This method has a high degree of versatility and standardization, which is conducive to cross-brand or cross-platform debugging operations, creating more opportunities for third-party developers and service providers. The file transfer mode transferred by the server enhances the compatibility and security of the system. This method provides vehicle manufacturers and service providers with better user experience and after-sales service capabilities, helping to improve brand value and customer satisfaction.

[0026] This solution uses pre-assigned usernames and passwords to authenticate users in the cloud, which can easily manage users in a unified manner, avoid password leaks caused by personnel factors, and even if leaks occur, timely remediation can be carried out. This solution uses dynamically generated authorization files for activation, which not only retains the debugging function, but also can safely and conveniently control access to the debugging function. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present invention 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, 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 labor.

[0028] Figure 1 is a flow chart of the method of the present invention;

[0029] Figure 2 A detailed sequence diagram of the activation authorization file for the present invention;

[0030] Figure 3 The function setting diagram of the activation function list of the present invention;

[0031] Figure 4 The present invention is a flowchart of activating the server for authentication and activation. DETAILED DESCRIPTION

[0032] 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.

[0033] Example:

[0034] like Figures 1 to 4 As shown, a method for activating vehicle computer debugging authority includes the following steps:

[0035] The user logs in to the cloud using the user name and password pre-assigned on the cloud. After logging in to the cloud, the user selects the vehicle model information, the function to be activated, and the validity period of the authorization file on the cloud, and generates an activation authorization file;

[0036] After the user downloads the activation authorization file, he / she saves the activation authorization file to the server and puts it in the directory specified by the activation client on the server. The activation client on the server sends the activation authorization file to the activation server on the vehicle computer.

[0037] The activation server of the vehicle computer authenticates the authorization file and activates the functions specified in the authorization file. During activation, the activation server of the vehicle computer reads the authorization file and calculates the hash value to obtain H';

[0038] Compare H' and the read Hash value. If they are inconsistent, activation fails. If H' and the read Hash value are consistent, the signature is judged. If the signatures are inconsistent, activation fails. If the signatures are consistent, the authorization time of the authorization file is verified. If the authorization time has expired, activation fails. If the authorization file has not expired, check whether the vehicle model matches. If the vehicle model does not match, activation fails. If the vehicle models match, read the activation function list and perform activation according to the activation function list.

[0039] The working principle and operation steps of this method of activating vehicle debugging permissions mainly include the following aspects: the user logs in to the cloud through the user name and password pre-assigned in the cloud. This step ensures that only authorized users can perform activation operations, which improves the security of the system. After logging in, the user selects the vehicle model information, the function to be activated and the validity period of the authorization file in the cloud, and generates an activation authorization file. This process allows users to customize the activation content according to specific needs, and at the same time control the time range of authorization by setting the validity period, which increases the flexibility and security of the system.

[0040] The user downloads the activation authorization file and saves it to the specified directory on the server. This step prepares the necessary files for the subsequent activation process, and standardizes the storage location of the files by specifying the directory, which facilitates the unified management of the system. The activation client on the server sends the activation authorization file to the activation server of the vehicle computer, realizing the data transmission from the cloud to the vehicle computer. After receiving the authorization file, the activation server of the vehicle computer will perform a series of verification steps. First, it will calculate the hash value of the authorization file and compare it with the hash value read in the file. This step is used to verify the integrity of the file to ensure that the file has not been tampered with during the transmission process.

[0041] If the Hash values ​​are inconsistent, the system will determine that the activation has failed, which is an important measure to protect system security. If the Hash values ​​are consistent, the system will further determine the signature. Signature verification is used to confirm whether the source of the file is credible and prevent forged authorization files from being used.

[0042] The system will verify the validity period of the authorization file. This step ensures that only authorization files within the validity period can be used, which increases the timeliness control of the system. The system will check whether the vehicle model matches. This step ensures that the authorization file can only be used for the specified vehicle model to prevent the authorization from being abused. If all verifications pass, the system will read the activation function list and perform the activation action according to the list. This multi-level and multi-angle verification mechanism greatly improves the security and reliability of the system.

[0043] The reasons for such settings and operations are as follows: It establishes a complete activation process from the cloud to the vehicle, ensuring the controllability and security of the entire process. Through multiple verification mechanisms (including hash value verification, signature verification, validity period verification and vehicle model matching verification), unauthorized activation and potential security threats are effectively prevented. Allowing users to customize activation content and validity period improves the flexibility and practicality of the system. The activation process is divided into multiple steps, each with clear verification standards, so that the system can accurately locate the problems that occur, facilitating troubleshooting and system maintenance. This design method realizes remote activation and management of vehicle functions, greatly improving the efficiency of vehicle function updates and maintenance. This activation method realizes safe, efficient and flexible management of vehicle debugging permissions by combining cloud management, multiple verifications and refined control, representing an important trend in the development of vehicle system management towards intelligence and networking.

[0044] The authorization file includes vehicle model information, activation function list, generation time, validity period, serial number, Hash value and activation code information. When transmitting data, the vehicle model information occupies 16 bytes, the activation function list occupies 16 bytes, the generation time occupies 4 bytes, the validity period occupies 4 bytes, the serial number occupies 8 bytes, the Hash value occupies 32 bytes, and the activation code information occupies 256 bytes.

[0045] The comprehensiveness and accuracy of the authorization file content is an important progress. The traditional authorization system only contains basic activation information, while this design includes vehicle model information, activation function list, generation time, validity period, serial number, hash value and activation code information, covering all key data required for the activation process. This comprehensive information design not only improves the accuracy and reliability of the authorization process, but also provides sufficient data support for subsequent verification and management.

[0046] The precise allocation of data fields is another innovation. Each information item is allocated a fixed number of bytes, such as 16 bytes for vehicle model information and activation function list, 4 bytes for generation time and validity period, 8 bytes for serial number, 32 bytes for hash value, and 256 bytes for activation code information.

[0047] This precise data structure design has several advantages: it ensures the consistency and reliability of data transmission and reduces the probability of data parsing errors; it optimizes data transmission efficiency and avoids unnecessary data redundancy; it also reserves space for future system upgrades and expansions. It is particularly noteworthy that the hash value occupies 32 bytes, which indicates the use of advanced cryptographic hash algorithms such as SHA-256, which greatly improves the security and integrity verification capabilities of the data. The activation code information occupies 256 bytes. This large-capacity design allows the use of complex encryption algorithms, further enhancing the security of the system. This design also reflects the differentiated treatment of different types of data.

[0048] For example, time-related information (generation time and validity period) each occupies 4 bytes, which is accurate enough to the second level and meets the needs of most practical application scenarios. Vehicle model information and activation function list each occupy 16 bytes. This design can not only meet current needs, but also reserve space for future function expansion. The serial number occupies 8 bytes, which provides a large enough numbering space to support large-scale device management.

[0049] The vehicle model information is defined by the OEM manufacturer and contains the vehicle model related information of the vehicle to be activated; each byte of the activation function list is a single function, each function is defined by the OEM manufacturer, and 0 or 1 is used in each byte to indicate whether the function is turned on or off.

[0050] The fact that the vehicle model information is defined by the OEM reflects a high degree of customization and precision. Traditional vehicle model information uses a universal coding system, while this method directly defined by the OEM can more accurately reflect the characteristics and needs of a specific vehicle model. This not only improves the accuracy of vehicle model identification, but also provides OEMs with greater flexibility, enabling them to design the most suitable vehicle model information coding system based on the characteristics and needs of their own product lines. This approach helps to better manage and distinguish different vehicle models, especially in complex product lines, and can more accurately control the activation of functions for different models.

[0051] The design method of the activation function list also shows unique innovation. Each byte represents a single function and is defined by the OEM. This design provides great flexibility and precision for function management. Traditional function activation systems use a more coarse-grained control method, while this control down to a single byte allows OEMs to manage each specific function independently. This not only improves the accuracy of function control, but also greatly increases the scalability of the system, making it easier to add new functions in the future.

[0052] like Figure 3As shown in the figure, using 0 or 1 to indicate whether a function is on or off is a concise and effective binary encoding method. 16 bytes, each byte represents a function, and the specific function can be customized by the OEM

[0053] , through OEM customized functions such as Figure 3 In the binary coding system, the functions are sorted into X, A, B, and C. X functions represent core or basic functions, such as engine start, basic driving mode, etc. A functions involve advanced driver assistance systems (ADAS), such as adaptive cruise control, lane keeping assist, etc. B functions are related to in-vehicle entertainment systems, such as advanced audio systems, large-screen navigation, in-vehicle WiFi, etc. C functions include comfort and convenience functions, such as seat heating / ventilation, automatic parking, panoramic sunroof control, etc. These functions also include performance enhancement options (such as sports mode), safety functions (such as night vision systems), connectivity functions (such as remote start, mobile phone application control), or unique functions of specific models (such as fast charging mode for electric vehicles). The actual functions will vary depending on the model, brand, and market demand. This binary coding system allows OEMs to flexibly enable or disable specific functions for vehicle configurations at different trim levels, or as after-sales upgrade options.

[0054] In the list, 1 represents that the corresponding function is enabled, and 0 represents that the corresponding function is disabled; Generation time: the time when the authorization file is generated by the cloud, in UTC time format; Validity period: the expiration time of the authorization file, in UTC time format; Serial number: the unique serial number of the authorization file; Hash value: SHA256 is calculated based on vehicle model information, activation function list and other information; Hash value = SHA256 (vehicle model information, activation function list, generation time, validity period, serial number); Activation code: The activation code obtained by signing the Hash value using the RSA2048 algorithm = RSA2048 (PrivateKey, Hash value).

[0055] This design not only simplifies the representation of functional status, but also improves the efficiency of data processing. Compared with the traditional method of using multi-bit encoding or string representation, this binary representation method saves more storage space and simplifies the reading and modification process of functional status. This design also has good scalability, because each byte can independently control a function, and the system can easily add new functions without affecting the management of existing functions. Another important innovation is that this design method provides OEMs with greater control and autonomy. By allowing OEMs to define vehicle model information and function lists, this method enables vehicle manufacturers to better protect their proprietary technology, while also being more flexible to adjust functional configurations according to market demand and product strategies. This highly customized approach helps OEMs better achieve product differentiation and more accurately control the functional configuration of different models and different markets.

[0056] The generation time is the time when the authorization file is generated in the cloud, and the format is UTC time. The validity period is the expiration time of the authorization file, and the format is UTC time. The Hash value is calculated based on the vehicle model information and the activation function list information. SHA256, and the activation code uses the RSA2048 algorithm to sign the Hash value.

[0057] The use of UTC time format to record the generation time and validity period is an important innovation. Traditional systems use local time or other time formats, while the use of UTC time ensures time consistency and accuracy worldwide. This is especially important for vehicle management systems across regions and time zones, which can effectively avoid activation errors or security vulnerabilities caused by time zone differences. The use of UTC time also simplifies the system's time management, without considering complex factors such as daylight saving time, and improves the reliability and maintainability of the system. Secondly, the calculation method of the hash value reflects a high degree of security considerations.

[0058] By calculating the SHA256 hash value for the vehicle model information and the activated function list information, the system can effectively verify the integrity and authenticity of these key information. SHA256 is a widely used high-security hash algorithm, and its output is difficult to tamper with or forge, which greatly improves the security of the system. This method not only prevents the authorization file from being tampered with, but also ensures the consistency of the vehicle model information and function list, avoiding unauthorized function activation.

[0059] Signing the hash value with the RSA2048 algorithm is another important security enhancement. RSA2048 is a powerful asymmetric encryption algorithm that provides extremely high security. By signing the hash value, the system not only verifies the integrity of the data, but also ensures that the source of the data is credible. This double verification mechanism (hash value verification plus signature verification) greatly improves the security of the system and effectively prevents forgery and tampering. Compared with the traditional single verification method, this method provides a higher level of security. This design also embodies good modularity and scalability. By processing time information, data integrity (hash) and identity authentication (signature) separately, the system can easily upgrade or replace individual components in the future without affecting the overall structure.

[0060] For example, if a more powerful hash algorithm or encryption algorithm is needed in the future, it can be replaced relatively easily. This design approach is significantly superior to traditional technologies in terms of time accuracy, data integrity verification, and identity authentication. It not only meets the high security requirements of current vehicle authorization systems, but also provides flexibility for future security upgrades. This design reflects the trend of in-vehicle systems towards high security, high accuracy, and high reliability, and has the potential to become a new standard for vehicle authorization systems. It is particularly suitable for use in scenarios that require high security, such as function activation of high-end models, vehicle remote control, etc., providing strong protection against unauthorized access and function abuse.

[0061] Users use the SSL / TLS protocol to encrypt all communications with the cloud, use the bcrypt algorithm to hash the username and password, and use the AES symmetric encryption algorithm to encrypt and store user information and vehicle model information data stored in the cloud.

[0062] Using SSL / TLS protocol to encrypt all communications with the cloud is a basic but critical security measure. Although SSL / TLS is common in modern network communications, applying it to all communication links reflects a comprehensive consideration of end-to-end security. This approach not only protects the confidentiality of data transmission, but also prevents man-in-the-middle attacks, ensures data integrity and identity authentication of both parties in communication. Compared with the traditional method of using encryption only during critical operations, this full-process encryption method greatly improves the overall security of the system.

[0063] Hashing usernames and passwords with the bcrypt algorithm is a significant security enhancement. Traditional systems use simple hashing algorithms such as MD5 or SHA, while the bcrypt algorithm is designed specifically for password storage and has the feature of adjustable computational strength. This means that even with the continuous increase in computing power, the bcrypt algorithm can still maintain its security. The bcrypt algorithm also has built-in salt value processing to effectively prevent rainbow table attacks, which is more advanced and secure than traditional hashing methods in protecting user credentials. In addition, the use of the AES symmetric encryption algorithm to encrypt and store user information and vehicle model information in the cloud reflects the high attention paid to data storage security.

[0064] AES is the most widely used symmetric encryption algorithm with high efficiency and high security. This approach not only protects the security of static data, but also effectively prevents internal threats and data leakage risks. Compared with traditional plaintext storage or simple encryption methods, AES encryption provides stronger data protection capabilities. This multi-level security design also embodies the idea of ​​deep defense. By implementing different security measures at multiple levels such as communication, authentication, and storage, the system creates multiple security barriers. Even if the security of one level is breached, other levels can still provide protection.

[0065] This comprehensive security solution greatly improves the overall security of the system, requiring attackers to break through multiple security mechanisms at the same time to obtain sensitive information, significantly increasing the difficulty and cost of attacks. Another innovation is that this design takes into account the different components and stages of the system. SSL / TLS protects data transmission, bcrypt protects user authentication, and AES protects data storage. This comprehensive consideration ensures the security of the system throughout its entire life cycle, not just a specific link.

[0066] The specific steps of verifying whether the signatures are consistent are to use the public key preset by the activation server and adopt the RSA2048 algorithm to verify the signature in the authorization file.

[0067] Using a preset public key for signature verification is a key security design. Traditional systems dynamically obtain public keys at each verification. Although this method is flexible, it is vulnerable to man-in-the-middle attacks or public key replacement attacks. The method of pre-setting public keys ensures that the verification process uses a trusted public key, greatly reducing the risk of tampering or forgery. This approach is particularly suitable for environments that require high security, such as in-vehicle systems, because it reduces the system's reliance on external communications and improves overall security.

[0068] Using the RSA2048 algorithm for signature verification is another important security enhancement. RSA2048 is a widely recognized strong encryption standard that provides extremely high security. Compared with the shorter key lengths (such as RSA1024) or other encryption algorithms used traditionally, RSA2048 provides stronger resistance to cracking. This high-strength encryption algorithm makes it extremely difficult to forge a valid signature and maintains its security even in the face of advanced computing resources.

[0069] Integrating the signature verification process into the activation server is an innovative design. This means that the verification process is carried out directly in the trusted environment inside the vehicle, rather than relying on an external server. This design greatly reduces the risk of external interference and network attacks, and improves the security and reliability of the entire verification process. Compared with the traditional method of placing the verification process in the cloud or an intermediate server, this local verification method is more secure and efficient. This design also reflects in-depth consideration of the characteristics of the in-vehicle system. In-vehicle systems usually need to work in an offline or unstable network environment. The method of pre-setting public keys and local signature verification ensures that the system can perform reliable authorization verification even without a network connection. This greatly improves the availability and stability of the system. Another innovation is that this method provides a good foundation for future security upgrades. Although RSA2048 is currently used, this design architecture allows for easy upgrades to more powerful encryption algorithms in the future without large-scale modifications to the entire system. This scalability and foresight are particularly important in the rapidly developing field of in-vehicle technology.

[0070] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for activating vehicle computer debugging permissions. It is characterized in that The method comprises the following steps: The user logs in to the cloud using the user name and password pre-assigned on the cloud. After logging in to the cloud, the user selects the vehicle model information, the function to be activated, and the validity period of the authorization file on the cloud, and generates an activation authorization file; After the user downloads the activation authorization file, he / she saves the activation authorization file to the server and puts it in the directory specified by the activation client on the server. The activation client on the server sends the activation authorization file to the activation server on the vehicle computer. The activation server of the vehicle computer authenticates the authorization file and activates the functions specified in the authorization file. During activation, the activation server of the vehicle computer reads the authorization file and calculates the hash value to obtain H'; Compare H' and the read Hash value. If they are inconsistent, activation fails. If H' and the read Hash value are consistent, the signature is determined. If the signatures are inconsistent, activation fails. If the signatures are consistent, the authorization time of the authorization file is verified. If the authorization time has expired, activation fails. If the authorization file has not expired, check whether the vehicle model matches. If the vehicle model does not match, activation fails. If the vehicle models match, read the activation function list and perform activation according to the activation function list. The authorization file includes vehicle model information, activation function list, generation time, validity period, serial number, hash value and activation code information; Each byte of the activation function list represents a single function. Each function is defined by an OEM manufacturer, and 0 or 1 is used in each byte to indicate whether the function is turned on or off.

2. A method for activating vehicle computer debugging authority as claimed in claim 1, Features: When transmitting data, the vehicle model information occupies 16 bytes, the activation function list occupies 16 bytes, the generation time occupies 4 bytes, the validity period occupies 4 bytes, the serial number occupies 8 bytes, the hash value occupies 32 bytes, and the activation code information occupies 256 bytes.

3. A method for activating vehicle computer debugging authority as claimed in claim 2, Features: The vehicle model information is defined by the OEM manufacturer and includes vehicle model related information of the vehicle to be activated.

4. A method for activating vehicle computer debugging authority as claimed in claim 2, Features: The generation time is the time when the authorization file is generated in the cloud, and the format is UTC time. The validity period is the expiration time of the authorization file, and the format is UTC time. The Hash value is calculated based on the vehicle model information and the activation function list information. SHA256, and the activation code uses the RSA2048 algorithm to sign the Hash value.

5. A method for activating vehicle computer debugging authority as claimed in claim 1, Features: Users use the SSL / TLS protocol to encrypt all communications with the cloud, use the bcrypt algorithm to hash the username and password, and use the AES symmetric encryption algorithm to encrypt and store user information and vehicle model information data stored in the cloud.

6. A method for activating vehicle computer debugging authority as claimed in claim 1, Features: The specific steps for determining the signature are to use the public key preset by the activation server and the RSA2048 algorithm to verify the signature in the authorization file.

Citation Information

Patent Citations

  • Vehicle-mounted service authorization activation method and device and vehicle

    CN112597447A

  • Activation method and device of controller system, computer equipment and storage medium

    CN115903724A