Key application method and device, vehicle, computer storage medium and program product

By acquiring vehicle mode signals and network connection status, the target service interface and network connection method are automatically determined, solving the problems of flexibility and reliability in key application when vehicles switch between different regions, and realizing the connectivity of the key application process without human intervention.

CN122028036APending Publication Date: 2026-05-12ROX MOTOR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ROX MOTOR TECH CO LTD
Filing Date
2026-02-12
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

In existing technologies, the key application service interface cannot be automatically confirmed when a vehicle switches between different regions, resulting in insufficient flexibility and reliability of key applications.

Method used

By acquiring the vehicle's mode signal, determining the target service interface based on the mapping relationship between the mode signal and the regional scene, and selecting the target network connection method according to the network connection status, the system can achieve automated key application.

Benefits of technology

Without human intervention, vehicles can automatically identify service interfaces and select network channels in different regions and network environments, ensuring the connectivity and flexibility of the key application process and improving the versatility of scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122028036A_ABST
    Figure CN122028036A_ABST
Patent Text Reader

Abstract

The invention discloses a key application method and device, a vehicle, a computer storage medium and a program product. The method comprises the following steps: in response to a vehicle entering a key application process, 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 relationship 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 with the target service interface based on the target network connection mode. The flexibility and reliability of the key application process can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of key application technology, and in particular relates to a key application method, apparatus, vehicle, computer storage medium and program product. Background Technology

[0002] Communication keys are a key technology for ensuring data security. Specifically, communication keys are required when the vehicle's CCU (Central Control Unit) communicates and exchanges data with the TSP (Telematics Service Provider).

[0003] With the export of vehicles and the expansion of overseas business, when a single vehicle encounters independent keys from service providers in different regions, manual confirmation of the service interface for initiating the key application is required. If the system could automatically confirm the service interface for key applications when a vehicle switches between different environments, without human intervention, it would significantly improve the flexibility of key application.

[0004] Currently, key application is based on a single network connection method. For example, the SIM cards equipped in vehicles for overseas projects can only be used overseas and have no mobile network traffic in China.

[0005] However, this key request strategy based on a single network connection method has significant drawbacks in practical applications. Specifically, it can cause vehicles to fail to communicate properly with the service interface that automatically confirms key requests when switching between different environments. These issues affect the reliability of key requests made by vehicles during scenario transitions. Summary of the Invention

[0006] This application provides a key application method, apparatus, vehicle, computer storage medium, and program product, which can improve the flexibility and reliability of the key application process.

[0007] On one hand, embodiments of this application provide a key application method, the method comprising: in response to a vehicle entering a key application process, obtaining the vehicle's mode signal, determining the service interface of the regional scene as the target service interface based on the mapping relationship between the vehicle's mode signal and the regional scene; determining the target network connection method based on the vehicle's network connection status; and initiating a key application based on the target network connection method and the target service interface.

[0008] In some possible implementations, in response to a vehicle entering a key application process, the vehicle's mode signal is obtained. Based on the mapping relationship between the vehicle's mode signal and the regional scene, the service interface of the vehicle's regional scene is determined as the target service interface. Specifically, this includes: when the obtained vehicle mode signal is a valid value, determining the regional scene mapped to the valid value as the vehicle's current regional scene; and based on the vehicle's current regional scene, determining the service interface of the vehicle's current regional scene as the target service interface.

[0009] In some possible implementations, when the vehicle's mode signal is obtained as a valid value, the geographic scenario mapped by the valid value is determined as the vehicle's current geographic scenario. Specifically, this includes: when the valid value indicates a production state, switching the vehicle's current geographic scenario from the vehicle's delivery geographic scenario to the vehicle's production geographic scenario; and when the valid value indicates a delivery state, switching the vehicle's current geographic scenario from the vehicle's production geographic scenario to the vehicle's delivery geographic scenario.

[0010] In some possible implementations, in response to the vehicle entering the key application process, the vehicle's mode signal is obtained, and based on the mapping relationship between the vehicle's mode signal and the regional scene, the service interface of the vehicle's regional scene is determined as the target service interface. It also includes: when the obtained vehicle mode signal is invalid, the service interface of the vehicle's regional scene is kept as the target service interface.

