Equipment control method and device executed through vehicle key
By obtaining vehicle information and historical usage records, and optimizing the functional triggering method of vehicle keys, the problems of complex operation and single functions of traditional vehicle keys are solved, more accurate and timely equipment control is achieved, and the efficiency of user experience and equipment linkage is improved.
Patent Information
- Application Number
- CN202510557337.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-29
- Publication Date
- 2025-07-11
AI Technical Summary
Traditional vehicle keys have complex operations and single functions, making it difficult to accurately and promptly trigger the functions of vehicles and smart home devices, resulting in poor user experience.
By obtaining vehicle information, determining the current usage scenario, combining the historical usage records of the controlled device, determining the target function, and sending function information to the vehicle key within the distance threshold to trigger the corresponding function, the process is triggered using multi-sensor data and decision algorithm optimization functions.
It realizes that the vehicle key triggers the controlled device functions more accurately and in a timely manner, improves the user experience, reduces operational complexity and power consumption, and adapts to multi-dimensional environmental perception to improve the accuracy of function triggering.
Smart Images

Figure CN120287988A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of vehicles, and in particular, to a method and device for controlling a device by a vehicle key. Background Art
[0002] The traditional function of a vehicle key is to unlock / lock a vehicle. With the development of technology and the increase in vehicle functions, vehicle keys have gradually acquired functions such as vehicle searching, remotely controlling window lifting and lowering, remotely opening the trunk, and remotely parking. However, limited by the hardware structure, vehicle keys mainly achieve the switching of different functions through button operations, which are complex in operation, high in learning cost, and inconvenient to use for users in actual use. With the popularization of new energy vehicles and the increasing intelligence of vehicles, due to the single function and limited function expansion of traditional vehicle keys, traditional vehicle keys have begun to be cancelled, and more technological and cost-effective vehicle unlocking and locking methods such as wearable devices and mobile phone Bluetooth are adopted. At the same time, the interior design of new energy vehicles tends to be simple, and a large number of physical function buttons are cancelled and replaced by soft switches on the vehicle console. Function blind operation is inconvenient and lacks accuracy and timeliness.
[0003] It can be seen that how to more accurately and timely trigger the functions of controlled devices through a key is a technical problem worthy of attention. Summary of the Invention
[0004] In view of this, to solve the above-mentioned partial or all technical problems, embodiments of this application provide a method and device for controlling a device by a vehicle key.
[0005] In a first aspect, embodiments of this application provide a method for controlling a device by a vehicle key, the method including:
[0006] Obtain vehicle information of a target vehicle;
[0007] Based on the vehicle information, determine the current usage scenario of the target vehicle;
[0008] Based on the current usage scenario and the historical usage record of the controlled device, determine the target function to be triggered and the function information of the target function from the preset function set corresponding to the controlled device;
[0009] Send the function information to the key of the target vehicle so as to trigger the target function of the controlled device through the function information.
[0010] In a possible implementation manner, the controlled device is the target vehicle; and
[0011] Before sending the function information to the key of the target vehicle, the method further includes:
[0012] Determine a first distance between the target vehicle and the key of the target vehicle;
[0013] Determine whether the first distance is less than or equal to a preset first threshold; and
[0014] The sending of the function information to the key of the target vehicle includes:
[0015] When the first distance is less than or equal to the first threshold, send the function information to the key of the target vehicle.
[0016] In a possible implementation, the controlled device is a smart home device associated with the target vehicle; and
[0017] Before sending the function information to the key of the target vehicle, the method further includes:
[0018] Determine a second distance between the target vehicle and the smart home device;
[0019] Determine whether the second distance is less than or equal to a preset second threshold; and
[0020] The sending of the function information to the key of the target vehicle includes:
[0021] When the second distance is less than or equal to the second threshold, send the function information to the key of the target vehicle.
[0022] In a possible implementation, the determining of the target function to be triggered from the preset function set corresponding to the controlled device based on the current usage scenario and the historical usage record of the controlled device includes:
[0023] For each function in the preset function set of the controlled device, based on the historical usage record of the controlled device, determine the usage frequency of the function by the current user of the target vehicle, where the usage frequency of the function by the current user is: the usage frequency of the function by the current user in the current usage scenario;
[0024] From the obtained usage frequencies of the current user for each function, determine the largest first usage frequency;
[0025] Determine the function corresponding to the first usage frequency in the preset function set as the reference function;
[0026] Determine the usage frequency of each user of the controlled device for the reference function to obtain the usage frequency corresponding to the user;
[0027] From the obtained usage frequencies corresponding to multiple overall usage objects, determine the second largest usage frequency;
[0028] Based on the first usage frequency and the second usage frequency, determine the target function to be triggered from the preset function set corresponding to the controlled device.
[0029] In a possible implementation, before determining the target function to be triggered from the preset function set corresponding to the controlled device based on the first usage frequency and the second usage frequency, the method further includes:
[0030] For each function in the preset function set, determine the usage frequency of the function by multiple overall usage objects of the controlled device, obtaining the usage frequencies of the function by multiple overall usage objects; and
[0031] Determining the target function to be triggered from the preset function set corresponding to the controlled device based on the first usage frequency and the second usage frequency includes:
[0032] For each function in the preset function set, based on the usage frequency of the current usage object for the function, the usage frequency of the function by multiple overall usage objects, the first usage frequency, and the second usage frequency, determine the triggering probability of the current usage object for the function;
[0033] Determine a preset number of target functions to be triggered from the preset function set in descending order of the triggering probability.
[0034] In a possible implementation, determining the triggering probability of the current usage object for the function based on the usage frequency of the current usage object for the function, the usage frequency of the function by multiple overall usage objects, the first usage frequency, and the second usage frequency includes:
[0035] Based on the usage frequency of the current usage object for the function and the first usage frequency, determine a first probability, where the first probability represents the probability of a single usage object individual triggering the function;
[0036] Based on the usage frequency of the function by multiple overall usage objects and the second usage frequency, determine a second probability, where the second probability represents the probability of multiple overall usage objects triggering the function;
[0037] Based on the first probability and the second probability, determine the triggering probability of the current usage object for the function.
[0038] In a possible implementation, determining the triggering probability of the current user for the function based on the first probability and the second probability includes:
[0039] Determining the result of the weighted sum of the first probability and the second probability as the triggering probability of the current user for the function;
[0040] Wherein, the weight of the first probability is greater than the weight of the second probability.
[0041] In a possible implementation, after sending the function information to the key of the target vehicle, the method further includes:
[0042] Determining whether a function trigger instruction is received, where the function trigger instruction is: an instruction triggered by the function information within a preset duration after the function information is displayed on the key;
[0043] When the function trigger instruction is received, controlling the controlled device to trigger the target function;
[0044] When the function trigger instruction is not received, controlling the key to turn off the screen.
[0045] In a possible implementation, the vehicle information includes at least one of the following:
[0046] Vehicle position, vehicle speed, in-vehicle temperature, out-of-vehicle temperature, environmental humidity, environmental light intensity, current time, weather information, air quality information, map information.
[0047] In a second aspect, an embodiment of the present application provides a device control device executed by a vehicle key, the device includes:
[0048] An acquisition unit, configured to acquire vehicle information of a target vehicle;
[0049] A first determination unit, configured to determine the current usage scenario of the target vehicle based on the vehicle information;
[0050] A second determination unit, configured to determine a target function to be triggered and function information of the target function from a preset function set corresponding to the controlled device based on the current usage scenario and the historical usage record of the controlled device;
[0051] A sending unit, configured to send the function information to the key of the target vehicle so as to trigger the target function of the controlled device through the function information.
[0052] In a possible implementation, the controlled device is the target vehicle; and
[0053] Before sending the function information to the key of the target vehicle, the device further includes:
[0054] A third determination unit configured to determine a first distance between the target vehicle and the key of the target vehicle;
[0055] A fourth determination unit configured to determine whether the first distance is less than or equal to a preset first threshold; and sending the function information to the key of the target vehicle includes:
[0056] When the first distance is less than or equal to the first threshold, sending the function information to the key of the target vehicle.
[0057] In a possible implementation manner, the controlled device is a smart home device associated with the target vehicle; and
[0058] Before sending the function information to the key of the target vehicle, the device further includes:
[0059] A fifth determination unit configured to determine a second distance between the target vehicle and the smart home device;
[0060] A sixth determination unit configured to determine whether the second distance is less than or equal to a preset second threshold; and sending the function information to the key of the target vehicle includes:
[0061] When the second distance is less than or equal to the second threshold, sending the function information to the key of the target vehicle.
[0062] In a possible implementation manner, determining the target function to be triggered from the preset function set corresponding to the controlled device based on the current usage scenario and the historical usage record of the controlled device includes:
[0063] For each function in the preset function set of the controlled device, based on the historical usage record of the controlled device, determine the usage frequency of the current user of the target vehicle for this function, where the usage frequency of the current user for this function is: the usage frequency of the current user for this function in the current usage scenario;
[0064] From the obtained usage frequencies of the current user for each function respectively, determine the maximum first usage frequency;
[0065] Determine the function corresponding to the first usage frequency in the preset function set as the reference function;
[0066] Determine the usage frequency of each user of the controlled device for the reference function respectively, and obtain the usage frequency corresponding to the user;
[0067] From the usage frequencies corresponding to the multiple users as a whole obtained, determine the second largest usage frequency with the largest value;
[0068] Based on the first usage frequency and the second usage frequency, determine the target function to be triggered from the preset function set corresponding to the controlled device.
[0069] In a possible implementation, before determining the target function to be triggered from the preset function set corresponding to the controlled device based on the first usage frequency and the second usage frequency, the device further includes:
[0070] A seventh determination unit, configured to determine, for each function in the preset function set, the usage frequency of the multiple users of the controlled device as a whole for this function, and obtain the usage frequency of the multiple users as a whole for this function; and
[0071] Determining the target function to be triggered from the preset function set corresponding to the controlled device based on the first usage frequency and the second usage frequency includes:
[0072] For each function in the preset function set, based on the usage frequency of the current user for this function, the usage frequency of the multiple users as a whole for this function, the first usage frequency, and the second usage frequency, determine the trigger probability of the current user for this function;
[0073] According to the order from largest to smallest trigger probability, determine the preset number of target functions to be triggered from the preset function set.
[0074] In a possible implementation, determining the trigger probability of the current user for this function based on the usage frequency of the current user for this function, the usage frequency of the multiple users as a whole for this function, the first usage frequency, and the second usage frequency includes:
[0075] Based on the usage frequency of the current user for this function and the first usage frequency, determine a first probability, where the first probability represents the probability that a single user individual triggers this function;
[0076] Based on the usage frequency of the multiple users as a whole for this function and the second usage frequency, determine a second probability, where the second probability represents the probability that the multiple users as a whole trigger this function;
[0077] Based on the first probability and the second probability, determine the triggering probability of the current user for this function.
[0078] In a possible implementation, the determining the triggering probability of the current user for this function based on the first probability and the second probability includes:
[0079] Determine the result of the weighted sum of the first probability and the second probability as the triggering probability of the current user for this function;
[0080] Wherein, the weight of the first probability is greater than the weight of the second probability.
[0081] In a possible implementation, after sending the function information to the key of the target vehicle, the device further includes:
[0082] An eighth determining unit, configured to determine whether a function trigger instruction is received, where the function trigger instruction is: an instruction triggered by the function information within a preset duration after the function information is displayed on the key;
[0083] A first control unit, configured to control the controlled device to trigger the target function when the function trigger instruction is received;
[0084] A second control unit, configured to control the key to turn off the screen when the function trigger instruction is not received.
[0085] In a possible implementation, the vehicle information includes at least one of the following:
[0086] Vehicle position, vehicle speed, in-vehicle temperature, out-of-vehicle temperature, ambient humidity, ambient light intensity, current time, weather information, air quality information, map information.
[0087] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0088] A memory, for storing a computer program;
[0089] A processor, for executing the computer program stored in the memory, and when the computer program is executed, implementing the method of any one of the embodiments of the device control method executed by the vehicle key in the first aspect of the present application.
[0090] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, implementing the method of any one of the embodiments of the device control method executed by the vehicle key as described in the first aspect above.
[0091] Fifth aspect, an embodiment of the present application provides a computer program product, which includes computer-readable code. When the computer-readable code runs on a device, it enables the processor in the device to implement the method of any one of the embodiments of the device control method executed by a vehicle key as described in the first aspect above.
[0092] The device control method executed by a vehicle key provided by the embodiments of the present application can obtain the vehicle information of a target vehicle. Then, based on the vehicle information, determine the current usage scenario of the target vehicle. Next, based on the current usage scenario and the historical usage record of the controlled device, determine the target function to be triggered and the function information of the target function from the preset function set corresponding to the controlled device. Subsequently, send the function information to the key of the target vehicle so as to trigger the target function of the controlled device through the function information. Thus, the current usage scenario of the vehicle can be determined through the vehicle information, and further, based on the historical usage record of the controlled device, determine the function that may be triggered by the current user of the vehicle in this scenario, and send the function information of this function to the key of the vehicle. In this way, the function that may be triggered by the current user can be determined more accurately and timely, and then the function of the controlled device can be triggered more accurately and timely through the key. In addition, the user of the vehicle does not need to rely on a mobile terminal such as a mobile phone, and can trigger the corresponding function of the controlled device through the vehicle key. Therefore, in scenarios such as when the mobile terminal is turned off, the function of the controlled device can be triggered more conveniently through the key. Description of the Drawings
[0093] The drawings here are incorporated into the description and form a part of this description, showing the embodiments that conform to the present application, and are used together with the description to explain the principles of the present application.
[0094] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.
[0095] One or more embodiments are exemplarily illustrated by the pictures in the corresponding drawings. These exemplary illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements, unless otherwise stated, the drawings in the drawings do not constitute a proportional limitation.
[0096] Figure 1 It is a schematic flowchart of a device control method executed by a vehicle key provided by an embodiment of the present application;
[0097] Figure 2Schematic flowchart of another device control method implemented by a vehicle key provided in an embodiment of the present application;
[0098] Figure 3A Schematic architecture diagram of a device control method implemented by a vehicle key provided in an embodiment of the present application;
[0099] Figure 3B Schematic diagram of the key structure of a device control method implemented by a vehicle key provided in an embodiment of the present application;
[0100] Figure 3C Schematic diagram of the triggering area of a device control method implemented by a vehicle key provided in an embodiment of the present application;
[0101] Figure 3D Schematic flowchart of yet another device control method implemented by a vehicle key provided in an embodiment of the present application;
[0102] Figure 3E Schematic flowchart of the generation process of function information of a device control method implemented by a vehicle key provided in an embodiment of the present application;
[0103] Figure 4 Schematic diagram of the structure of a device control device implemented by a vehicle key provided in an embodiment of the present application;
[0104] Figure 5 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Detailed implementation manners
[0105] Now, various exemplary embodiments of the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. It should be noted that: unless otherwise specifically stated, the relative arrangements, numerical expressions, and numerical values of the components and steps described in these embodiments do not limit the scope of the present application.
[0106] Those skilled in the art can understand that the terms "first", "second", etc. in the embodiments of the present application are only used to distinguish different steps, devices, or modules, etc., and do not represent any specific technical meaning, nor do they represent the logical order between them.
[0107] It should also be understood that in this embodiment, "a plurality of" may refer to two or more, and "at least one" may refer to one, two, or more.
[0108] It should also be understood that for any component, data, or structure mentioned in the embodiments of the present application, unless otherwise clearly defined or given a contrary indication in the context, it can generally be understood as one or more.
[0109] In addition, the term "and / or" in this application is merely a description of the relationship between associated objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this application generally represents an "or" relationship between the associated objects before and after.
[0110] It should also be understood that the description of each embodiment in this application emphasizes the differences between the embodiments. The same or similar parts can be referred to each other. For the sake of brevity, they will not be elaborated one by one.
[0111] The following description of at least one exemplary embodiment is actually only illustrative and in no way limits the application, its application, or its use.
[0112] Techniques, methods, and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, the above techniques, methods, and devices should be regarded as part of the specification.
[0113] It should be noted that similar reference numerals and letters indicate similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further discussed in subsequent figures.
[0114] It should be noted that, without conflict, the embodiments and features in the embodiments of this application can be combined with each other. To facilitate the understanding of the embodiments of this application, the following will refer to the accompanying drawings and describe the application in detail with reference to the embodiments. Obviously, the described embodiments are part of the embodiments of this application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of this application.
[0115] In order to solve the technical problem of how to more accurately and timely trigger the functions of controlled devices through a key in the prior art, this application provides a device control method and device executed through a vehicle key, which can more accurately and timely trigger the functions of controlled devices.
[0116] Figure 1Schematic flowchart of a device control method executed by a vehicle key provided by an embodiment of the present application. This method can be applied to one or more electronic devices such as vehicles (e.g., intelligent vehicles, smart vehicles), smartphones, laptops, desktop computers, portable computers, servers, etc. In addition, the execution subject of this method can be hardware or software. When the above execution subject is hardware, the execution subject can be one or more of the above electronic devices. For example, a single electronic device can execute this method, or multiple electronic devices can cooperate with each other to execute this method. When the above execution subject is software, this method can be implemented as multiple software or software modules, or can be implemented as a single software or software module. No specific limitation is made here.
[0117] As Figure 1 shown, the method specifically includes:
[0118] Step 111, obtain vehicle information of the target vehicle.
[0119] In this embodiment, the target vehicle can be any vehicle. As an example, the target vehicle can be an intelligent vehicle, a smart car, etc.
[0120] The vehicle information can be a data set reflecting the state of the target vehicle and / or its surrounding environment. As an example, the vehicle information can include at least one of the following: usage duration, current user, etc. In some cases, the engine state of the target vehicle can be obtained through the CAN (Controller Area Network) bus of the target vehicle, and environmental data can be collected through a temperature and humidity sensor.
[0121] Step 112, based on the vehicle information, determine the current usage scenario of the target vehicle.
[0122] In this embodiment, the current usage scenario can represent the current usage situation of the target vehicle, such as parking, driving, getting off work and going home on a rainy and cold day, etc. Generally, the current usage scenario will affect the selection and triggering of the functions of the controlled device by the current user. As an example, when the vehicle information indicates that the target vehicle is in a parked state and the outdoor temperature is 39 degrees Celsius, the user (i.e., the above current user) may need to trigger the pre-cooling of the in-vehicle air conditioner.
[0123] Here, the decision tree algorithm can be used to match the geographical location and time features to determine the current usage scenario of the target vehicle based on the vehicle information. Or, a neural network model can also be used to analyze the multi-sensor data fusion result, so as to determine the current usage scenario of the target vehicle based on the vehicle information.
[0124] Step 113: Based on the current usage scenario and the historical usage records of the controlled device, determine the target function to be triggered and the function information of the target function from the preset function set corresponding to the controlled device.
[0125] In this embodiment, the historical usage records may represent the usage records of the controlled device within a historical time period. As an example, the historical usage records may include at least one of the following: the frequency of each user of the controlled device using each function in the preset function set, the frequency of all users of the controlled device using each function in the preset function set.
[0126] The preset function set may include all functions of the controlled device. The target function may be a function in the preset function set that the current usage object intends to trigger. The number of target functions may be one or more. As an example, the preset function set may include: playing music, refrigeration, heating, self-check, etc.
[0127] The function information may be the unique identifier of the target function.
[0128] As an example, the following method may be adopted to determine the target function to be triggered from the preset function set corresponding to the controlled device based on the current usage scenario and the historical usage records of the controlled device:
[0129] First step: From the historical usage records of the controlled device, determine the usage frequency of each function of the controlled device by all usage objects of the controlled device to obtain the third usage frequency corresponding to each function.
[0130] Among them, the third usage frequency corresponding to each function is: the usage frequency of this function of the controlled device by all usage objects of the controlled device.
[0131] Each function in the preset function set of the controlled device may correspond to a third usage frequency.
[0132] Second step: From the historical usage records of the controlled device, determine the usage frequency of each function of the controlled device by the current usage object of the controlled device to obtain the fourth usage frequency corresponding to each function.
[0133] Among them, the fourth usage frequency corresponding to each function is: the usage frequency of this function of the controlled device by the current usage object of the controlled device.
[0134] Each function in the preset function set of the controlled device may correspond to a fourth usage frequency.
[0135] In the third step, for each function in the preset function set of the controlled device, calculate the weighted sum of the third usage frequency corresponding to the function and the fourth usage frequency corresponding to the function, and obtain the calculation result corresponding to the function.
[0136] Among them, the calculation result corresponding to the function can be the weighted sum of the third usage frequency corresponding to the function and the fourth usage frequency corresponding to the function.
[0137] The weight of the third usage frequency can be less than the weight of the fourth usage frequency.
[0138] Each function in the preset function set of the controlled device can correspond to a calculation result.
[0139] In the fourth step, based on the calculated calculation results, determine the target function to be triggered from the preset function set corresponding to the controlled device. For example, the function corresponding to the calculation result with the largest value in the preset function set corresponding to the controlled device can be determined as the target function to be triggered.
[0140] Step 114, send the function information to the key of the target vehicle so as to trigger the target function of the controlled device through the function information.
[0141] In this embodiment, after determining the function information, the function information can be sent to the key of the target vehicle. Further, the above key can be displayed on the display screen. Thus, the user can operate the key, and further trigger the target function of the controlled device through the function information.
[0142] Here, the target function can be triggered by the method of activating the in-vehicle device by sending an RF (Radio Frequency) signal, or by the method of transmitting control instructions through the Bluetooth Low Energy protocol.
[0143] Thus, in some cases, the in-vehicle sensors of the target vehicle (such as GPS (Global Positioning System) module, temperature and humidity sensor) can collect vehicle information in multiple dimensions in real time and perform scenario modeling in combination with historical usage data. For example, when it is detected that the vehicle is parked in a residential area and the temperature inside the vehicle is higher than 30 °C (degrees Celsius), the air conditioner pre-start function is automatically triggered.
[0144] In some alternative implementation manners of this embodiment, to solve the technical problems of power loss caused by invalid communication between the key and the vehicle and inaccurate timing of sending function information in the prior art, the controlled device is the target vehicle.
[0145] On this basis, before sending the function information to the key of the target vehicle, the following steps may also be performed:
[0146] First step, determine a first distance between the target vehicle and the key of the target vehicle.
[0147] Wherein, the first distance may be the distance between the target vehicle and the key of the target vehicle.
[0148] Here, the first distance may be determined in the following manner: dual-frequency Doppler effect ranging, pulse measurement based on Time of Flight (ToF).
[0149] Second step, determine whether the first distance is less than or equal to a preset first threshold.
[0150] The first threshold may be a preset distance threshold. As an example, the first threshold may be 20 meters, 10 meters, 5 meters, etc. Here, the first threshold may be configured according to the model of the target vehicle.
[0151] On this basis, the function information may be sent to the key of the target vehicle in the following manner:
[0152] In the case where the first distance is less than or equal to the first threshold, send the function information to the key of the target vehicle.
[0153] Here, the RSSI (Received Signal Strength Indicator) signal strength detection technology may be used to calculate the first distance in real time. When the first distance is less than or equal to 10 meters, send the function information to the key of the target vehicle.
[0154] It can be understood that in the above optional implementation manners, by setting the first threshold, the battery life of the key and the communication duration can be extended, and the misoperation rate can be reduced, and the accuracy of the timing for sending the function information can be improved.
[0155] In some optional implementation manners of this embodiment, in order to solve the technical problem in the prior art that there is a lack of a spatial distance judgment mechanism when the vehicle control system is linked with the smart home device, resulting in device mis-triggering or energy waste, the controlled device is a smart home device associated with the target vehicle.
[0156] On this basis, before sending the function information to the key of the target vehicle, the following steps may also be performed:
[0157] First step, determine a second distance between the target vehicle and the smart home device.
[0158] Wherein, the second distance may be the distance between the target vehicle and the smart home device.
[0159] The smart home device may be a household electrical appliance device that enables remote control through Internet of Things technology. As an example, the smart home device may be a smart air conditioner, a smart refrigerator, a smart washing machine, a smart water heater, a smart door lock, etc.
[0160] Here, the location where the smart home device is located may be preset or detected in real time.
[0161] In addition, the second distance can be determined in the following ways: dual-frequency Doppler effect ranging, pulse measurement based on time of flight, coordinate difference calculation based on GPS (Global Positioning System) positioning data, and ranging through the signal strength of a Bluetooth beacon (BLE Beacon).
[0162] The second step is to determine whether the second distance is less than or equal to a preset second threshold.
[0163] The second threshold may be a preset distance threshold. As an example, the second threshold may be 20 meters, 10 meters, 5 meters, etc. Here, the second threshold can be configured according to the model of the target vehicle.
[0164] On this basis, the following method can be used to send the function information to the key of the target vehicle:
[0165] When the second distance is less than or equal to the second threshold, send the function information to the key of the target vehicle.
[0166] Here, the RSSI signal strength detection technology can be used to calculate the second distance in real time. When the second distance is less than or equal to 10 meters, send the function information to the key of the target vehicle.
[0167] It can be understood that in the above optional implementation methods, by setting the second threshold, the battery life of the key and the communication duration can be extended, and the misoperation rate can be reduced, and the accuracy of the timing for sending the function information can be improved.
[0168] Optionally, continuous distance monitoring can also be performed. When the duration for which the second distance is less than or equal to the second threshold reaches a preset duration threshold, send the function information to the key of the target vehicle.
[0169] In addition, when the second distance is less than or equal to the second threshold and the speed of the target vehicle is greater than or equal to a preset speed (such as 20 km / h), the function information may not be sent to the key of the target vehicle temporarily to avoid transient triggering.
[0170] In some alternative implementation manners of this embodiment, to solve the technical problem in the prior art that after a smart key triggers a function, it cannot automatically determine the user's intention, resulting in incorrect triggering of a device or long-term power consumption of the key screen, after sending the function information to the key of the target vehicle, the following steps may further be performed:
[0171] First step, determine whether a function trigger instruction is received.
[0172] Wherein, the function trigger instruction is: an instruction triggered by the function information within a preset duration after the function information is displayed on the key.
[0173] Second step, in the case of receiving the function trigger instruction, control the controlled device to trigger the target function; in the case of not receiving the function trigger instruction, control the key to turn off the screen.
[0174] It can be understood that in the above alternative implementation manners, through the preset duration determination mechanism, the screen power consumption when the user has no operation can be reduced, and the incorrect triggering rate can be reduced, and the battery life of the key can be improved.
[0175] In some alternative implementation manners of this embodiment, to solve the technical problem in the prior art that the vehicle key system has a single environmental perception dimension, resulting in difficulty in accurately triggering the function of the controlled device, the vehicle information includes at least one of the following:
[0176] Vehicle position, vehicle speed, interior temperature, exterior temperature, environmental humidity, environmental light intensity, current time, weather information, air quality information, map information.
[0177] Among them, the vehicle position can be obtained by means of GPS, etc. Environmental data (including exterior temperature, environmental humidity, environmental light intensity, weather information, air quality information) can be collected by an external multi-parameter meteorological sensor. The vehicle speed and interior temperature can be obtained by sensors in the target vehicle. The map information can be obtained by calling a map interface.
[0178] It can be understood that in the above optional implementation manners, by establishing a multi-dimensional data acquisition system for vehicle position, vehicle speed, in-vehicle temperature, out-of-vehicle temperature, environmental humidity, environmental light intensity, current time, weather information, air quality information, and map information, the integrity of system environmental perception can be improved: covering multiple parameters such as vehicle body status (position, speed), cockpit microenvironment (temperature and humidity), macro environment (weather, air quality), and spatio-temporal dimension (time, map); and, the reliability of adaptive decision-making can be enhanced: multi-dimensional data cross-validation can eliminate single-sensor errors (such as verifying GPS positioning drift through map information); in addition, air quality data supports the health warning function, and map information supports the path prediction function, so the function application scenarios can also be extended. Thus, the above optional implementation manners can improve the accuracy of triggering the functions of controlled devices.
[0179] The device control method executed by a vehicle key provided in an embodiment of the present application can obtain vehicle information of a target vehicle. After that, based on the vehicle information, the current usage scenario of the target vehicle is determined. Then, based on the current usage scenario and the historical usage records of the controlled device, from the preset function set corresponding to the controlled device, the target function to be triggered and the function information of the target function are determined. Subsequently, the function information is sent to the key of the target vehicle so as to trigger the target function of the controlled device through the function information. Thus, the current usage scenario of the vehicle can be determined through the vehicle information, and then based on the historical usage records of the controlled device, the functions that may be triggered by the current user of the vehicle in this scenario can be determined, and the function information of this function is sent to the key of the vehicle. In this way, the functions that may be triggered by the current user can be determined more accurately and timely, and then the functions of the controlled device can be triggered more accurately and timely through the key. In addition, the user of the vehicle does not need to rely on a mobile terminal such as a mobile phone, and the corresponding functions of the controlled device can be triggered through the vehicle key. Thus, in scenarios such as when the mobile terminal is turned off, the functions of the controlled device can be triggered more conveniently through the key.
[0180] In some cases, in order to solve the technical problem in the prior art that personal preferences and group usage habits cannot be effectively combined for function decision-making, resulting in insufficient accuracy of function recommendation in the vehicle intelligent key system, the following technical solution can be adopted:
[0181] Figure 2 It is a schematic flowchart of another device control method executed by a vehicle key provided in an embodiment of the present application. As Figure 2 shown, the method specifically includes:
[0182] Step 211, obtain vehicle information of a target vehicle.
[0183] In this embodiment, step 211 and Figure 1It is basically the same as step 111 in the corresponding embodiment, and will not be elaborated here.
[0184] Step 212: Based on the vehicle information, determine the current usage scenario of the target vehicle.
[0185] In this embodiment, step 212 is Figure 1 basically the same as step 112 in the corresponding embodiment, and will not be elaborated here.
[0186] Step 213: For each function in the preset function set of the controlled device, based on the historical usage record of the controlled device, determine the usage frequency of the current user of the target vehicle for this function, where the usage frequency of the current user for this function is: the usage frequency of the current user for this function in the current usage scenario.
[0187] In this embodiment, the historical usage record can represent: within a historical time period, the usage frequencies of each function in the preset function set by each user (including the current user) in each usage scenario (including the current usage scenario). For example, the usage frequency of user 1 for function 1 in scenario A, the usage frequency of user 1 for function 1 in scenario B, the usage frequency of user 2 for function 1 in scenario A, the usage frequency of user 2 for function 2 in scenario A, the usage frequency of user 1 for function 2 in scenario A, the usage frequency of user 2 for function 2 in scenario B, the usage frequency of user 1 for function 2 in scenario B, the usage frequency of user 2 for function 1 in scenario B, etc.
[0188] As an example, when the current usage scenario is scenario A, and the preset function set includes function 1, function 2, and function 3, the historical usage record of the controlled device can be used to determine the usage frequency of the current user for function 1 (denoted as usage frequency 1), the usage frequency of the current user for function 2 (denoted as usage frequency 2), and the usage frequency of the current user for function 3 (denoted as usage frequency 3) in scenario A.
[0189] Here, in the current usage scenario, for each function in the preset function set, the corresponding usage frequency can be determined, and there is a one-to-one correspondence between the functions in the preset function set and the usage frequencies in the current usage scenario.
[0190] Step 214: From the obtained usage frequencies of the current user for each function, determine the first usage frequency with the largest value.
[0191] In this embodiment, the first usage frequency can be the maximum value among the usage frequencies obtained in step 213. For example, in the above example, the first usage frequency is the maximum value among usage frequency 1, usage frequency 2, and usage frequency 3. As an example, if the maximum value among usage frequency 1, usage frequency 2, and usage frequency 3 is usage frequency 1, then usage frequency 1 can be determined as the first usage frequency.
[0192] Step 215: Determine the function corresponding to the first usage frequency in the preset function set as the reference function.
[0193] In this embodiment, since there is a one-to-one correspondence between the functions in the preset function set and the usage frequencies, the function corresponding to the first usage frequency can be determined and used as the reference function.
[0194] As an example, if usage frequency 1 is the first usage frequency, then function 1 can be used as the reference function.
[0195] Step 216: Determine the usage frequency of each user of the controlled device for the reference function, and obtain the usage frequency corresponding to the user.
[0196] In this embodiment, each controlled device can have multiple users (including the current user). Therefore, based on the historical usage records, the usage frequency of each user of the controlled device for the reference function can be determined, and the usage frequency corresponding to the user can be obtained.
[0197] Here, each user can correspond to a usage frequency. In other words, in step 216, there is a one-to-one correspondence between the user and the usage frequency.
[0198] Step 217: Determine the maximum second usage frequency from the usage frequencies corresponding to all the obtained users.
[0199] In this embodiment, the second usage frequency can be the maximum value among the usage frequencies obtained in step 216.
[0200] Step 218: Based on the first usage frequency and the second usage frequency, determine the target function to be triggered and the function information of the target function from the preset function set corresponding to the controlled device.
[0201] In this embodiment, the target function can be the function to be triggered by the current user.
[0202] Here, various methods can be adopted to determine the target function to be triggered from the preset function set corresponding to the controlled device based on the first usage frequency and the second usage frequency.
[0203] As an example, if the first usage frequency is greater than or equal to the second usage frequency, the reference function can be determined as the target function; if the first usage frequency is less than the second usage frequency, the function corresponding to the second usage frequency can be determined as the target function.
[0204] In addition, other methods can also be adopted to determine the target function to be triggered from the preset function set corresponding to the controlled device based on the first usage frequency and the second usage frequency. For specific details, please refer to the following description and will not be elaborated here.
[0205] Step 219: Send the function information to the key of the target vehicle so as to trigger the target function of the controlled device through the function information.
[0206] In this embodiment, step 219 is basically the same as Figure 1 step 114 in the corresponding embodiment and will not be elaborated here.
[0207] In some optional implementation manners of this embodiment, to solve the technical problem of how to balance individual preferences and group behavior patterns and achieve more accurate function recommendation in the prior art, before determining the target function to be triggered from the preset function set corresponding to the controlled device based on the first usage frequency and the second usage frequency, for each function in the preset function set, the usage frequency of the entire group of multiple users of the controlled device for this function can be determined to obtain the usage frequency of the entire group of multiple users for this function.
[0208] As an example, when the current usage scenario is scenario A and the preset function set includes function 1, function 2, and function 3, through the historical usage records of the controlled device, the usage frequencies of the entire group of multiple users for function 1 (denoted as usage frequency 4), function 2 (denoted as usage frequency 5), and function 3 (denoted as usage frequency 6) in scenario A can be determined.
[0209] Here, in the current usage scenario, for each function in the preset function set, the corresponding usage frequency can be determined. In other words, in the current usage scenario, there is a one-to-one correspondence between the functions in the preset function set and the usage frequencies.
[0210] On this basis, the following method can be adopted to determine the target function to be triggered from the preset function set corresponding to the controlled device based on the first usage frequency and the second usage frequency:
[0211] In the first step, for each function in the preset function set, based on the usage frequency of the function by the current user, the overall usage frequency of the function by multiple users, the first usage frequency, and the second usage frequency, determine the trigger probability of the function by the current user.
[0212] Here, based on the usage frequency of the function by the current user, the overall usage frequency of the function by multiple users, the first usage frequency, and the second usage frequency, the trigger probability of the function by the current user can be determined through a preset table or a preset formula.
[0213] Among them, the above preset table or preset formula can represent the corresponding relationship between the usage frequency of the function by the current user, the overall usage frequency of the function by multiple users, the first usage frequency, the second usage frequency, and the trigger probability of the function by the current user.
[0214] In the second step, according to the order from large to small of the trigger probabilities, determine a preset number of target functions to be triggered from the preset function set.
[0215] Among them, the preset number is a pre-set number. As an example, the preset number can be 3, 5, etc.
[0216] It can be understood that in the above optional implementation method, by using the overall usage frequency of each function in the preset function set by multiple users to determine the functions that the current user may trigger, the accuracy of determining the functions of the controlled device can be further improved.
[0217] Optionally, when the first usage frequency is equal to the second usage frequency, a collaborative filtering algorithm can also be used to determine the target functions to be triggered from the preset function set corresponding to the controlled device based on the first usage frequency and the second usage frequency. For example, a matrix representing the relationship between users and functions can be established, the cosine similarity between the current user and the group of similar users can be calculated, and the characteristic data of the neighboring users can be comprehensively used for recommendation. For example, when it is detected that the current user B has an 85% similarity with the user group C in the air conditioner usage mode, the high-frequency usage functions of the user group C (i.e., the above target functions) are preferentially recommended.
[0218] In some application scenarios of the above optional implementation manners, to solve the technical problem of how to improve the prediction accuracy of the triggering probability in the prior art, the following method can be adopted. Based on the usage frequency of the current user for this function, the overall usage frequency of multiple users for this function, the first usage frequency, and the second usage frequency, determine the triggering probability of the current user for this function:
[0219] First step, based on the usage frequency of the current user for this function and the first usage frequency, determine the first probability.
[0220] Among them, the first probability represents the probability that a single user triggers this function.
[0221] As an example, the quotient of the usage frequency of the current user for this function and the first usage frequency can be determined as the first probability. Or, first calculate the quotient of the usage frequency of the current user for this function and the first usage frequency, and then adjust this quotient by a preset first deviation to obtain the first probability.
[0222] Second step, based on the overall usage frequency of multiple users for this function and the second usage frequency, determine the second probability.
[0223] Among them, the second probability represents the probability that multiple users as a whole trigger this function.
[0224] As an example, the quotient of the overall usage frequency of multiple users for this function and the second usage frequency can be determined as the second probability. Or, first calculate the quotient of the overall usage frequency of multiple users for this function and the second usage frequency, and then adjust this quotient by a preset second deviation to obtain the second probability.
[0225] Third step, based on the first probability and the second probability, determine the triggering probability of the current user for this function.
[0226] Here, multiple methods can be adopted to determine the triggering probability of the current user for this function based on the first probability and the second probability.
[0227] As an example, first calculate the weighted sum of the first probability and the second probability, and then adjust this result by a preset third deviation to obtain the triggering probability of the current user for this function.
[0228] In addition, other methods can also be adopted to determine the triggering probability of the current user for this function based on the first probability and the second probability. For details, please refer to the following description and will not be elaborated here.
[0229] It can be understood that in the above application scenario, the triggering probability of the current user for this function can be more accurately determined through the first probability and the second probability.
[0230] In some cases of the above application scenario, in order to solve the technical problem of how to improve the accuracy of determining the triggering probability in the prior art, the following method can also be adopted. Based on the first probability and the second probability, determine the triggering probability of the current user for this function:
[0231] Determine the result of the weighted sum of the first probability and the second probability as the triggering probability of the current user for this function.
[0232] Among them, the weight of the first probability is greater than the weight of the second probability.
[0233] It can be understood that in the above case, since the weight of the first probability is greater than the weight of the second probability, the historical usage behavior of the current user will affect the triggering probability to a greater extent compared to the group of users. Thus, the finally obtained triggering probability can be more matched with the current user, thereby improving the accuracy of determining the triggering probability.
[0234] It should be noted that in addition to the above-recorded content, this embodiment may also include Figure 1 the corresponding technical features described in the corresponding embodiments, so as to achieve Figure 1 the technical effects of the device control method performed by the vehicle key as shown, and for specific details, please refer to Figure 1 the relevant descriptions. For the sake of brevity, no further elaboration will be made here.
[0235] The device control method performed by the vehicle key provided in the embodiments of the present application first determines the function that the individual (i.e., the current user) most prefers, and then verifies the universality of this function in the group (i.e., the overall multiple users), avoiding mis-triggering caused by individual abnormal preferences, such as abnormal high frequencies caused by user misoperations. Thus, the accuracy of triggering the function of the controlled device by the key can be further improved.
[0236] Next, taking the target vehicle as an automobile as an example, the embodiments of the present application will be exemplarily described. However, it should be noted that the embodiments of the present application may have the features described below, but the following descriptions do not constitute a limitation on the protection scope of the embodiments of the present application.
[0237] The traditional functions of a car key are to unlock / lock the vehicle. With the development of technology and the increase in vehicle functions, it has gradually acquired functions such as finding the vehicle, remotely controlling the window to go up and down, remotely opening the trunk, and remotely parking. However, limited by the hardware structure, the car key mainly realizes the switching of different functions through the operation combination of buttons. In actual use by users, the operation is complex, the learning cost is high, and it is inconvenient to use. With the popularization of new energy vehicles and the increasing intelligence of vehicles, due to the single function and limited function expansion of traditional car keys, more and more car manufacturers have begun to cancel traditional car keys and adopt more technological and cost-effective vehicle unlocking and locking methods such as card-type, wearable devices, and mobile phone Bluetooth. At the same time, the interior design of new energy vehicles tends to be simple, and a large number of physical function buttons are cancelled and replaced by soft switches on the vehicle infotainment system. It is inconvenient to blindly operate the functions, and the driving safety cannot be guaranteed either.
[0238] In some existing methods, the buttons on the key can be customized. In such methods, the buttons on the vehicle key are used as a trigger node to trigger the functions preset in the vehicle. In essence, the functions that the key can achieve are fixed, and true function customization has not been achieved. There are also some methods where the application scenarios of the extended functions of the vehicle key are few and fixed, and the interaction with vehicle functions is not strong.
[0239] As Figure 3A shown, the system of this solution collects information such as the vehicle position, vehicle speed, temperature inside and outside the vehicle, environmental humidity, and environmental light intensity through the vehicle multi-modal sensor 104, and obtains the current time, weather information, air quality information, etc. through the vehicle network 105. Combining the above vehicle information, the vehicle controller 101 analyzes the environmental parameters in real time and generates a variety of different vehicle use scenario labels (representing the above current use scenarios). The vehicle controller 101 calculates the function recommendation degree value according to the current vehicle use scenario label and in combination with the user's historical operation data record (i.e., the above historical behavior record), sorts the control functions according to the calculation result, and then pushes the recommended control functions to the operation interface of the vehicle smart key 103. Further, the vehicle controller 101 controls the vehicle function actuator 106 to perform corresponding actions according to the user's key operation, and at the same time uploads the key operation instruction to the cloud controller 102 to control the smart home device 107.
[0240] The system involved in this solution includes a vehicle controller 101, a cloud controller 102, a vehicle smart key 103, a vehicle multi-modal sensor 104, vehicle network information 105, a vehicle function actuator 106, and a smart home device 107.
[0241] The vehicle controller 101 is the control center of the system. It can obtain environmental and vehicle status information through vehicle networking information 105 and vehicle multi-modal sensors 104, and generate scene tags. At the same time, by analyzing the historical operation data records of users, it predicts the driving behaviors of users and pushes the recommendation function (i.e., the above-mentioned target function) to the operation interface of the intelligent vehicle key 103. The vehicle intelligent key 103 is built-in with a main control MCU (Microcontroller Unit) chip circuit, an ultra-wideband chip circuit, and a low-power Bluetooth chip circuit, and is equipped with a touch display module and a capacitive fingerprint recognition module, which can realize the communication and positioning functions between the key and the vehicle, and has fingerprint recognition and touch display functions. The vehicle controller controls the vehicle function actuator 106 to perform corresponding actions according to the key of the user (i.e., the above-mentioned current user), and at the same time uploads the key operation instructions to the cloud controller 102 to control the smart home device 107. The vehicle networking information 105 includes time, weather, air quality, and map information. The vehicle multi-modal sensors 104 include, but are not limited to, in-vehicle cameras, rain and ambient light sensors, in-vehicle and out-of-vehicle temperature sensors, and in-vehicle air quality sensors, etc., which are used to collect environmental and vehicle status information. The smart home device 107 includes, but is not limited to, air conditioners, floor heating, fresh air systems, lights, and home cameras, etc., to implement the operation function instructions of the intelligent vehicle key 103.
[0242] In this solution, the function recommendation value S_i corresponding to each scene tag can be related to the personal usage frequency F_i of a certain function of the user (i.e., the usage frequency of the current user for this function), the maximum usage times F_max of all functions of this user's single vehicle (i.e., the above-mentioned first usage frequency), the usage frequency G_i of a certain function of all users (i.e., the usage frequency of all the above-mentioned multiple users for this function), the maximum usage times G_max of all functions of all users (i.e., the above-mentioned second usage frequency), and the weight coefficient w (i.e., the weight of the above-mentioned first probability). Here, w is the personal weight, and 1 - w is the group weight (i.e., the weight of the above-mentioned second probability). Considering that this solution focuses on personalized function customization, the value of w is set to 0.7. The relationship between the function recommendation value and the relevant parameters is as follows: S_i = w * (F_i / F_max) + (1 - w) * (G_i / G_max).
[0243] Specifically, as Figure 3A shown, the system described in this solution includes a vehicle controller 101, a cloud controller 102, a vehicle intelligent key 103, vehicle multi-modal sensors 104, vehicle networking information 105, vehicle function actuators 106, and smart home devices 107.
[0244] This solution can wake up the vehicle controller 101 in the trigger area where the key functions can be dynamically customized, that is, the range where the vehicle key can be detected. It generates a vehicle usage scenario label based on the environmental information where the vehicle is currently located, including but not limited to time, location, temperature, rainfall, ambient light intensity, air quality, etc., and vehicle status information such as vehicle speed and in-vehicle temperature. Combining the historical operation data records of the user recorded by the vehicle controller 101 and the cloud controller 102, it prioritizes the control functions according to the degree of fit between the function and the current vehicle usage scenario, and takes the top three (i.e., the above-mentioned preset quantity) vehicle control functions and smart home control functions as optional functions, and pushes them to the touch display interface of the smart vehicle key 103. Further, the user can select the recommended functions. Further, the vehicle controller 101 and the cloud controller 102 control the vehicle function actuator 106 and the smart home device 107 to perform corresponding actions according to the user's operations. It should be noted that considering home energy consumption control, a judgment condition can be added to determine whether to push the smart home control function. Thus, it is not necessary for the vehicle controller 101 and the cloud controller 102 to generate control instructions simultaneously. When the vehicle smart key 103 is detected not to be in the trigger area, the vehicle can enter the normal anti-theft mode.
[0245] As Figure 3B shown, the structure of the vehicle smart key 103 includes a key shell 201, a physical button area 202, a touch display area 203, a main control MCU chip circuit 204, an ultra-wideband chip circuit 205, a low-power Bluetooth chip circuit 206, and a fingerprint recognition module 207. The physical button area 202 arranges traditional vehicle unlocking, locking, and tailgate unlocking buttons. The touch display area 203 realizes the fingerprint recognition function for identifying the user's identity. Further, the vehicle controller 101 and the cloud controller 102 retrieve the corresponding historical operation data records of the user according to the user recognition result. At the same time, the touch display area 203 is also used for information display and touch operation, informing the user of specific function information, function selection, and operation. Optionally, the user can choose not to perform any operation. After the process time specified in this solution ends, the touch display area turns off the screen and exits the process.
[0246] As Figure 3C shown, it shows the detectable range of the vehicle smart key 103. The key realizes positioning with the vehicle through the ultra-wideband chip circuit and the low-power Bluetooth chip circuit placed inside, and then determines whether the key is in the trigger area where the function dynamic customization described in this solution is located. When the vehicle smart key 103 enters the trigger area, it executes the function adaptive logic process described in this solution. When the vehicle smart key 103 is detected not to be in the trigger area, the vehicle enters the normal anti-theft mode.
[0247] The following combines a specific embodiment to illustrate the function adaptive logic process described in this solution:
[0248] S401: As Figure 3D shown, when the vehicle intelligent key 103 is detected to enter the trigger area for function customization, the vehicle controller 101 wakes up.
[0249] S402: The vehicle controller 101 collects information such as vehicle position, vehicle speed, temperature inside and outside the vehicle, humidity, ambient light intensity, time, weather, air quality, etc. through the multimodal sensor 104 and the vehicle Internet 105.
[0250] S403: Based on the above information, the vehicle controller 101 generates multiple different vehicle usage scenario tags, such as 18:00, company parking lot, rainy day, temperature 12°C, temperature inside the vehicle 14°C, temperature at home 13°C, humidity 66%, scenario tag: rainy day, wet and cold, going home from work.
[0251] S404: The vehicle controller 101 matches the recommended values S_i of each control function according to the vehicle usage scenario tags and user identity recognition. And according to the magnitudes of the recommended values S_i, the control functions are sorted by priority from high to low, such as vehicle-related functions: turning on the in-vehicle air conditioner for heating - turning on the seat heating function - navigating home - turning on the rearview mirror heating function - turning on the defrosting and demisting function, etc., and also such as smart home-related functions: turning on the central air conditioner for heating - turning on the floor heating - turning on the entrance lights - opening the curtains, etc.
[0252] S405: The vehicle controller 101 pushes the top three vehicle control functions and smart home control functions in the sorted function recommended values as the system recommended functions to the touch display interface of the intelligent vehicle key 103, and the current control function icons are displayed on the interface. Further, only when the smart home control function push threshold D_i < 1 is the corresponding smart home system recommended function pushed. where D_v is the straight-line distance between the vehicle and home (the unit can be kilometers).
[0253] S406: The user operates the control function icons on the touch display interface of the intelligent vehicle key 103 within the specified time (3 seconds). If no operation is performed beyond the specified time, the touch display area goes blank and the process exits.
[0254] S407: The vehicle controller 101 and the cloud controller 102 control the vehicle function actuator 106 and the smart home device 107 to perform corresponding actions according to the user's operation, record the operation, and iterate the relevant parameters of the function recommended values, and the process ends.
[0255] Further, during the user's operation, the vehicle controller 101 counts the historical operation records of this user, calculates the frequency of the user using each function in each scenario, generates a personal usage frequency \(F_i\) for each function in this scenario, and the initial value of \(F_i\) is 0. At the same time, record the maximum usage times \(F_{max}\) of all functions of this user, and the initial value of \(F_{max}\) is 0. After each user operation, the relevant parameters are superimposed and iterated.
[0256] Further, based on big data, the vehicle controller 101 counts the usage frequency \(G_i\) of all vehicle users using each function in each scenario and the maximum usage times \(G_{max}\) of all functions of all users. After each user operation, the relevant parameters are superimposed and iterated.
[0257] Next, in combination with Figure 3E , the calculation of the function recommendation value \(S_i\) and the logical relationship for determining the recommended function will be described:
[0258] S501: The vehicle controller 101 synthesizes various environmental information to generate a scenario label: sunny, stuffy, getting off work and going home.
[0259] S502: The vehicle controller 101 retrieves that in this scenario label, the number of times \(F_i\) the user turns on the air - conditioning cooling function is 50 (i.e., the usage frequency of the current user for this function), the most frequently used function among all functions of this user is the navigation function (i.e., the reference function), and the maximum number of times \(F_{max}\) is 80 (i.e., the first usage frequency). The usage frequency \(G_i\) of all users turning on the air - conditioning cooling function is 500 (i.e., the usage frequency of each user for this function), and the most frequently used function among all vehicle functions of all users is also the air - conditioning cooling function, and the usage frequency \(G_{max}\) is 500 (i.e., the second usage frequency). Then the recommendation value \(S_i\) of the air - conditioning cooling function is \(0.7\times(50 / 80)+0.3\times(500 / 500)=0.7375\).
[0260] Further, in this scenario label, the number of times \(F_i\) the user uses the navigation function is 80 (i.e., the usage frequency of the current user for this function), the most frequently used function among all functions of this user is also the navigation function (i.e., the reference function), \(F_{max}\) is 80 (i.e., the first usage frequency). The usage frequency \(G_i\) of all users using the navigation function is 400 (i.e., the usage frequency of each user for this function), and the most frequently used function among all vehicle functions of all users is the air - conditioning cooling function, and the usage frequency \(G_{max}\) is 500 (i.e., the second usage frequency). Then the recommendation value \(S_i\) of the navigation function is \(0.7\times(80 / 80)+0.3\times(400 / 500)=0.94\).
[0261] Further, the recommended value of the navigation function should be greater than that of the air - conditioning refrigeration function. In this driving scenario, the user personally is more inclined to use the navigation function, while all vehicle users are more inclined to use the air - conditioning refrigeration function. However, considering the user's personal usage habits, the system recommends the navigation function.
[0262] Further, the recommended value of the smart home control function is calculated synchronously with reference to the calculation method of the vehicle control function recommended value.
[0263] S503: The vehicle controller 101 pushes the control function to the touch - display interface of the smart vehicle key 103 according to the calculation result of the function recommended value, and the current control function icon is displayed on the interface.
[0264] It should be noted that, in addition to the content recorded above, this embodiment may also include the technical features described in the above embodiments, so as to achieve the technical effects of the device control method executed by the vehicle key as shown above. For details, please refer to the above description. For the sake of concise description, it will not be elaborated here.
[0265] This solution can solve the problems of static functions, passive interaction, and poor scenario applicability of traditional car keys, and establish a personalized customized dynamic intelligent control system that can sense the environment and autonomously learn the user's behavior habits. By controlling vehicle functions with the car key, it makes up for the inconvenience of the lack of physical function buttons in the vehicle (for example, only soft switches are used to achieve corresponding function control), and saves the time of operating vehicle functions on the in - vehicle computer after entering the vehicle. At the same time, the car key can be used as the center of in - vehicle IOT (The Internet of Things) to link smart homes and expand the function ecosystem.
[0266] Figure 4 It is a schematic structural diagram of a device control device executed by a vehicle key provided by an embodiment of the present application. Specifically, it includes:
[0267] An acquisition unit 411, configured to acquire vehicle information of a target vehicle;
[0268] A first determination unit 412, configured to determine the current usage scenario of the target vehicle based on the vehicle information;
[0269] A second determination unit 413, configured to determine a target function to be triggered and function information of the target function from a preset function set corresponding to the controlled device based on the current usage scenario and historical usage records of the controlled device;
[0270] A sending unit 414, configured to send the function information to the key of the target vehicle, so as to trigger the target function of the controlled device through the function information.
[0271] In a possible implementation, the controlled device is the target vehicle; and
[0272] Before sending the function information to the key of the target vehicle, the device further includes:
[0273] A third determination unit (not shown in the figure), configured to determine a first distance between the target vehicle and the key of the target vehicle;
[0274] A fourth determination unit (not shown in the figure), configured to determine whether the first distance is less than or equal to a preset first threshold; and
[0275] Sending the function information to the key of the target vehicle includes:
[0276] When the first distance is less than or equal to the first threshold, sending the function information to the key of the target vehicle.
[0277] In a possible implementation, the controlled device is a smart home device associated with the target vehicle; and
[0278] Before sending the function information to the key of the target vehicle, the device further includes:
[0279] A fifth determination unit (not shown in the figure), configured to determine a second distance between the target vehicle and the smart home device;
[0280] A sixth determination unit (not shown in the figure), configured to determine whether the second distance is less than or equal to a preset second threshold; and
[0281] Sending the function information to the key of the target vehicle includes:
[0282] When the second distance is less than or equal to the second threshold, sending the function information to the key of the target vehicle.
[0283] In a possible implementation, determining the target function to be triggered from the preset function set corresponding to the controlled device based on the current usage scenario and the historical usage record of the controlled device includes:
[0284] For each function in the preset function set of the controlled device, based on the historical usage record of the controlled device, determine the usage frequency of the current user of the target vehicle for this function, where the usage frequency of the current user for this function is: the usage frequency of the current user for this function in the current usage scenario;
[0285] From the usage frequencies of each function obtained from the current usage objects, determine the first usage frequency with the largest value;
[0286] In the preset function set, determine the function corresponding to the first usage frequency as the reference function;
[0287] Determine the usage frequency of each usage object of the controlled device for the reference function, and obtain the usage frequency corresponding to the usage object;
[0288] From the usage frequencies corresponding to the multiple usage objects as a whole obtained, determine the second usage frequency with the largest value;
[0289] Based on the first usage frequency and the second usage frequency, determine the target function to be triggered from the preset function set corresponding to the controlled device.
[0290] In a possible implementation manner, before determining the target function to be triggered from the preset function set corresponding to the controlled device based on the first usage frequency and the second usage frequency, the device further includes:
[0291] A seventh determination unit (not shown in the figure), configured to, for each function in the preset function set, determine the usage frequency of the multiple usage objects of the controlled device as a whole for the function, and obtain the usage frequency of the multiple usage objects as a whole for the function; and
[0292] Determining the target function to be triggered from the preset function set corresponding to the controlled device based on the first usage frequency and the second usage frequency includes:
[0293] For each function in the preset function set, based on the usage frequency of the current usage object for the function, the usage frequency of the multiple usage objects as a whole for the function, the first usage frequency, and the second usage frequency, determine the trigger probability of the current usage object for the function;
[0294] According to the order of the trigger probabilities from large to small, determine the preset number of target functions to be triggered from the preset function set.
[0295] In a possible implementation manner, determining the trigger probability of the current usage object for the function based on the usage frequency of the current usage object for the function, the usage frequency of the multiple usage objects as a whole for the function, the first usage frequency, and the second usage frequency includes:
[0296] Based on the usage frequency of the current usage object for the function and the first usage frequency, determine a first probability, where the first probability represents the probability that a single usage object individual triggers the function;
[0297] Determine a second probability based on the usage frequency of the function by multiple users as a whole and the second usage frequency, where the second probability represents the probability that the multiple users as a whole trigger the function;
[0298] Determine the trigger probability of the current user for the function based on the first probability and the second probability.
[0299] In a possible implementation manner, the determining the trigger probability of the current user for the function based on the first probability and the second probability includes:
[0300] Determine the result of the weighted sum of the first probability and the second probability as the trigger probability of the current user for the function;
[0301] Wherein, the weight of the first probability is greater than the weight of the second probability.
[0302] In a possible implementation manner, after sending the function information to the key of the target vehicle, the device further includes:
[0303] An eighth determination unit (not shown in the figure), configured to determine whether a function trigger instruction is received, where the function trigger instruction is: an instruction triggered by the function information within a preset duration after the key displays the function information;
[0304] A first control unit (not shown in the figure), configured to control the controlled device to trigger the target function when the function trigger instruction is received;
[0305] A second control unit (not shown in the figure), configured to control the key to turn off the screen when the function trigger instruction is not received.
[0306] In a possible implementation manner, the vehicle information includes at least one of the following:
[0307] Vehicle position, vehicle speed, in-vehicle temperature, out-of-vehicle temperature, environmental humidity, environmental light intensity, current time, weather information, air quality information, map information.
[0308] The device for controlling a device through a vehicle key provided in this embodiment may be the device for controlling a device through a vehicle key as shown in Figure 4 and can execute all steps of the above-mentioned methods for controlling a device through a vehicle key, and thus achieve the technical effects of the above-mentioned methods for controlling a device through a vehicle key. For specific reference, please refer to the above relevant descriptions. For the sake of brevity, it will not be repeated here.
[0309] Figure 5 A structural schematic diagram of an electronic device provided by an embodiment of the present application Figure 5 The illustrated electronic device 510 includes: at least one processor 511, a memory 512, at least one network interface 514, and other user interfaces 513. Each component in the electronic device 510 is coupled together through a bus system 515. It can be understood that the bus system 515 is used to implement connection communication between these components. In addition to including a data bus, the bus system 515 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear illustration, in Figure 5 all kinds of buses are labeled as the bus system 515.
[0310] Among them, the user interface 513 may include a display, a keyboard, or a pointing device (for example, a mouse, a trackball, a touchpad, or a touch screen, etc.).
[0311] It can be understood that the memory 512 in the embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM). The memory 512 described herein is intended to include but not be limited to these and any other suitable types of memory.
[0312] In some embodiments, the memory 512 stores the following elements, executable units, or data structures, or subsets thereof, or extended sets thereof: an operating system 5121 and application programs 5122.
[0313] Among them, the operating system 5121 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., and is used to implement various basic services and handle hardware-based tasks. The application programs 5122 include various application programs, such as a Media Player, a Browser, etc., and are used to implement various application services. The program for implementing the method of the embodiment of the present application may be included in the application programs 5122.
[0314] In this embodiment, by calling the program or instruction stored in the memory 512, specifically, the program or instruction stored in the application programs 5122, the processor 511 is configured to execute the method steps provided by each method embodiment, for example, including:
[0315] Obtain vehicle information of a target vehicle;
[0316] Based on the vehicle information, determine the current usage scenario of the target vehicle;
[0317] Based on the current usage scenario and the historical usage record of the controlled device, determine a target function to be triggered and function information of the target function from a preset function set corresponding to the controlled device;
[0318] Send the function information to a key of the target vehicle so as to trigger the target function of the controlled device through the function information.
[0319] The method disclosed in the embodiments of the present application can be applied to or implemented by the processor 511. The processor 511 may be an integrated circuit chip with signal processing capabilities. During implementation, the steps of the above method can be completed by the integrated logic circuit in hardware or instructions in software form in the processor 511. The above-mentioned processor 511 may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as being executed and completed by a hardware decoding processor, or by a combination of hardware and software units in the decoding processor. The software unit may be located in a mature storage medium in the art such as a random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, register, etc. This storage medium is located in the memory 512, and the processor 511 reads the information in the memory 512 and combines its hardware to complete the steps of the above method.
[0320] It can be understood that these embodiments described herein can be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the above functions of the present application, or a combination thereof.
[0321] For software implementation, the above-mentioned technology herein can be implemented by units that execute the above functions herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented inside or outside the processor.
[0322] The electronic device provided in this embodiment may be asFigure 5 The electronic device shown can execute all the steps of the device control methods performed by the vehicle key as described above, and thus achieve the technical effects of the device control methods performed by the vehicle key as described above. For specific details, please refer to the relevant descriptions above. For the sake of concise description, it will not be elaborated here.
[0323] The embodiments of the present application further provide a storage medium (computer-readable storage medium). The storage medium stores one or more programs. Among them, the storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk or solid-state drive; the memory may also include a combination of the above types of memory.
[0324] When one or more programs in the storage medium can be executed by one or more processors to implement the device control method performed by the vehicle key on the electronic device side as described above.
[0325] The above-mentioned processor is used to execute the device control program stored in the memory to implement the following steps of the device control method performed by the vehicle key on the electronic device side:
[0326] Obtain the vehicle information of the target vehicle;
[0327] Based on the vehicle information, determine the current usage scenario of the target vehicle;
[0328] Based on the current usage scenario and the historical usage records of the controlled device, determine the target function to be triggered and the function information of the target function from the preset function set corresponding to the controlled device;
[0329] Send the function information to the key of the target vehicle so as to trigger the target function of the controlled device through the function information.
[0330] Professional personnel should also be able to further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed in this article can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0331] The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be implemented in hardware, software modules executed by a processor, or a combination of both. The software modules may be disposed in a random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0332] It should be understood that the terms used herein are for the purpose of describing particular example embodiments only and are not intended to be limiting. Unless the context clearly dictates otherwise, the singular forms "a", "an", and "the" as used herein may also include the plural forms. The terms "comprises", "comprising", "includes", and "having" are inclusive and thus specify the presence of the stated features, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring them to be performed in the particular order described or illustrated, unless specifically indicated as an order of performance. It should also be understood that additional or alternative steps may be used.
[0333] The foregoing are only specific embodiments of the present application, enabling those skilled in the art to understand or implement the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for controlling a device performed by a vehicle key, characterized in that, The method includes: Obtaining vehicle information of a target vehicle; Based on the vehicle information, determining the current usage scenario of the target vehicle; Based on the current usage scenario and the historical usage records of the controlled device, determining a target function to be triggered and function information of the target function from a preset function set corresponding to the controlled device; Sending the function information to a key of the target vehicle so as to trigger the target function of the controlled device through the function information.
2. The method according to claim 1, characterized in that, The controlled device is the target vehicle; And Before sending the function information to the key of the target vehicle, the method further includes: Determining a first distance between the target vehicle and the key of the target vehicle; Determining whether the first distance is less than or equal to a preset first threshold; and Sending the function information to the key of the target vehicle includes: When the first distance is less than or equal to the first threshold, sending the function information to the key of the target vehicle.
3. The method according to claim 1, wherein The controlled device is a smart home device associated with the target vehicle; And Before sending the function information to the key of the target vehicle, the method further includes: Determining a second distance between the target vehicle and the smart home device; Determining whether the second distance is less than or equal to a preset second threshold; and Sending the function information to the key of the target vehicle includes: When the second distance is less than or equal to the second threshold, sending the function information to the key of the target vehicle.
4. The method according to claim 1, wherein Based on the current usage scenario and the historical usage records of the controlled device, determining the target function to be triggered from the preset function set corresponding to the controlled device includes: For each function in the preset function set of the controlled device, based on the historical usage records of the controlled device, determining the usage frequency of the current usage object of the target vehicle for this function, where the usage frequency of the current usage object for this function is: the usage frequency of the current usage object for this function in the current usage scenario; Determining a first usage frequency with the largest value from the obtained usage frequencies of the current usage object for each function; Determining the function corresponding to the first usage frequency in the preset function set as a reference function; Determining the usage frequency of each usage object of the controlled device for the reference function to obtain the usage frequency corresponding to this usage object; Determining a second usage frequency with the largest value from the obtained usage frequencies corresponding to the multiple usage objects as a whole; Based on the first usage frequency and the second usage frequency, determining the target function to be triggered from the preset function set corresponding to the controlled device.
5. The method according to claim 4, wherein Before determining the target function to be triggered from the preset function set corresponding to the controlled device based on the first usage frequency and the second usage frequency, the method further includes: For each function in the preset function set, determining the usage frequency of the multiple usage objects of the controlled device as a whole for this function to obtain the usage frequency of the multiple usage objects of the controlled device as a whole for this function; and Determining a target function to be triggered from a preset function set corresponding to the controlled device based on the first usage frequency and the second usage frequency includes: For each function in the preset function set, determining a triggering probability of the current user for the function based on the usage frequency of the function by the current user, the usage frequency of the function by multiple users as a whole, the first usage frequency, and the second usage frequency; Determining a preset number of target functions to be triggered from the preset function set in descending order of the triggering probability.
6. The method according to claim 5, characterized in that, Determining the triggering probability of the current user for the function based on the usage frequency of the function by the current user, the usage frequency of the function by multiple users as a whole, the first usage frequency, and the second usage frequency includes: Determining a first probability based on the usage frequency of the function by the current user and the first usage frequency, where the first probability represents the probability of a single user triggering the function; Determining a second probability based on the usage frequency of the function by multiple users as a whole and the second usage frequency, where the second probability represents the probability of multiple users as a whole triggering the function; Determining the triggering probability of the current user for the function based on the first probability and the second probability.
7. The method according to claim 6, wherein Determining the triggering probability of the current user for the function based on the first probability and the second probability includes: Determining the weighted sum of the first probability and the second probability as the triggering probability of the current user for the function; where the weight of the first probability is greater than the weight of the second probability.
8. The method according to claim 1, characterized in that After sending the function information to the key of the target vehicle, the method further includes: Determining whether a function trigger instruction is received, where the function trigger instruction is an instruction triggered by the function information within a preset duration after the key displays the function information; Controlling the controlled device to trigger the target function when the function trigger instruction is received; Controlling the key to turn off the screen when the function trigger instruction is not received.
9. The method according to any one of claims 1-8, characterized in that, The vehicle information includes at least one of the following: Vehicle position, vehicle speed, in-vehicle temperature, out-of-vehicle temperature, environmental humidity, environmental light intensity, current time, weather information, air quality information, map information.
10. An apparatus for controlling a device by a vehicle key, characterized in that, The device includes: An acquisition unit configured to acquire vehicle information of a target vehicle; A first determination unit configured to determine a current usage scenario of the target vehicle based on the vehicle information; A second determination unit configured to determine a target function to be triggered and function information of the target function from a preset function set corresponding to the controlled device based on the current usage scenario and historical usage records of the controlled device; A sending unit configured to send the function information to the key of the target vehicle so as to trigger the target function of the controlled device through the function information.
11. An electronic device, characterized in that, Includes: A memory for storing a computer program; A processor for executing a computer program stored in the memory, and when the computer program is executed, implementing the device control method executed by the vehicle key according to any one of claims 1-9 above.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, implementing the device control method executed by the vehicle key according to any one of claims 1-9 above.