Intelligent hardware access method and device, vehicle and readable storage medium

By determining and initiating the safe first interaction task in the vehicle, the problem of difficulty in using smart hardware when authentication fails is solved, improving the safety of the vehicle, ensuring that users can use smart hardware to a certain extent, and avoiding potential dangers .

CN118690416APending Publication Date: 2024-09-24GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410794663.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In the vehicle, when the smart hardware authentication fails, the host terminal disconnects from the smart hardware, making it difficult for the user to use the smart hardware and possibly causing security risks.

Method used

When the host terminal is connected to the smart hardware, if the authentication fails, it determines the safe first interactive task, starts the task, prohibits other interactive tasks, and allows the user to use some functions of the smart hardware through safe interactive tasks to avoid potential dangers.

Benefits of technology

When the smart hardware authentication fails, ensure that the user can use some functions to improve the safety of the vehicle and prevent other interactive tasks from causing danger to the vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690416A
    Figure CN118690416A
Patent Text Reader

Abstract

The invention provides an intelligent hardware access method and device, a vehicle and a readable storage medium, and is applied to the technical field of vehicles. The method comprises the steps that under the condition that intelligent hardware access is detected, the intelligent hardware is authenticated to obtain an authentication result, if the authentication result indicates that the authentication of the intelligent hardware is not passed, a safe first interaction task is determined from multiple interaction tasks between a host terminal and the intelligent hardware, the first interaction task is started, and the first interaction task is sent to the host terminal; and other interaction tasks except the first interaction task are forbidden. When the authentication of the intelligent hardware is not passed, the host terminal and the intelligent hardware can interact through the first interaction task, so that a user can use part of functions supported by the first interaction task, and other interaction tasks can be prevented from possibly causing danger to the vehicle, thereby improving the safety of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and more specifically, to an access method, device, vehicle and readable storage medium for intelligent hardware in the field of vehicle technology. Background Art

[0002] At present, the host terminal in the vehicle usually supports the access of smart hardware such as car refrigerators, smart speakers and smart seats, so that users can control the smart hardware in the vehicle through the host terminal.

[0003] In order to improve the safety of the vehicle, when accessing the smart hardware, the host terminal usually authenticates the smart hardware. If the authentication is successful, the smart hardware is accessed and interacts with the smart hardware normally. If the authentication fails, the direct connection with the smart hardware is disconnected. This method can ensure the safety of the vehicle to a certain extent, but it will make it difficult for users to use the smart hardware when the smart hardware authentication fails. Summary of the invention

[0004] The present application provides a method, device, vehicle and readable storage medium for accessing smart hardware. The method can enable a user to use some functions of the smart hardware when the smart hardware authentication fails.

[0005] In a first aspect, a method for accessing intelligent hardware is provided, the method being applied to a host terminal, comprising:

[0006] When it is detected that the intelligent hardware is connected to the host terminal, the intelligent hardware is authenticated to obtain an authentication result;

[0007] If the authentication result indicates that the intelligent hardware fails the authentication, determining a safe first interactive task from a plurality of interactive tasks between the host terminal and the intelligent hardware;

[0008] The first interactive task is started, and other interactive tasks except the first interactive task among the multiple interactive tasks are prohibited.

[0009] In the embodiment of the present application, when the host terminal detects the access of the intelligent hardware, it authenticates the intelligent hardware to obtain the authentication result. If the authentication result indicates that the intelligent hardware authentication fails, a safe first interactive task is determined from multiple interactive tasks between the host terminal and the intelligent hardware, the first interactive task is started, and other interactive tasks except the first interactive task are prohibited. When the intelligent hardware authentication fails, the host terminal and the intelligent hardware can interact through the first interactive task, which not only allows the user to use some functions supported by the first interactive task, but also avoids possible dangers to the vehicle caused by other interactive tasks, thereby improving the safety of the vehicle.

[0010] In combination with the first aspect, in some possible implementations, determining a safe first interaction task from multiple interaction tasks between the host terminal and the intelligent hardware includes: determining an interaction task of a preset type from the multiple interaction tasks as the first interaction task; or, determining an interaction task marked as safe from the multiple interaction tasks as the first interaction task; or, determining an interaction task having a security level greater than or equal to a preset level from the multiple interaction tasks as the first interaction task.

[0011] In an embodiment of the present application, when determining that an interactive task of a preset type is a safe task, it is convenient to distinguish different interactive tasks according to the type of interactive task, so that safe and unsafe interactive tasks can be quickly distinguished. When determining an interactive task marked as safe as a first interactive task, it is convenient for the user to mark the safe interactive task according to the security of the interactive task. Determining an interactive task with a security level greater than or equal to a preset level as the first interactive task can quickly distinguish safe and unsafe interactive tasks.

[0012] In combination with the first aspect, in some possible implementations, before determining the interactive task marked as safe among the multiple interactive tasks as the first interactive task, the method also includes: displaying a marking interface; wherein the marking interface includes multiple identification information, and the multiple identification information correspond one-to-one to the multiple interactive tasks; in response to a user's first operation on target identification information among the multiple identification information, marking the interactive task corresponding to the target identification information as a safe interactive task.

[0013] In an embodiment of the present application, a marking interface including identification information of the interactive task is displayed, and the user can mark some or all of the multiple interactive tasks between the intelligent hardware and the host terminal as safe interactive tasks through the marking interface. This makes it convenient for the user to directly use the functions provided by the intelligent hardware through the safe interactive tasks after confirming that the interactive tasks are safe.