[0011] In some possible implementations, the target network connection method is determined based on the vehicle's network connection status. Specifically, this includes: setting the vehicle's default network connection status and default network connection method; when the received default network connection status is valid, determining the default network connection method as the target network connection method; and setting the vehicle's alternative network connection method; when the received default network connection status is invalid, determining the alternative network connection method as the target network connection method.

[0012] In some possible implementations, the key request is initiated based on the target network connection method and the target service interface. It also includes terminating the key request process and logging when the target service interface is detected to be non-existent.

[0013] On the other hand, embodiments of this application provide a key application device, the device comprising: a first determining unit, configured to, in response to a vehicle entering a key application process, acquire the vehicle's mode signal, and determine the service interface of the regional scene as the target service interface based on the mapping relationship between the vehicle's mode signal and the regional scene; a second determining unit, configured to, based on the vehicle's network connection status, determine the target network connection method; and a processing unit, configured to, based on the target network connection method and the target service interface, initiate a key application.

[0014] In another aspect, embodiments of this application provide a vehicle, which includes: a processor and a memory storing computer program instructions; the processor implements a key application method when executing the computer program instructions.

[0015] In another aspect, embodiments of this application provide a computer storage medium on which computer program instructions are stored, and which implement a key application method when executed by a processor.

[0016] In another aspect, embodiments of this application provide a computer program product in which instructions, when executed by the processor of an electronic vehicle, cause the electronic vehicle to perform a key application method.

[0017] The key application method, apparatus, vehicle, and computer storage medium of this application embodiment involve a vehicle's central processing unit responding to the vehicle entering the key application process by acquiring the vehicle's mode signal. Based on the mapping relationship between the vehicle's mode signal and the regional scene, the service interface of the vehicle's regional scene is determined as the target service interface. This allows the vehicle to automatically identify its location and automatically select the service interface for that location without manual intervention at different stages such as manufacturing, transportation, export, and overseas sales. Based on the vehicle's network connection status, the target network connection method is determined, enabling the vehicle's central control unit to intelligently select available network channels in different network environments, ensuring the connectivity of the key application process. Initiating a key application based on the target network connection method and the target service interface avoids configuring separate application processes for different regions, flexibly adapting to various scenarios and improving scenario universality. Attached Figure Description

[0018] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is an application architecture block diagram of key application provided in the embodiments of this application; Figure 2 This is a flowchart illustrating a key request method provided in one embodiment of this application; Figure 3 This is a schematic diagram illustrating the process of determining the target service interface provided in one embodiment of this application; Figure 4 This is a schematic diagram of the mode signal of the key request method provided in the embodiments of this application; Figure 5 This is a schematic diagram of the network connection status of the key request method provided in the embodiments of this application; Figure 6This is a schematic diagram of the key request device provided in the embodiments of this application; Figure 7 This is a schematic diagram of the vehicle structure provided in the embodiments of this application. Detailed Implementation

[0020] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.

[0021] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or vehicle that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or vehicle. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or vehicle that includes the element.

[0022] It should be noted that the acquisition, storage, use, and processing of data in this application embodiment all comply with the relevant provisions of national laws and regulations.

[0023] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, it does not mean that the applicant has used or necessarily used the solution.

[0024] Figure 1This diagram illustrates the application architecture block diagram of key application provided in this application embodiment. The key application system includes a vehicle's central control unit, a vehicle's communication unit, and a target service interface. Between the vehicle's central control unit and the vehicle's communication unit, the central control unit encapsulates the decision result for the key application into a standardized command message, which can be sent to the vehicle's communication unit via a high-speed in-vehicle network, such as CAN FD or Ethernet. The vehicle's communication unit, based on the target network connection method in the command message, initiates an HTTPS POST request to the target service interface, such as the URL interface of an overseas TSP, carrying the application information. The target service interface, such as the overseas TSP server, verifies the validity of the request, generates a key, and returns it via an HTTPS response. The vehicle's communication unit receives the response and forwards the result back to the vehicle's central control unit. The above key application architecture can be applied to regional scenarios facing domestic service interfaces as well as regional scenarios facing overseas service interfaces.

[0025] The following description, in conjunction with the accompanying drawings, details a key application method, apparatus, vehicle, computer storage medium, and computer program product provided in this application through specific embodiments and application scenarios.

