Method for applying smart devices in a vehicle, vehicle and cloud platform
By implementing identity verification and activation authentication mechanisms on in-vehicle terminals and cloud platforms, the security and reliability issues of integrating smart devices with vehicles are resolved, enabling secure interaction and visual control between smart devices and vehicles, and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREAT WALL MOTOR CO LTD
- Filing Date
- 2023-04-03
- Publication Date
- 2026-05-19
AI Technical Summary
How to use smart devices reasonably and correctly in vehicles, especially when smart devices are integrated with the vehicle system, to ensure safety and reliability and avoid problems such as illegally obtaining root privileges or physical button control.
The vehicle terminal authenticates the smart device and opens the vehicle control interface after successful authentication. Combined with the cloud platform's activation authentication and key matching mechanism, it ensures secure interaction and functional control between the smart device and the vehicle.
It enables secure and reliable connection and integration between smart devices and vehicles, provides a visual control method, and improves user experience and efficiency.
Smart Images

Figure CN116546058B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicles, and more specifically, to a method for applying a smart device in a vehicle, the vehicle, and a cloud platform in the field of vehicles. Background Technology
[0002] Currently, in the automotive industry, with the continuous development of technology, more and more intelligent devices are gradually replacing the original hardware products in vehicles. For example, users can use high-performance high-definition panoramic cameras to replace the original ordinary-definition panoramic cameras in vehicles.
[0003] In one possible implementation, when a smart device replaces the vehicle's original hardware, the first method is through illegal means (such as cracking the Controller Area Network (CAN) data or obtaining root access to the original vehicle system). The second method is to control the smart device using a terminal device or physical buttons, but this method cannot integrate the smart device with the vehicle's infotainment system.
[0004] In conclusion, how to use smart devices in vehicles reasonably and correctly has become an urgent problem to be solved. Summary of the Invention
[0005] This application provides a method, vehicle, and cloud platform for applying smart devices in a vehicle. When a smart device needs to be applied in a vehicle, the method opens the vehicle control interface to the smart device after the smart device is authenticated. This allows vehicle users to control the smart device on the in-vehicle terminal based on the vehicle control interface, thereby achieving the effect of integrating smart devices and vehicles.
[0006] In a first aspect, a method for applying a smart device in a vehicle is provided. The method is executed by an in-vehicle terminal and includes: authenticating the smart device in response to a connection request sent by the smart device; opening the vehicle control interface corresponding to the smart device to the smart device if the smart device is successfully authenticated; and controlling the smart device to perform corresponding vehicle functions through the vehicle control interface.
[0007] In the above technical solution, when applying smart devices to vehicles, this application proposes an application method executed by an in-vehicle terminal. Specifically, in response to a connection request sent by the smart device, the smart device is authenticated. This authentication of the smart device during the connection process between the in-vehicle terminal and the smart device ensures the security and reliability of the connection. Furthermore, after successful authentication, the in-vehicle terminal can open the vehicle control interface corresponding to the smart device and control the smart device to perform corresponding vehicle functions based on the vehicle control interface. This process allows users to interact with the smart device through the vehicle control interface on the in-vehicle terminal, thereby achieving the integration of smart devices and vehicle systems and providing users with a better user experience.
[0008] In conjunction with the first aspect, in some possible implementations, controlling the smart device to perform the corresponding vehicle function through the vehicle control interface includes: generating a target adjustment command in response to a configuration operation on the control interface of the smart device, the control interface being used to control the smart device to perform the vehicle function; and sending the target adjustment command to the smart device through the vehicle control interface to control the smart device to perform the target vehicle function corresponding to the target adjustment command.
[0009] The above technical solution proposes a method for controlling smart devices through a vehicle control interface. Specifically, the vehicle terminal can respond to the user's configuration operations on the smart device's control interface, generate a target adjustment command, and send the target adjustment command to the smart device through the vehicle control interface, so that the smart device can execute the corresponding target vehicle function. This process, by controlling the smart device through the control interface, provides users with a visual control method that is more intuitive and clear, making the control process of the smart device more efficient and simple.
[0010] In conjunction with the first aspect and the above implementation methods, in some possible implementation methods, when the connection request is the first connection request, before opening the vehicle control interface corresponding to the smart device to the smart device after the smart device's authentication is successful, the method further includes: obtaining the authorization information of the smart device; sending the authorization information to the cloud platform so that the cloud platform can activate and authenticate the smart device based on the authorization information and preset authorization information; receiving the configuration parameters of the smart device sent by the cloud platform after the smart device's activation and authentication is successful, the configuration parameters being used to indicate the vehicle functions that the smart device can perform; and determining the vehicle control interface corresponding to the smart device based on the configuration parameters.
[0011] In the above technical solution, when a smart device needs to connect to the vehicle terminal for the first time, this application requires activation and authentication of the smart device. Specifically, the vehicle terminal obtains the authorization information of the smart device and further sends this authorization information to the cloud platform, so that the cloud platform can activate and authenticate the smart device based on this authorization information and preset authorization information. The activation and authentication method described above provides a reliable security foundation for the interaction between the smart device and the vehicle terminal when the smart device needs to connect to the vehicle terminal for the first time, ensuring the security of the vehicle terminal. Furthermore, when the smart device's activation and authentication are successful, the vehicle terminal can receive the configuration parameters of the smart device sent by the cloud platform and, based on the configuration parameters, pre-determine the vehicle control interface corresponding to the smart device, so as to subsequently open the vehicle control interface to the smart device.
[0012] In conjunction with the first aspect and the above implementation method, the method further includes: visualizing the configuration parameters to generate the control interface.
[0013] In the above technical solution, the in-vehicle terminal can visualize the configuration parameters to obtain the control interface of the smart device, allowing the user to control the smart device based on the control interface. This achieves the effect of quickly realizing vehicle functions by controlling the smart device, thus improving the user experience when using the smart device to realize vehicle functions.
[0014] In conjunction with the first aspect and the above implementation methods, in some possible implementation methods, the authentication of the smart device includes: generating a first random code based on the authorization information; sending the encrypted first random code to the smart device so that the smart device can decrypt the encrypted first random code to obtain a first key and a second random code; decrypting the encrypted second random code in response to the encrypted second random code sent by the smart device to obtain a second key; determining whether the first key and the second key match; and if the first key and the second key match, determining that the smart device has been successfully authenticated.
[0015] In the above technical solution, during the initial connection between the smart device and the vehicle terminal, after the cloud platform successfully activates and authenticates the smart device, this application requires further authentication of the smart device. Specifically, the vehicle terminal can first send an encrypted first random code to the smart device. The smart device decrypts the encrypted first random code to obtain a first key and a second random code, and then sends the encrypted second random code back to the vehicle terminal. The vehicle terminal further decrypts the encrypted second random code to obtain a second key. Finally, it determines whether the first key and the second key match. If they match, the smart device is considered to have successfully authenticated. This method of initial authentication of the smart device using keys ensures the security of the connection process between the smart device and the vehicle terminal.
[0016] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the method further includes: generating preset authentication information for the smart device based on the second key and the identifier of the smart device in the authorization information, wherein the preset authentication information is used to authenticate the smart device when it is not the first time it is connected to the smart device.
[0017] In combination with the first aspect and the above implementation methods, in some possible implementation methods, when the connection request is not the first connection request, the process of authenticating the smart device in response to the connection request sent by the smart device includes: in response to the first connection request, obtaining the authentication information of the smart device; determining whether the authentication information matches the preset authentication information; and if the authentication information matches the preset authentication information, determining that the smart device has been successfully authenticated.
[0018] In the above technical solution, after the vehicle terminal successfully authenticates the smart device for the first time, it can generate preset authentication information for the smart device. This preset authentication information includes a second key and the smart device's identifier. The next time a connection request is received from the smart device, the vehicle terminal can quickly authenticate the smart device using the acquired authentication information and the preset authentication information. This ensures both the security of subsequent connections between the smart device and the vehicle terminal and the efficiency of subsequent authentication processes.
[0019] In summary, this application proposes a method for applying smart devices to vehicles, executed by an in-vehicle terminal. Specifically, in response to a connection request sent by the smart device, the smart device is authenticated. This initial authentication ensures the security and reliability of the connection between the in-vehicle terminal and the smart device. Furthermore, after successful authentication, the in-vehicle terminal can open the vehicle control interface corresponding to the smart device and control the smart device to perform corresponding vehicle functions based on this interface. This process allows users to interact with the smart device through the vehicle control interface on the in-vehicle terminal, achieving a fusion of smart devices and vehicle-mounted systems, and providing a better user experience.
[0020] Furthermore, this application proposes a method for controlling smart devices through a vehicle control interface. Specifically, the vehicle terminal can respond to the user's configuration operations on the smart device's control interface, generate a target adjustment command, and send the target adjustment command to the smart device through the vehicle control interface, so that the smart device executes the corresponding target vehicle function. This process, by controlling the smart device through the control interface, provides the user with a visual control method that is more intuitive and clear, making the control process of the smart device more efficient and simple.
[0021] When a smart device needs to connect to the vehicle terminal for the first time, this application requires activation and authentication of the smart device. Specifically, the vehicle terminal obtains the authorization information of the smart device and further sends this authorization information to the cloud platform, so that the cloud platform can activate and authenticate the smart device based on this authorization information and preset authorization information. The activation and authentication method described above provides a reliable security foundation for the interaction between the smart device and the vehicle terminal when the smart device needs to connect to the vehicle terminal for the first time, ensuring the security of the vehicle terminal. Furthermore, once the smart device's activation and authentication are successful, the vehicle terminal can receive the configuration parameters of the smart device sent by the cloud platform and, based on these parameters, pre-determine the corresponding vehicle control interface for the smart device, so that the vehicle control interface can be subsequently opened to the smart device.
[0022] During the generation of the control interface, the in-vehicle terminal can visualize the configuration parameters to obtain the control interface for the smart device. This allows users to control the smart device based on the control interface, enabling them to quickly realize vehicle functions through the smart device. This improves the user experience when using the smart device to perform vehicle functions.
[0023] During the initial connection between a smart device and an in-vehicle terminal, after the cloud platform successfully activates and authenticates the smart device, this application requires further authentication of the smart device. Specifically, the in-vehicle terminal can first send an encrypted first random code to the smart device. The smart device decrypts the encrypted first random code to obtain a first key and a second random code, and then sends the encrypted second random code back to the in-vehicle terminal. The in-vehicle terminal further decrypts the encrypted second random code to obtain a second key. Finally, it determines whether the first key and the second key match. If they match, the smart device is considered successfully authenticated. This method of initial authentication of the smart device using keys ensures the security of the connection process between the smart device and the in-vehicle terminal.
[0024] After the in-vehicle terminal successfully authenticates the smart device for the first time, it can generate preset authentication information for the smart device. This preset authentication information includes a second key and the smart device's identifier. The next time a connection request is received from the smart device, the in-vehicle terminal can quickly authenticate the smart device using the acquired authentication information and the preset authentication information. This ensures both the security of subsequent connections between the smart device and the in-vehicle terminal and the efficiency of subsequent authentication processes.
[0025] Secondly, a method for applying a smart device in a vehicle is provided. This method is executed by a cloud platform and includes: receiving authorization information of the smart device sent by an in-vehicle terminal; activating and authenticating the smart device based on the authorization information and preset authorization information; and, if the activation and authentication of the smart device is successful, sending configuration parameters of the smart device to the in-vehicle terminal so that the in-vehicle terminal can determine the vehicle control interface corresponding to the smart device based on the configuration parameters, wherein the configuration parameters are used to indicate the vehicle functions that the smart device can perform.
[0026] In the above technical solution, when a smart device needs to connect to the vehicle terminal for the first time, this application requires activation and authentication of the smart device. Specifically, the cloud platform receives the authorization information of the smart device sent by the vehicle terminal, and activates and authenticates the smart device based on this authorization information and preset authorization information. This activation and authentication method provides a reliable security foundation for the interaction between the smart device and the vehicle terminal when the smart device needs to connect to the vehicle terminal for the first time, ensuring the security of the vehicle terminal. Furthermore, once the smart device's activation and authentication are successful, the cloud platform can also send the smart device's configuration parameters to the vehicle terminal, allowing the vehicle terminal to pre-determine the vehicle control interface corresponding to the smart device based on the configuration parameters, facilitating the subsequent opening of the vehicle control interface to the smart device.
[0027] In conjunction with the second aspect and the above implementation methods, in some possible implementation methods, the method further includes: responding to an authorization information acquisition request sent by a development terminal, determining the preset authorization information, wherein the development terminal is used to develop the smart device; sending the preset authorization information to the development terminal; receiving the configuration parameters and test report sent by the development terminal; and determining that the smart device can establish a connection with the vehicle terminal if the configuration parameters and test report of the smart device meet preset conditions.
[0028] The above technical solution proposes a method for obtaining authorization information of smart devices. Specifically, the cloud platform responds to the authorization information acquisition request sent by the development terminal, determines the preset authorization information of the smart device, and sends the preset authorization information to the development terminal. This process of the cloud platform distributing the preset authorization information of smart devices ensures the uniqueness of each smart device during the identity verification process, providing security for subsequent activation authentication and identity verification processes.
[0029] Furthermore, after the development terminal completes the development of the smart device, the cloud platform can receive the configuration parameters and test reports sent by the development terminal. Only when the configuration parameters and test reports of the smart device meet preset conditions will the cloud platform determine that the smart device can establish a connection with the vehicle terminal. This verification of the smart device's development based on configuration parameters and test reports ensures the safety and accuracy of the user experience during the application of the smart device.
[0030] In summary, when a smart device needs to connect to the vehicle terminal for the first time, this application requires activation and authentication of the smart device. Specifically, the cloud platform receives the authorization information of the smart device sent by the vehicle terminal, and activates and authenticates the smart device based on this authorization information and preset authorization information. The activation and authentication method described above provides a reliable security foundation for the interaction between the smart device and the vehicle terminal when the smart device needs to connect to the vehicle terminal for the first time, ensuring the security of the vehicle terminal. Furthermore, once the smart device's activation and authentication are successful, the cloud platform can also send the smart device's configuration parameters to the vehicle terminal, allowing the vehicle terminal to pre-determine the corresponding vehicle control interface based on the configuration parameters, facilitating the subsequent opening of the vehicle control interface to the smart device.
[0031] Specifically, this application also proposes a method for obtaining authorization information of smart devices. Specifically, the cloud platform responds to an authorization information retrieval request sent by the development terminal, determines the preset authorization information of the smart device, and sends the preset authorization information to the development terminal. The process of the cloud platform distributing the preset authorization information of smart devices ensures the uniqueness of each smart device during the identity verification process, providing security for subsequent activation authentication and identity verification processes of smart devices.
[0032] Furthermore, after the development terminal completes the development of the smart device, the cloud platform can receive the configuration parameters and test reports sent by the development terminal. Only when the configuration parameters and test reports of the smart device meet preset conditions will the cloud platform determine that the smart device can establish a connection with the vehicle terminal. This verification of the smart device's development based on configuration parameters and test reports ensures the safety and accuracy of the user experience during the application of the smart device.
[0033] Thirdly, a device for applying a smart device in a vehicle is provided, the device comprising: an authentication module for authenticating the smart device in response to a connection request sent by the smart device; an opening module for opening the vehicle control interface corresponding to the smart device to the smart device when the smart device is successfully authenticated; and a control module for controlling the smart device to perform corresponding vehicle functions through the vehicle control interface.
[0034] In conjunction with the third aspect, in some possible implementations, the control module is specifically used to: generate a target adjustment command in response to a configuration operation on the control interface of the smart device, the control interface being used to control the smart device to perform vehicle functions; and send the target adjustment command to the smart device through the vehicle control interface to control the smart device to perform the target vehicle function corresponding to the target adjustment command.
[0035] In conjunction with the third aspect and the above implementation methods, in some possible implementation methods, when the connection request is the first connection request, before opening the vehicle control interface corresponding to the smart device to the smart device after the smart device's authentication is successful, the device further includes: a first processing module, configured to obtain the authorization information of the smart device; send the authorization information to the cloud platform so that the cloud platform can activate and authenticate the smart device based on the authorization information and preset authorization information; when the smart device's activation and authentication are successful, receive the configuration parameters of the smart device sent by the cloud platform, the configuration parameters being used to indicate the vehicle functions that the smart device can perform; and determine the vehicle control interface corresponding to the smart device based on the configuration parameters.
[0036] In conjunction with the third aspect and the above implementation methods, in some possible implementation methods, the device further includes: a second processing module, used to perform visualization processing on the configuration parameters and generate the control interface.
[0037] In conjunction with the third aspect and the above implementation methods, in some possible implementation methods, the authentication module is specifically used to: generate a first random code based on the authorization information; send the encrypted first random code to the smart device so that the smart device can decrypt the encrypted first random code to obtain a first key and a second random code; in response to the encrypted second random code sent by the smart device, decrypt the encrypted second random code to obtain a second key; determine whether the first key and the second key match; and if the first key and the second key match, determine that the smart device has passed authentication.
[0038] In conjunction with the third aspect and the above implementation methods, in some possible implementation methods, the device further includes: a third processing module, configured to generate preset authentication information for the smart device based on the second key and the identifier of the smart device in the authorization information, the preset authentication information being used to authenticate the smart device in cases where the connection with the smart device is not the first time.
[0039] In conjunction with the third aspect and the above implementation methods, in some possible implementation methods, when the connection request is not the first connection request, the authentication module is further configured to: in response to the first connection request, obtain the authentication information of the smart device; determine whether the authentication information matches the preset authentication information; and if the authentication information matches the preset authentication information, determine that the smart device has passed authentication.
[0040] Fourthly, a device for applying a smart device in a vehicle is provided. The device includes: a receiving module for receiving authorization information and preset authorization information of the smart device sent by an in-vehicle terminal; an authentication module for activating and authenticating the smart device based on the authorization information; and a sending module for sending configuration parameters of the smart device to the in-vehicle terminal when the smart device passes the activation and authentication, so that the in-vehicle terminal can determine the vehicle control interface corresponding to the smart device based on the configuration parameters, wherein the configuration parameters are used to indicate the vehicle functions that the smart device can perform.
[0041] In conjunction with the fourth aspect, in some possible implementations, the device further includes: a processing module, configured to respond to an authorization information acquisition request sent by a development terminal, determine the preset authorization information, wherein the development terminal is used to develop the smart device; send the preset authorization information to the development terminal; receive the configuration parameters and test report sent by the development terminal; and, if the configuration parameters and test report of the smart device meet preset conditions, determine that the smart device can establish a connection with the vehicle terminal.
[0042] Fifthly, a system for the application of intelligent devices in a vehicle is provided, the system comprising: an in-vehicle terminal and a cloud platform. The in-vehicle terminal is capable of executing the methods described in the first aspect or any possible implementation thereof, and the cloud platform is capable of executing the methods described in the second aspect or any possible implementation thereof.
[0043] Optionally, the system also includes a development terminal, which is used to send an authorization information acquisition request to the cloud platform; receive the authorization information of the smart device sent by the cloud platform; and send the configuration parameters and test report of the smart device to the cloud platform.
[0044] Sixthly, a vehicle is provided, the vehicle including an on-board terminal, the on-board terminal including a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, causing the on-board terminal to perform the methods of the first aspect or any possible implementation thereof.
[0045] In a seventh aspect, a cloud platform is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, causing the cloud platform to perform the methods in the second aspect or any possible implementation thereof.
[0046] Eighthly, a computer program product is provided, comprising: computer program code, which, when run on a computer, causes the computer to perform the method in the first aspect or any possible implementation thereof, or the method in the second aspect or any possible implementation thereof.
[0047] Ninthly, a computer-readable storage medium is provided that stores computer program code, which, when executed on a computer, causes the computer to perform the method of the first aspect or any possible implementation thereof, or the method of the second aspect or any possible implementation thereof. Attached Figure Description
[0048] Figure 1 This is a schematic diagram of the structure of a system for the application of a smart device in a vehicle, provided in an embodiment of this application;
[0049] Figure 2 This is a schematic flowchart illustrating a method for applying a smart device in a vehicle, as provided in an embodiment of this application.
[0050] Figure 3 This is a schematic diagram of the structure of a device for the application of a smart device in a vehicle, as provided in an embodiment of this application;
[0051] Figure 4 This is a schematic diagram of the structure of another intelligent device used in a vehicle, as provided in an embodiment of this application.
[0052] Figure 5 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application;
[0053] Figure 6 This is a schematic diagram of the structure of a cloud platform provided in an embodiment of this application. Detailed Implementation
[0054] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0055] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
[0056] Figure 1 This is a schematic diagram of the structure of a system for the application of a smart device in a vehicle, as provided in an embodiment of this application.
[0057] For example, such as Figure 1 As shown, the system 100 includes: a development terminal 101, a smart device 102, a cloud platform 103, and a vehicle-mounted terminal 104. The cloud platform 103 can communicate with both the development terminal 101 and the vehicle-mounted terminal 104, and the smart device 102 can communicate with both the development terminal 101 and the vehicle-mounted terminal 104.
[0058] The development terminal 101 is used to enable developers to develop smart devices 102, configure the configuration parameters of smart devices 102, and send authorization information acquisition requests to the cloud platform 103.
[0059] The cloud platform 103 is used to determine the preset authorization information of the smart device 102 after receiving the authorization information acquisition request sent by the development terminal 101, and return the preset authorization information of the smart device 102 to the development terminal 101.
[0060] The cloud platform 103 is also used to receive the configuration parameters and test reports of the smart device 102 sent by the development terminal 101, and to determine whether the configuration parameters and test reports of the smart device 102 meet the conditions, so as to determine whether the smart device 102 is qualified.
[0061] When the smart device 102 needs to connect with the vehicle terminal 104 for the first time, the cloud platform 103 can also activate and authenticate the smart device 102 based on the authorization information of the smart device 102. After the activation and authentication are successful, the cloud platform 103 sends the configuration parameters of the smart device 102 to the vehicle terminal 104.
[0062] The vehicle terminal 104 is used to receive configuration parameters from the smart device 102 and perform initial authentication on the smart device 102. Upon receiving a subsequent connection request from the smart device 102, the vehicle terminal 104 also performs local authentication on the smart device 102.
[0063] After introducing the system for applying intelligent devices in vehicles, the following section provides a detailed description of a method for applying intelligent devices in vehicles, based on an embodiment of this application.
[0064] Figure 2 This is a schematic flowchart illustrating a method for applying a smart device in a vehicle, as provided in an embodiment of this application.
[0065] For example, such as Figure 2 As shown, the method 200 includes:
[0066] It should be understood that the application of intelligent devices in vehicles can be divided into two parts: the first part is the development process of intelligent device 102; the second part is the application process of intelligent device 102. The following is a detailed description of the application process of intelligent devices in vehicles based on these two parts.
[0067] Part 1: The Development Process of Smart Device 102
[0068] 201. Development terminal 101 sends an authorization information acquisition request to cloud platform 103. Development terminal 101 is used to develop smart device 102.
[0069] It should be understood that as users age their vehicles and as the automotive industry's production technology continues to evolve, the pre-installed hardware (or devices) in vehicles become outdated. To meet the needs of different driving scenarios, users typically purchase aftermarket smart devices (hereinafter referred to as "smart devices") to control their vehicles and achieve various functions. For example, when the smart device 102 is a high-definition camera, it can replace the vehicle's original standard-definition camera to achieve better image capture of the vehicle's surroundings.
[0070] Optionally, the smart device 102 can be a high-definition camera, projector, microphone, fragrance device, power bank, head-up display (HUD) device, etc. This application embodiment does not limit the type and number of smart devices 102.
[0071] Optionally, cloud platform 103 can be referred to as a "crowdsourcing platform".
[0072] The crowdsourcing platform is based on the open-source architecture of the whole vehicle and can gradually open up access to the whole vehicle to developers, providing them with rich vehicle condition data, fine-grained access control, detailed development documentation and standard development tools.
[0073] In this embodiment, the development terminal 101 is used to enable developers to develop smart devices 102. During the development phase of each smart device 102, developers can first register a development account on the development terminal 101. After the development account registration is complete, the developer initiates a connection request to the cloud platform 103 through the development terminal 101, requesting to establish a connection with the cloud platform 103.
[0074] For example, developers can register on development terminal 101 using their own employee ID. After registration, development terminal 101 can send a connection request to cloud platform 103. This connection request includes the developer's employee ID and the Internet Protocol (IP) address of development terminal 101. Cloud platform 103 matches the developer's employee ID with multiple employee IDs stored in its database, and compares the development terminal 101's IP address with multiple IP addresses stored in its database. If both matches are successful, cloud platform 103 establishes a connection with development terminal 101.
[0075] Optionally, the connection method includes Wireless Fidelity (Wi-Fi, also known as wireless communication) connection, Bluetooth connection, Bluetooth Low Energy (BLE) connection, Zigbee connection, etc., and this application embodiment does not limit this.
[0076] After establishing a connection with the cloud platform 103, the cloud platform 103 can distribute the configuration file to the development terminal 101. The configuration file specifies the functions of the smart device 102 that developers can configure, as well as the configuration rules during the configuration process. Developers can configure the configuration parameters of the smart device 102 (i.e., obtain the object model of the smart device 102) in the development terminal 101 based on the functions, parameters, application scenarios, and configuration file of the smart device 102.
[0077] The object model of the smart device 102 can be understood as the digital representation of the smart device 102 in the cloud, which describes what the smart device 102 is, what functions it can perform, and what information it can provide.
[0078] Furthermore, developers can convert the object model of smart device 102 into ThingSpecification Language (TSL), where TSL can specifically be JavaScript ObjectNotation (JSON) text. Then, the JSON text is saved to the storage unit of smart device 102 to obtain smart device 102 with complete configuration parameters.
[0079] After the configuration parameters are completed, the developer can send an authorization information acquisition request to the cloud platform 103 through the development terminal 101, requesting the cloud platform 103 to allocate preset authorization information to the smart device 102.
[0080] 202, the cloud platform 103 responds to the authorization information acquisition request sent by the development terminal 101 and determines the preset authorization information of the smart device 102.
[0081] After receiving the authorization information acquisition request sent by the development terminal 101, the cloud platform 103 can assign a unique preset authorization information to the smart device 102 based on the authorization information acquisition request.
[0082] Optionally, the authorization information includes the product serial number (SN, also known as machine code, authentication code, registration application code, etc.) and the authentication code.
[0083] For example, developers can input information such as the device model, version number, production batch, and production date of the smart device 102 into the request interface of the development terminal 101, and send this information to the cloud platform 103 as an authorization information request. In response to the authorization information request, the cloud platform 103 retrieves the relevant information of the smart device 102 from the request and generates the SN1 of the smart device 102 according to a preset arrangement rule. Furthermore, the cloud platform 103 can also generate the Authen Code1 of the smart device 102. SN1 + Authen Code1 constitutes the preset authorization information of the smart device 102.
[0084] The above technical solution proposes a method for obtaining authorization information of smart devices. Specifically, the cloud platform responds to the authorization information acquisition request sent by the development terminal, determines the preset authorization information of the smart device, and sends the preset authorization information to the development terminal. This process of the cloud platform distributing the preset authorization information of smart devices ensures the uniqueness of each smart device during the identity verification process, providing security for subsequent activation authentication and identity verification processes.
[0085] 203, the cloud platform 103 sends the preset authorization information to the development terminal 101.
[0086] In step 202, after determining the preset authorization information of the smart device 102, the cloud platform 103 can send the preset authorization information of the smart device 102 to the development terminal 101.
[0087] For example, when the development terminal 101 sends an authorization information acquisition request to the cloud platform 103, the authorization information acquisition request also includes the IP address of the development terminal 101. Therefore, the cloud platform 103 can send the preset authorization information of the smart device 102 to the development terminal 101 based on the IP address of the development terminal 101.
[0088] 204. The development terminal 101 sends the configuration parameters and test report of the smart device 102 to the cloud platform 103. The configuration parameters are used to indicate the vehicle functions that the smart device 102 can perform.
[0089] It should be understood that in step 201, the configuration parameters are configured in conjunction with the application scenario, functions, and parameters of the smart device 102. Therefore, after the developers configure the configuration parameters of the smart device 102 on the development terminal 101, they have defined the vehicle functions that the smart device 102 can apply.
[0090] Furthermore, after configuration, the smart device 102 can be tested under different application scenarios and periodic conditions based on its configuration parameters. A test report for the smart device 102 is then obtained after the test.
[0091] For example, the testing process specifically includes software testing and hardware testing of the smart device 102. Hardware testing includes testing whether the smart device 102 can communicate with vehicles of different models and brands, and whether the results obtained are consistent when applied to vehicles of different models and brands. Software testing includes testing the application in the in-vehicle terminal, specifically used to control the smart device 102, on at least one operating system to determine whether the application can run; verifying whether the application meets the application's requirements; obtaining feedback information from the application, and adjusting the application based on the feedback information.
[0092] Furthermore, during communication with the cloud platform 103, the development terminal 101 has already stored the IP address of the terminal where the cloud platform 103 is located. Therefore, developers can upload the configuration parameters and test reports of the smart device 102 to the cloud platform 103 through the development terminal 101 based on the IP address of the terminal where the cloud platform 103 is located.
[0093] 205. The cloud platform 103 receives the configuration parameters and test report of the smart device 102 sent by the development terminal 101. If the configuration parameters and test report of the smart device 102 meet the preset conditions, it determines that the smart device 102 can establish a connection with the vehicle terminal 104.
[0094] For example, after receiving the configuration parameters and test report from the smart device 102, the cloud platform 103 determines whether the configuration parameters and test report of the smart device 102 meet the conditions. For example, whether the range of the configuration parameters exceeds the preset threshold, whether the test parameters in the test report meet the requirements, and whether the test results of the test cases are consistent with the expected results, etc.
[0095] If the configuration parameters and test report meet the preset conditions, the cloud platform 103 determines that the development process of the smart device 102 is qualified and meets the conditions for establishing a connection with the vehicle terminal 104. In other words, the smart device 102 meets the conditions for use in a vehicle.
[0096] In the above technical solution, after the development terminal completes the development of the smart device, the cloud platform can also receive the configuration parameters and test reports sent by the development terminal. Only when the configuration parameters and test reports of the smart device meet preset conditions will the cloud platform determine that the smart device can establish a connection with the vehicle terminal. This verification of the smart device's development based on configuration parameters and test reports ensures the safety and accuracy of the user's experience during the application of the smart device, guaranteeing a positive user experience.
[0097] Part Two: The Application Process of Smart Device 102
[0098] 206. The smart device 102 sends an initial connection request to the vehicle terminal 104.
[0099] It should be understood that in the embodiments of this application, the interaction between the vehicle terminal 104 and the smart device 102 is mainly achieved through the target application installed in the vehicle terminal 104. For example, when the smart device 102 is a fragrance device, the user can configure the target application to control the smart device 102 to release a preset fragrance.
[0100] Optionally, the target application in this application embodiment may be referred to as the "Coffee Life" application.
[0101] In one possible implementation, after the cloud platform 103 determines, by analyzing the configuration parameters and test reports of the smart device 102, that the smart device 102 meets the conditions for establishing a connection with the vehicle terminal 104, the cloud platform 103 can send an instruction to the development terminal 101 to inform it that the smart device 102 can be sold to vehicle users.
[0102] Furthermore, when a user first uses the smart device 102 in a vehicle, they can request to connect to the in-vehicle terminal 104 by sending an initial connection request.
[0103] For example, a user can connect to the corresponding module in the vehicle terminal 104 through the communication modules of the smart device 102, such as the mobile communication module (e.g., cellular data), Bluetooth communication module, Wi-Fi communication module, etc. Responding to the user's connection configuration operation, the smart device 102 generates a corresponding initial connection request and sends the connection request to the vehicle terminal 104.
[0104] 207. In response to the first connection request sent by the smart device 102, the vehicle terminal 104 obtains the authorization information of the smart device 102.
[0105] For example, when the smart device 102 sends an initial connection request to the vehicle terminal 104, it may include the authorization information of the smart device 102 in the initial connection request. The vehicle terminal 104 can directly obtain the authorization information of the smart device 102 from the initial connection request.
[0106] In another example, when the smart device 102 sends an initial connection request to the vehicle terminal 104, the initial connection request does not carry authorization information of the smart device 102. In response to the initial connection request, the vehicle terminal 104 may send an authorization information acquisition request to the smart device 102, and the smart device 102 may send authorization information to the vehicle terminal 104 in response to the authorization information acquisition request sent by the vehicle terminal 104.
[0107] 208. The vehicle terminal 104 sends the authorization information of the smart device 102 to the cloud platform 103.
[0108] In step 207, the vehicle terminal 104 obtains the authorization information of the smart device 102, which can be represented as SN2 + Authen Code2. Further, the vehicle terminal 104 can send the authorization information (SN2 + Authen Code2) of the smart device 102 to the cloud platform 103, enabling the cloud platform 103 to perform initial connection activation authentication on the smart device 102 based on the authorization information.
[0109] 209. The cloud platform 103 receives the authorization information of the smart device 102 sent by the vehicle terminal 104, and performs activation authentication on the smart device 102 according to the authorization information of the smart device 102.
[0110] 210. Once the smart device 102 has been successfully activated and authenticated, the cloud platform 103 sends the configuration parameters of the smart device 102 to the vehicle terminal 104.
[0111] After receiving the authorization information of the smart device 102 sent by the vehicle terminal 104, the cloud platform 103 can activate and authenticate the smart device 102.
[0112] In one possible implementation, the cloud platform 103 can activate and authenticate the smart device 102 based on the aforementioned authorization information and preset authorization information.
[0113] For example, in step 202, after responding to the authorization information acquisition request, the cloud platform 103 pre-assigns preset authorization information—SN1+Authen Code1—to the smart device 102. Therefore, when it receives the authorization information—SN2+Authen Code2—from the smart device 102 sent by the vehicle terminal 104, the cloud platform 103 can compare or match the preset authorization information with the received authorization information from the smart device 102 one by one.
[0114] If SN1 and SN2, Authen Code1 and Authen Code2 are all successfully matched, the cloud platform 103 determines that the smart device 102 has successfully activated and authenticated.
[0115] If authentication and activation are successful, the cloud platform 103 can send the configuration parameters of the smart device to the vehicle terminal 104.
[0116] In the above technical solution, when a smart device needs to connect to the vehicle terminal for the first time, this application requires activation and authentication of the smart device. Specifically, the cloud platform receives the authorization information of the smart device sent by the vehicle terminal, and performs activation and authentication on the smart device based on this authorization information and preset authorization information. This activation and authentication method provides a reliable security foundation for the interaction between the smart device and the vehicle terminal when the smart device needs to connect to the vehicle terminal for the first time, ensuring the security of the vehicle terminal.
[0117] 211. The vehicle terminal 104 receives the configuration parameters of the smart device sent by the cloud platform 103, and determines the vehicle control interface corresponding to the smart device based on the configuration parameters.
[0118] It should be understood that the vehicle terminal 104 contains a target application that can support access to all devices in the vehicle. In other words, the target application stores all the control interfaces in the vehicle.
[0119] Optionally, the vehicle control interface can be either a standard control interface or a vehicle original control interface.
[0120] In one scenario, when the vehicle control interface is a standard interface, the control interface can be understood as follows: for the same vehicle data, the corresponding control interface differs across different vehicle models. For example, regarding vehicle speed, the vehicle control interface corresponding to vehicle speed for model A is API1, while that for model B is API2. The configuration personnel can encapsulate and strengthen these API1 and API2 to obtain a standard control interface API3 applicable to all vehicle models, and store it in the target application. In other words, the smart device 102 can obtain the speed of both model A and model B through interface API3.
[0121] When the vehicle control interface type is the original vehicle control interface, it can be understood as the vehicle's own control interface. For example, for vehicle model A, the vehicle control interface corresponding to vehicle speed is API1, and for vehicle model B, the vehicle control interface corresponding to vehicle speed is API2. That is to say, when the intelligent device 102 obtains the vehicle speed of vehicle model A, it needs to use interface API1, and when it obtains the vehicle speed of vehicle model B, it needs to use interface API2.
[0122] It should be understood that during the development of the smart device 102, the developers have pre-configured which vehicle control interfaces the smart device 102 needs to connect to in the vehicle. Therefore, after receiving the configuration parameters of the smart device 102, the vehicle terminal 104 can determine which vehicle control interfaces the smart device 102 needs to connect to.
[0123] In the above technical solution, when the smart device is activated and authenticated, the vehicle terminal can receive the configuration parameters of the smart device sent by the cloud platform, and determine the vehicle control interface corresponding to the smart device in advance according to the configuration parameters, so as to open the vehicle control interface to the smart device in the future.
[0124] 212. The vehicle terminal 104 performs visualization processing on the configuration parameters of the smart device 102 to generate a control interface for the smart device. The control interface is used to control the smart device to perform vehicle functions.
[0125] For example, if the smart device 102 is a projector, the configuration parameters of the smart device 102 may include brightness (0-100%), resolution (854*480, 1280*720, 1920*1080, etc.), contrast ratio (400:1, 500:1, 1500:1, etc.), screen ratio (16:9, 4:3, 1:1, etc.), status (on / off), etc.
[0126] After obtaining the above configuration parameters, the vehicle terminal 104 can perform visualization processing on the parameters of the above different functions, and convert the data into graphics or images to be displayed on the control interface.
[0127] It should be understood that after receiving the configuration parameters from the smart device 102, the vehicle terminal 104 can simultaneously determine the vehicle control interface corresponding to the smart device 102 and perform visualization processing on the configuration parameters; alternatively, it can first perform visualization processing on the configuration parameters and then determine the vehicle control interface corresponding to the smart device 102; or it can first determine the vehicle control interface corresponding to the smart device 102 and then perform visualization processing on the configuration parameters. In other words, in this embodiment, the order of steps 211 and 212 is not limited.
[0128] In the above technical solution, during the generation of the control interface, the vehicle terminal can visualize the configuration parameters to obtain the control interface of the smart device. This allows users to control the smart device based on the control interface, achieving the effect of quickly realizing vehicle functions by controlling the smart device. This improves the user experience when using the smart device to realize vehicle functions.
[0129] 213, The vehicle terminal 104 performs the first identity verification of the smart device 102.
[0130] It should be understood that, in order to ensure the security of the vehicle terminal 104, after the cloud platform 103 has successfully activated and authenticated the smart device 102, the vehicle terminal 102 still needs to further authenticate the smart device 102 locally.
[0131] In one possible implementation, the initial authentication of the smart device 102 by the vehicle terminal 104 includes:
[0132] Based on the authorization information, generate the first random code;
[0133] The encrypted first random code is sent to the smart device 102 so that the smart device 102 can decrypt the encrypted first random code to obtain the first key and the second random code.
[0134] In response to the encrypted second random code sent by the smart device, the encrypted second random code is decrypted to obtain the second key;
[0135] Determine if the first key and the second key match;
[0136] If the first key and the second key match, the smart device is confirmed to be successfully authenticated.
[0137] For example, after the cloud platform 103 successfully activates and authenticates the smart device 102, it can send the configuration parameters of the smart device 102 to the vehicle terminal 104. Upon receiving the configuration parameters of the smart device 102, the vehicle terminal 104 further performs initial authentication of the smart device 102.
[0138] Specifically, when the vehicle terminal 104 verifies the identity of the smart device 102 for the first time, it can generate a first random code, encrypt the first random code using an encryption tool, and send the encrypted first random code to the smart device 102.
[0139] For the smart device 102, after receiving the encrypted first random code sent by the vehicle terminal 104, it will use the algorithm in the SDK to decrypt the encrypted first random code to obtain the second random code, and at the same time generate a permanent first key (Key1). The smart device 102 encrypts the second random code using the algorithm in the SDK and sends the encrypted second random code to the vehicle terminal 104.
[0140] The vehicle terminal 104 uses the original first random code to decrypt the encrypted second random code to obtain the second key (Key2). It then matches the decrypted Key2 with Key1 in the smart device 102.
[0141] If the match is successful, the vehicle terminal 104 determines that the smart device 102 has passed the initial authentication and establishes a connection with the smart device 102.
[0142] Furthermore, the vehicle terminal 104 can generate preset authentication information based on Key2 and the identifier of the smart device 102. The identifier of the smart device 102 is SN2, and the preset authentication information is SN2+Key2.
[0143] In the above technical solution, during the initial connection between the smart device and the vehicle terminal, after the cloud platform successfully activates and authenticates the smart device, this application requires further authentication of the smart device. Specifically, the vehicle terminal can first send an encrypted first random code to the smart device. The smart device decrypts the encrypted first random code to obtain a first key and a second random code, and then sends the encrypted second random code back to the vehicle terminal. The vehicle terminal further decrypts the encrypted second random code to obtain a second key. Finally, it determines whether the first key and the second key match. If they match, the smart device is considered to have successfully authenticated. This method of initial authentication of the smart device using keys ensures the security of the connection process between the smart device and the vehicle terminal.
[0144] 214. When the smart device 102 is successfully authenticated, the vehicle terminal 104 opens the vehicle control interface corresponding to the smart device 102 to the smart device 102.
[0145] For example, in step 211, the vehicle terminal 104 has determined the vehicle control interface corresponding to the smart device 102 based on the configuration parameters of the smart device 102. If the smart device 102 is successfully authenticated, the vehicle terminal 104 can grant the smart device 102 access to the vehicle control interface corresponding to the smart device 102, enabling the smart device 102 to interact with the vehicle.
[0146] For example, if the smart device 102 is a projector, and it needs to obtain the display content of the multimedia host in the vehicle during vehicle application, then the corresponding vehicle control interface can be the multimedia video interface and audio interface.
[0147] 215, in response to configuration operations on the control interface of the smart device, generates target adjustment instructions.
[0148] 216. The target adjustment command is sent to the intelligent device 102 through the vehicle control interface to control the intelligent device to execute the target vehicle function corresponding to the target adjustment command.
[0149] 217. The intelligent device 102 executes the target vehicle function according to the target adjustment command.
[0150] In one possible implementation, the vehicle terminal 104 can control the smart device 102 to perform different vehicle functions based on the user's configuration operations on the control interface.
[0151] For example, if the smart device 102 is a projector, the user can configure the projector to play the next track through any of the following configuration operations: click operation, voice command, or gesture adjustment operation, on the control interface of the projector in the vehicle terminal 104. In response to the click operation, voice command, or gesture adjustment operation, the vehicle terminal 104 generates a target adjustment command and sends the target adjustment command to the projector through the audio control interface, so that the projector and the audio playback device in the vehicle play the next track synchronously.
[0152] The above technical solution proposes a method for controlling smart devices through a vehicle control interface. Specifically, the vehicle terminal can respond to the user's configuration operations on the smart device's control interface, generate a target adjustment command, and send the target adjustment command to the smart device through the vehicle control interface, so that the smart device can execute the corresponding target vehicle function. This process, by controlling the smart device through the control interface, provides users with a visual control method that is more intuitive and clear, making the control process of the smart device more efficient and simple.
[0153] 218. The smart device 102 sends a non-first connection request to the vehicle terminal 104.
[0154] In one possible implementation, after the initial connection ends, when the smart device 102 needs to connect to the vehicle terminal 104 again, it can send a non-initial connection request to the vehicle terminal 104, which is the same as the process of sending the initial connection request, and will not be described in detail here.
[0155] 219. In response to a non-first-time connection request sent by the smart device 102, the vehicle terminal 104 obtains the authentication information of the smart device 102 and performs identity verification on the smart device 102.
[0156] The authentication information of smart device 102 is the SN3 and Key1 sent by smart device 102.
[0157] It should be understood that after the initial connection, the vehicle terminal 104 has already stored the preset authentication information—SN2+Key2. For subsequent connections, activation and authentication by the cloud platform 103 are not required; only authentication of the smart device 102 through the vehicle terminal 104 is needed.
[0158] For example, during the authentication process of a non-first-time connection, the vehicle terminal 104 receives a non-first-time connection request, which carries the authentication information of the smart device 102. The vehicle terminal 104 then obtains the authentication information of the smart device 102.
[0159] In another example, the vehicle terminal 104 receives a non-first-time connection request, which does not carry authentication information for the smart device 102. In response to this non-first-time connection request, the vehicle terminal 104 sends an authentication information retrieval request to the smart device 102. In response to this authentication information retrieval request, the smart device 102 sends its authentication information to the vehicle terminal 104.
[0160] Furthermore, the vehicle terminal 104 matches the authentication information of the smart device 102 obtained with the stored preset authentication information. If the match is successful, it is determined that the smart device 102 has passed authentication.
[0161] For example, the vehicle terminal 104 matches the SN3+Key1 of the smart device 102 with the preset authentication information (SN2+Key2) one by one. When the matching is successful at the same time, the vehicle terminal 104 determines that the smart device 102 has been authenticated.
[0162] Furthermore, similar to the initial authentication success scenario, the vehicle terminal 104 can establish a connection with the smart device 102 after the smart device 102 has successfully authenticated, and open the pre-determined vehicle control interface of the smart device 102 to the smart device 102.
[0163] In the above technical solution, after the vehicle terminal successfully authenticates the smart device for the first time, it can generate preset authentication information for the smart device. This preset authentication information includes a second key and the smart device's identifier. The next time a connection request is received from the smart device, the vehicle terminal can quickly authenticate the smart device using the acquired authentication information and the preset authentication information. This ensures both the security of subsequent connections between the smart device and the vehicle terminal and the efficiency of subsequent authentication processes.
[0164] Figure 3 This is a schematic diagram of the structure of a device for the application of a smart device in a vehicle, as provided in an embodiment of this application.
[0165] For example, such as Figure 3 As shown, the device 300 includes:
[0166] The authentication module 301 is used to authenticate the smart device in response to a connection request sent by the smart device;
[0167] The open module 302 is used to open the vehicle control interface corresponding to the smart device to the smart device when the smart device is successfully authenticated;
[0168] The control module 303 is used to control the smart device through the vehicle control interface to realize the corresponding vehicle functions.
[0169] In one possible implementation, the control module 303 is specifically used to: generate a target adjustment command in response to a configuration operation on the control interface of the smart device, the control interface being used to control the smart device to perform vehicle functions; and send the target adjustment command to the smart device through the vehicle control interface to control the smart device to perform the target vehicle function corresponding to the target adjustment command.
[0170] Optionally, if the connection request is the first connection request, before opening the vehicle control interface corresponding to the smart device to the smart device after the smart device's authentication is successful, the device further includes: a first processing module, configured to obtain the authorization information of the smart device; send the authorization information to the cloud platform so that the cloud platform can activate and authenticate the smart device based on the authorization information and preset authorization information; if the smart device's activation and authentication are successful, receive the configuration parameters of the smart device sent by the cloud platform, the configuration parameters being used to indicate the vehicle functions that the smart device can perform; and determine the vehicle control interface corresponding to the smart device based on the configuration parameters.
[0171] Optionally, the device further includes a second processing module for visualizing the configuration parameters and generating the control interface.
[0172] In one possible implementation, the authentication module 301 is specifically configured to: generate a first random code based on the authorization information; send the encrypted first random code to the smart device, so that the smart device can decrypt the encrypted first random code to obtain a first key and a second random code; in response to the encrypted second random code sent by the smart device, decrypt the encrypted second random code to obtain a second key; determine whether the first key and the second key match; and if the first key and the second key match, determine that the smart device has passed authentication.
[0173] Optionally, the device further includes a third processing module, configured to generate preset authentication information for the smart device based on the second key and the identifier of the smart device in the authorization information, the preset authentication information being used to authenticate the smart device in cases where the connection with the smart device is not the first time.
[0174] In one possible implementation, if the connection request is not the first connection request, the authentication module 301 is further configured to: in response to the first connection request, obtain the authentication information of the smart device; determine whether the authentication information matches the preset authentication information; and if the authentication information matches the preset authentication information, determine that the smart device has been authenticated.
[0175] Figure 4 This is a schematic diagram of the structure of another intelligent device used in a vehicle, as provided in an embodiment of this application.
[0176] For example, such as Figure 4 As shown, the device 400 includes:
[0177] The receiving module 401 is used to receive authorization information of smart devices sent by the vehicle terminal;
[0178] The authentication module 402 is used to perform activation authentication on the smart device based on the authorization information and the preset authorization information;
[0179] The sending module 403 is used to send the configuration parameters of the smart device to the vehicle terminal when the smart device is successfully activated and authenticated, so that the vehicle terminal can determine the vehicle control interface corresponding to the smart device based on the configuration parameters. The configuration parameters are used to indicate the vehicle functions that the smart device can perform.
[0180] Optionally, the device further includes: a processing module, configured to respond to an authorization information acquisition request sent by a development terminal, determine the preset authorization information, wherein the development terminal is used to develop the smart device; send the preset authorization information to the development terminal; receive the configuration parameters and test report sent by the development terminal; and, if the configuration parameters and test report of the smart device meet preset conditions, determine that the smart device can establish a connection with the vehicle terminal.
[0181] Figure 5 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application.
[0182] For example, such as Figure 5 As shown, the vehicle 500 includes an on-board terminal 104. The on-board terminal 104 includes a memory 501 and a processor 502. The memory 501 stores executable program code 5011, and the processor 502 is used to call and execute the executable program code 5011 to perform a method for applying a smart device in a vehicle.
[0183] Figure 6 This is a schematic diagram of the structure of a cloud platform provided in an embodiment of this application.
[0184] For example, such as Figure 6 As shown, the cloud platform 103 includes a memory 601 and a processor 602. The memory 601 stores executable program code 6011, and the processor 602 is used to call and execute the executable program code 6011 to perform a method for applying a smart device in a vehicle.
[0185] This embodiment can divide the vehicle and cloud platform into functional modules according to the above method example. For example, each module can correspond to a separate functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0186] When each functional module is divided according to its corresponding function, the vehicle may include: an authentication module, an access module, a control module, etc. The cloud platform may include: a receiving module, an authentication module, a sending module, etc. It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here.
[0187] The vehicle and cloud platform provided in this embodiment are used to execute the above-described method for applying intelligent devices in a vehicle, and thus can achieve the same effect as the above-described implementation method.
[0188] When using integrated units, the vehicle and cloud platform can include a processing module and a storage module. The processing module is used to control and manage the actions of the vehicle and cloud platform. The storage module supports the execution of mutual program code and data between the vehicle and cloud platform.
[0189] The processing module may be a processor or a controller, which can implement or execute various exemplary logic blocks, modules, and circuits as disclosed in this application. The processor may also be a combination of computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and microprocessors, etc., and the storage module may be a memory.
[0190] This embodiment also provides a computer-readable storage medium storing computer program code. When the computer program code is run on a computer, the computer executes the above-described method steps to implement a method for applying a smart device in a vehicle as described in the above embodiment.
[0191] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement a method for applying a smart device in a vehicle as described in the above embodiment.
[0192] In addition, the vehicle terminal or cloud platform provided in the embodiments of this application may specifically be a chip, component or module. The vehicle terminal or cloud platform may include a connected processor and a memory. The memory is used to store instructions. When the vehicle terminal or cloud platform is running, the processor can call and execute the instructions to make the chip execute a method of applying a smart device in a vehicle as described in the above embodiments.
[0193] In this embodiment, the vehicle or cloud platform, computer-readable storage medium, computer program product or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.
[0194] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0195] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0196] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for applying intelligent devices in a vehicle, characterized in that, The method is executed by an in-vehicle terminal, and the method includes: In response to a connection request sent by a smart device, the smart device is authenticated. Once the smart device is successfully authenticated, the vehicle control interface corresponding to the smart device is opened to the smart device. The vehicle control interface is used to control the smart device to achieve the corresponding vehicle functions. Wherein, if the connection request is a first-time connection request, before opening the vehicle control interface corresponding to the smart device to the smart device after the smart device authentication is successful, the method further includes: Obtain the authorization information of the smart device; The authorization information is sent to the cloud platform so that the cloud platform can activate and authenticate the smart device based on the authorization information and preset authorization information. If the smart device is successfully activated and authenticated, the system receives configuration parameters of the smart device sent by the cloud platform. These configuration parameters are used to indicate the vehicle functions that the smart device can perform. Based on the configuration parameters, the vehicle control interface corresponding to the smart device is determined.
2. The method according to claim 1, characterized in that, The method of controlling the smart device through the vehicle control interface to realize the corresponding vehicle functions includes: In response to a configuration operation on the control interface of the smart device, a target adjustment command is generated, the control interface being used to control the smart device to perform vehicle functions; The target adjustment command is sent to the smart device through the vehicle control interface, so that the smart device executes the target vehicle function corresponding to the target adjustment command.
3. The method according to claim 1, characterized in that, The method further includes: The configuration parameters are visualized to generate a control interface.
4. The method according to claim 1, characterized in that, The authentication of the smart device includes: Based on the authorization information, a first random code is generated; The encrypted first random code is sent to the smart device so that the smart device can decrypt the encrypted first random code to obtain the first key and the second random code. In response to the encrypted second random code sent by the smart device, the encrypted second random code is decrypted to obtain the second key; Determine whether the first key and the second key match; If the first key and the second key match, the smart device is deemed to have been successfully authenticated.
5. The method according to claim 4, characterized in that, The method further includes: Based on the second key and the identifier of the smart device in the authorization information, preset authentication information for the smart device is generated. The preset authentication information is used to authenticate the smart device when it is not the first time it is connected to the smart device.
6. The method according to claim 1, characterized in that, When the connection request is not the first connection request, the step of authenticating the smart device in response to the connection request sent by the smart device includes: In response to the non-first connection request, obtain the authentication information of the smart device; Determine whether the authentication information matches the preset authentication information; If the authentication information matches the preset authentication information, the smart device is deemed to have passed authentication.
7. A method for applying intelligent devices in a vehicle, characterized in that, The method is executed by a cloud platform, and the method includes: Receive authorization information from smart devices sent by the vehicle terminal; The smart device is activated and authenticated based on the authorization information and the preset authorization information. When the smart device is successfully activated and authenticated, the configuration parameters of the smart device are sent to the vehicle terminal so that the vehicle terminal can determine the vehicle control interface corresponding to the smart device based on the configuration parameters. The configuration parameters are used to indicate the vehicle functions that the smart device can perform.
8. A vehicle, characterized in that, The vehicle includes an on-board terminal, the on-board terminal comprising: Memory, used to store executable program code; A processor is configured to call and run the executable program code from the memory, causing the vehicle terminal to perform the method as described in any one of claims 1 to 6.
9. A cloud platform, characterized in that, The cloud platform includes: Memory, used to store executable program code; A processor is configured to call and run the executable program code from the memory, causing the cloud platform to perform the method as described in claim 7.