Vehicle and smart home interaction method and device, vehicle, and storage medium
By matching vehicle navigation information and driving speed with smart home control rules and dynamically adjusting control commands based on user needs, the problem of smart home devices being unable to be personalized is solved, improving user experience and device efficiency.
Patent Information
- Application Number
- CN202410535010.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2044-04-29
AI Technical Summary
In existing technologies, the control rules of smart home devices cannot be customized according to user needs, resulting in inaccurate time calculations and wasted power, failing to meet users' personalized needs.
By acquiring the vehicle's navigation information and speed, matching the target smart home control rules, and combining the user's current control needs, the system dynamically adjusts and generates corresponding control commands to achieve personalized control of smart home devices.
It enables real-time adjustment of control rules for smart home devices based on user needs, improving the flexibility and personalization of the user experience, reducing power waste, and still operating effectively in weak network environments.
Smart Images

Figure CN118331080B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicles, in particular to a vehicle and smart home interaction method and device, a vehicle and a storage medium. BACKGROUND
[0002] With the continuous development of artificial intelligence, the living standards and living requirements of users are also improving, and household vehicles have been popularized in most users. Therefore, the interconnection of vehicles and homes has become a major selection factor for users.
[0003] In related technologies, most of the smart home devices are controlled by APP or vehicle central screen, and the Internet of Things devices are controlled through various APPs or ecosystems provided by manufacturers.
[0004] However, when some smart furniture devices trigger the smart furniture device to start according to the ETA (Estimated Time of Arrival, estimated time of arrival) time, there are some problems, for example, the home mode of the furniture device is triggered by setting a geographic fence. If there is traffic congestion during the rush hour, the time calculation will not be accurate, so the furniture device will be turned on in advance, resulting in early power consumption. At the same time, it is also impossible to change the control rules according to the different needs of users, so as to meet the personalized needs of users, which needs to be solved urgently. SUMMARY
[0005] The present application provides a vehicle and smart home interaction method and device, a vehicle and a storage medium to solve the problem that the corresponding control rules cannot be changed according to the user's needs in related technologies, so as to meet the personalized needs of users.
[0006] The first aspect of the present application provides a vehicle and smart home interaction method, comprising the following steps:
[0007] Obtain the current navigation information of the vehicle and the driving speed of the vehicle, and match the first target smart home control rule that meets the target smart home opening condition when the current navigation information meets the preset driving condition and the driving speed of the vehicle meets the preset speed threshold.
[0008] Obtain the current control demand of the user for the target smart home, and generate the corresponding second target smart home control rule according to the current control demand. If the first target smart home control rule is inconsistent with the second target smart home control rule, modify the first target smart home control rule, and generate a target smart home control instruction based on the modified first target smart home control rule, to control the target smart home to perform the starting action according to the target smart home control instruction.
[0009] According to the opening operation, execution result feedback information is generated and sent to a preset mobile device to remind the user.
[0010] According to an embodiment of the present application, before the current navigation information of the vehicle and the driving speed of the vehicle are acquired, the method further comprises:
[0011] Acquiring a voice signal of the user;
[0012] Converting the voice signal into corresponding text signal to generate the first target smart home control rule according to the text signal.
[0013] According to an embodiment of the present application, the acquisition of the current navigation information of the vehicle and the driving speed of the vehicle, when the current navigation information meets a preset driving condition and the driving speed of the vehicle meets a preset speed threshold, matches a first target smart home control rule meeting a target smart home opening condition, comprising:
[0014] Acquiring a driving direction of the vehicle and a current position of the vehicle;
[0015] Acquiring distance information between the current position and a target position based on the current position;
[0016] If the driving direction of the vehicle and the target position are in opposite directions, the distance between the current position and the target position meets a preset distance condition, and the driving speed of the vehicle meets the preset speed threshold, a first target smart home control rule meeting a target smart home opening condition is matched.
[0017] According to an embodiment of the present application, the acquisition of the current control demand of the user for the target smart home, comprising:
[0018] Acquiring current environment information;
[0019] Acquiring the control demand of the user for the target smart home according to the current environment information, and generating a corresponding second target smart home control rule according to the control demand.
[0020] According to an embodiment of the present application, before the current control demand of the user for the target smart home is acquired, the method further comprises:
[0021] Judging whether the voice information of the user is received;
[0022] If the voice information of the user is received, judging whether the voice information is modification information of the current control demand, if the voice information is modification information of the current control demand, acquiring the current control demand of the user for the target smart home, otherwise, not performing the acquisition action.
[0023] According to one embodiment of this application, before acquiring the user's voice signal, the method further includes:
[0024] Identify the user's identity information;
[0025] If the user's identity information is verified, the user's voice signal is obtained.
[0026] According to one embodiment of this application, the step of generating execution result feedback information based on the activation action and sending the feedback information to a preset mobile device to remind the user includes:
[0027] Obtain the activation information of the target smart home device;
[0028] If the target smart home device malfunctions, an activation error message is generated and sent to the preset mobile device.
[0029] Determine whether the user's instruction to change information has been received. If the user's instruction to change information has been received, generate a change instruction for the target smart home and modify the target smart home. Otherwise, modify the target smart home directly.
[0030] According to the vehicle-smart home interaction method of this application embodiment, the current navigation information and driving speed of the vehicle are obtained. When the current navigation information meets preset driving conditions and the driving speed meets a preset speed threshold, a first target smart home control rule is matched to obtain the user's current control needs for the target smart home, and a corresponding second target smart home control rule is generated. If the first target smart home control rule and the second target smart home control rule are inconsistent, the first target smart home control rule is modified, and a target smart home control command is generated to execute an activation action according to the control of the target smart home. Execution result feedback information is generated and sent to a preset mobile device to remind the user. This solves the problem in related technologies where the corresponding control rules cannot be changed according to user needs, thus failing to meet the user's personalized needs.
[0031] A second aspect of this application provides a vehicle-smart home interaction device, comprising:
[0032] The first acquisition module is used to acquire the current navigation information of the vehicle and the driving speed of the vehicle. When the current navigation information meets the preset driving conditions and the driving speed of the vehicle meets the preset speed threshold, it matches the first target smart home control rule that meets the target smart home activation conditions.
[0033] The second acquisition module is used to acquire the user's current control requirements for the target smart home, and generate corresponding second target smart home control rules according to the current control requirements. If the first target smart home control rules are inconsistent with the second target smart home control rules, the first target smart home control rules are modified, and the modified first target smart home control rules are used to generate target smart home control instructions, so as to control the target smart home to perform an opening action according to the target smart home control instructions.
[0034] The feedback module is used to generate execution result feedback information based on the activation action, and send the feedback information to a preset mobile device to remind the user.
[0035] According to one embodiment of this application, before acquiring the current navigation information and the vehicle's speed, the first acquisition module is further configured to:
[0036] Acquire the user's voice signal;
[0037] The voice signal is converted into a corresponding text signal to generate the first target smart home control rule based on the text signal.
[0038] According to one embodiment of this application, the first acquisition module is specifically used for:
[0039] Obtain the vehicle's driving direction and the vehicle's current position;
[0040] Based on the current location, obtain the distance information between the current location and the target location;
[0041] If the vehicle's driving direction is relative to the target location, and the distance between the current location and the target location meets a preset distance condition, and the vehicle's driving speed meets the preset speed threshold, then a first target smart home control rule that meets the target smart home activation conditions is matched.
[0042] According to one embodiment of this application, the second acquisition module is specifically used for:
[0043] Obtain current environmental information;
[0044] Based on the current environmental information, the user's control requirements for the target smart home are obtained, and corresponding second target smart home control rules are generated based on the control requirements.
[0045] According to one embodiment of this application, before obtaining the user's current control needs for the target smart home, the second obtaining module is further configured to:
[0046] Determine whether the user's voice information has been received;
[0047] If the user's voice information is received, it is determined whether the voice information is modification information for the current control requirement. If the voice information is modification information for the current control requirement, the user's current control requirement for the target smart home is obtained; otherwise, the acquisition action is not performed.
[0048] According to one embodiment of this application, before acquiring the user's voice signal, the first acquisition module is further configured to:
[0049] Identify the user's identity information;
[0050] If the user's identity information is verified, the user's voice signal is obtained.
[0051] According to one embodiment of this application, the feedback module is specifically used for:
[0052] Obtain the activation information of the target smart home device;
[0053] If the target smart home device malfunctions, an activation error message is generated and sent to the preset mobile device.
[0054] Determine whether the user's instruction to change information has been received. If the user's instruction to change information has been received, generate a change instruction for the target smart home and modify the target smart home. Otherwise, modify the target smart home directly.
[0055] According to the vehicle-smart home interaction device of this application embodiment, the current navigation information and driving speed of the vehicle are obtained. When the current navigation information meets preset driving conditions and the driving speed meets a preset speed threshold, a first target smart home control rule is matched to obtain the user's current control needs for the target smart home, and a corresponding second target smart home control rule is generated. If the first target smart home control rule and the second target smart home control rule are inconsistent, the first target smart home control rule is modified, and a target smart home control command is generated to execute an activation action according to the control of the target smart home. Execution result feedback information is generated and sent to a preset mobile device to remind the user. This solves the problem in related technologies where the corresponding control rules cannot be changed according to user needs, thus failing to meet the user's personalized needs.
[0056] A third aspect of this application provides a vehicle, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle-smart home interaction method as described in the above embodiments.
[0057] A fourth aspect of this application provides a computer-readable storage medium storing computer instructions for causing the computer to perform the vehicle-smart home interaction method as described in the above embodiments.
[0058] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0059] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0060] Figure 1 This is a flowchart illustrating a method for interaction between a vehicle and a smart home according to an embodiment of this application.
[0061] Figure 2 This is a flowchart illustrating the execution of a scenario according to an embodiment of this application;
[0062] Figure 3 This is a schematic diagram of a smart home device according to an embodiment of this application;
[0063] Figure 4 This is a schematic diagram illustrating the execution conditions of a smart home system according to an embodiment of this application;
[0064] Figure 5 This is a schematic diagram of device instructions for a smart home according to an embodiment of this application;
[0065] Figure 6 This is an example diagram of a vehicle-smart home interaction device according to an embodiment of this application;
[0066] Figure 7 This is a structural schematic diagram of a vehicle according to an embodiment of this application. Detailed Implementation
[0067] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0068] The following description, with reference to the accompanying drawings, describes a method, apparatus, vehicle, and storage medium for interaction between a vehicle and a smart home, according to embodiments of this application. Addressing the problem mentioned in the background art that the corresponding control rules cannot be modified according to user needs, thus failing to meet personalized user requirements, this application provides a method for interaction between a vehicle and a smart home. In this method, the vehicle's current navigation information and driving speed are obtained. When the current navigation information meets preset driving conditions and the driving speed meets a preset speed threshold, a first target smart home control rule is matched. The user's current control requirements for the target smart home are obtained, and a corresponding second target smart home control rule is generated. If the first target smart home control rule and the second target smart home control rule are inconsistent, the first target smart home control rule is modified, thereby generating a target smart home control command to execute an activation action based on the target smart home. Execution result feedback information is generated and sent to a preset mobile device to remind the user. This solves the problem in the related art that the corresponding control rules cannot be modified according to user needs, thus failing to meet personalized user requirements.
[0069] Specifically, Figure 1 This is a flowchart illustrating a method for interaction between a vehicle and a smart home, provided as an embodiment of this application.
[0070] like Figure 1 As shown, the interaction method between the vehicle and smart home includes the following steps:
[0071] In step S101, the current navigation information and driving speed of the vehicle are obtained. When the current navigation information meets the preset driving conditions and the driving speed of the vehicle meets the preset speed threshold, the first target smart home control rule that meets the target smart home activation conditions is matched.
[0072] According to one embodiment of this application, before obtaining the vehicle's current navigation information and vehicle speed, the method further includes: obtaining the user's voice signal; converting the voice signal into a corresponding text signal to generate a first target smart home control rule based on the text signal.
[0073] According to one embodiment of this application, before acquiring the user's voice signal, the method further includes: identifying the user's identity information; if the user's identity information is verified, then acquiring the user's voice signal.
[0074] According to one embodiment of this application, the current navigation information and driving speed of the vehicle are obtained. When the current navigation information meets preset driving conditions and the driving speed of the vehicle meets a preset speed threshold, a first target smart home control rule that meets the conditions for opening the target smart home is matched. This includes: obtaining the driving direction and current position of the vehicle; obtaining the distance information between the current position and the target position based on the current position; if the driving direction of the vehicle and the target position are in opposite directions, and the distance between the current position and the target position meets a preset distance condition, and the driving speed of the vehicle meets a preset speed threshold, then the first target smart home control rule that meets the conditions for opening the target smart home is matched.
[0075] The preset driving conditions, preset distance conditions, and preset speed thresholds can all be set by those skilled in the art according to actual testing needs, and are not specifically limited here.
[0076] Specifically, to achieve interaction and connectivity between the vehicle and the smart home, this embodiment first requires pre-binding the smart home system through the in-vehicle device so that the in-vehicle device can search for and control the relevant information of the smart home. Secondly, after binding the smart home system using the in-vehicle device, the user can formulate control rules for the target smart home through the system application software's pre-set control rules or by voice. These rules mainly include rule conditions and rule actions, thereby generating a control rule file (such as a DRL (Deep Reinforcement Learning) file) for the target smart home. The set control rule file for the target smart home is then integrated into the Drools rule engine of the smart home system, thereby loading and controlling the target smart home according to the control rule file.
[0077] Specifically, such as Figure 2 As shown, users can bind their devices to target smart home systems, such as robot vacuums, air conditioners, rice cookers, curtains, water heaters, and air purifiers, through in-vehicle devices, such as applications on in-vehicle displays. This allows them to search for and view the working status of the bound smart home devices within the application. Secondly, the system identifies and verifies the user's identity information, for example, through SMS or facial recognition. If the user's identity is verified, the system acquires the user's voice signal using the in-vehicle system's voice module. The voice module then converts the acquired voice signal into operable text signals, providing operational parameters. Based on these text signals, the system generates the first target smart home control rule and stores it in the application.
[0078] For example, if the voice module detects that the user's control request for the robot vacuum is that the vehicle is moving towards the target location and the distance between the vehicle's current location and the target location meets a preset distance condition (e.g., the distance is less than 100 meters), and the vehicle's speed meets a preset speed threshold (e.g., the speed is not 0), then the robot vacuum will be turned on, thereby generating a first target smart home control rule that meets the conditions for the robot vacuum to be turned on. When the vehicle subsequently travels to the above-mentioned set conditions, the robot vacuum will automatically match the corresponding first target smart home control rule in the target smart home system.
[0079] Furthermore, if the voice module detects that the user's control request for the curtains is that the vehicle is approaching the target location and the distance between the vehicle's current location and the target location meets a preset distance condition (e.g., 10 meters), and the vehicle's speed meets a preset speed threshold (e.g., the speed is 0), then the curtains will be controlled to open and close, thereby generating a first target smart home control rule that meets the conditions for opening the curtains. When the vehicle subsequently travels to the aforementioned set conditions, the corresponding first target smart home control rule will be automatically matched in the target smart home system based on the curtains.
[0080] Furthermore, if the voice module detects that the user's control request for the air purifier is that the vehicle is approaching the target location and the distance between the vehicle's current location and the target location meets a preset distance condition (e.g., 100 meters), and the vehicle's speed meets a preset speed threshold (e.g., the speed is not 0), then the air purifier is controlled to turn on, thereby generating a first target smart home control rule that meets the conditions for turning on the air purifier. When the vehicle subsequently travels to the aforementioned set conditions, the corresponding first target smart home control rule is automatically matched in the target smart home system based on the air purifier.
[0081] In step S102, the user's current control requirements for the target smart home are obtained, and a corresponding second target smart home control rule is generated based on the current control requirements. If the first target smart home control rule is inconsistent with the second target smart home control rule, the first target smart home control rule is modified, and the modified first target smart home control rule is used to generate a target smart home control instruction, so as to control the target smart home to perform the opening action according to the target smart home control instruction.
[0082] According to one embodiment of this application, before obtaining the user's current control requirements for the target smart home, the method further includes: determining whether the user's voice information has been received; if the user's voice information has been received, determining whether the voice information is modification information of the current control requirements; if the voice information is modification information of the current control requirements, obtaining the user's current control requirements for the target smart home; otherwise, not performing the acquisition action.
[0083] According to one embodiment of this application, obtaining a user's current control requirements for a target smart home includes: obtaining current environmental information; obtaining the user's control requirements for the target smart home based on the current environmental information; and generating corresponding second target smart home control rules based on the control requirements.
[0084] Specifically, if a user wants to modify the previously set first target smart home control rules or the system's preset first target smart home control rules, the modification can be made through voice signals. When the vehicle system receives the user's voice information and recognizes that the voice information is the modification information for the current control requirement, for example, if the user's voice information includes text information such as "modify" or "adjust", the user can make corresponding settings according to the current environment information.
[0085] Furthermore, such as Figures 3 to 5 As shown, as one feasible approach, if the current ambient temperature is high (e.g., 35℃), the user can modify and set the air conditioner's activation conditions via voice: when the temperature is above 30℃, the vehicle is approaching the target location, the distance between the vehicle's current location and the target location meets a preset distance condition (e.g., 100 meters), and the vehicle's speed meets a preset speed threshold (e.g., the speed is not 0). In this case, the air conditioner will be controlled to turn on and perform the cooling function (e.g., 25℃). This generates a second target smart home control rule that meets the air conditioner activation conditions. After obtaining the second target smart home control rule, it is compared with the first target smart home control rule. If the first target smart home control rule is inconsistent with the second target smart home control rule, the air conditioning control rule will be modified based on the above modification information to generate a new second target smart home control rule and corresponding control command regarding the conditions for turning on the air conditioning. When the vehicle subsequently travels to the above-set conditions, the air conditioning will automatically match the corresponding second target smart home control rule in the target smart home system. According to the control command, if the temperature is higher than 30°C, the vehicle will approach the target location, and when it is 100 meters away from the target location, the smart platform will control the air conditioning to turn on the 25°C cooling function. If the first target smart home control rule is consistent with the second target smart home control rule, no modification will be made.
[0086] Furthermore, such as Figures 3 to 5As shown, as another possible approach, if the current environmental pollution level is detected as moderate, the user can modify and set the air purifier's activation conditions via voice: the environmental pollution is moderate, the vehicle is approaching the target location, the distance between the vehicle's current location and the target location meets a preset distance condition (e.g., 100 meters), and the vehicle's speed meets a preset speed threshold (e.g., the speed is not 0). In this case, the air purifier is controlled to activate and perform its decontamination function, thus generating a second target smart home control rule that meets the air purifier's activation conditions. After obtaining the second target smart home control rule, it is compared with the first target smart home control rule. If the second target smart home control rule is... If the control rules for the first target smart home system are inconsistent with those for the second target smart home system, the control rules for the air purifier will be modified based on the aforementioned modification information. This will generate new control rules and commands for the second target smart home system regarding the conditions for the air purifier to turn on. Subsequently, when the vehicle reaches the aforementioned set conditions, the air purifier will automatically match the corresponding second target smart home control rules in the target smart home system. According to the control commands, if the environmental pollution is moderate, the vehicle will approach the target location, and when it is 100 meters away from the target location, the smart platform will control the air purifier to turn on and perform the decontamination function. If the control rules for the first target smart home system are consistent with those for the second target smart home system, no modification will be made.
[0087] It should be noted that the target smart home in this application embodiment needs to implement the monitoring and management functions of control rules, including adding, deleting, and modifying control rules, as well as monitoring and feedback of rule execution results. It can also be customized and dynamically modified to meet diverse user needs. For example, the Drools rule engine of the smart home system will have pre-set local rules, which users can modify. This allows users to adjust the rules as needed even in weak network environments, and the monitoring system executes rules during brief periods of good network connectivity. Furthermore, this application embodiment supports remote modification of the target smart home's control rules via cloud testing without requiring software updates, reducing dependence on the system and maximizing portability and reuse, i.e., supporting cross-vehicle reuse functionality.
[0088] In step S103, execution result feedback information is generated based on the activation action, and the feedback information is sent to a preset mobile device to remind the user.
[0089] According to one embodiment of this application, an execution result feedback message is generated based on the activation action, and the feedback message is sent to a preset mobile device to remind the user. The process includes: obtaining activation information of the target smart home; if the activation function of the target smart home is abnormal, generating activation error information and sending the activation error information to the preset mobile device; determining whether a user's instruction to change information has been received; if a user's instruction to change information has been received, generating a change instruction for the target smart home and correcting the target smart home; otherwise, directly correcting the target smart home.
[0090] Specifically, after the target smart home is turned on, it generates execution result feedback information based on the actual information of the turn on and the execution information. For example, whether the target smart home is turned on normally, and whether it is executed correctly according to the target smart home control rules after being turned on. The execution result feedback information is then sent to a preset mobile device (such as a car display screen, mobile phone, etc.) to remind the user.
[0091] For example, if the air conditioner is controlled to turn on and perform 25°C cooling according to its control rules, and if the air conditioner successfully turns on and correctly performs the 25°C cooling function, a feedback message stating "Air conditioner has successfully turned on and is performing 25°C cooling" can be generated and sent to the user's mobile phone as a reminder. If the air conditioner successfully turns on but does not correctly perform the 25°C cooling function, a feedback message stating "Air conditioner has successfully turned on, but the 25°C cooling function is being performed incorrectly" can be generated. Then, in the case of an error in the instruction execution, it is determined whether a user's instruction to change the setting has been received. If a user's instruction to change the setting has been received, a change instruction for the target smart home device is generated, and the instruction executed by the air conditioner is corrected. Otherwise, the instruction executed by the air conditioner is directly corrected, and this information is sent to the user's mobile phone as a reminder.
[0092] In summary, based on the above embodiments, this application can achieve the following beneficial effects:
[0093] (1) Users can modify and customize the control rules of smart homes according to their personal needs, without relying on the fixed solutions provided by manufacturers, which provides users with greater flexibility and personalized experience.
[0094] (2) It supports real-time dynamic modification of rules, and users can adjust them at any time according to their needs without waiting for software updates.
[0095] (3) It does not rely on cloud testing and does not require a continuous network connection. Even in weak network environments, users can easily adjust and enforce rules, improving reliability and availability.
[0096] (4) Frequent OTA (Over The Air) upgrades and cloud testing are not required, which reduces resource consumption and dependence, making the overall solution more convenient and efficient.
[0097] According to the vehicle-smart home interaction method of this application embodiment, the current navigation information and driving speed of the vehicle are obtained. When the current navigation information meets preset driving conditions and the driving speed meets a preset speed threshold, a first target smart home control rule is matched to obtain the user's current control needs for the target smart home, and a corresponding second target smart home control rule is generated. If the first target smart home control rule and the second target smart home control rule are inconsistent, the first target smart home control rule is modified, and a target smart home control command is generated to execute an activation action according to the control of the target smart home. Execution result feedback information is generated and sent to a preset mobile device to remind the user. This solves the problem in related technologies where the corresponding control rules cannot be changed according to user needs, thus failing to meet the user's personalized needs.
[0098] Next, referring to the accompanying drawings, an interaction device for vehicles and smart homes according to embodiments of this application is described.
[0099] Figure 6 This is a block diagram of the interaction device between a vehicle and a smart home according to an embodiment of this application.
[0100] like Figure 6 As shown, the vehicle-smart home interaction device 10 includes: a first acquisition module 100, a second acquisition module 200, and a feedback module 300.
[0101] The first acquisition module 100 is used to acquire the vehicle's current navigation information and vehicle speed. When the current navigation information meets the preset driving conditions and the vehicle's driving speed meets the preset speed threshold, it matches the first target smart home control rule that meets the target smart home activation conditions.
[0102] The second acquisition module 200 is used to acquire the user's current control needs for the target smart home, and generate corresponding second target smart home control rules according to the current control needs. If the first target smart home control rules are inconsistent with the second target smart home control rules, the first target smart home control rules are modified, and the modified first target smart home control rules are used to generate target smart home control instructions, so as to control the target smart home to perform the opening action according to the target smart home control instructions.
[0103] The feedback module 300 is used to generate execution result feedback information based on the activation action and send the feedback information to a preset mobile device to remind the user.
[0104] According to one embodiment of this application, before acquiring the vehicle's current navigation information and vehicle speed, the first acquisition module 100 is further configured to:
[0105] Acquire the user's voice signal;
[0106] The voice signal is converted into a corresponding text signal, and the first target smart home control rule is generated based on the text signal.
[0107] According to one embodiment of this application, the first acquisition module 100 is specifically used for:
[0108] Obtain the vehicle's direction of travel and its current position;
[0109] Obtain the distance information between the current location and the target location based on the current location;
[0110] If the vehicle's driving direction is relative to the target location, and the distance between the current location and the target location meets the preset distance condition, and the vehicle's driving speed meets the preset speed threshold, then the first target smart home control rule that meets the target smart home activation conditions will be matched.
[0111] According to one embodiment of this application, the second acquisition module 200 is specifically used for:
[0112] Obtain current environmental information;
[0113] Based on the current environmental information, obtain the user's control requirements for the target smart home, and generate corresponding control rules for the second target smart home based on the control requirements.
[0114] According to one embodiment of this application, before acquiring the user's current control needs for the target smart home, the second acquisition module 200 is further configured to:
[0115] Determine whether the user's voice message has been received;
[0116] If a user's voice message is received, it is determined whether the voice message is a modification message for the current control request. If the voice message is a modification message for the current control request, the user's current control request for the target smart home is obtained; otherwise, no acquisition action is performed.
[0117] According to one embodiment of this application, before acquiring the user's voice signal, the first acquisition module 100 is further configured to:
[0118] Identify user identity information;
[0119] If the user's identity information is verified, the user's voice signal is obtained.
[0120] According to one embodiment of this application, the feedback module 300 is specifically used for:
[0121] Obtain activation information for the target smart home device;
[0122] If the target smart home device malfunctions, an error message will be generated and sent to a preset mobile device.
[0123] Determine whether a user's instruction to change information has been received. If so, generate a replacement instruction for the target smart home device and modify the target smart home device accordingly. Otherwise, directly modify the target smart home device.
[0124] According to the vehicle-smart home interaction device of this application embodiment, the current navigation information and driving speed of the vehicle are obtained. When the current navigation information meets preset driving conditions and the driving speed meets a preset speed threshold, a first target smart home control rule is matched to obtain the user's current control needs for the target smart home, and a corresponding second target smart home control rule is generated. If the first target smart home control rule and the second target smart home control rule are inconsistent, the first target smart home control rule is modified, and a target smart home control command is generated to execute an activation action according to the control of the target smart home. Execution result feedback information is generated and sent to a preset mobile device to remind the user. This solves the problem in related technologies where the corresponding control rules cannot be changed according to user needs, thus failing to meet the user's personalized needs.
[0125] Figure 7 A schematic diagram of the structure of a vehicle provided in an embodiment of this application. The vehicle may include:
[0126] The memory 701, the processor 702, and the computer program stored on the memory 701 and executable on the processor 702.
[0127] When the processor 702 executes the program, it implements the interaction method between the vehicle and the smart home provided in the above embodiments.
[0128] Furthermore, the vehicle also includes:
[0129] Communication interface 703 is used for communication between memory 701 and processor 702.
[0130] The memory 701 is used to store computer programs that can run on the processor 702.
[0131] The memory 701 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0132] If the memory 701, processor 702, and communication interface 703 are implemented independently, then the communication interface 703, memory 701, and processor 702 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, Figure 7 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0133] Optionally, in a specific implementation, if the memory 701, processor 702, and communication interface 703 are integrated on a single chip, then the memory 701, processor 702, and communication interface 703 can communicate with each other through an internal interface.
[0134] The processor 702 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0135] This embodiment also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for interaction between a vehicle and a smart home.
[0136] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0137] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0138] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0139] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which programs can be printed, because programs can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.
[0140] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0141] Those skilled in the art will understand that all or part of the steps of the methods described in the above embodiments can be implemented by a program instructing related hardware, and the program can be stored in a computer-readable storage medium. When executed, the program includes one or a combination of the steps of the method embodiments.
[0142] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0143] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.
Claims
1. A method for interaction between a vehicle and a smart home, characterized in that, Includes the following steps: The system obtains the vehicle's current navigation information and the vehicle's driving speed. When the current navigation information meets preset driving conditions and the vehicle's driving speed meets a preset speed threshold, it matches a first target smart home control rule that meets the target smart home activation conditions. The system obtains the user's current control requirements for the target smart home and generates a corresponding second target smart home control rule based on the current control requirements. If the first target smart home control rule is inconsistent with the second target smart home control rule, the first target smart home control rule is modified, and the modified first target smart home control rule generates a target smart home control command to control the target smart home to perform an activation action according to the target smart home control command. The system generates execution result feedback information based on the activation action and sends the feedback information to a preset mobile device to remind the user. The step of obtaining the vehicle's current navigation information and the vehicle's driving speed, and matching a first target smart home control rule that meets the target smart home activation conditions when the current navigation information meets preset driving conditions and the vehicle's driving speed meets a preset speed threshold, includes: obtaining the vehicle's driving direction and the vehicle's current position; obtaining distance information between the current position and the target position based on the current position; and matching a first target smart home control rule that meets the target smart home activation conditions if the vehicle's driving direction is relative to the target position, the distance between the current position and the target position meets a preset distance condition, and the vehicle's driving speed meets the preset speed threshold. The step of obtaining the user's current control requirements for the target smart home includes: obtaining current environmental information; obtaining the user's control requirements for the target smart home based on the current environmental information; and generating corresponding second target smart home control rules based on the control requirements. Before obtaining the user's current control requirements for the target smart home, the method further includes: determining whether the user's voice information has been received; if the user's voice information has been received, determining whether the voice information is modification information for the current control requirements; if the voice information is modification information for the current control requirements, obtaining the user's current control requirements for the target smart home; otherwise, not performing the acquisition action.
2. The method according to claim 1, characterized in that, Before obtaining the vehicle's current navigation information and the vehicle's speed, the method further includes: Acquire the user's voice signal; The voice signal is converted into a corresponding text signal to generate the first target smart home control rule based on the text signal.
3. The method according to claim 2, characterized in that, Before acquiring the user's voice signal, the process also includes: Identify the user's identity information; If the user's identity information is verified, the user's voice signal is obtained.
4. The method according to claim 1, characterized in that, The step of generating execution result feedback information based on the activation action and sending the feedback information to a preset mobile device to remind the user includes: Obtain the activation information of the target smart home device; If the target smart home device malfunctions, an activation error message is generated and sent to the preset mobile device. Determine whether the user's instruction to change information has been received. If the user's instruction to change information has been received, generate a change instruction for the target smart home and modify the target smart home. Otherwise, modify the target smart home directly.
5. A vehicle, characterized in that, include: A memory, a processor, and a computer program stored in the memory and running on the processor, the processor executing the program to implement the vehicle-smart home interaction method as described in any one of claims 1-4.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the vehicle-smart home interaction method as described in any one of claims 1-4.
Citation Information
Patent Citations
Intelligent household equipment control method and device based on vehicle-mounted system, and vehicle-mounted terminal
CN110007616A
Smart home control method and system based on traffic sign recognition
CN112486029A