[0026] like Figure 2 As shown in the figure, this application provides a key application method, which includes the following steps: S100: In response to the vehicle entering the key application process, obtain the vehicle's mode signal, and determine the service interface of the vehicle's regional scenario as the target service interface based on the mapping relationship between the vehicle's mode signal and the regional scenario. Among them, the vehicle mode signal refers to the vehicle's own status signal, which is used to indicate the vehicle's current operating state. For example, the vehicle mode signal can specifically indicate that the vehicle is in transportation, factory, ordinary, showroom, etc. It should be understood that the vehicle mode signal can indicate a wider range of vehicle operating states, and is not limited to these.

[0027] The mapping relationship between vehicle mode signals and regional scenarios refers to the corresponding rules predefined in the vehicle's central control unit, which directly associate the vehicle's mode signals with the corresponding regional scenarios. For example, when the vehicle mode signal indicates that the vehicle is in transportation or factory mode, it maps to a domestic regional scenario; as another example, when the vehicle mode signal indicates that the vehicle is in normal or showroom mode, it maps to an overseas regional scenario.

[0028] The target service interface refers to the network address used to request a communication key from the server corresponding to the geographical location obtained from the vehicle mode signal mapping. For example, when the vehicle mode signal mapping is for a domestic geographical location, the target service interface is the network interface of a domestic service provider.

[0029] Specifically, as an example, in response to the vehicle's key application process, the central control unit (CCU) can acquire the vehicle's mode signal. This acquisition can be achieved by the CCU accessing the vehicle's internal network, parsing and temporarily storing the mode signal representing the vehicle's operating status in real time, and providing stable and reliable input for subsequent regional scene mapping and key application decisions. The CCU can also query a pre-installed mapping lookup table to extract the regional scene mapped to the vehicle's mode, using the service provider's interface within that regional scene as the key application interface.

[0030] It should be understood that, in another embodiment, after the vehicle's central control unit obtains the vehicle's mode signal, it checks whether the signal is within the valid enumeration range. If it is an invalid value or the signal is lost, it will switch to a preset default processing mode, which will be described in detail in later embodiments and will not be repeated here.

[0031] S110: Determine the target network connection method based on the vehicle's network connection status; Among them, the vehicle's network connection status refers to the status information of the vehicle's current network interface, which is used to reflect the availability of the network connection.

[0032] The target network connection method refers to the network connection method automatically selected based on the vehicle's network connection status. Specific network connection methods can include VLAN 6, APN, etc., and are not limited here.

[0033] Specifically, the vehicle's central control unit can obtain the network connection status from the vehicle. For example, it can receive network connection status signals from the vehicle's intelligent driving cockpit control unit, analyze these signals, and obtain the network connection status. Based on the known network connection status, the vehicle's central control unit can select the finally available connection method as the target network connection method.

[0034] S120: Initiate a key request based on the target network connection method and the target service interface.

[0035] Specifically, as an example, when the vehicle's central control unit determines that a key request needs to be initiated, such as when the vehicle's power-on self-test passes or a missing key is detected, the determined target network connection method and target service interface, as well as other vehicle information that initiated the key request, can be combined into a structured command message.

[0036] It should be noted that the vehicle's central control unit can send the assembled command message to the TBOX (Telecommunications Module Unit), instructing the TBOX to initiate a key request operation to the target service interface via the target network connection, according to the command message. It is important to clarify that the TBOX only performs information pass-through; it does not modify, parse, verify, filter, or otherwise process the received command message, request information, or any other data. Instead, it transmits the aforementioned information completely and unedited to the corresponding TSP (Telematics Service Provider). This ensures the integrity of data transmission, avoids data distortion caused by intermediate processing, ensures that the TSP receives the original decision data from the CCU, and guarantees that the key request command closely matches the actual needs.

[0037] In this embodiment, the vehicle's central processing unit, in response to the vehicle entering the key application process, acquires the vehicle's mode signal. Based on the mapping relationship between the vehicle's mode signal and the regional scene, it determines the service interface of the vehicle's regional scene as the target service interface. This allows the vehicle to automatically identify its location and automatically select the service interface for that location without manual intervention at different stages such as manufacturing, transportation, export, and overseas sales. Based on the vehicle's network connection status, it determines the target network connection method, enabling the vehicle's central control unit to intelligently select available network channels in different network environments, ensuring the connectivity of the key application process. Initiating the key application based on the target network connection method and the target service interface avoids configuring separate application processes for different regions, flexibly adapting to various scenarios and improving scenario universality.