[0014] In combination with the first aspect, in some possible implementations, the method also includes: displaying a control interface of the intelligent hardware; wherein the control interface includes controls corresponding to the multiple interactive tasks respectively; controlling the controls corresponding to the first interactive task to be in a valid state, and controlling the controls corresponding to the other interactive tasks to be in an invalid state.

[0015] In an embodiment of the present application, after determining a safe first interactive task, the host terminal can control the controls corresponding to the first interactive task to be in a valid state, and control the controls corresponding to other interactive tasks to be in an invalid state, so that the user can control the smart hardware to implement some functions through the controls corresponding to the first interactive task, thereby facilitating the user to use some functions of the smart hardware.

[0016] In combination with the first aspect, in some possible implementations, the method further includes: if a second operation on the target control is received, displaying a confirmation interface; wherein the target control is a control in an invalid state in the control interface, and the confirmation interface is used to confirm whether to change the state of the target control to a valid state; if a confirmation instruction based on input on the confirmation interface is received, changing the interactive task corresponding to the target control to the first interactive task, and controlling the target control to be in a valid state.

[0017] In an embodiment of the present application, when a user needs to control smart hardware through a control in an invalid state, the user can activate the control in an invalid state through a confirmation interface, which can facilitate the user to activate the invalid control according to actual needs and control the smart hardware through the activated control.

[0018] In combination with the first aspect, in some possible implementations, changing the interactive task corresponding to the target control to the first interactive task and controlling the target control to be in a valid state includes: determining whether the interactive task corresponding to the target control includes a target command; wherein the target command is a command sent by the intelligent hardware to the host terminal; if the target command is not included, changing the interactive task corresponding to the target control to the first interactive task, and controlling the target control to be in a valid state.

[0019] In an embodiment of the present application, when a user needs to activate a control that is in an invalid state, when it is determined that the interactive content of the interactive task corresponding to the control does not include the command sent by the intelligent hardware to the host terminal, activating the invalid control can prevent possible safety risks, thereby improving the safety of the vehicle.

[0020] In combination with the first aspect, in some possible implementations, the authenticating the smart hardware to obtain an authentication result includes: if the smart hardware is a preset smart hardware, determining whether the host terminal is integrated with the control interface that matches the smart hardware; if the host terminal is integrated with the control interface that matches the smart hardware, authenticating the smart hardware to obtain the authentication result.

[0021] In an embodiment of the present application, when it is determined that the smart hardware is preset smart hardware and a control interface matching the smart hardware is integrated in the host terminal, the smart hardware is authenticated to obtain an authentication result, which can reduce invalid authentications and thus reduce the power consumption of the host terminal.

[0022] In a second aspect, a smart hardware access device is provided, the device being arranged in a host terminal and comprising:

[0023] An authentication module, configured to authenticate the intelligent hardware to obtain an authentication result when detecting that the intelligent hardware is connected to the host terminal;

[0024] a determination module, configured to determine a safe first interaction task from a plurality of interaction tasks between the host terminal and the intelligent hardware if the authentication result indicates that the intelligent hardware authentication has not passed;

[0025] A starting module is used to start the first interactive task and prohibit other interactive tasks among the multiple interactive tasks except the first interactive task.

[0026] In a third aspect, a vehicle is provided, the vehicle comprising:

[0027] A memory for storing executable program codes;

[0028] A processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in any possible implementation of the first aspect above.

[0029] In a fourth aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is run on a computer, the computer executes the method in any possible implementation manner of the above-mentioned first aspect.

[0030] In a fifth aspect, a readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a flowchart of the steps of a method for accessing intelligent hardware provided in an embodiment of the present application;

[0032] Figure 2 is a schematic diagram of a marking interface provided in an embodiment of the present application;

[0033] Figure 3 is a schematic diagram of a control interface provided in an embodiment of the present application;

[0034] Figure 4 is a schematic diagram of a confirmation interface provided in an embodiment of the present application;

[0035] Figure 5 It is a flow chart of a smart hardware access method provided in an embodiment of the present application;

[0036] Figure 6 It is a structural diagram of an access device for intelligent hardware provided in an embodiment of the present application;

[0037] Figure 7 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0039] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying 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 the features.

[0040] With the continuous development of electronic technology, there are more and more intelligent hardware in vehicles. Intelligent hardware can be connected to the head unit terminal (HUT) in the vehicle and exchange various information and / or commands with the host terminal, so that users can control the intelligent hardware through the host terminal, or control the host terminal through the intelligent hardware.

[0041] When the host terminal supports the access of smart hardware, it is convenient for users to control the smart hardware and the host terminal, but it may also cause certain security risks. For example, when users replace smart hardware, the newly connected smart hardware may be smart hardware that has not been security certified. This type of smart hardware may steal user data from the host terminal during the interaction with the host terminal, resulting in user data leakage, and may also input illegal commands to the host terminal, causing the host terminal to malfunction.

[0042] In order to ensure the safety of the vehicle, the common practice is that when the intelligent hardware is connected, the host terminal authenticates the intelligent hardware. If the authentication is successful, the host terminal interacts with the intelligent hardware normally. If the authentication is not successful, the host terminal disconnects the intelligent hardware. Although this method can ensure the safety of the vehicle to a certain extent, it may make it difficult for users to use the intelligent hardware when the intelligent hardware authentication fails.

