Vehicle control method and device and computer readable storage medium
Through cloud servers, communication with smart devices of the vehicle and indoor environment, adjusting the interior environment and the indoor environment is consistent, solving the problem of riding discomfort caused by environmental differences in the vehicle and improving the user's riding experience.
Patent Information
- Application Number
- CN202411130972.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-11-12
Smart Images

Figure CN118927925A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of vehicle control technology, and more particularly to a vehicle control method, device and computer-readable storage medium. Background Art
[0002] When a vehicle is not used for a long time, the environment inside the vehicle is poor. Currently, the adjustment of the environment inside the vehicle is generally to adjust the air quality inside the vehicle through the vehicle air conditioner after entering the vehicle to adjust the environment inside the vehicle.
[0003] In this way, the user is in one environment before entering the vehicle, and needs to quickly adapt to the environment inside the vehicle after entering the vehicle. The user is prone to adverse reactions due to the rapid switching between different environments.
[0004] Therefore, how to optimize the interior environment and improve the riding experience before users enter the vehicle remains an urgent issue to be resolved. Summary of the invention
[0005] In view of the above problems, the embodiments of the present invention provide a vehicle control method, device and computer-readable storage medium to solve the problem in the prior art of how to optimize the in-vehicle environment and improve the riding experience before the user enters the vehicle.
[0006] According to a first aspect of an embodiment of the present invention, a vehicle control method is provided, which is applied to a cloud server, wherein the cloud server is communicatively connected with a vehicle and a smart device in an indoor environment where a user is located, and the method comprises:
[0007] If it is determined that the user has a need to enter the vehicle from the indoor environment, obtaining environmental information of the indoor environment collected by the smart device;
[0008] generating a control instruction for the vehicle according to the environmental information, wherein the control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment;
[0009] The control instruction is sent to the vehicle.
[0010] According to a second aspect of an embodiment of the present invention, a vehicle control method is provided, which is applied to a vehicle, and the method includes:
[0011] receiving a control instruction, wherein the control instruction is generated by the cloud server according to environmental information collected by a smart device in the indoor environment when determining that the user has a need to enter the vehicle from the indoor environment, and the control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment;
[0012] According to the control instruction, the in-vehicle environment is adjusted.
[0013] The embodiment of the present invention sends a control instruction to the vehicle based on the environmental information of the indoor environment collected by the smart device in the indoor environment when it is determined that the user has a need to enter the vehicle from the indoor environment. The control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment. Thus, before the user enters the vehicle, the interior environment is made consistent with the indoor environment, reducing the risk of adverse reactions caused by long-term rapid switching of the body between different environments, making the user feel comfortable. In other words, before the user enters the vehicle, the air environment in the cabin is optimized in advance to keep it consistent or close to the indoor environment, thereby improving the riding experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:
[0015] Figure 1 A schematic flow chart of a first embodiment of a vehicle control method applied to a cloud server provided by the present invention is shown;
[0016] Figure 2 A schematic flow chart of a second embodiment of a vehicle control method applied to a cloud server provided by the present invention is shown;
[0017] Figure 3 A schematic diagram showing the interaction between the cloud server provided by the present invention and the vehicle terminal, the client terminal and the smart device is shown;
[0018] Figure 4 A schematic diagram of a geographic fence in a vehicle control method applied to a cloud server provided by the present invention is shown;
[0019] Figure 5 A schematic diagram showing a first embodiment of a vehicle control method applied to a vehicle provided by the present invention;
[0020] Figure 6 A schematic structural diagram of a first embodiment of a vehicle control device applied to a cloud server provided by the present invention is shown;
[0021] Figure 7 A schematic structural diagram of a first embodiment of a vehicle control device applied to a vehicle provided by the present invention is shown;
[0022] Figure 8 A schematic structural diagram of an embodiment of an electronic device provided by the present invention is shown. DETAILED DESCRIPTION
[0023] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0024] Figure 1 The flowchart of the first embodiment of the vehicle control method of the present invention is shown, and the method is executed by a cloud server device. It should be noted that the cloud server is in communication connection with the vehicle and the smart devices in the indoor environment where the user is located.
[0025] like Figure 1 As shown, the method comprises the following steps:
[0026] Step 110: If it is determined that the user has a need to enter the vehicle from the indoor environment, obtain environmental information of the indoor environment collected by the smart device.
[0027] The indoor environment is, for example, a home environment.
[0028] The environmental information includes, for example, the indoor temperature, the operation information of the smart device, etc. The smart device may be a smart air conditioner or other device that can adjust the indoor temperature. When the smart device is a smart air conditioner, the operation information of the smart device may include, for example, the current switch, set temperature, and operation mode setting (cooling mode, heating mode, automatic mode) of the smart air conditioner. When the smart device is a smart air conditioner, the temperature sensor on the smart air conditioner senses the current indoor temperature. The cloud server records the environmental information.
[0029] When determining whether the user has a need to enter the vehicle from the indoor environment, it can be determined by multiple trigger conditions. For example, one of the trigger conditions is that the user walks out of the indoor environment and the vehicle control service is turned on on the client (mobile phone). After the vehicle control service is turned on, the cloud server can be used to control the vehicle to adjust the interior environment to be consistent with the indoor environment.
[0030] Step 120: Generate a control instruction for the vehicle based on the environmental information.
[0031] The control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment.
[0032] The control instruction for the vehicle is generated according to the environmental information, which can be understood as generating the control instruction for certain electrical appliances in the vehicle according to the environmental information. The control instruction for certain electrical appliances in the vehicle can indicate the operation mode, operation end condition, etc. of the electrical appliances.
[0033] For example, if the vehicle adjusts the in-vehicle environment through the air conditioner in the vehicle, the control instruction can be understood as a control instruction for the air conditioner in the vehicle. In this case, the control instruction is used to instruct the air conditioner in the vehicle to turn on and cool at 22°C in the cooling mode until the in-vehicle environment is detected to be consistent with the indoor environment.
[0034] S130: Sending the control instruction to the vehicle.
[0035] The vehicle is provided with an intelligent cockpit controller. The cloud server sends the control instruction to the intelligent cockpit controller. Correspondingly, the intelligent cockpit controller controls the operation of certain electrical appliances in the vehicle according to the control instruction, for example, controls the operation of the air conditioner in the vehicle.
[0036] Correspondingly, the intelligent cockpit controller responds to the control instruction and adjusts the vehicle's interior environment to be consistent with the indoor environment.
[0037] The vehicle control method provided in this embodiment, when determining that the user has a need to enter the vehicle from the indoor environment, sends the control instruction to the vehicle based on the environmental information of the indoor environment collected by the smart device in the indoor environment. The control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment. Thus, before the user enters the vehicle, the interior environment is made consistent with the indoor environment, reducing the risk of adverse reactions caused by long-term rapid switching of the body between different environments, making the user feel comfortable. In other words, before the user enters the vehicle, the air environment in the cabin is optimized in advance to keep it consistent or close to the indoor environment, thereby improving the riding experience.
[0038] Figure 2 A flow chart of another embodiment of the vehicle control method of the present invention is shown, and the method is executed by the cloud server.
[0039] See also Figure 3 , the cloud server is connected to the client, the vehicle, and the smart devices in the user's indoor environment. The smart devices may include smart door locks and smart air conditioners. Smart door locks can report their own state changes, such as opening and closing, to the cloud server. Smart air conditioners can synchronize air conditioning information to the cloud server, and the air conditioning information includes the operation information of the air conditioner, the temperature of the indoor environment detected by the air conditioner, etc. The client can set the switch state of the vehicle control service and set the trigger time range. The vehicle's smart cockpit controller can synchronize the vehicle location, vehicle power status, etc. to the cloud server. The cloud server can send instructions to the smart cockpit controller.
[0040] It should be noted that when the vehicle is offline, the smart cockpit controller will still be powered by a small battery and communicate in real time with the cloud server through the vehicle's telematics BOX (T-BOX). The content of the communication includes receiving control instructions issued by the cloud server. The smart cockpit controller sends the control instructions to the corresponding cockpit smart device system through the controller area network bus (Controller Area Network, CAN for short). The smart cockpit controller can also continuously monitor the status signal reported by the air-conditioning system in the vehicle through the signal of the CAN line, and communicate with the cloud server to synchronize the status signal to the cloud server in real time. The cockpit smart device system is such as the cockpit air-conditioning system. The cockpit air-conditioning system is mainly used to control the functions of the air-conditioning in the vehicle, including switches, temperature settings, operating mode settings, etc., and the operating modes are such as cooling mode, heating mode and automatic mode. While controlling the air-conditioning in the vehicle, the cabin air-conditioning system can also obtain the status of each component in the current cabin air-conditioning system and report the status of each component to the smart cockpit controller.
[0041] like Figure 2 As shown, the method comprises the following steps:
[0042] Step 210: If the trigger condition is met, it is determined that the user has a need to enter the vehicle from the indoor environment.
[0043] The trigger condition includes one or more of the first trigger condition, the second trigger condition, the third trigger condition and the fourth trigger condition. Meeting the trigger condition means meeting each trigger condition included in the trigger condition.
[0044] The first trigger condition is: the client turns on the vehicle control service, and the current time is within the trigger time range. The trigger time range can be the time range set by the client or the time range set by the cloud server, which is not limited in this embodiment. Figure 3 As shown, the client (such as a mobile phone) is equipped with an application (Application, referred to as APP) to provide the vehicle control server to start and stop the server. The user can start or stop the vehicle control service by operating the client. When starting the vehicle control service, the following conditions must be met:
[0045] Condition 1: The client APP needs to be bound to the vehicle. The vehicle is mainly used to receive the control instructions sent by the cloud server and adjust the in-vehicle environment according to the control instructions.
[0046] Condition 2: The client's APP needs to be bound to smart devices (such as smart air conditioners and smart door locks).
[0047] Condition 3: The user sets a trigger time range for triggering the vehicle control server. The trigger time range can be any time range in a day (24 hours), for example, 7:00-9:00, which means 7 am to 9 am.
[0048] When the first trigger condition is met, it proves that the user has turned on the vehicle control service and the current time is within the trigger time range. For example, if the current time is 8 am and the trigger time range is 7 am to 9 am, then the current time is within the trigger time range.
[0049] The second trigger condition is: determining that the smart door lock is opened by the user in the indoor environment.
[0050] like Figure 3 As shown, when the state of the smart door lock changes, the state change will be reported to the cloud server. The cloud server determines whether the smart door lock is opened by the user in the indoor environment through the state change reported by the smart door lock. For example, if the state change reported by the smart door lock is that the smart door lock is opened from the inside, it is determined that the smart door lock is opened by the user in the indoor environment.
[0051] When the second trigger condition is met, it proves that the user has come out of the indoor environment.
[0052] The third trigger condition is: according to the location information last reported by the vehicle, determining that the distance between the location of the vehicle and the location of the indoor environment is less than or equal to a distance threshold.
[0053] The distance threshold can be set according to actual needs, for example, 50 meters.
[0054] like Figure 3 As shown, the vehicle will periodically report its own location information to the cloud server, and the cloud server determines the distance between the location of the vehicle and the location of the indoor environment based on the location information reported by the vehicle.
[0055] When the third trigger condition is met, it proves that the vehicle is near the location of the indoor environment and the user needs to enter the vehicle from the indoor environment.
[0056] The fourth trigger condition is: the vehicle is powered on.
[0057] like Figure 3 As shown, the vehicle can report the power status to the cloud server periodically or in real time, or the cloud server can request the power status from the vehicle. The cloud server determines whether the vehicle is powered on based on the power status. When the vehicle is powered on, the fourth trigger condition is met.
[0058] Preferably, the trigger condition includes the first trigger condition, the second trigger condition, the third trigger condition and the fourth trigger condition. After the first trigger condition and the second trigger condition are met, the cloud server requests the vehicle for the current location and power status of the vehicle, and correspondingly, after receiving the request, the vehicle returns the location and power status of the vehicle to the cloud server. The cloud server determines that the distance between the location of the vehicle and the location of the indoor environment is less than or equal to the distance threshold, and when the vehicle is powered on, it is determined that the user has a need to enter the vehicle from the indoor environment. Only when all the trigger conditions are met is it determined that the user has a need to enter the vehicle, which can avoid the problem of poor in-vehicle environment adjustment effect caused by interference factors, thereby improving the in-vehicle environment adjustment effect. Interference factors include the vehicle not being powered on, the vehicle being too far away, etc.
[0059] Step 220: If it is determined that the user has a need to enter the vehicle from the indoor environment, obtain environmental information of the indoor environment collected by the smart device.
[0060] For the relevant description of step S220, reference may be made to the relevant description of step S110, which will not be repeated here.
[0061] Step S230: Generate a control instruction for the vehicle according to the environmental information.
[0062] For the relevant description of step S230, reference may be made to the relevant description of step S120, which will not be repeated here.
[0063] Step S240: Send the control instruction to the vehicle.
[0064] For the relevant description of step S240, reference may be made to the relevant description of step S130, which will not be repeated here.
[0065] The method provided in this embodiment determines whether the user has a need to enter the vehicle from the indoor environment by setting a trigger condition. The trigger condition includes one or more of the following: the client turns on the vehicle control service, the current time is within the trigger time range, the vehicle is powered on, the distance between the vehicle and the indoor environment is less than or equal to the distance, and the smart door lock in the indoor environment is opened from the inside. By setting the trigger condition, it is possible to prevent the user from being misjudged to have a need to enter the vehicle, thereby improving the effect and accuracy of the in-vehicle environment adjustment.
[0066] In some embodiments, determining that the second trigger condition is met, that is, determining, based on the location information last reported by the vehicle, that the distance between the location of the vehicle and the location of the indoor environment is less than or equal to a distance threshold, specifically includes:
[0067] Step 1: Obtain the location information reported by the vehicle for the last time.
[0068] The vehicle will periodically report its location information to the cloud server, and the cloud server determines the distance between the vehicle's location and the location of the indoor environment based on the location information reported by the vehicle.
[0069] Step 2: When determining that the vehicle is within the geographic fence based on the location information, determine that the distance between the location of the vehicle and the location of the indoor environment is less than or equal to a distance threshold.
[0070] See also Figure 4 The geo-fence is a circular fence with the location of the indoor environment as the center and a preset distance as the radius. The preset distance can be as follows: Figure 4 500 meters as shown. As shown in the figure, when the vehicle is at position A, it is in a non-geo-fenced area. When the vehicle is at position B, it is in a geo-fenced area.
[0071] Optionally, when the vehicle's position reported three times in a row is in a non-geo-fenced area, the geo-fence is untriggered. When the vehicle's position reported three times in a row is in a geo-fenced area, the geo-fence is triggered.
[0072] Optionally, to cancel triggering of the geo-fence, the triggering condition may not include the third triggering condition.
[0073] As described above, this embodiment determines the distance between the location of the vehicle and the location of the indoor environment by setting the geo-fence, and the geo-fence is triggered when the location reported by the vehicle for three consecutive times is in the geo-fence area. In this way, the risk of misjudging the location of the vehicle that meets the second trigger condition is reduced, and the accuracy and efficiency of vehicle control are indirectly improved.
[0074] In some embodiments, when the trigger condition includes the first trigger condition, the second trigger condition, the third trigger condition, and the fourth trigger condition, determining that the user has a need to enter the vehicle from the indoor environment includes:
[0075] Step 1: When the first trigger condition, the second trigger condition and the third trigger condition are met, but the fourth trigger condition is not met, requesting the power status of the vehicle again.
[0076] The vehicle is in a power-off state, that is, the power state is OFF. When the cloud server determines that the first trigger condition, the second trigger condition and the third trigger condition are met, it will request the current power state of the vehicle again.
[0077] Step 2: until it is determined that the fourth trigger condition is met by requesting the power status of the vehicle again, it is determined that the user has a need to enter the vehicle from the indoor environment.
[0078] The power state of the vehicle meets the fourth trigger condition, which means that the vehicle is powered on. At this time, if the first trigger condition, the second trigger condition, the third trigger condition and the fourth trigger condition are met, it is determined that the user has a need to enter the vehicle from the indoor environment.
[0079] Optionally, when the power status of the vehicle is requested multiple times and still does not meet the fourth trigger condition, the client can be informed that the vehicle continues to be powered off and cannot be controlled.
[0080] The method provided in this embodiment, when the first trigger condition, the second trigger condition, and the third trigger condition are met, if the fourth trigger condition is not met, that is, the power state of the vehicle is off and the vehicle is in a power-off state, the power state of the vehicle is requested again. Requesting the power state of the vehicle again can prevent the vehicle from being uncontrollable due to misjudgment and improve the accuracy of vehicle control.
[0081] In some embodiments, the vehicle control method further includes:
[0082] Step 1: When the fourth trigger condition is met, the duration of the continuous power-off of the vehicle before it is powered on is determined based on the power-on time when the vehicle meets the fourth trigger condition and the last power-off time reported by the vehicle.
[0083] As described above, the vehicle will report its power status to the cloud server. The cloud server calculates the duration of the vehicle being powered off before it is powered on based on the last power-off time reported by the vehicle.
[0084] Step 2: When the duration of the continuous power-off is greater than or equal to the first preset duration, an air purification instruction is generated, and the air purification instruction is used to instruct the vehicle to turn on the air purification function and continue for a specified period of time.
[0085] The first preset duration is, for example, 5 hours. When the duration of the continuous power-off is greater than or equal to 5 hours, the execution rule is increased, and the air purification instruction is generated at this time.
[0086] The prescribed time is, for example, 10 minutes, and the air purification instruction is used to instruct the vehicle to turn on the air purification function for 10 minutes. After reaching the prescribed time, the air purification function is turned off, that is, the air purification function is turned off after being turned on for 10 minutes.
[0087] Step three, sending the air purification instruction to the vehicle.
[0088] Correspondingly, the vehicle responds to the air purification instruction, turns on the air purification function and continues for a specified period of time.
[0089] In this embodiment, when the vehicle is powered off for too long and the user needs to enter the vehicle, the air inside the vehicle is purified in advance to avoid a decline in the user's riding experience due to poor vehicle air quality and improve vehicle user satisfaction.
[0090] In some embodiments, the vehicle control method further includes:
[0091] Step 1: Record the time when the last command was issued to the vehicle.
[0092] Among them, the last instruction issued is the control instruction or the air purification instruction.
[0093] When the cloud server sends the command, the time starts.
[0094] Step 2: If the difference between the current time and the issuing time of the last issued instruction is greater than or equal to the second preset time length, the current power status of the vehicle is requested again.
[0095] The second preset duration can be set according to actual needs. For example, the second preset duration is 600 seconds. When the time from the last instruction to the vehicle exceeds 600 seconds, the cloud server will request the current power status of the vehicle again.
[0096] Step three: If it is determined that the vehicle is powered off based on the current power status of the vehicle requested again, a shutdown instruction for the air conditioner and the air purification function in the vehicle is sent to the vehicle.
[0097] If the current power state of the vehicle is requested to be off (OFF) again and the vehicle is determined to be powered off, a shutdown instruction for the air conditioner and the air purification function in the vehicle is sent to the vehicle, and this vehicle control service ends.
[0098] Optionally, if the current power state of the vehicle is requested to be turned on (ON) again, no operation is performed and this vehicle control service ends.
[0099] After the command has been issued to the vehicle, the power state of the vehicle is determined again after a second preset time. If the current power state of the vehicle is off, indicating that the user has not entered the vehicle or other situations, the control of the vehicle can be turned off to reduce loss.
[0100] In some embodiments, step S120 or step S230 includes:
[0101] Step 1: Determine a target temperature and a target operating mode of the air conditioner in the vehicle based on the environmental information.
[0102] The cloud server can determine the indoor environment through the environmental information, take the indoor environment as the target environment of the vehicle, and determine the target temperature and target operating mode of the air conditioner in the vehicle based on the target environment and the current environment of the vehicle.
[0103] For example, if the indoor environment is 26°C according to the environmental information, the target environment of the vehicle is to maintain the cabin space at 26°C. If the current environment of the vehicle is 30°C, the target temperature of the air conditioner in the vehicle is 26°C and the target operation mode is cooling.
[0104] Step 2: Generate the control instruction according to the target temperature and target operation mode of the air conditioner in the vehicle.
[0105] The control instruction is used to instruct the vehicle to adjust the temperature of the air conditioner in the vehicle to a target temperature, and adjust the operating mode of the air conditioner in the vehicle to a target operating mode.
[0106] The control instruction provided in this embodiment carries the target temperature and target operating mode of the air conditioner in the vehicle, so as to inform the vehicle that the way to adjust the interior environment is to adjust the temperature and operating mode of the air conditioner, thereby improving the efficiency of the vehicle in adjusting the interior environment.
[0107] In some embodiments, step S120 or step S230 includes:
[0108] Step 1: when the smart device is turned off, query the environmental information last reported by the smart device.
[0109] That is, when the environmental information of the indoor environment cannot be confirmed according to the smart device, the environmental information reported by the smart device for the last time is obtained.
[0110] Step 2: When the difference between the last reported time and the current time is less than or equal to a preset time length, the control instruction is generated according to the last reported environmental information.
[0111] The preset duration can be set according to actual needs. When the difference between the last reported time and the current time is less than or equal to the preset duration, it is speculated that the indoor environment has not changed or has changed very little between the last reported time and the current time. Therefore, the control instruction can be generated based on the last reported environmental information.
[0112] Step three, when the difference between the last reported time and the current time is greater than the preset time length, a start instruction for the air conditioner in the vehicle is sent to the vehicle, and the start instruction is used to instruct the air conditioner in the vehicle to operate according to the default configuration information.
[0113] The default configuration information may be the current configuration information of the air conditioner in the vehicle, or the configuration information of the air conditioner when the vehicle leaves the factory.
[0114] That is to say, when the difference between the last reported time and the current time is greater than the preset time, it is estimated that the indoor environment has changed significantly between the last reported time and the current time. At this time, the control instruction cannot be generated based on the last reported environmental information, and only the air conditioner in the vehicle can be instructed to turn on.
[0115] This embodiment describes the situation where the smart device is turned off and cannot obtain the real-time environmental information of the indoor environment. When the real-time environmental information of the indoor environment cannot be obtained, it is determined whether the environmental information last reported by the smart device is available according to the time when the smart device last reported it. If available, the control instruction is generated according to the last reported environmental information. If not available, the vehicle is first commanded to turn on the air conditioner and make the air conditioner run according to the default configuration information to improve the in-vehicle environment and enhance the user's riding experience.
[0116] Figure 5 A flow chart showing an embodiment of a vehicle control method of the present invention is shown, and the method is executed by a vehicle.
[0117] like Figure 5 As shown, the method comprises the following steps:
[0118] S510: Receive a control instruction.
[0119] The control instruction is generated by the cloud server according to the environmental information collected by the smart device in the indoor environment when the cloud server determines that the user has a need to enter the vehicle from the indoor environment. The control instruction is used to adjust the vehicle's interior environment to be consistent with the indoor environment.
[0120] The control instruction for the vehicle is generated according to the environmental information, which can be understood as generating the control instruction for certain electrical appliances in the vehicle according to the environmental information. The control instruction for certain electrical appliances in the vehicle can indicate the operation mode, operation end condition, etc. of the electrical appliances.
[0121] For example, if the vehicle adjusts the in-vehicle environment through the air conditioner in the vehicle, the control instruction can be understood as a control instruction for the air conditioner in the vehicle. In this case, the control instruction is used to instruct the air conditioner in the vehicle to turn on and cool at 22°C in the cooling mode until the in-vehicle environment is detected to be consistent with the indoor environment.
[0122] S520: Adjust the vehicle interior environment according to the control instruction.
[0123] The vehicle is provided with an intelligent cockpit controller. The cloud server sends the control instruction to the intelligent cockpit controller. Correspondingly, the intelligent cockpit controller controls the operation of certain electrical appliances in the vehicle according to the control instruction, for example, controls the operation of the air conditioner in the vehicle.
[0124] Correspondingly, the intelligent cockpit controller responds to the control instruction and adjusts the vehicle's interior environment to be consistent with the indoor environment.
[0125] The vehicle control method provided in this embodiment receives a control instruction sent by a cloud server, and the control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment. Thus, before the user enters the vehicle, the interior environment is made consistent with the indoor environment, reducing the risk of adverse reactions caused by long-term rapid switching between different environments, making the user feel comfortable. In other words, before the user enters the vehicle, the air environment in the cabin is optimized in advance to keep it consistent or close to the indoor environment, thereby improving the riding experience.
[0126] In some embodiments, step S520 includes:
[0127] Step 1: According to the control instruction, obtain the target temperature and target operating mode of the air conditioner in the vehicle determined by the cloud server.
[0128] The cloud server can determine the indoor environment through the environmental information, take the indoor environment as the target environment of the vehicle, and determine the target temperature and target operating mode of the air conditioner in the vehicle based on the target environment and the current environment of the vehicle.
[0129] For example, if the indoor environment is 26°C according to the environmental information, the target environment of the vehicle is to maintain the cabin space at 26°C. If the current environment of the vehicle is 30°C, the target temperature of the air conditioner in the vehicle is 26°C and the target operation mode is cooling.
[0130] Step 2: Control the air conditioner in the vehicle based on the target temperature and target operating mode of the air conditioner in the vehicle.
[0131] The air conditioner in the vehicle is controlled, that is, the operation mode of the air conditioner is adjusted to the target operation mode, and the temperature set by the air conditioner is set to the target temperature.
[0132] The control instruction provided in this embodiment carries the target temperature and target operating mode of the air conditioner in the vehicle, so as to inform the vehicle that the way to adjust the interior environment is to adjust the temperature and operating mode of the air conditioner, thereby improving the efficiency of the vehicle in adjusting the interior environment.
[0133] In some embodiments, the vehicle control method further includes:
[0134] According to the request of the cloud server, the location information and power status of the vehicle are reported.
[0135] Among them, the cloud server will request the vehicle's location information when determining whether the second trigger condition described above is met.
[0136] The cloud server will request the power status of the vehicle when determining whether the fourth trigger condition described above is met. The cloud server will also request the power status of the vehicle when confirming whether to stop the vehicle control service. The cloud server can request the power status of the vehicle multiple times as needed.
[0137] As long as the vehicle receives a request from the cloud server, it reports the vehicle's location information and power status once.
[0138] Optionally, the vehicle may also periodically report the vehicle's location information and power status, so that the cloud server can make decisions based on the periodically reported location information or power status when real-time location information and power status are not needed.
[0139] The vehicle control method provided in this embodiment reports the vehicle's location information and power status upon request from the cloud server, so that the cloud server can determine whether the user has a need to enter the vehicle and whether to control the vehicle.
[0140] In some embodiments, the vehicle control method further includes:
[0141] Each time the power is turned off, the power-off status and power-off time are reported to the cloud server. Similarly, each time the power is turned on, the power-on status and power-on time are reported to the cloud server.
[0142] Correspondingly, the cloud server can make decisions based on the power-on status, power-off status, power-on time, power-off time, etc., to decide whether to control the vehicle, how to control the vehicle, etc.
[0143] As described above, the cloud server generates an air purification instruction based on the judgment result of the power-off time and the power-on time. The cloud server generates the control instruction based on the power status of the vehicle. The cloud server can also make other decisions based on the reported power-on status, power-off status, power-on time, power-off time, etc., which is not limited in this embodiment.
[0144] In some embodiments, the vehicle control method further includes:
[0145] In response to the air purification instruction sent by the cloud server, the air purification function is turned on and lasts for a specified period of time.
[0146] Among them, the air purification instruction is generated by the cloud server when it is determined that the fourth trigger condition is met and it is determined that the duration of continuous power-off before the vehicle is powered on is greater than or equal to the first preset duration.
[0147] For the description of how the cloud server generates the air purification instruction, please refer to the above description and will not be repeated here.
[0148] The prescribed time is, for example, 10 minutes, and the air purification instruction is used to instruct the vehicle to turn on the air purification function for 10 minutes. After reaching the prescribed time, the air purification function is turned off, that is, the air purification function is turned off after being turned on for 10 minutes.
[0149] The vehicle responds to the air purification command, turns on the air purification function and continues for a specified period of time.
[0150] In this embodiment, when the vehicle is powered off for too long and the user needs to enter the vehicle, the air inside the vehicle is purified in advance to avoid a decline in the user's riding experience due to poor vehicle air quality and improve vehicle user satisfaction.
[0151] In some embodiments, the vehicle control method further includes:
[0152] If the current power state of the vehicle is a power-off state, in response to the shutdown instruction of the air conditioning and the air purification function in the vehicle sent by the cloud server, the air conditioning and the air purification function in the vehicle are turned off.
[0153] For the description of the cloud server generating and sending the shutdown instruction, please refer to the above description and will not be repeated here.
[0154] In this embodiment, after the cloud server has issued the command to the vehicle, after a second preset time, it determines the power status of the vehicle again. If the current power status of the vehicle is off, indicating that the user has not entered the vehicle or other situations, the control of the vehicle can be turned off to reduce loss.
[0155] See also Figure 6 The present application also provides a vehicle control device 60, which is applied to a cloud server. The vehicle control device 60 includes:
[0156] The acquisition module 610 is used to acquire environmental information of the indoor environment collected by the smart device if it is determined that the user has a need to enter the vehicle from the indoor environment.
[0157] The adjustment module 620 is used to generate a control instruction for the vehicle according to the environmental information, and the control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment.
[0158] The communication module 630 is used to send the control instruction to the vehicle.
[0159] In an optional manner, the smart device includes a smart door lock, and the acquisition module 610 is used to:
[0160] If the trigger condition is met, it is determined that the user has a need to enter the vehicle from the indoor environment;
[0161] The trigger condition includes one or more of a first trigger condition, a second trigger condition, a third trigger condition and a fourth trigger condition;
[0162] The first trigger condition is: the client turns on the vehicle control service, and the current time is within the trigger time range; the client is in communication connection with the cloud server;
[0163] The second trigger condition is: determining that the smart door lock is opened by the user in the indoor environment;
[0164] The third trigger condition is: according to the location information last reported by the vehicle, it is determined that the distance between the location of the vehicle and the location of the indoor environment is less than or equal to a distance threshold;
[0165] The fourth trigger condition is: the vehicle is powered on.
[0166] In an optional manner, the acquisition module 610 is used to:
[0167] Obtain the location information reported by the vehicle for the last time;
[0168] When determining that the vehicle is within the geo-fence according to the location information, determining that a distance between the location of the vehicle and the location of the indoor environment is less than or equal to a distance threshold;
[0169] The geographic fence is a circular fence with the location of the indoor environment as the center and a preset distance as the radius.
[0170] In an optional manner, when the trigger condition includes the first trigger condition, the second trigger condition, the third trigger condition and the fourth trigger condition, the acquisition module 610 is used to:
[0171] When the first trigger condition, the second trigger condition and the third trigger condition are met, but the fourth trigger condition is not met, requesting the power state of the vehicle again;
[0172] Until it is determined that the fourth trigger condition is met based on the power state of the vehicle being requested again, it is determined that the user has a need to enter the vehicle from the indoor environment.
[0173] In an optional manner, the adjustment module 620 is used to: when the fourth trigger condition is met, determine the duration of continuous power-off before the vehicle is powered on according to the power-on time when the vehicle meets the fourth trigger condition and the last power-off time reported by the vehicle; when the continuous power-off duration is greater than or equal to the first preset duration, generate an air purification instruction, the air purification instruction is used to instruct the vehicle to turn on the air purification function and continue for a specified time;
[0174] The communication module 630 is used to send the air purification instruction to the vehicle.
[0175] In an optional manner, the communication module 630 is used to:
[0176] Recording the time when the last instruction was issued to the vehicle, wherein the last instruction issued is the control instruction or the air purification instruction;
[0177] If the difference between the current time and the issuing time of the last issued instruction is greater than or equal to the second preset time length, requesting the current power status of the vehicle again;
[0178] If it is determined that the vehicle is powered off according to the current power state of the vehicle requested again, an instruction to turn off the air conditioner and the air purification function in the vehicle is sent to the vehicle.
[0179] In an optional manner, the adjustment module 620 is used to:
[0180] determining a target temperature and a target operating mode of the air conditioner in the vehicle based on the environmental information;
[0181] The control instruction is generated according to a target temperature and a target operating mode of the air conditioner in the vehicle.
[0182] In an optional manner, the adjustment module 620 is used to:
[0183] When the smart device is turned off, query the environment information reported by the smart device for the last time;
[0184] When the difference between the last reported time and the current time is less than or equal to the preset time length, the control instruction is generated according to the last reported environmental information.
[0185] When the difference between the last reported time and the current time is greater than the preset time length, an instruction to turn on the air conditioner in the vehicle is sent to the vehicle, and the instruction to turn on the air conditioner in the vehicle is used to instruct the air conditioner in the vehicle to operate according to the default configuration information.
[0186] The vehicle control device provided in this embodiment, when determining that the user has a need to enter the vehicle from the indoor environment, sends the control instruction to the vehicle based on the environmental information of the indoor environment collected by the smart device in the indoor environment. The control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment. Thus, before the user enters the vehicle, the interior environment is made consistent with the indoor environment, reducing the risk of adverse reactions caused by long-term rapid switching of the body between different environments, making the user feel comfortable. In other words, before the user enters the vehicle, the air environment in the cabin is optimized in advance to keep it consistent or close to the indoor environment, thereby improving the riding experience.
[0187] See also Figure 7 The present application also provides a vehicle control device 70, which is applied to a vehicle. The vehicle control device 70 includes:
[0188] The communication module 710 is used to receive control instructions. The control instructions are generated by the cloud server based on environmental information collected by smart devices in the indoor environment when it determines that the user has a need to enter the vehicle from the indoor environment. The control instructions are used to adjust the interior environment of the vehicle to be consistent with the indoor environment.
[0189] The adjustment module 720 is used to adjust the vehicle interior environment according to the control instruction.
[0190] The vehicle control device provided in this embodiment receives a control instruction sent by a cloud server, and the control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment. Thus, before the user enters the vehicle, the interior environment is made consistent with the indoor environment, reducing the risk of adverse reactions caused by long-term rapid switching of the body between different environments, making the user feel comfortable. In other words, before the user enters the vehicle, the air environment in the cabin is optimized in advance to keep it consistent or close to the indoor environment, thereby improving the riding experience.
[0191] Figure 8 The schematic diagram of the structure of an embodiment of the electronic device of the present invention is shown, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
[0192] like Figure 8 As shown, the electronic device may include: a processor (processor) 802 , a communication interface (Communications Interface) 804 , a memory (memory) 806 , and a communication bus 808 .
[0193] Wherein: the processor 802, the communication interface 804, and the memory 806 communicate with each other through the communication bus 808. The communication interface 804 is used to communicate with other devices such as a client or a network element of another server. The processor 802 is used to execute the program 810, which can specifically execute the relevant steps in the above-mentioned vehicle control method embodiment executed by the cloud server, or execute the relevant steps in the above-mentioned vehicle control method embodiment executed by the vehicle.
[0194] Specifically, the program 810 may include program code including computer executable instructions.
[0195] The processor 802 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the electronic device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0196] The memory 806 is used to store the program 810. The memory 806 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0197] When used in a vehicle control method executed by a cloud server, the program 810 may be specifically called by the processor 802 to enable the electronic device to perform the following operations:
[0198] If it is determined that the user has a need to enter the vehicle from the indoor environment, obtaining environmental information of the indoor environment collected by the smart device;
[0199] Generate a control instruction for the vehicle according to the environmental information, the control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment;
[0200] The control instruction is sent to the vehicle.
[0201] The electronic device provided in this embodiment, when determining that the user has a need to enter the vehicle from the indoor environment, sends the control instruction to the vehicle based on the environmental information of the indoor environment collected by the smart device in the indoor environment. The control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment. Thus, before the user enters the vehicle, the interior environment is made consistent with the indoor environment, reducing the risk of adverse reactions caused by long-term rapid switching of the body between different environments, making the user feel comfortable. In other words, before the user enters the vehicle, the air environment in the cabin is optimized in advance to keep it consistent or close to the indoor environment, thereby improving the riding experience.
[0202] When used for the vehicle control method executed by the vehicle, the program 810 can be specifically called by the processor 802 to enable the electronic device to perform the following operations:
[0203] receiving a control instruction, where the cloud server generates the control instruction based on the environmental information collected by the smart device in the indoor environment when determining that the user has a need to enter the vehicle from the indoor environment, and the control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment;
[0204] According to the control instruction, the environment inside the vehicle is adjusted.
[0205] The electronic device provided in this embodiment receives a control instruction sent by a cloud server, and the control instruction is used to adjust the in-vehicle environment of the vehicle to be consistent with the indoor environment. Thus, before the user enters the vehicle, the in-vehicle environment is made consistent with the indoor environment, reducing the risk of adverse reactions caused by long-term rapid switching between different environments, making the user feel comfortable. In other words, before the user enters the vehicle, the air environment in the cabin is optimized in advance to keep it consistent or close to the indoor environment, thereby improving the riding experience.
[0206] An embodiment of the present invention provides a computer-readable storage medium storing at least one executable instruction. When the executable instruction is executed on an electronic device / apparatus, the electronic device / apparatus executes the vehicle control method executed by the cloud server in any of the above-mentioned method embodiments, or executes the vehicle control method executed by the vehicle in any of the above-mentioned method embodiments.
[0207] When executing the vehicle control method executed by the cloud server in any of the above method embodiments, the executable instructions can be specifically used to enable the electronic device / device to perform the following operations:
[0208] If it is determined that the user has a need to enter the vehicle from the indoor environment, obtaining environmental information of the indoor environment collected by the smart device;
[0209] Generate a control instruction for the vehicle according to the environmental information, the control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment;
[0210] The control instruction is sent to the vehicle.
[0211] The computer-readable storage medium provided in this embodiment, when determining that the user has a need to enter the vehicle from the indoor environment, sends the control instruction to the vehicle based on the environmental information of the indoor environment collected by the smart device in the indoor environment. The control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment. Thus, before the user enters the vehicle, the interior environment is made consistent with the indoor environment, reducing the risk of adverse reactions caused by long-term rapid switching of the body between different environments, making the user feel comfortable. In other words, before the user enters the vehicle, the air environment in the cabin is optimized in advance to keep it consistent or close to the indoor environment, thereby improving the riding experience.
[0212] When executing the vehicle control method executed by the vehicle in any of the above method embodiments, the executable instructions can be specifically used to enable the electronic device / device to perform the following operations:
[0213] receiving a control instruction, where the cloud server generates the control instruction based on the environmental information collected by the smart device in the indoor environment when determining that the user has a need to enter the vehicle from the indoor environment, and the control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment;
[0214] According to the control instruction, the environment inside the vehicle is adjusted.
[0215] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system or other device. In addition, the embodiments of the present invention are not directed to any particular programming language.
[0216] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. Similarly, in order to simplify the present invention and help understand one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. Wherein, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself is a separate embodiment of the present invention.
[0217] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and further may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive.
[0218] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.
Claims
1. A vehicle control method, characterized in that: Applied to a cloud server, the cloud server is communicatively connected with a vehicle and a smart device in an indoor environment where a user is located, the method comprising: If it is determined that the user has a need to enter the vehicle from the indoor environment, obtaining environmental information of the indoor environment collected by the smart device; generating a control instruction for the vehicle according to the environmental information, wherein the control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment; The control instruction is sent to the vehicle.
2. The method according to claim 1, characterized in that: The smart device includes a smart door lock, and the method further includes: If the trigger condition is met, determining that the user has a need to enter the vehicle from the indoor environment; The trigger condition includes one or more of a first trigger condition, a second trigger condition, a third trigger condition and a fourth trigger condition; The first trigger condition is: the client turns on the vehicle control service and the current time is within the trigger time range; the client is in communication connection with the cloud server; The second trigger condition is: determining that the smart door lock is opened by the user in the indoor environment; The third trigger condition is: determining, based on the last reported position information of the vehicle, that the distance between the position of the vehicle and the position of the indoor environment is less than or equal to a distance threshold; The fourth trigger condition is: the vehicle is powered on.
3. The method according to claim 2, characterized in that When the trigger condition includes the first trigger condition, the second trigger condition, the third trigger condition, and the fourth trigger condition, if the trigger conditions are met, determining that the user has a need to enter the vehicle from the indoor environment includes: When the first trigger condition, the second trigger condition and the third trigger condition are met, but the fourth trigger condition is not met, requesting the power state of the vehicle again; Until it is determined that the fourth trigger condition is met based on the power state of the vehicle being requested again, it is determined that the user has a need to enter the vehicle from the indoor environment.
4. The method according to claim 2, characterized in that: The method further comprises: When the fourth trigger condition is met, determining the duration of continuous power-off before the vehicle is powered on according to the power-on time when the vehicle meets the fourth trigger condition and the last power-off time reported by the vehicle; When the duration of the continuous power-off is greater than or equal to a first preset duration, an air purification instruction is generated, wherein the air purification instruction is used to instruct the vehicle to turn on the air purification function and continue for a specified duration; The air purification instruction is sent to the vehicle.
5. The method according to claim 4, characterized in that The method further comprises: Recording the time when the last instruction was issued to the vehicle, wherein the last instruction issued is the control instruction or the air purification instruction; If the difference between the current time and the issuing time of the last issued instruction is greater than or equal to the second preset time length, requesting the current power state of the vehicle again; If it is determined that the vehicle is powered off according to the current power state of the vehicle requested again, a shutdown instruction of the air conditioner and the air purification function in the vehicle is sent to the vehicle.
6. The method according to any one of claims 1 to 5, characterized in that: The generating a control instruction for the vehicle according to the environmental information comprises: determining a target temperature and a target operating mode of an air conditioner in the vehicle according to the environmental information; The control instruction is generated according to a target temperature and a target operating mode of the air conditioner in the vehicle.
7. The method according to any one of claims 1 to 5, characterized in that: The generating a control instruction for the vehicle according to the environmental information comprises: When the smart device is turned off, query the environmental information last reported by the smart device; When the difference between the last reported time and the current time is less than or equal to the preset time length, the control instruction is generated according to the last reported environmental information; When the difference between the last reported time and the current time is greater than the preset time length, an instruction to turn on the air conditioner in the vehicle is sent to the vehicle, and the instruction to turn on the air conditioner in the vehicle is used to instruct the air conditioner in the vehicle to operate according to default configuration information.
8. A vehicle control method, characterized in that: Applied to a vehicle, the method comprises: receiving a control instruction, wherein the control instruction is generated by the cloud server according to environmental information collected by a smart device in the indoor environment when determining that the user has a need to enter the vehicle from the indoor environment, and the control instruction is used to adjust the interior environment of the vehicle to be consistent with the indoor environment; According to the control instruction, the in-vehicle environment is adjusted.
9. The method according to claim 8, characterized in that The adjusting the vehicle interior environment according to the control instruction includes: According to the control instruction, obtaining the target temperature and target operation mode of the air conditioner in the vehicle determined by the cloud server; The air conditioner in the vehicle is controlled based on a target temperature and a target operating mode of the air conditioner in the vehicle.
10. The method according to claim 8 or 9, characterized in that: The method further comprises: In response to the air purification instruction sent by the cloud server, the air purification function is turned on and continued for a specified period of time; Among them, the air purification instruction is generated by the cloud server when it is determined that the fourth trigger condition is met and it is determined that the duration of continuous power-off before the vehicle is powered on is greater than or equal to the first preset duration; wherein, the fourth trigger condition is: the vehicle is powered on.