[0038] In any of the above embodiments, optionally, as Figure 3 As shown, in response to a vehicle entering the key application process, the vehicle's mode signal is obtained. Based on the mapping relationship between the vehicle's mode signal and the regional scene, the service interface of the vehicle's regional scene is determined as the target service interface. Specifically, this includes the following steps: S1002: When the vehicle's mode signal is obtained as a valid value, the geographical scene mapped by the valid value is determined as the vehicle's current geographical scene. Among them, the vehicle mode signal has some preset enumerated values, such as transportation mode, factory mode, normal mode, showroom mode, etc. These values ​​are all clearly defined states within the preset enumeration range. Therefore, the valid value refers to these signal values ​​that conform to the preset enumeration range.

[0039] S1004: Based on the vehicle's current geographic scenario, determine the service interface of the vehicle's current geographic scenario as the target service interface.

[0040] In this embodiment, when the vehicle's mode signal is found to be a valid value, the geographical scene mapped to the valid value is determined as the vehicle's current geographical scene. The mode signal is filtered for validity using a preset enumeration range to ensure that only clear and identifiable vehicle states trigger geographical mapping. This avoids misjudgments caused by signal noise, transmission errors, or undefined states. Each valid value is uniquely mapped to a specific geographical scene through preset rules; for example, the factory mode is mapped to a domestic geographical scene, eliminating ambiguity. Based on the determined current geographical scene, such as overseas, the vehicle's central control unit can automatically and unambiguously select the target service interface bound to it, such as an overseas TSP server URL, eliminating the need for manual searching, configuration, or switching of interfaces.

[0041] In any of the above embodiments, optionally, when the vehicle's mode signal is obtained as a valid value, the geographical scene mapped by the valid value is determined as the vehicle's current geographical scene, specifically including the following steps: S1002a: When the valid value represents the production status, switch the vehicle's current geographic scenario from the vehicle's delivery geographic scenario to the vehicle's production geographic scenario. Among them, production status refers to the valid value in the vehicle mode signal that indicates that the vehicle is in the manufacturing, testing or outgoing logistics stage, such as factory mode, transportation mode, testing mode, etc.

[0042] S1002b: When the valid value represents the delivery status, switch the vehicle's current geographic scenario from the vehicle's production geographic scenario to the vehicle's delivery geographic scenario.

[0043] Delivery status refers to the valid value in the vehicle mode signal that the vehicle has completed production and entered the sales, display, or end-user use stage, such as normal mode, showroom mode, sales mode, etc.

[0044] like Figure 4 As shown in the figure, Condition1 is defined as IBCM_VehMod=Transport / Factory, where the vehicle mode is either transport or factory. Condition2: IBCM_VehMod=Normal / ShowCarMode, vehicle mode is normal and showroom; Condition 3: IBCM_VehMod signal lost or IBCM_VehMod=default, indicating that the vehicle mode signal is lost or the vehicle mode is set to the default value. Condition 4: IBCM_VehMod signal lost or IBCM_VehMod=default, indicating that the vehicle mode signal is lost or the vehicle mode is set to the default value.

[0045] In this embodiment, when the valid value represents the production status, the vehicle's current geographic scenario is switched from the vehicle's delivery geographic scenario to the vehicle's production geographic scenario. That is, when the vehicle's central control unit is in the production status, the vehicle is typically located within the country of production. Switching the geographic scenario to the production geographic scenario ensures that communication data is correctly sent to the server in the country of production during vehicle testing and domestic transportation, avoiding unnecessary costs or delays caused by using overseas resources. When the valid value represents the delivery status, the vehicle's current geographic scenario is switched from the vehicle's production geographic scenario to the vehicle's delivery geographic scenario. Once the vehicle has arrived at the target sales market, the geographic scenario is automatically switched to the delivery geographic scenario, ensuring that all communication is connected to the local server in the country of delivery during vehicle activation, sales, and daily use, guaranteeing service compliance, low latency, and a good user experience.