[0043] In order to solve the above technical problems, an embodiment of the present application provides a method for accessing smart hardware. In this method, when the host terminal is accessing the smart hardware, if the smart hardware authentication fails, a safe first interactive task is determined from multiple interactive tasks between the host terminal and the smart hardware, and then the first interactive task is started and other interactive tasks are prohibited. In this way, when there is a certain security risk in the smart hardware, only the safe first interactive task is performed between the host terminal and the smart hardware, and other interactive tasks that may be risky are prohibited, so that the user can use some functions of the smart hardware through the safe first interactive task when the smart hardware authentication fails, and at the same time, other interactive tasks can be avoided from causing danger to the vehicle, so that the vehicle has a higher safety.

[0044] Among them, the interactive task can also be called an interactive item, each interactive item corresponds to an interactive content that needs to be interacted, and the interactive content may include information and / or commands. Taking the smart seat as an example, after the smart seat is connected to the host terminal, the interactive items between the host terminal and the smart seat include obtaining the seat temperature of the smart seat, obtaining the seat belt status on the smart seat, obtaining the International Standards Organization (International Standards Organization) reminder status of the smart seat, and obtaining the remaining power of the smart seat. Each interactive item is an interactive task, and the status information such as seat temperature, seat belt status, reminder status and remaining power is the information included in the interactive content corresponding to the interactive task.

[0045] Similarly, after the smart seat is connected to the host terminal, the host terminal needs to perform multiple controls on the smart seat, such as controlling the heating function switch of the smart seat, controlling the ventilation function switch of the smart seat, controlling the ambient light switch in the smart seat, etc. The interaction matters include sending a heating switch command for the heating function to the smart seat, sending a ventilation switch command for the ventilation function, and sending a light switch command for the ambient light. The heating switch command, ventilation switch command and light switch command are the commands included in the interaction content corresponding to the interaction task.

[0046] The above are only illustrative examples. After the intelligent hardware is connected to the host terminal, the intelligent hardware may also send commands to the host terminal, and the host terminal may also send relevant information to the intelligent hardware.

[0047] See also Figure 1 , Figure 1 1 is a flowchart of the steps of a smart hardware access method provided by an embodiment of the present application. The execution subject of the method may be a host terminal in a vehicle, such as Figure 1 As shown, the method may include the following steps:

[0048] Step 101: When it is detected that the intelligent hardware is connected to the host terminal, the intelligent hardware is authenticated to obtain an authentication result.

[0049] Exemplarily, the host terminal can be connected to the intelligent hardware by wired communication. The host terminal can be integrated with a communication interface, such as a Universal Serial Bus (USB) interface, and the intelligent hardware can be connected to the host terminal by USB interface. After detecting that the USB interface is connected to the intelligent hardware, the host terminal first interacts with the intelligent hardware and authenticates the intelligent hardware.

[0050] Alternatively, the host terminal may also be connected to the intelligent hardware by wireless communication, such as Bluetooth communication. After startup, the host terminal may send a paging signal to the surroundings. After startup, the intelligent hardware may monitor the paging signal and send a response signal to the host terminal after receiving the paging signal. After receiving the response signal, the host terminal sends a connection request to the intelligent hardware. After receiving the connection request, the intelligent hardware confirms the connection request and establishes a communication connection with the host terminal. Afterwards, the host terminal may authenticate the intelligent hardware.

[0051] In one embodiment, the smart hardware that has passed the security authentication can store the hardware information of the smart hardware in the server. The hardware information may include but is not limited to one or more of the type information of the smart hardware, the unique identifier (ID), the product serial number (SN), and the media access control address (MAC). In the process of authenticating the smart hardware, the host terminal can first obtain the hardware information of the smart hardware from the smart hardware, and then send a verification request to the server, and the verification request includes the hardware information of the smart hardware. After receiving the verification request, if the server determines that the hardware information in the verification request is pre-stored in the server, it determines that the smart hardware is safe hardware. At this time, it can send a first notification message to the host terminal, and the first notification message is used to identify the smart hardware as safe hardware. After receiving the first notification message, the host terminal determines that the authentication result of the smart hardware is passed.

[0052] On the contrary, when the server determines that the hardware information of the intelligent hardware is not stored, it determines that the intelligent hardware is unsafe and can send a second notification message to the host terminal, the second notification message is used to identify that the intelligent hardware is dangerous. After receiving the second notification message, the host terminal determines that the authentication result of the intelligent hardware is not passed.

[0053] It should be understood that the above are merely illustrative examples, and the communication method between the intelligent hardware and the host terminal, and the authentication method of the host terminal to the intelligent hardware may include but are not limited to the above examples.

[0054] Step 102: If the authentication result indicates that the intelligent hardware authentication fails, a safe first interactive task is determined from a plurality of interactive tasks between the host terminal and the intelligent hardware.

[0055] The safe first interactive task refers to an interactive task without risk, and other interactive tasks relative to the first interactive task may have certain risks.

[0056] In some embodiments, for each interactive task, according to the interactive content corresponding to the interactive task, the interactive task that does not include a command in the corresponding interactive content can be determined as a safe first interactive task, and the interactive task that includes a command in the corresponding interactive content can be determined as other interactive tasks. Taking a smart seat as an example, when the interactive task that does not include a command in the corresponding interactive content is the first interactive task, the first interactive task includes obtaining seat temperature, obtaining seat belt status, obtaining reminder status, and obtaining remaining power, and the other interactive tasks are interactive tasks of sending a heating switch command, sending a ventilation switch command, and sending a light switch command to the smart seat.

