CN-122028036-A - Key application method, device, vehicle, computer storage medium, and program product
Abstract
The application discloses a key application method, a device, a vehicle, a computer storage medium and a program product. The method comprises the steps of responding to a vehicle entering a key application flow, obtaining a mode signal of the vehicle, determining a service interface of a regional scene as a target service interface based on a mapping relation between the mode signal of the vehicle and the regional scene, determining a target network connection mode based on a network connection state of the vehicle, and initiating a key application based on the target network connection mode and the target service interface. The flexibility and reliability of the key application process can be improved.
Inventors
- YANG ZHENYE
Assignees
- 上海洛轲智能科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260212
Claims (11)
- 1. A key application method, characterized by being applied to a central control unit of a vehicle, comprising: responding to a vehicle entering key application flow, acquiring a mode signal of the vehicle, and determining a service interface of a regional scene as a target service interface based on a mapping relation between the mode signal of the vehicle and the regional scene; Determining a target network connection mode based on the network connection state of the vehicle; and initiating a key application based on the target network connection mode and the target service interface.
- 2. The method according to claim 1, wherein the obtaining the mode signal of the vehicle in response to the vehicle entering the key application procedure, and determining the service interface of the geographic scene of the vehicle as the target service interface based on the mapping relationship between the mode signal of the vehicle and the geographic scene, specifically comprises: When the mode signal of the vehicle is obtained as an effective value, determining a regional scene mapped by the effective value as a current regional scene of the vehicle; And determining a service interface of the current regional scene of the vehicle as a target service interface based on the current regional scene of the vehicle.
- 3. The method according to claim 2, wherein when the mode signal of the vehicle is obtained as a valid value, determining the geographical scene mapped by the valid value as the current geographical scene of the vehicle specifically includes: When the effective value is expressed as a production state, switching the current regional scene of the vehicle from the delivery regional scene of the vehicle to the production regional scene of the vehicle; And when the effective value is expressed as a delivery state, switching the current regional scene of the vehicle from the production regional scene of the vehicle to the delivery regional scene of the vehicle.
- 4. The method of claim 1, wherein the obtaining the mode signal of the vehicle in response to the vehicle entering the key application process, determining the service interface of the geographic scene of the vehicle as the target service interface based on the mapping relationship between the mode signal of the vehicle and the geographic scene, further comprises: and when the mode signal of the vehicle is obtained to be an invalid value, the service interface of the regional scene of the vehicle is kept to be a target service interface.
- 5. The method according to claim 1, wherein determining the target network connection mode based on the network connection state of the vehicle specifically comprises: setting a default network connection state and a default network connection mode of a vehicle, and determining that the default network connection mode is the target network connection mode when the received default network connection state is valid; setting a replacement network connection mode of the vehicle, and determining the replacement network connection mode as the target network connection mode when the received default network connection state is invalid.
- 6. The method of claim 1, wherein the initiating a key application with the target service interface based on the target network connection, further comprises: And when the absence of the target service interface is detected, terminating the key application flow and recording a log.
- 7. The method of claim 1, further comprising, after said initiating a key application with said target service interface based on said target network connection,: decrypting based on the obtained key of the target service interface, and storing the decrypted key into a secure storage area.
- 8. A key application device, the device comprising: the first determining unit is used for responding to the vehicle entering key application flow, acquiring a mode signal of the vehicle and determining a service interface of a region scene as a target service interface based on the mapping relation between the mode signal of the vehicle and the region scene; The second determining unit is used for determining a target network connection mode based on the network connection state of the vehicle; And the processing unit is used for initiating a key application with the target service interface based on the target network connection mode.
- 9. A vehicle comprising a processor and a memory storing computer program instructions; The processor, when executing the computer program instructions, implements the key application method of any one of claims 1 to 7.
- 10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon computer program instructions, which when executed by a processor, implement the key application method of any of claims 1 to 7.
- 11. A computer program product, characterized in that instructions in the computer program product, when executed by a processor of a vehicle, cause the vehicle to perform the key application method of any one of claims 1 to 7.
Description
Key application method, device, vehicle, computer storage medium, and program product Technical Field The present application relates to a key application technology field, and in particular, to a key application method, a device, a vehicle, a computer storage medium, and a program product. Background Communication keys are a key technology for securing data. Wherein the CCU (Central Control Unit central control unit) of the vehicle needs to rely on a communication key when communicating with the TSP (TELEMATICS SERVICE Provider telematics service Provider) to exchange data. With the expansion of vehicle exit and overseas services, a single vehicle needs to manually confirm the service interface from which an application was initiated when facing the independent keys of service providers in different regions. If the vehicle can be switched in different environments, the service interface for applying the secret key can be automatically confirmed without human intervention, and the flexibility of secret key application can be improved. The key application is currently realized based on a single network connection mode, for example, a SIM card equipped for overseas project vehicles is only used overseas, and no mobile network traffic exists in China. However, such a key application strategy based on a single network connection has obvious drawbacks in practical applications. Specifically, it may cause the vehicle to fail to normally communicate with the service interface that automatically confirms the application key when the vehicle is switched in a different environment. These problems affect the reliability of the application key of the vehicle at scene change. Disclosure of Invention The embodiment of the application provides a key application method, a device, a vehicle, a computer storage medium and a program product, which can improve the flexibility and reliability of a key application process. On one hand, the embodiment of the application provides a key application method, which comprises the steps of responding to a vehicle entering a key application flow, obtaining a mode signal of the vehicle, determining a service interface of a regional scene as a target service interface based on a mapping relation between the mode signal of the vehicle and the regional scene, determining a target network connection mode based on a network connection state of the vehicle, and initiating a key application based on the target network connection mode and the target service interface. In some possible implementation manners, in response to a vehicle entering a key application flow, a mode signal of the vehicle is acquired, and a service interface of a regional scene of the vehicle is determined to be a target service interface based on a mapping relation between the mode signal of the vehicle and the regional scene. In some possible implementation manners, when the mode signal of the vehicle is obtained as the effective value, the region scene mapped by the effective value is determined as the current region scene of the vehicle, and the method specifically comprises the steps of switching the current region scene of the vehicle from the delivery region scene of the vehicle to the production region scene of the vehicle when the effective value is expressed as the production state, and switching the current region scene of the vehicle from the production region scene of the vehicle to the delivery region scene of the vehicle when the effective value is expressed as the delivery state. In some possible implementations, in response to the vehicle entering the key application flow, the method includes acquiring a mode signal of the vehicle, determining a service interface of a regional scene of the vehicle as a target service interface based on a mapping relationship between the mode signal of the vehicle and the regional scene, and maintaining the service interface of the regional scene of the vehicle as the target service interface when the mode signal of the vehicle is acquired as an invalid value. In some possible implementation manners, the target network connection manner is determined based on the network connection state of the vehicle, and specifically comprises the steps of setting a default network connection state and a default network connection manner of the vehicle, determining the default network connection manner as the target network connection manner when the received default network connection state is valid, setting a replacement network connection manner of the vehicle, and determining the replacement network connection manner as the target network connection manner when the received default network connection state is invalid. In some possible implementations, the method comprises the steps of initiating a key application with a target service interface based on a target network connection mode, and terminating the key application flow and recording a log when the absence of the target service