[0046] In any of the above embodiments, optionally, in response to the vehicle entering the key application process, the vehicle's mode signal is obtained, and based on the mapping relationship between the vehicle's mode signal and the regional scene, the service interface of the vehicle's regional scene is determined as the target service interface, which further includes the following steps: S1006: When the vehicle's mode signal is found to be invalid, keep the vehicle's local scene service interface as the target service interface.

[0047] In this embodiment, when the vehicle's mode signal is found to be invalid, the service interface for the vehicle's local scenario is kept as the target service interface. When the mode signal becomes invalid due to transmission interference, module failure, or an undefined state, the vehicle's central control unit will not trigger any local scenario switching. This allows the vehicle to continue communicating using the currently known and verified service interface, avoiding communication interruptions or service degradation caused by transient signal anomalies, and ensuring the availability of the vehicle's networking functions. Invalid signals may represent untrusted or unresolvable inputs. In this case, the last known and correct security configuration, i.e., the current service interface, is selected to be maintained. This effectively prevents the vehicle from being misled to connect to the wrong region or an unverified server, avoiding the risk of data leakage.

[0048] In any of the above embodiments, optionally, determining the target network connection method based on the vehicle network connection status specifically includes the following steps: S1102: Set the vehicle's default network connection status and default network connection method. When the received default network connection status is valid, determine the default network connection method as the target network connection method. The default network connection status of a vehicle refers to the real-time connectivity information of the vehicle's network interface, which is preset by the system and serves as the primary criterion for judgment.

[0049] The vehicle's default network connection mode refers to the specific physical or logical communication channel that is preset by the system and prioritized when the corresponding default network connection status is valid.

[0050] Specifically, as an example, the central control unit can use the WiFi connection status as the default network connection status and obtain the current network connection status. For example... Figure 5 As shown, if the received connection status is Condition1: IDCU_WiFiCnctSts=1 or 2, then the WiFi connection status is VDC WiFi or other type of WiFi, that is, the received default network connection is valid. Therefore, the central control unit can use WiFi as the available network connection method.

[0051] S1104: Set the vehicle's alternative network connection method. When the received default network connection status is invalid, determine the target network connection method as the alternative network connection method.

[0052] Among them, the vehicle's alternative network connection method refers to the preset backup communication channel that is automatically activated when the default network connection status is invalid.

[0053] Specifically, as an example, the central control unit can set different default and alternative network connection methods and priorities based on the vehicle's geographical location. Since the SIM cards equipped in overseas project vehicles only have mobile data coverage in overseas regions and are usually under contract with local operators, prioritizing mobile networks in overseas environments ensures communication stability and compliance. Therefore, in overseas scenarios, the default network connection method is mobile network, the alternative network connection method is WiFi, and the network selection priority is mobile network over WiFi. If the SIM card equipped in the overseas project vehicle has a weak signal or is not activated, it will automatically switch to WiFi for communication.

[0054] In another example, since overseas SIM cards do not have mobile data service in China, the default network connection method is WiFi. If WiFi is unavailable, the domestic SIM card can be enabled or no connection can be maintained depending on the actual configuration.

[0055] In actual judgment, the central control unit can, according to Figure 5The network connection status signal is used for decision-making. If the received connection status is Condition2: IDCU_WiFiCnctSts=0 or 3-7, it means that the WiFi connection status is no WiFi connection; Condition3: IDCU_WiFiCnctSts signal lost WiFi, it means that the connection status signal is lost; Condition4: IDCU_WiFiCnctSts signal lost, it means that the WiFi connection status signal is lost. In these cases, the default network connection status is considered invalid, and a replacement network connection method is triggered.

[0056] In this embodiment, a default network connection state and default network connection method are set for the vehicle. When the received default network connection state is valid, the default network connection method is determined as the target network connection method. By using the preset default network connection method as the preferred path, the system can quickly and stably use this method for communication when the default connection state is valid, ensuring connection reliability in most common scenarios. An alternative network connection method is also set for the vehicle. When the received default network connection state is invalid, the alternative network connection method is determined as the target network connection method. When the default connection state is invalid, the system automatically and seamlessly switches to the alternative network connection method, avoiding communication interruption due to a single network failure. This allows the vehicle's central control unit to select the best available connection path based on the network status without manual intervention, improving the user experience.

[0057] In any of the above embodiments, optionally, initiating a key request for the target service interface based on the target network connection method further includes the following steps: S1202: When the target service interface is detected to be non-existent, terminate the key application process and log it.