[0057] Exemplarily, after establishing a communication connection with the host terminal, the intelligent hardware may send task information of the interactive tasks possessed by the intelligent hardware to the host terminal. The task information may indicate whether the interactive content corresponding to the interactive task includes only information, only commands, or both information and commands. After the host terminal authenticates the intelligent hardware and obtains the authentication result, if the authentication result is not passed, the task information of each interactive task sent by the intelligent hardware may be obtained. For each interactive task, if the interactive information indicates that the interactive content includes only information, the interactive task is determined to be the first interactive task; if the interactive information indicates that the interactive content includes only commands, or both commands and information, the interactive task is determined to be another interactive task.

[0058] In other embodiments, for each interactive task, according to the sending direction of the interactive content corresponding to the interactive task, the interactive task whose sending direction is intelligent hardware can be determined as the first interactive task, and the interactive task whose sending direction is the host terminal can be determined as other interactive tasks. The sending direction is intelligent hardware means that the interactive content is sent from the host terminal to the intelligent hardware, and the sending direction is the host terminal means that the interactive content is sent from the intelligent hardware to the host terminal. Taking the smart seat as an example, when the interactive task whose sending direction is intelligent hardware is determined as the first interactive task, the above-mentioned interactive tasks of obtaining the seat temperature, obtaining the seat belt status, obtaining the reminder status and obtaining the remaining power, as well as sending the heating switch command, sending the ventilation switch command and sending the light switch command are all other tasks, that is, there is no first interactive task between the smart seat and the host terminal.

[0059] In actual applications, when the interactive task in which the interactive content is sent to the smart hardware is determined as the first interactive task, and the interactive task in which the interactive content is sent to the host terminal is determined as the other interactive tasks, the smart hardware can be prevented from sending information and / or commands to the host terminal when the smart hardware authentication fails, thereby preventing the smart hardware from manipulating the host terminal and causing safety risks to the vehicle. At the same time, the host terminal can send information and / or commands to the smart hardware to manipulate the smart hardware, which can facilitate users to use some functions of the smart hardware.

[0060] It should be understood that the above are merely illustrative examples, and specific methods for determining a safe first interactive task from multiple interactive tasks may include but are not limited to the above examples.

[0061] Step 103: Start the first interactive task, and prohibit other interactive tasks except the first interactive task among the multiple interactive tasks.

[0062] In this embodiment, after determining the first interactive task, the host terminal can start the first interactive task and interact with the intelligent hardware through the first interactive task to exchange interactive content corresponding to the first interactive task. At the same time, for other interactive tasks except the first interactive task, other interactive tasks can be prohibited, that is, the interactive content corresponding to other interactive tasks is not exchanged with the intelligent hardware.

[0063] Taking the smart seat as an example, when the interactive task that does not include commands in the interactive content is determined as the first interactive task, and the interactive task that includes commands in the interactive content is determined as other interactive tasks, after the smart seat authentication fails, the host terminal can interact with the smart seat to obtain status information such as seat temperature, seat belt status, reminder status, and remaining power. At the same time, for other interactive tasks, the host terminal may not send heating switch commands, ventilation switch commands, and light switch commands to the smart seat, so that the host terminal cannot control the heating function, ventilation function, and ambient light of the smart seat.

[0064] In the embodiment of the present application, when the host terminal detects the access of the intelligent hardware, it authenticates the intelligent hardware to obtain the authentication result. If the authentication result indicates that the intelligent hardware authentication fails, a safe first interactive task is determined from multiple interactive tasks between the host terminal and the intelligent hardware, the first interactive task is started, and other interactive tasks except the first interactive task are prohibited. When the intelligent hardware authentication fails, the host terminal and the intelligent hardware can interact through the first interactive task, which not only allows the user to use some functions supported by the first interactive task, but also avoids possible dangers to the vehicle caused by other interactive tasks, thereby improving the safety of the vehicle.

[0065] For example, if the commands in the interactive content may cause safety risks to the vehicle, then if the smart seat authentication fails, only the interactive task that does not include the command in the corresponding interactive content can be determined as the first interactive task. After starting the first interactive task and prohibiting other interactive tasks, the smart seat can send status information such as seat temperature, seat belt status, reminder status and remaining power to the host terminal, so that the user can know the various status information of the smart seat. At the same time, the host terminal does not respond to the commands sent by the smart seat to the host terminal, and does not send commands to the smart seat, so as to avoid the smart hardware and the host terminal from sending commands to each other, thereby improving the safety of the vehicle.

[0066] Optionally, the step of determining the first interactive task from the plurality of interactive tasks may include:

[0067] Determining an interactive task of a preset type from a plurality of interactive tasks as a first interactive task;

[0068] Alternatively, determining an interactive task marked as safe among the multiple interactive tasks as the first interactive task;

[0069] Alternatively, an interactive task having a security level greater than or equal to a preset level is determined from among the multiple interactive tasks as the first interactive task.

[0070] In some embodiments, the preset type of interactive task may be an interactive task in which no command is included in the corresponding interactive content. If the intelligent hardware authentication fails, the interactive task in which no command is included in the interactive content may be determined as the first interactive task. Alternatively, the preset type of interactive task may be an interactive task in which the direction of the interactive content is intelligent hardware. If the intelligent hardware authentication fails, the interactive task in which the direction of the interactive content is intelligent hardware may be determined as the first interactive task. Alternatively, the preset type of interactive task may be an interactive task in which no command is included in the interactive content and the direction of the interactive content is intelligent hardware. The above are only exemplary examples, and the preset type can be set specifically according to the needs, and this embodiment does not limit this.

