Public key infrastructure management method, storage medium and intelligent device
By deploying public key infrastructure servers and clients in smart devices, internal status management and device identity authentication are realized, which solves the shortcomings of traditional vehicle device certificate management methods in terms of flexibility, real-time and security, and improves public key The stability and security of infrastructure services reduce the risk of cyber attacks.
Patent Information
- Application Number
- CN202410946526.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-16
AI Technical Summary
Traditional in-vehicle device certificate management methods have shortcomings in flexibility, real-time performance and security. In particular, it is difficult to meet dynamic needs under a service-oriented architecture (SOA), and centralized cloud PKI services may lead to processing bottlenecks and security risks.
Adopt public key infrastructure management methods and deploy public key infrastructure servers and clients in smart devices to achieve internal status management, device identity authentication and digital certificate management, eliminate the risk of single point failure, ensure offline updates and management, and utilize Low-latency networks improve response speed and reduce the risk of network attacks.
It improves the stability and security of public key infrastructure services, achieves faster demand response, reduces the risk of man-in-the-middle attacks and network eavesdropping, and meets the safe passage needs of smart devices.
Smart Images

Figure CN118487761B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent vehicle technology, and in particular to a public key infrastructure management method, storage medium and intelligent device. Background Art
[0002] With the rapid development of intelligent connected vehicle technology, the level of vehicle intelligence and networking continues to improve, and vehicle systems are increasingly dependent on efficient and secure data exchange and communication technologies. Service-Oriented Architecture (SOA) has become the preferred architecture for designing and implementing vehicle communication systems due to its high flexibility and modularity.
[0003] However, the widespread adoption of this architecture has also brought new challenges, especially in the management of in-vehicle device certificates. In traditional in-vehicle device certificate solutions, the generation, issuance and management of certificates usually rely on centralized cloud PKI (Public Key Infrastructure) services. This approach has been widely used in early in-vehicle communication systems because it can handle a large number of certificate requests in a centralized location, which is easy to manage and control. However, with the development of intelligent connected vehicle technology and the widespread adoption of service-oriented architecture (SOA), traditional certificate management methods have exposed several key deficiencies, especially in terms of flexibility, real-time and security:
[0004] Limitations of centralized management: The centralized management of cloud PKI services may cause processing bottlenecks when processing a large number of vehicle device certificate requests, especially during peak hours. In addition, the centralized nature of cloud services may become a potential security risk point. Once the cloud service is attacked, the certificate security of all vehicles may be threatened.
[0005] Compatibility issues with SOA architecture: SOA architecture is designed to provide flexible and modular services and support efficient communication between different services. However, traditional vehicle device certificate solutions often cannot provide sufficient flexibility to adapt to the dynamic nature of SOA architecture. Operations such as certificate update, revocation and reissue cannot respond to service changes in a timely manner, affecting the overall performance and reliability of the vehicle system.
[0006] Real-time requirements: In the SOA architecture, in-vehicle devices and services may change frequently, which requires the certificate management system to respond to these changes in real time and update and distribute certificates in a timely manner. However, traditional solutions that rely on cloud PKI services often find it difficult to meet this real-time requirement because the certificate application, generation, and issuance process involves network communication and may be affected by network delays and failures.
[0007] Accordingly, the art needs a new public key infrastructure management solution to solve the above problems. Summary of the invention
[0008] In order to overcome the above-mentioned defects, the present application is proposed to solve or at least partially solve the technical problem of how to improve the flexibility, real-time performance and stability of vehicle-mounted public key infrastructure management.
[0009] In a first aspect, a public key infrastructure management method is provided, the method being applied to a smart device, the method comprising:
[0010] Based on the service status of the public key infrastructure server and the preset public key infrastructure system, the service status of the public key infrastructure system is managed; wherein the public key infrastructure server is deployed in the first electronic control unit of the smart device, and the public key infrastructure client is deployed in the second electronic control unit of the smart device; the public key infrastructure server and the public key infrastructure client constitute a public key infrastructure system.
[0011] In a technical solution of the above-mentioned public key infrastructure management method, the state management of the service state of the public key infrastructure system includes:
[0012] In response to a preset state transition instruction, the public key infrastructure system is controlled to perform a state transition of the service state according to the service state.
[0013] In a technical solution of the above-mentioned public key infrastructure management method, the public key infrastructure system further includes a state database;
[0014] The method further comprises:
[0015] The running status of the public key infrastructure server and the public key infrastructure client is stored based on the status database.
[0016] In a technical solution of the above-mentioned public key infrastructure management method, the method further includes:
[0017] Performing device identity authentication management of a second electronic control unit of the smart device based on a public key infrastructure server;
[0018] Based on the public key infrastructure client, an application is made to the public key infrastructure server for device identity authentication of the second electronic control unit where the public key infrastructure client is located.
[0019] In a technical solution of the above-mentioned public key infrastructure management method, the method further includes:
[0020] The public key infrastructure client checks the authentication status of its own device identity authentication and sends the authentication status to the public key infrastructure server.
[0021] In a technical solution of the above-mentioned public key infrastructure management method, the public key infrastructure client checks the authentication status of its own device identity authentication, including:
[0022] In response to a preset status query instruction, the public key infrastructure client checks the authentication status of its own device identity authentication.
[0023] In a technical solution of the above-mentioned public key infrastructure management method, the device identity authentication management includes digital certificate management and registration account management.
[0024] In a technical solution of the above-mentioned public key infrastructure management method, the specific steps of the digital certificate management include:
[0025] In response to a preset certificate management instruction, digital certificate management of the second electronic control unit is performed based on the public key infrastructure service.
[0026] In a technical solution of the above-mentioned public key infrastructure management method, the digital certificate management includes at least one of application, update, change and cancellation of the digital certificate.
[0027] In a second aspect, a smart device is provided, comprising a plurality of processors; and a memory communicatively connected to the plurality of processors; wherein a computer program is stored in the memory, and when the computer program is executed by at least one of the processors, the method described in any one of the technical solutions of the above-mentioned public key infrastructure management method is implemented.
[0028] In a third aspect, a computer-readable storage medium is provided, wherein a plurality of program codes are stored therein, wherein the program codes are suitable for being loaded and run by a processor to execute the method described in any one of the technical solutions of the above-mentioned public key infrastructure management method.
[0029] The above one or more technical solutions of the present application have at least one or more of the following beneficial effects:
[0030] In the implementation of the public key infrastructure management technical solution provided by the present application, the smart device in the present application includes a first electronic control unit and a second electronic control unit, the public key infrastructure server is deployed in the first electronic control unit, that is, the first electronic control unit serves as the public key infrastructure server, the public key infrastructure client is deployed in the second electronic control unit, and the public key infrastructure server and the public key infrastructure client constitute a public key infrastructure system. The public key infrastructure system is managed based on the service status of the public key infrastructure server and the public key infrastructure system. Through the above configuration, the present application can realize the public key infrastructure system inside the smart device, eliminate the single point failure risk of realizing the public key infrastructure server through cloud service, and improve the overall stability and security of the public key infrastructure service. At the same time, it also ensures the offline update and management of the public key infrastructure server in the smart device, which can ensure the continuity and security of the public key infrastructure service. Further, since the smart device can realize the process of device identity authentication through the internal communication and control process, it can effectively utilize the low latency characteristics of the internal network of the smart device to achieve faster demand response, improve the efficiency and response speed of the public key infrastructure service, and also reduce the need for device identity authentication through the external network, etc., and reduce the risks and possibilities of man-in-the-middle attacks and network eavesdropping. At the same time, based on the service status of the public key infrastructure system, state management of the service status of the public key infrastructure system can realize safe and efficient life cycle management of public key infrastructure services and meet the safe passage needs of smart devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The disclosure of the present application will become easier to understand with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present application. Among them:
[0032] Figure 1 It is a flowchart of the main steps of a public key infrastructure management method according to an embodiment of the present application;
[0033] Figure 2 is a schematic diagram of the main components of a unified diagnostic service according to an implementation of an embodiment of the present application;
[0034] Figure 3 It is a flowchart of the main steps of a unified diagnostic service process according to an implementation method of an embodiment of the present application;
[0035] Figure 4 It is a schematic diagram of the main structure of a smart device according to an embodiment of the present application.
[0036] Reference numerals:
[0037] 11: memory; 12: processor. DETAILED DESCRIPTION
[0038] Some embodiments of the present application are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present application and are not intended to limit the protection scope of the present application.
[0039] In the description of the present application, "module" and "processor" may include hardware, software or a combination of the two. A module may include hardware circuits, various suitable sensors, communication ports, memory, and may also include software parts, such as program code, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware or a combination of the two. Computer-readable storage media include any suitable medium that can store program code, such as a disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, etc. The term "A and / or B" means all possible combinations of A and B, such as only A, only B or A and B. The term "at least one A or B" or "at least one of A and B" has a similar meaning to "A and / or B" and may include only A, only B or A and B. The singular terms "one" and "the" may also include plural forms.
[0040] The relevant user personal information that may be involved in the various embodiments of this application is strictly in accordance with the requirements of laws and regulations, following the principles of legality, legitimacy and necessity, based on the reasonable purposes of business scenarios, to process the personal information that users actively provide during the use of products / services or generated due to the use of products / services, as well as the personal information obtained with the user's authorization.
[0041] The user personal information processed by this application will vary depending on the specific product / service scenario, and shall be based on the specific scenario in which the user uses the product / service, and may involve the user's account information, device information, driving information, vehicle information or other related information. This application will treat the user's personal information and its processing with a high degree of diligence.
[0042] This application attaches great importance to the security of user personal information and has taken reasonable and feasible security protection measures that meet industry standards to protect user information and prevent personal information from being accessed, disclosed, used, modified, damaged or lost without authorization.
[0043] Here we first explain some terms involved in this application.
[0044] ECU (Electronic Control Unit): An electronic control unit, which can refer to an onboard controller. An electronic control unit can include a processor and a memory. In some electronic control units, there can be multiple processors.
[0045] PKI (Public Key Infrastructure) is an architecture used to implement functions such as the generation, management, storage, distribution and revocation of keys and certificates based on the public key cryptography system.
[0046] UDS stands for Unified Diagnostic Services, which is the standardized standard for diagnostic services.
[0047] SOA, service-oriented architecture, distributes, combines and uses loosely coupled coarse-grained application components through the network according to needs.
[0048] A digital certificate is a digital certification that marks the identity information of each party in network communication. A digital certificate can be used to identify the identity of the other party.
[0049] See attached Figure 1 , Figure 1 FIG. 1 is a flow chart of the main steps of a public key infrastructure management method according to an embodiment of the present application. Figure 1 As shown, the public key infrastructure management method in the embodiment of the present application is applied to a smart device, and the public key infrastructure management method mainly includes the following step S101.
[0050] Step S101: Based on the service status of the public key infrastructure server and the preset public key infrastructure system, the service status of the public key infrastructure system is managed; wherein the public key infrastructure server is deployed in the first electronic control unit of the smart device, and the public key infrastructure client is deployed in the second electronic control unit of the smart device; the public key infrastructure server and the public key infrastructure client constitute a public key infrastructure system.
[0051] In this embodiment, the public key infrastructure server is deployed in the first electronic control unit of the smart device, the public key infrastructure client is deployed in the second electronic control unit of the smart device, and the public key infrastructure server and the public key infrastructure client form a public key infrastructure system. The public key infrastructure server can implement the state management of the service state of the public key infrastructure system according to the service state of the public key infrastructure system.
[0052] In one implementation, the device identity authentication management of the second electronic control unit may be performed based on the public key infrastructure server deployed in the first electronic control unit of the smart device. That is, the first electronic control unit is the public key infrastructure server.
[0053] In one implementation, the smart device may be a smart vehicle or the like.
[0054] In one embodiment, the first electronic control unit can be an electronic control unit with relatively abundant computing resources and space resources in the smart device. The first electronic control unit can be the same control unit as the second electronic control unit, or a control unit different from the second electronic control unit. That is, after a first electronic control unit is used to deploy a public key infrastructure server, it can also be used as a public key infrastructure client. When the first electronic control unit and the second electronic control unit are different control units, the first electronic control unit is connected to the second electronic control unit in communication. For example, the communication connection can be achieved through Ethernet.
[0055] In one implementation, device identity authentication management may include device digital certificate management and registration account management. Digital certificates may include CA (Certification Authority) and RA (Registration Authority) certificates. The management process may include generation, update, change, and cancellation.
[0056] In one implementation, the public key infrastructure client may apply to the public key infrastructure server for device identity authentication of the second electronic control unit where the public key infrastructure client is located. That is, the public key infrastructure client may apply for device identity authentication for the second electronic control unit where the public key infrastructure client is located.
[0057] In one implementation, applying for device identity authentication may include registering an account from a public key infrastructure service and obtaining a CA / RA certificate to ensure the identity of the second electronic control unit and the security of communication.
[0058] In one implementation, the public key infrastructure client and the public key infrastructure server may constitute a public key infrastructure system. The public key infrastructure system may be used for unified diagnostic services for smart devices. A UDS instruction set may be designed for the public key infrastructure system. The UDS instruction set may include but is not limited to:
[0059] TransitionState (state transition instruction): used to request state transition, such as from factory mode to working mode.
[0060] ReadState (status query command): used to query the current PKI service status and PKI client status information.
[0061] CertManage (certificate management command): used to manage certificates, such as application, renewal and revocation.
[0062] These instructions can carry key information, such as the current status of the system, the validity period of the certificate, possible error information, etc., for technicians to make judgments and corresponding operations. Through standardized instructions, technicians can use defined instruction routines to query system status, perform state transitions, and other operations. For example, in the factory mode state, through specific instructions, technicians can easily start the registration and certificate issuance process for newly installed vehicle-mounted devices. During the final inspection phase before the vehicle leaves the factory, technicians need to confirm whether the PKI clients of all ECUs in the vehicle have been correctly registered and have valid digital certificates. Assuming that a part of the ECUs need to be updated during the after-sales service or maintenance phase, the staff can replace the specified vehicle-mounted device by sending a UDS instruction. The instruction can specify the target client and execute the update process without affecting the overall status of the PKI service. After the update is completed, the update result can be verified through the UDS instruction to ensure that the digital certificates held by all target ECUs are the latest. In addition, the UDS instruction can also carry key information for diagnostic equipment to display and judge to support specific operations. For example, the UDS instruction can carry the current PKI system status, the validity period of the digital certificate, and possible error information, so that technicians can make judgments and corresponding operations based on this information.
[0063] In one implementation, the instructions of the UDS instruction set may be protected by a security access mechanism to prevent unauthorized access, thereby ensuring encryption of communication content and ensuring the legality of operations and data integrity.
[0064] In one embodiment, please refer to the attached Figure 2 , Figure 2 FIG. 1 is a schematic diagram of the main components of a unified diagnostic service according to an implementation example of the present application. Figure 2 As shown, the main ECU is the first electronic control unit, which can deploy a public key infrastructure server, i.e., a PKI server; at the same time, the main ECU can also deploy a public key infrastructure client, i.e., a PKI client. At the same time, there can also be multiple PKI clients, which are deployed in multiple second electronic control units, i.e., ECU-1, ..., ECU-n. The main ECU and ECU-1, ..., ECU-n are connected to the diagnostic connector through an Ethernet interface. Only requests that have been authenticated by the device identity can be sent to the Ethernet connector, and the Ethernet connector sends the request to the unified diagnostic request processor through the CAN bus.
[0065] Based on the method described in step S101 above, in the embodiment of the present application, the smart device includes a first electronic control unit and a second electronic control unit, the public key infrastructure server is deployed in the first electronic control unit, and the public key infrastructure client is deployed in the second electronic control unit. Based on the public key infrastructure server, the device authentication management of the second electronic control unit is performed, and based on the public key infrastructure client, the public key infrastructure server is applied for the device identity authentication of the second electronic control unit where the public key infrastructure client is located. Through the above configuration, the embodiment of the present application can realize the public key infrastructure system inside the smart device, eliminate the single point failure risk of realizing the public key infrastructure service through cloud service, and improve the overall stability and security of the public key infrastructure service. At the same time, it also ensures the offline update and management of the public key infrastructure service in the smart device, which can ensure the continuity and security of the public key infrastructure service. Further, since the smart device can realize the process of device identity authentication through the internal communication and control process, it can effectively utilize the low-latency special effects of the internal network of the smart device to achieve faster demand response, improve the efficiency and response speed of the public key infrastructure service, and also reduce the need for device identity authentication through the external network, etc., and reduce the risks and possibilities of man-in-the-middle attacks and network eavesdropping.
[0066] In one implementation of the embodiment of the present application, a series of service states may be predefined, each service state representing a specific role and function of a public key infrastructure system composed of a public key infrastructure server and a public key infrastructure client. The service state may include, but is not limited to, an initialization state, a factory mode state, a working state, a replacement state, an abnormal state, etc. The public key infrastructure service may perform state management on the service state of the public key infrastructure system based on these predefined service states to ensure the coherence and consistency of the digital certificate management process.
[0067] For example, the smart device is a vehicle. In the factory mode, the public key infrastructure system can be in an open state to facilitate the rapid registration and configuration of new vehicle devices. Once the vehicle is delivered to the customer, the public key infrastructure system can be switched to a more secure service state to restrict certain operations to ensure the security of vehicle communications. When after-sales service is required, the public key infrastructure system can be controlled to switch to a service state with higher permissions to support specific service operations.
[0068] In one implementation, the public key infrastructure system may implement a state transition of a service state in response to a state transition instruction.
[0069] In one embodiment, the public key infrastructure system may further include a state database, and the running state of the public key infrastructure server and the public key infrastructure client may be stored based on the state database. That is, an environment-friendly database technology may be integrated into the public key infrastructure system to realize the persistent storage of the state machine state. Both the running state of the public key infrastructure server and the running state of the public key infrastructure client can be accurately recorded and stored in the database. This ensures that after a power outage or system restart, the public key infrastructure system can be restored from the last valid running state and continue the operation before the power outage or restart. The above configuration method can further effectively enhance the stability and reliability of the public key infrastructure system and provide important data support for state recovery and troubleshooting.
[0070] In an example scenario, when a vehicle is powered off for maintenance or software is being updated, the PKI service and PKI client may be in "working state" and "active state" respectively, responsible for daily digital certificate updates and communication tasks. Due to the implementation of state persistence, when the vehicle is restarted, whether it is due to a power outage for maintenance or a software update, the PKI system can automatically restore to the previous correct state from the database. This means that the PKI service can continue to process certificate update requests, and the PKI client can immediately resume communication tasks without having to re-go through the certificate application process.
[0071] In one implementation of an embodiment of the present application, a public key infrastructure client may periodically check the authentication status of its own device identity authentication and send the authentication status to a public key infrastructure service. That is, a public key infrastructure client may check its own digital certificate and account status, and synchronously update it to the public key infrastructure service through network communication. This ensures the consistency of the service status of the distributed public key infrastructure system and provides data and capability support for the application, update, and revocation of digital certificates for unified diagnostic services and device identity authentication. For example, when the digital certificate of a public key infrastructure client is about to expire, the public key infrastructure service can promptly identify this status and trigger the renewal process of the digital certificate, thereby ensuring uninterrupted and secure communication. Similarly, when the digital certificate of a public key infrastructure client is revoked, the public key infrastructure service can also quickly identify this status and notify the relevant parties to avoid potential security risks.
[0072] In one implementation, the public key infrastructure client may check the authentication status of its own device identity authentication based on the status query instruction.
[0073] In one implementation of the present application, in response to the certificate management instruction, the digital certificate management of the second electronic control unit can be performed according to the public key infrastructure service. The digital certificate management may include application, update, change and cancellation of the digital certificate.
[0074] One implementation method can be found in the attached Figure 3 , Figure 3 It is a flowchart of the main steps of a unified diagnostic service process according to an implementation example of the present application. Figure 3 The process of the diagnostic device providing unified diagnostic services based on the public key infrastructure is shown in Figure 1. The diagnostic device sends a session establishment request (StartSession) to the main ECU (first electronic control unit), and the main ECU returns a positive response (PositiveResponse) to the diagnostic device; when the diagnostic device needs to query the state (readstate), the main ECU sends a state query request (read state request) to the PKI service, and the PKI service returns the generated state query result (read state result) to the main ECU and then to the diagnostic device; when the diagnostic device needs to perform a state transition, the main ECU sends a state transition instruction (transtion state) to the PKI service, and the PKI service returns the execution result (action result) to the main ECU after the state transition; when the state transition passes (pass), the main ECU sends a positive response (PositiveResponse) to the diagnostic device, and the diagnostic device sends a re-download (reload) PKI client instruction to the PKI client ECUs (second electronic control unit), and the PKI client sends a registration account signal (send SIGHUP signal), obtains CA / RA certificates (fetch CA / RA provider), registers new accounts (register new account), and registers SOA certificates (register soa app certs) from the main ECU. When the diagnostic device sends a session establishment request (StartSession) to the PKI client ECUs and fails (failed), the main ECU returns a negative response (NegativeResponse). The diagnostic device queries the status of the PKI service through the main ECU and returns the status query result.
[0075] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effect of the present application, different steps do not have to be executed in such an order, and they can be executed simultaneously (in parallel) or in other orders. These adjusted schemes are equivalent to the technical schemes described in this application, and therefore will also fall within the scope of protection of this application.
[0076] It is understood by those skilled in the art that all or part of the processes in the method for implementing the above-mentioned embodiment of the present application can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electrical carrier signal, telecommunication signal and software distribution medium, etc. that can carry the computer program code.
[0077] Another aspect of the present application also provides a computer-readable storage medium.
[0078] In an embodiment of a computer-readable storage medium according to the present application, the computer-readable storage medium may be configured to store a program for executing the public key infrastructure management method of the above method embodiment, and the program may be loaded and run by a processor to implement the above public key infrastructure management method. For ease of explanation, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present application. The computer-readable storage medium may be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present application is a non-transitory computer-readable storage medium.
[0079] Another aspect of the present application also provides a smart device.
[0080] In an embodiment of an intelligent device according to the present application, the intelligent device may include multiple processors; and a memory connected to the multiple processors in communication; wherein a computer program is stored in the memory, and when the computer program is executed by at least one processor, the method described in any of the above embodiments is implemented. The intelligent device described in the present application may include a driving device, a smart car, a robot, and the like. Figure 4 , Figure 4 It is a schematic diagram of the main structure of a smart device according to an embodiment of the present application. Figure 4FIG. 4 exemplarily shows that the memory 11 and the processor 12 are communicatively connected via a bus.
[0081] The above-mentioned multiple processors may be processors deployed on the same system on chip (SoC), or may be processors of different systems on chips deployed on the same smart device, or may be processors deployed on the same smart device using other existing or future technologies.
[0082] In some embodiments of the present application, the smart device may further include at least one sensor for sensing information. The sensor is communicatively connected to any type of processor mentioned in the present application. Optionally, the smart device may further include an autonomous driving system for guiding the smart device to drive itself or assist in driving. The processor communicates with the sensor and / or the autonomous driving system to complete the method described in any of the above embodiments.
[0083] So far, the technical solution of the present application has been described in conjunction with an embodiment shown in the accompanying drawings, but it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments. Without departing from the principles of the present application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present application.
Claims
1. A method for managing a public key infrastructure, characterized in that: The method is applied to a smart device, and the method comprises: Based on the service status of the public key infrastructure server and the preset public key infrastructure system, the service status of the public key infrastructure system is managed; wherein the public key infrastructure server is deployed in the first electronic control unit of the smart device, and the public key infrastructure client is deployed in the second electronic control unit of the smart device; the public key infrastructure server and the public key infrastructure client constitute a public key infrastructure system; The state management of the service state of the public key infrastructure system includes: In response to a preset state transition instruction, controlling the public key infrastructure system to perform a state transition of the service state according to the service state; The service status represents the preset roles and functions of the public key infrastructure system; The state transition is used to transition the authority of the service state of the public key infrastructure system.
2. The public key infrastructure management method according to claim 1, characterized in that: The public key infrastructure system further includes a state database; The method further comprises: The running status of the public key infrastructure server and the public key infrastructure client is stored based on the status database.
3. The public key infrastructure management method according to claim 1, characterized in that: The method further comprises: Performing device identity authentication management of a second electronic control unit of the smart device based on a public key infrastructure server; Based on the public key infrastructure client, an application is made to the public key infrastructure server for device identity authentication of the second electronic control unit where the public key infrastructure client is located.
4. The public key infrastructure management method according to claim 3, characterized in that: The method further comprises: The public key infrastructure client checks the authentication status of its own device identity authentication and sends the authentication status to the public key infrastructure server.
5. The public key infrastructure management method according to claim 4, characterized in that: The public key infrastructure client checks the authentication status of its own device identity authentication, including: In response to a preset status query instruction, the public key infrastructure client checks the authentication status of its own device identity authentication.
6. The public key infrastructure management method according to claim 3, characterized in that: The device identity authentication management includes digital certificate management and registration account management.
7. The public key infrastructure management method according to claim 6, characterized in that: The specific steps of the digital certificate management include: In response to a preset certificate management instruction, digital certificate management of the second electronic control unit is performed based on the public key infrastructure service.
8. The public key infrastructure management method according to claim 6 or 7, characterized in that: The digital certificate management includes at least one of application, update, change and cancellation of the digital certificate.
9. A smart device, characterized in that: include: Multiple processors; and, a memory communicatively coupled to the plurality of processors; Wherein, a computer program is stored in the memory, and when the computer program is executed by at least one of the processors, the public key infrastructure management method according to any one of claims 1 to 8 is implemented.
10. A computer-readable storage medium storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by a processor to execute the public key infrastructure management method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Automobile software upgrading method and system based on electronic mobile certificate
CN110324335A
Specially programmed computing systems with associated devices configured to implement centralized services ECU based on services oriented architecture and methods of use thereof
CN110383773A
Copy protection method and copy-protected electronic system
CN115720706A
System for realizing unified identity authentication of one factory and multiple places
CN115766007A
Method and apparatus for managing certificates
US20160142215A1