[0058] In this embodiment, the existence of the target service interface is verified before initiating an actual network request. If the target service interface is detected as non-existent, such as due to configuration errors or an empty interface URL, the process is immediately terminated. This avoids meaningless consumption of system resources and network traffic, such as initiating network connections to invalid addresses and constructing request packets, thus improving overall efficiency. The vehicle's central control unit records the key application time, the invalid interface URL, the vehicle mode at the time, and the geographical context in a log, allowing technicians to quickly troubleshoot the cause of the fault without having to reproduce the scene.

[0059] In any of the above embodiments, optionally, after initiating a key request based on the target network connection method and the target service interface, the method further includes: The key obtained from the target service interface is used to decrypt the data, and the decrypted key is stored in a secure storage area.

[0060] In this embodiment, the vehicle's central control unit obtains an encrypted key data packet from the target service interface. This data packet is typically protected using asymmetric encryption (such as RSA) or symmetric encryption (such as AES) to ensure it is not tampered with during transmission. The key data can be decrypted using a preset private key, or decrypted using a preset private key. The decrypted plaintext key is written to a secure storage area, and access permissions are set, allowing only authorized modules to read and use it. This ensures that the key is not leaked or tampered with throughout the entire transmission, storage, and use process, complying with international and regional information security standards, preventing key anomalies due to transmission errors or malicious attacks, and guaranteeing communication continuity and stability.

[0061] like Figure 6 As shown, this application embodiment provides a key request device 200, including: The first determining unit 202 is used to respond to the vehicle entering the key application process, obtain the vehicle's mode signal, and determine the service interface of the regional scene as the target service interface based on the mapping relationship between the vehicle's mode signal and the regional scene. The second determining unit 204 is used to determine the target network connection method based on the network connection status of the vehicle. Processing unit 206 is used to initiate a key request based on the target network connection method and the target service interface.

[0062] The key application device 200 provided in this application embodiment, in response to a vehicle entering the key application process, can acquire the vehicle's mode signal. Based on the mapping relationship between the vehicle's mode signal and the regional scene, it determines the service interface of the vehicle's regional scene as the target service interface. This allows the vehicle to automatically identify its location and automatically select the service interface of the location without manual intervention at different stages such as manufacturing, transportation, export, and overseas sales. Based on the vehicle's network connection status, it determines the target network connection method, enabling the vehicle's central control unit to intelligently select available network channels in different network environments, ensuring the connectivity of the key application process. Initiating a key application based on the target network connection method and the target service interface avoids configuring separate application processes for different regions, flexibly adapting to various scenarios and improving scenario universality.

[0063] Optionally, embodiments of this application provide a key application device 200, wherein the first determining unit 202 includes: The third determining unit (not shown) is used to determine the regional scene mapped by the valid value of the vehicle's mode signal as the vehicle's current regional scene when the valid value is obtained. The fourth determining unit (not shown) is used to determine the service interface of the vehicle's current geographical scene as the target service interface based on the vehicle's current geographical scene.

[0064] In this embodiment, when the vehicle's mode signal is found to be a valid value, the geographical scene mapped to the valid value is determined as the vehicle's current geographical scene. The mode signal is filtered for validity using a preset enumeration range to ensure that only clear and identifiable vehicle states trigger geographical mapping. This avoids misjudgments caused by signal noise, transmission errors, or undefined states. Each valid value is uniquely mapped to a specific geographical scene through preset rules; for example, the factory mode is mapped to a domestic geographical scene, eliminating ambiguity. Based on the determined current geographical scene, such as overseas, the vehicle's central control unit can automatically and unambiguously select the target service interface bound to it, such as an overseas TSP server URL, eliminating the need for manual searching, configuration, or switching of interfaces.

[0065] Optionally, embodiments of this application provide a key request device 200, wherein the third determining unit is specifically used for: When the valid value represents the production status, the vehicle's current geographic scenario is switched from the vehicle's delivery geographic scenario to the vehicle's production geographic scenario. When the valid value represents the delivery status, the vehicle's current geographic scenario is switched from the vehicle's production geographic scenario to the vehicle's delivery geographic scenario.