[0071] In some embodiments, for each type of intelligent hardware that may be connected to the host terminal, the host terminal may pre-store task information of multiple interactive tasks corresponding to each type of intelligent hardware. The task information may also be referred to as matter information. The task information may include a task identifier and a security mark of the interactive task. The security mark is used to mark the interactive task as a safe interactive task or an unsafe interactive task. When the authentication result is failed, the host terminal may obtain the type information of the intelligent hardware from the intelligent hardware, and then obtain the pre-stored task information of multiple interactive tasks corresponding to the type of intelligent hardware based on the type information. For each interactive task, if the security mark in the task information indicates that the interactive task is a safe interactive task, the interactive task is determined to be a first interactive task. If the security mark in the task information indicates that the interactive task is an unsafe interactive task, the interactive task is determined to be another interactive task.

[0072] In other embodiments, a corresponding security level can be set for an interactive task according to the importance of the interactive content corresponding to the interactive task. For example, the security level of an interactive task whose interactive content includes commands and whose direction of command sending is a host terminal can be set to 4, the security level of an interactive task whose interactive content includes user information can be set to 3, the security level of an interactive task whose interactive content includes commands and whose direction of command sending is a smart hardware can be set to 2, and the security level of an interactive task whose interactive content only includes status information of the smart hardware can be set to 1. The larger the setting, the higher the security level.

[0073] The preset level is 3, for example. When the host terminal fails the authentication of the smart hardware, the host terminal can separately determine the security level of each interaction task between the host terminal and the smart hardware, and then determine the interaction task with a security level not lower than 3 from multiple interaction tasks, determine the interaction task with a security level not lower than 3 as the first interaction task, and determine the interaction task with a security level lower than 3 as other interaction tasks.

[0074] It should be understood that the above are merely illustrative examples, and the method for determining a safe first interactive task from multiple interactive tasks between the host terminal and the intelligent hardware may include but is not limited to the above examples.

[0075] In an embodiment of the present application, when determining that an interactive task of a preset type is a safe task, it is convenient to distinguish different interactive tasks according to the type of interactive task, so that safe and unsafe interactive tasks can be quickly distinguished. When determining an interactive task marked as safe as a first interactive task, it is convenient for the user to mark the safe interactive task according to the security of the interactive task. Determining an interactive task with a security level greater than or equal to a preset level as the first interactive task can quickly distinguish safe and unsafe interactive tasks.

[0076] Optionally, before determining the interactive task marked as safe among the multiple interactive tasks as the first interactive task, the method may further include:

[0077] Displaying a marking interface; wherein the marking interface includes a plurality of identification information, and the plurality of identification information corresponds one to one with the plurality of interactive tasks;

[0078] In response to a first operation of the user on target identification information among the multiple identification information, an interactive task corresponding to the target identification information is marked as a safe interactive task.

[0079] In some embodiments, the host terminal may display a marking interface, through which the user may mark some or all of the multiple interactive tasks as safe interactive tasks. Figure 2 is a schematic diagram of a marking interface provided in an embodiment of the present application. Figure 2 As shown, the identification information is a text identification, and the marking interface 200 includes identification information of multiple interactive tasks between the smart seat and the host terminal. Taking the interactive task of obtaining the seat temperature as an example, the marking interface 200 includes the text identification "seat temperature" corresponding to the interactive task of obtaining the seat temperature, and a confirmation control 202 is displayed at the same time. The first operation is, for example, a click operation of clicking the confirmation control 202. After the marking interface 200 is displayed, if the user clicks the confirmation control 202, the host terminal can respond to the user's click operation, determine that the text identification "seat temperature" at the location of the click operation is the target identification information, and then mark the interactive task corresponding to the target identification information "seat temperature" as a safe interactive task.

[0080] It should be understood that the above are only illustrative examples, and the specific forms of the marking interface, identification information and the first operation may include but are not limited to: Figure 2 shown.

[0081] In an embodiment of the present application, a marking interface including identification information of the interactive task is displayed, and the user can mark some or all of the multiple interactive tasks between the intelligent hardware and the host terminal as safe interactive tasks through the marking interface. This makes it convenient for the user to directly use the functions provided by the intelligent hardware through the safe interactive tasks after confirming that the interactive tasks are safe.

[0082] Optionally, the method may further include:

[0083] Displaying the control interface of the intelligent hardware; wherein the control interface includes controls corresponding to multiple interactive tasks respectively;

[0084] The control corresponding to the first interactive task is controlled to be in a valid state, and the controls corresponding to other interactive tasks are controlled to be in an invalid state.

[0085] In some embodiments, the host terminal may pre-integrate a control interface for the intelligent hardware. The control interface may include one or more controls corresponding to each interactive task. Users may control the intelligent hardware through the controls corresponding to the interactive task. Figure 3 300 is a schematic diagram of a control interface provided by an embodiment of the present application. After the host terminal determines that the interactive task that does not include a control instruction in the corresponding interactive content is the first interactive task, the control interface 300 can be displayed. The control interface 300 includes a control 301 corresponding to the interactive task of obtaining the seat temperature. The control 301 can be a text box for displaying the seat temperature obtained from the smart seat. After determining that the interactive task of obtaining the seat temperature is the first interactive task, the control 301 can be controlled to be in a valid state. At the same time, the host terminal can obtain the seat temperature from the smart seat and display the seat temperature in the control 301.

[0086] In addition, the control interface 300 displays identification information 302 of the interactive task of controlling seat heating, and displays a control 303 at the same time. The control 303 can be a switch control. When the control 303 is in a valid state, the user can click the control 303 to send a heating start command or a heating shutdown command to the smart seat to control the heating function of the smart seat to turn on or off. After determining that the interactive task of controlling the heating function to turn on or off is another interactive task, the control 303 can be controlled to be in an invalid state. When the control 303 is in an invalid state, when the user clicks the control 303, the host terminal does not respond to the user's click operation and does not send a start command or a shutdown command to the smart seat.

[0087] Optionally, the control interface may display the invalid controls and the valid controls in different display modes. Figure 3 As shown, the host terminal can display a control 301 in a valid state through a first color, and display a control 303 in an invalid state through a second color, and the first color and the second color are different colors.

[0088] In an embodiment of the present application, after determining a safe first interactive task, the host terminal can control the controls corresponding to the first interactive task to be in a valid state, and control the controls corresponding to other interactive tasks to be in an invalid state, so that the user can control the smart hardware to implement some functions through the controls corresponding to the first interactive task, thereby facilitating the user to use some functions of the smart hardware.

[0089] Optionally, the method may further include:

[0090] If a second operation on the target control is received, a confirmation interface is displayed; wherein the target control is a control in an invalid state in the control interface, and the confirmation interface is used to confirm whether to change the state of the target control to a valid state;

[0091] If a confirmation instruction based on the confirmation interface input is received, the interactive task corresponding to the target control is changed to the first interactive task, and the target control is controlled to be in a valid state.

[0092] For example, the target control is Figure 3 The control 303 in the invalid state is the second operation, for example, a click operation. After receiving the user's click operation on the control 303, the host terminal can display a confirmation interface in response to the user's click operation. Figure 4 is a schematic diagram of a confirmation interface provided in an embodiment of the present application. Figure 4 As shown, the confirmation interface 400 includes a confirmation control 401 and a cancel control 402. When the user determines that turning on or off the heating function of the smart seat through the host terminal will not cause adverse effects, the user can click the confirmation control 401. The operation of clicking the confirmation control 401 is to input a confirmation instruction. In response to the user's click operation on the confirmation control 401, the host terminal can set the control 303 to a valid state, and at the same time change the interactive task of controlling the heating function switch corresponding to the control 303 to a safe first interactive task.

[0093] On the contrary, when the user determines that controlling the heating function switch of the smart seat through the host terminal may cause adverse effects, the user can click the cancel control 402. The host terminal can close the confirmation interface 400 in response to the user's click operation on the cancel control 402.

[0094] Optionally, after receiving the confirmation instruction, the host terminal may also send task information of the interactive task corresponding to the target control to the server. After receiving the task information, the server determines whether the interactive task corresponding to the task information is safe. If the interactive task is determined to be safe, a safety notification may be sent to the host terminal. After receiving the safety notification, the host terminal changes the interactive task corresponding to the target control to a safe first interactive task and sets the target control to a valid state.

[0095] In an embodiment of the present application, when a user needs to control smart hardware through a control in an invalid state, the user can activate the control in an invalid state through a confirmation interface, which can facilitate the user to activate the invalid control according to actual needs and control the smart hardware through the activated control.

[0096] Optionally, the step of changing the interactive task corresponding to the target control to the first interactive task and controlling the target control to be in a valid state may include:

[0097] Determine whether the interactive task corresponding to the target control includes a target command; wherein the target command is a command sent by the intelligent hardware to the host terminal;

[0098] If the target command is not included, the interactive task corresponding to the target control is changed to the first interactive task, and the target control is controlled to be in a valid state.

[0099] In some embodiments, before changing the interactive task corresponding to the target control to a safe first interactive task, the host terminal first determines whether the interactive content corresponding to the interactive task corresponding to the target control includes a command. If a command is included, it is determined whether the command is sent to the host terminal by the intelligent hardware. If the interactive content includes a command, the interactive task is not changed to the first interactive task after determining that the command is a target command. On the contrary, if it is determined that the interactive content does not include a command, or the interactive content includes a command, but the command is sent by the host terminal to the intelligent hardware, the interactive task corresponding to the target control is changed to the first interactive task, and the target control is controlled to be in a valid state.

[0100] In actual applications, when there are security risks in interactive tasks, if the interactive content of the interactive tasks includes target commands sent by intelligent hardware to the host terminal, the target commands are very likely to cause host terminal failure.

[0101] In an embodiment of the present application, when a user needs to activate a control that is in an invalid state, when it is determined that the interactive content of the interactive task corresponding to the control does not include the command sent by the intelligent hardware to the host terminal, activating the invalid control can prevent possible safety risks, thereby improving the safety of the vehicle.

[0102] Optionally, the step of authenticating the intelligent hardware to obtain an authentication result may include:

[0103] If the intelligent hardware is determined to be the preset intelligent hardware, determine whether a control interface matching the intelligent hardware is integrated in the host terminal;

[0104] If the host terminal is integrated with a control interface matching the intelligent hardware, the intelligent hardware is authenticated to obtain an authentication result.

[0105] In some embodiments, after establishing a communication connection with the intelligent hardware, the host terminal first obtains the hardware information of the intelligent hardware from the intelligent hardware, and then determines whether the intelligent hardware is a preset intelligent hardware based on the hardware information. For example, the preset intelligent hardware may include an intelligent seat, a car refrigerator, and an intelligent speaker. After establishing a communication connection with the intelligent hardware, if the hardware information obtained from the intelligent hardware indicates that the intelligent hardware is one of the intelligent seat, the car refrigerator, and the intelligent speaker, it is further determined whether a control interface matching the intelligent hardware is integrated in the host terminal.