[0066] In this embodiment, when the valid value represents the production status, the vehicle's current geographic scenario is switched from the vehicle's delivery geographic scenario to the vehicle's production geographic scenario. That is, when the vehicle's central control unit is in the production status, the vehicle is typically located within the country of production. Switching the geographic scenario to the production geographic scenario ensures that communication data is correctly sent to the server in the country of production during vehicle testing and domestic transportation, avoiding unnecessary costs or delays caused by using overseas resources. When the valid value represents the delivery status, the vehicle's current geographic scenario is switched from the vehicle's production geographic scenario to the vehicle's delivery geographic scenario. Once the vehicle has arrived at the target sales market, the geographic scenario is automatically switched to the delivery geographic scenario, ensuring that all communication is connected to the local server in the country of delivery during vehicle activation, sales, and daily use, guaranteeing service compliance, low latency, and a good user experience.

[0067] Optionally, embodiments of this application provide a key application device 200, which further includes: The fifth determining unit (not shown) is used to keep the vehicle's regional scene service interface as the target service interface when the obtained vehicle mode signal is invalid.

[0068] In this embodiment, when the vehicle's mode signal is found to be invalid, the service interface for the vehicle's local scenario is kept as the target service interface. When the mode signal becomes invalid due to transmission interference, module failure, or an undefined state, the vehicle's central control unit will not trigger any local scenario switching. This allows the vehicle to continue communicating using the currently known and verified service interface, avoiding communication interruptions or service degradation caused by transient signal anomalies, and ensuring the availability of the vehicle's networking functions. Invalid signals may represent untrusted or unresolvable inputs. In this case, the last known and correct security configuration, i.e., the current service interface, is selected to be maintained. This effectively prevents the vehicle from being misled to connect to the wrong region or an unverified server, avoiding the risk of data leakage.

[0069] Optionally, embodiments of this application provide a key application device 200, wherein the second determining unit is specifically used for: Set the vehicle's default network connection status and default network connection method. When the received default network connection status is valid, determine the default network connection method as the target network connection method. Configure the vehicle's alternative network connection method. If the received default network connection status is invalid, determine the target network connection method as the alternative network connection method.

[0070] In this embodiment, a default network connection state and default network connection method are set for the vehicle. When the received default network connection state is valid, the default network connection method is determined as the target network connection method. By using the preset default network connection method as the preferred path, the system can quickly and stably use this method for communication when the default connection state is valid, ensuring connection reliability in most common scenarios. An alternative network connection method is also set for the vehicle. When the received default network connection state is invalid, the alternative network connection method is determined as the target network connection method. When the default connection state is invalid, the system automatically and seamlessly switches to the alternative network connection method, avoiding communication interruption due to a single network failure. This allows the vehicle's central control unit to select the best available connection path based on the network status without manual intervention, improving the user experience.

[0071] Optionally, embodiments of this application provide a key application device 200, which further includes: The sixth determining unit (not shown) is used to terminate the key application process and log when the target service interface is detected to be non-existent.

[0072] In this embodiment, the existence of the target service interface is verified before initiating an actual network request. If the target service interface is detected as non-existent, such as due to configuration errors or an empty interface URL, the process is immediately terminated. This avoids meaningless consumption of system resources and network traffic, such as initiating network connections to invalid addresses and constructing request packets, thus improving overall efficiency. The vehicle's central control unit records the key application time, the invalid interface URL, the vehicle mode at the time, and the geographical context in a log, allowing technicians to quickly troubleshoot the cause of the fault without having to reproduce the scene.

[0073] Figure 7 A schematic diagram of the hardware structure of the vehicle provided in an embodiment of this application is shown.

[0074] The vehicle equipment may include a processor 601 and a memory 602 storing computer program instructions.

[0075] Specifically, the processor 601 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.

[0076] Memory 602 may include mass storage for data or instructions. For example, and not limitingly, memory 602 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 602 may include removable or non-removable (or fixed) media. Where appropriate, memory 602 may be internal or external to the integrated gateway disaster recovery vehicle. In a particular embodiment, memory 602 is non-volatile solid-state memory.

[0077] Memory may include read-only memory (ROM), random access memory (RAM), disk storage media vehicles, optical storage media vehicles, flash memory vehicles, and electrical, optical, or other physical / tangible memory storage vehicles. Thus, typically, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory vehicles) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the methods according to one aspect of this disclosure.