[0106] Exemplarily, the control interface matches the smart hardware means that the control interface is a control interface pre-set for the preset smart hardware, and the control interface includes a control corresponding to each interactive task. For example, the preset smart hardware includes a smart seat, and after the host terminal is connected to the smart seat, it determines that the smart seat is the preset smart hardware. At this time, if it is determined that the host terminal is integrated with a control interface pre-set for the smart seat, and the control interface includes controls corresponding to each interactive task between the smart seat and the host terminal, it is determined that the host terminal is integrated with a control interface matching the smart seat, and the host terminal can authenticate the smart seat.

[0107] For another example, the control interface matches the smart hardware means that the control interface is a control interface pre-set for the preset smart hardware, and the control interface includes controls corresponding to the preset interactive tasks. Preset interactive tasks include interactive tasks for obtaining seat temperature, controlling the heating function switch, and controlling the ventilation function switch. After connecting to the smart seat, the host terminal determines that the smart seat is the preset smart hardware. At this time, if it is determined that the host terminal is integrated with a control interface pre-set for the smart seat, and the control interface includes controls corresponding to obtaining the seat temperature, controlling the heating function switch, and controlling the ventilation function switch, then it is determined that the host terminal is integrated with a control interface matching the smart seat, and the host terminal can authenticate the smart seat.

[0108] When it is determined that the host terminal does not have a control interface that matches the intelligent hardware integrated therein, the host terminal may disconnect the communication connection with the intelligent hardware.

[0109] In an embodiment of the present application, when it is determined that the smart hardware is preset smart hardware and a control interface matching the smart hardware is integrated in the host terminal, the smart hardware is authenticated to obtain an authentication result, which can reduce invalid authentications and thus reduce the power consumption of the host terminal.

[0110] See also Figure 5 , Figure 5 1 is a flow chart of a method for accessing intelligent hardware provided by an embodiment of the present application. Figure 5 As shown, the method may include the following steps:

[0111] Step 501: Detect whether the intelligent hardware is connected.

[0112] In this embodiment, after the host terminal is powered on, it continuously detects whether there is new smart hardware connected to the host terminal. After detecting that a certain smart hardware has established a communication connection with the host terminal, step 502 can be executed. After no smart hardware is detected to be connected to the host terminal, it returns to continue executing step 501.

[0113] Step 502: Authenticate the connected intelligent hardware to obtain an authentication result.

[0114] Step 503: Determine whether the intelligent hardware has passed authentication.

[0115] In this embodiment, after detecting the access of the smart hardware, the host terminal authenticates the smart hardware to obtain an authentication result, and then determines whether the authentication result is passed. If the authentication result is not passed, step 504 to step 505 are executed, and if the authentication result is passed, step 506 is executed.

[0116] Step 504: Determine a safe first interactive task from multiple interactive tasks.

[0117] Step 505: Start the first interactive task and disable other interactive tasks.

[0118] Step 506: Start each interactive task.

[0119] In this embodiment, when the authentication result is not passed, the host terminal determines a safe first interactive task from multiple interactive tasks between the intelligent hardware and the host terminal, then starts the first interactive task, and prohibits other interactive tasks. At the same time, the host terminal can output a notification message to inform the user that only some functions of the intelligent hardware can be used. And, when there is no safe first interactive task among multiple interactive tasks, the host terminal can output a notification message to inform the user that all functions of the intelligent hardware cannot be used. When the authentication result is passed, the host terminal starts each interactive task between the intelligent hardware and the host terminal.

[0120] See also Figure 6 , Figure 6 Schematic diagram of a smart hardware access device provided in an embodiment of the present application. Figure 6 As shown, the access device 600 of the intelligent hardware can be set in a host terminal in a vehicle, and can include:

[0121] An authentication module 601 is used to authenticate the intelligent hardware to obtain an authentication result when it is detected that the intelligent hardware is connected to the host terminal;

[0122] A determination module 602 is configured to determine a safe first interaction task from a plurality of interaction tasks between the host terminal and the intelligent hardware if the authentication result indicates that the intelligent hardware authentication has not passed;

[0123] The starting module 603 is used to start the first interactive task and prohibit other interactive tasks except the first interactive task among the multiple interactive tasks.

[0124] Optionally, in some possible implementations, the determination module 602 is specifically used to determine an interaction task of a preset type from the multiple interaction tasks as the first interaction task; or, to determine an interaction task marked as safe from the multiple interaction tasks as the first interaction task; or, to determine an interaction task having a security level greater than or equal to a preset level from the multiple interaction tasks as the first interaction task.

[0125] Optionally, in some possible implementations, the device 600 also includes: a display module for displaying a marking interface; wherein the marking interface includes multiple identification information, and the multiple identification information correspond one-to-one to the multiple interactive tasks; a marking module for responding to a user's first operation on target identification information among the multiple identification information, and marking the interactive task corresponding to the target identification information as a safe interactive task.

[0126] Optionally, in some possible implementations, the device 600 also includes: a display module, used to display a control interface of the intelligent hardware; wherein the control interface includes controls corresponding to the multiple interactive tasks respectively; a control module, used to control the controls corresponding to the first interactive task to be in a valid state, and control the controls corresponding to the other interactive tasks to be in an invalid state.

[0127] Optionally, the display module is also used to display a confirmation interface if a second operation on the target control is received; wherein, the target control is a control in an invalid state in the control interface, and the confirmation interface is used to confirm whether to change the state of the target control to a valid state; the control module is also used to change the interactive task corresponding to the target control to the first interactive task and control the target control to be in a valid state if a confirmation instruction based on input on the confirmation interface is received.

[0128] Optionally, in some possible implementations, the control module is specifically used to determine whether the interactive task corresponding to the target control includes a target command; wherein the target command is a command sent by the intelligent hardware to the host terminal; if the target command is not included, the interactive task corresponding to the target control is changed to the first interactive task, and the target control is controlled to be in a valid state.

[0129] Optionally, in some possible implementations, the authentication module is specifically used to determine whether the host terminal is integrated with the control interface that matches the smart hardware if the smart hardware is preset smart hardware; if the host terminal is integrated with the control interface that matches the smart hardware, authenticate the smart hardware to obtain the authentication result.

[0130] See also Figure 7 , Figure 7 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0131] For example, Figure 7 As shown, the vehicle 700 includes: a memory 701 and a processor 702, wherein the memory 701 stores an executable program code 7011, and the processor 702 is used to call and execute the executable program code 7011 to perform a method for accessing smart hardware.

[0132] In addition, an embodiment of the present application also protects an access device for smart hardware, which may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to execute an access method for smart hardware provided in an embodiment of the present application.

[0133] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0134] In the case of dividing each functional module according to each function, the device may also include an authentication module, a determination module, a startup module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0135] It should be understood that the device provided in this embodiment is used to execute the above-mentioned method for accessing intelligent hardware, and thus can achieve the same effect as the above-mentioned implementation method.

[0136] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing relevant program codes, etc.

[0137] The processing module may be a processor or a body control module, which may implement or execute various exemplary logic blocks, modules and circuits shown in combination with the contents disclosed in this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0138] In addition, the device provided in the embodiments of the present application may specifically be a chip, component or module, and the chip may include a connected processor and memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute an access method for intelligent hardware provided in the above embodiments.

[0139] This embodiment also provides a readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement an intelligent hardware access method provided in the above embodiment.

[0140] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement an intelligent hardware access method provided in the above embodiment.

[0141] Among them, the device, readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0142] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned 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.

[0143] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0144] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for accessing intelligent hardware. It is characterized in that The method is applied to a host terminal and comprises: When it is detected that the intelligent hardware is connected to the host terminal, the intelligent hardware is authenticated to obtain an authentication result; If the authentication result indicates that the intelligent hardware fails the authentication, determining a safe first interactive task from a plurality of interactive tasks between the host terminal and the intelligent hardware; The first interactive task is started, and other interactive tasks except the first interactive task among the multiple interactive tasks are prohibited.

2. The method according to claim 1, It is characterized in that The determining of a safe first interactive task from a plurality of interactive tasks between the host terminal and the intelligent hardware includes: Determining an interactive task of a preset type from the multiple interactive tasks as the first interactive task; Alternatively, determining an interactive task marked as safe among the multiple interactive tasks as the first interactive task; Alternatively, an interactive task having a security level greater than or equal to a preset level is determined from the multiple interactive tasks as the first interactive task.

3. The method according to claim 2, It is characterized in that Before determining the interactive task marked as safe among the multiple interactive tasks as the first interactive task, the method further includes: Displaying a marking interface; wherein the marking interface includes a plurality of identification information, and the plurality of identification information corresponds one-to-one to the plurality of interactive tasks; In response to a first operation of the user on target identification information among the multiple identification information, the interactive task corresponding to the target identification information is marked as a safe interactive task.

4. The method according to any one of claims 1 to 3, It is characterized in that The method further comprises: Displaying a control interface of the intelligent hardware; wherein the control interface includes controls corresponding to the multiple interactive tasks respectively; The control corresponding to the first interactive task is controlled to be in a valid state, and the controls corresponding to the other interactive tasks are controlled to be in an invalid state.

5. The method according to claim 4, It is characterized in that The method further comprises: If a second operation on the target control is received, a confirmation interface is displayed; wherein the target control is a control in an invalid state in the control interface, and the confirmation interface is used to confirm whether to change the state of the target control to a valid state; If a confirmation instruction based on the confirmation interface input is received, the interactive task corresponding to the target control is changed to the first interactive task, and the target control is controlled to be in a valid state.

6. The method according to claim 5, It is characterized in that The step of changing the interactive task corresponding to the target control to the first interactive task and controlling the target control to be in a valid state includes: Determine whether the interactive task corresponding to the target control includes a target command; wherein the target command is a command sent by the intelligent hardware to the host terminal; If the target command is not included, the interactive task corresponding to the target control is changed to the first interactive task, and the target control is controlled to be in a valid state.

7. The method according to claim 4, It is characterized in that The step of authenticating the intelligent hardware to obtain an authentication result includes: If the intelligent hardware is a preset intelligent hardware, determining whether the host terminal is integrated with the control interface matching the intelligent hardware; If the control interface matching the intelligent hardware is integrated in the host terminal, the intelligent hardware is authenticated to obtain the authentication result.

8. An access device for intelligent hardware, It is characterized in that Set in the host terminal, the device includes: An authentication module, configured to authenticate the intelligent hardware to obtain an authentication result when detecting that the intelligent hardware is connected to the host terminal; a determination module, configured to determine a safe first interaction task from a plurality of interaction tasks between the host terminal and the intelligent hardware if the authentication result indicates that the intelligent hardware authentication has not passed; A starting module is used to start the first interactive task and prohibit other interactive tasks among the multiple interactive tasks except the first interactive task.

9. A vehicle, It is characterized in that The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 7.

10. A readable storage medium, It is characterized in that The readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.