[0078] The processor 601 implements any of the key application methods in the above embodiments by reading and executing computer program instructions stored in the memory 602.

[0079] In one example, the vehicle equipment may also include a communication interface 603 and a bus 610. Wherein, as... Figure 7 As shown, the processor 601, memory 602, and communication interface 603 are connected through bus 610 and complete communication with each other.

[0080] The communication interface 603 is mainly used to realize communication between various modules, devices, units and / or vehicles in the embodiments of this application.

[0081] Bus 610 includes hardware, software, or both, that couples components of vehicle equipment together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 610 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, any suitable bus or interconnect is contemplated herein.

[0082] Furthermore, in conjunction with the key application methods in the above embodiments, this application embodiment can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the key application methods in the above embodiments.

[0083] This application also provides a computer program product, including a computer program that, when executed by a processor, implements any of the key application methods described in the above embodiments.

[0084] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.

[0085] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0086] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0087] The above are merely specific embodiments of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.

Claims

1. A key request method, characterized in that, The central control unit used in vehicles includes: In response to a vehicle entering the key application process, the vehicle's mode signal is obtained, and based on the mapping relationship between the vehicle's mode signal and the regional scene, the service interface of the regional scene is determined as the target service interface. Determine the target network connection method based on the vehicle's network connection status; Initiate a key request based on the target network connection method and the target service interface.

2. The method according to claim 1, characterized in that, In response to the vehicle entering the key application process, the vehicle's mode signal is obtained. Based on the mapping relationship between the vehicle's mode signal and the regional scene, the service interface of the vehicle's regional scene is determined as the target service interface, specifically including: When the mode signal of the vehicle is obtained as a valid value, the regional scene mapped by the valid value is determined as the current regional scene of the vehicle. Based on the current geographic scenario of the vehicle, the service interface of the current geographic scenario of the vehicle is determined as the target service interface.

3. The method according to claim 2, characterized in that, When the mode signal of the vehicle is obtained as a valid value, the geographical scene mapped by the valid value is determined as the current geographical scene of the vehicle, specifically including: When the valid value represents the production status, the current geographic scenario of the vehicle is switched from the vehicle's delivery geographic scenario to the vehicle's production geographic scenario. When the valid value indicates a delivery status, the current geographic scenario of the vehicle is switched from the vehicle's production geographic scenario to the vehicle's delivery geographic scenario.

4. The method according to claim 1, characterized in that, The step of responding to the vehicle entering the key application process, obtaining the vehicle's mode signal, and determining the service interface of the vehicle's regional scene as the target service interface based on the mapping relationship between the vehicle's mode signal and the regional scene, further includes: When the mode signal of the vehicle is found to be invalid, the service interface of the vehicle's geographical scene is kept as the target service interface.

5. The method according to claim 1, characterized in that, Based on the vehicle's network connection status, the target network connection method is determined, specifically including: Set the vehicle's default network connection status and default network connection method. When the received default network connection status is valid, determine the default network connection method as the target network connection method. The vehicle is configured to use an alternative network connection method. If the received default network connection status is invalid, the alternative network connection method is determined to be the target network connection method.

6. The method according to claim 1, characterized in that, The step of initiating a key request based on the target network connection method and the target service interface also includes: If the target service interface is detected to be non-existent, the key application process is terminated and a log is recorded.

7. The method according to claim 1, characterized in that, After initiating a key request based on the target network connection method and the target service interface, the method further includes: The key obtained from the target service interface is used to decrypt the data, and the decrypted key is stored in a secure storage area.

8. A key request device, characterized in that, The device includes: The first determining unit is used to respond to the vehicle entering the key application process, obtain the vehicle's mode signal, and determine the service interface of the regional scene as the target service interface based on the mapping relationship between the vehicle's mode signal and the regional scene. The second determining unit is used to determine the target network connection method based on the vehicle's network connection status; The processing unit is used to initiate a key request based on the target network connection method and the target service interface.

9. A vehicle, characterized in that, The vehicle includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the key request method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions that, when executed by a processor, implement the key request method as described in any one of claims 1 to 7.

11. A computer program product, characterized in that, When the instructions in the computer program product are executed by the vehicle's processor, the vehicle performs the key request method as described in any one of claims 1 to 7.