Automatic power-off method for external discharge of vehicle, electronic equipment and storage medium
By remotely acquiring power-off setting information, the system automatically controls the power-off of the vehicle's external discharge module, solving the problems of complexity and safety hazards associated with manual power-off in existing technologies, and achieving simple and safe external discharge management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-15
- Publication Date
- 2026-04-21
AI Technical Summary
Existing vehicle external discharge devices require manual power-off, which is complicated to operate and can easily lead to shortened battery life or safety hazards due to user negligence. Existing timer functions rely on physical timers, which are cumbersome to operate.
By receiving power outage settings information sent by a remote receiving terminal, the system automatically obtains power outage conditions, including time, countdown, rainfall, temperature, power consumption, and power information, thereby achieving automatic power outage.
It simplifies the operation process, improves user experience and safety, avoids risks such as battery over-discharge, water ingress short circuit and overheating, and enhances the safety of use.
Smart Images

Figure CN121893768A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of new energy vehicle technology, and more specifically, to an automatic power-off method, electronic device, and storage medium for external discharge of a vehicle. Background Technology
[0002] With the popularization of new energy vehicles, external power discharge has become an important additional feature of vehicles, widely used in camping, outdoor work, emergency power supply, and other scenarios. However, current external power discharge devices on the market require users to manually disconnect the power (e.g., plugging or unplugging appliances or pressing switches), which not only increases operational complexity but also leads to over-discharge, shortened battery life, and even fires due to user negligence or improper timing control. For example, in a camping scenario, if a user powers a water pump for irrigation using external power discharge and fails to disconnect the power in time, it may cause over-discharge and damage to the battery, or pose a safety hazard due to prolonged operation. Although some existing devices support simple timing functions, they mostly rely on built-in physical timers, requiring users to set them on-site, which is cumbersome. Summary of the Invention
[0003] To address the aforementioned issues, this invention proposes an automatic power-off method, electronic device, and storage medium for external vehicle discharge, which can significantly improve user experience, operational efficiency, and safety.
[0004] The present invention provides an automatic power-off method for external discharge of a vehicle, the method comprising: in response to power-off setting information, acquiring automatic power-off conditions, wherein the power-off setting information is remotely sent by a terminal connected to the vehicle; and when the automatic power-off conditions are met, controlling the external discharge module of the vehicle to disconnect the power.
[0005] In one embodiment, the power outage setting information includes at least one of power outage time information, power outage countdown information, power outage rainfall information, power outage temperature information, power outage electricity information, and power outage power information; the step of obtaining automatic power outage conditions in response to the power outage setting information includes: determining the automatic power outage time based on the power outage time information; determining the automatic power outage countdown based on the power outage countdown information; determining the automatic power outage rainfall based on the power outage rainfall information; determining the automatic power outage temperature based on the power outage temperature information; determining the automatic power outage electricity based on the power outage electricity information; and determining the automatic power outage power based on the power outage power information.
[0006] In one embodiment, the method further includes: if the current time is greater than or equal to the automatic power-off time, then determining that the automatic power-off condition is met; setting a countdown time according to the automatic power-off countdown, and if the countdown time reaches zero, then determining that the automatic power-off condition is met; if the humidity information or rainfall information is greater than or equal to the automatic power-off rainfall, then determining that the automatic power-off condition is met; if the temperature information is greater than or equal to the automatic power-off temperature, then determining that the automatic power-off condition is met; if the remaining battery power information is less than or equal to the automatic power-off power, then determining that the automatic power-off condition is met; if the external discharge power is greater than or equal to the automatic power-off power, then determining that the automatic power-off condition is met.
[0007] In one embodiment, determining that the automatic power-off condition is met if the humidity information or rainfall information is greater than or equal to the automatic power-off rainfall amount includes: performing a moving average filtering process on the received humidity information or rainfall information to obtain filtered humidity information or filtered rainfall information; periodically receiving local weather forecast information and determining whether it will rain based on the weather forecast information; and determining that the automatic power-off condition is met when it is determined that rainfall will occur and the filtered humidity information or the filtered rainfall information is greater than or equal to the automatic power-off rainfall amount.
[0008] In one embodiment, the method includes: obtaining the corresponding equivalent rainfall based on the filtered humidity information; and determining whether the filtered humidity information is greater than or equal to the automatic power-off rainfall based on the equivalent rainfall.
[0009] In one embodiment, the automatic power-off countdown is set to a countdown timer. If the countdown timer reaches zero, the automatic power-off condition is determined to be met. This includes: setting the countdown timer of a countdown clock based on the automatic power-off countdown and controlling the countdown clock to start counting down; determining that the automatic power-off condition is met when the countdown timer reaches zero; wherein the countdown clock pauses the countdown when the vehicle is powered off or the vehicle is not discharging externally, and resumes the countdown when the vehicle is powered on or the vehicle is discharging externally.
[0010] In one embodiment, the method further includes: receiving power-off setting information remotely sent by a terminal connected to the vehicle via a signal module, wherein the signal module is any one of a Bluetooth module, a ZigBee module, or a WiFi module.
[0011] This invention provides an automatic power-off method for external discharge of a vehicle, applied to a terminal. The method includes: acquiring the local climate type; determining a recommended setting range for power-off settings based on the climate type; displaying the recommended setting range and, in response to a confirmation command or adjustment command for the recommended setting range, confirming the power-off setting information based on the confirmation command or adjustment command; and sending the power-off setting information to the corresponding signal module.
[0012] The present invention also provides an electronic device, including a memory and a processor, the processor being configured to execute a computer program stored in the memory to implement the steps of the above-described automatic power-off method for external vehicle discharge.
[0013] The present invention also provides a storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described automatic power-off method for external vehicle discharge.
[0014] The present invention provides an automatic power-off method, electronic device, and storage medium for vehicle external discharge. Responding to power-off setting information, it acquires automatic power-off conditions, wherein the power-off setting information is remotely sent by a terminal connected to the vehicle. When the automatic power-off conditions are met, the invention controls the vehicle's external discharge module to disconnect from the power supply. This invention provides a simple, safe, and convenient way to control the external discharge module to automatically disconnect from the power supply, significantly improving user experience, operational efficiency, and safety. Attached Figure Description
[0015] Figure 1 This is a flowchart of the automatic power-off method for external discharge of a vehicle according to the first embodiment of the present invention.
[0016] Figure 2 This is a flowchart of the automatic power-off method for external discharge of a vehicle according to the second embodiment of the present invention.
[0017] Figure 3 This is a schematic diagram of the structure of an automatic power-off system for external discharge of a vehicle according to an embodiment of the present invention.
[0018] Figure 4 This is a schematic diagram of the structure of a computer device according to an embodiment of the present invention.
[0019] Reference numerals: Processor-31; Terminal-32; First signal module-33; External discharge module-34; Second signal module-341; Processor-40; Memory-41; Network interface-42; Bus system-43. Detailed Implementation
[0020] The foregoing and other technical contents, features, and effects of the present invention will be clearly presented in the following detailed description of preferred embodiments with reference to the accompanying drawings. Through the description of the specific embodiments, a more in-depth and specific understanding can be gained of the technical means and effects adopted by the present invention to achieve its intended purpose. However, the accompanying drawings are for reference and illustration only and are not intended to limit the present invention.
[0021] To further illustrate the technical means and effects adopted by the present invention in order to achieve the intended purpose, the present invention will be described in detail below with reference to the accompanying drawings and preferred embodiments.
[0022] In scenarios involving prolonged external discharge, such as camping or outdoor work, if users forget to disconnect the power before discharging, it can easily lead to battery over-discharge, water ingress and short circuits in the external discharge module, overheating of the external discharge module, or even fire. To address this, the present invention provides an automatic power-off method for vehicle external discharge. This method can remotely receive power-off setting information sent by the user through a terminal, set automatic power-off conditions, and automatically disconnect the power when these conditions are met.
[0023] Figure 1 This is a flowchart of the automatic power-off method for external discharge of a vehicle according to the first embodiment of the present invention.
[0024] like Figure 1 As shown, the automatic power-off method for external vehicle discharge provided in this embodiment is applied to a processor, which can be any one of the following: MCU (Micro-Controller Unit), MPU (Micro-Processor Unit), DSP (Digital Signal Processor), or SoC (System on Chip). The automatic power-off method for external vehicle discharge includes the following steps: Step S11: In response to the power failure setting information, obtain the automatic power failure condition, wherein the power failure setting information is remotely sent by a terminal connected to the vehicle.
[0025] Specifically, the signal module receives power-off setting information remotely sent by mobile terminals (such as mobile phones, tablets, etc.) and / or in-vehicle terminals (such as in-vehicle systems, rear-seat entertainment systems, etc.) connected to the vehicle. After receiving the power-off setting information, it sets automatic power-off conditions based on the power-off setting information. The signal module can be any one of Bluetooth module, ZigBee module, WiFi module, 4G module, and 5G module. In this embodiment, the signal module is preferably a Bluetooth module. The power-off setting information includes at least one of power-off time information, power-off countdown information, power-off rainfall information, power-off temperature information, power-off power information, and power-off power information.
[0026] Automatic power-off conditions include at least one of the following: automatic power-off time, automatic power-off countdown, automatic power-off rainfall, automatic power-off temperature, automatic power-off electricity consumption, and automatic power-off power.
[0027] The automatic power-off conditions are set based on the received power-off setting information. Specifically, the automatic power-off time is determined based on the power-off time information; the automatic power-off countdown is determined based on the power-off countdown information; the automatic power-off rainfall is determined based on the power-off rainfall information; the automatic power-off temperature is determined based on the power-off temperature information; the automatic power-off electricity is determined based on the power-off electricity consumption information; and the automatic power-off power is determined based on the power-off power consumption information. It can be understood that the automatic power-off time is determined only when the power-off setting information includes power-off time information, and the automatic power-off countdown is determined only when the power-off setting information includes power-off countdown information, and so on. The same logic applies to determining automatic power-off rainfall, automatic power-off temperature, automatic power-off electricity consumption, and automatic power consumption.
[0028] Step S12: When the automatic power-off condition is met, control the external discharge module of the vehicle to power off.
[0029] Specifically, the corresponding judgment information is obtained based on the automatic power-off conditions, and the automatic power-off conditions are determined based on the corresponding judgment information; if the corresponding judgment information satisfies any one of the automatic power-off conditions, then the automatic power-off conditions are determined to be met.
[0030] When the automatic power-off condition includes the automatic power-off time, the system communicates with the real-time clock or vehicle system to obtain time information, obtains the current time based on the time information, and compares the current time with the automatic power-off time. If the current time is greater than or equal to the automatic power-off time, it is determined that the time information meets the automatic power-off condition.
[0031] When the automatic power-off condition includes an automatic power-off countdown, the countdown clock is set according to the countdown timer and controlled to start counting down. If the countdown time reaches zero, it is determined that the countdown information meets the automatic power-off condition. The countdown clock pauses when the vehicle is powered off and resumes counting down based on the last paused time when the vehicle is powered on. Alternatively, the countdown clock pauses when the vehicle is powered off or not discharging externally, and resumes counting down based on the last paused time when the vehicle is discharging externally. The chips for the real-time clock and countdown clock mentioned above use temperature-compensated oscillators. The temperature-compensated oscillator dynamically calibrates the crystal oscillator frequency through a built-in thermistor, ensuring that the 24-hour timing error of the real-time clock and countdown clock is less than or equal to ±12 seconds (traditional crystal oscillator error ≥ ±60 seconds), ensuring more accurate automatic power-off timing. In one embodiment, the real-time clock and countdown clock are implemented based on the same hardware clock source, and the real-time clock and countdown clock are different functional applications of the same hardware clock.
[0032] When automatic power-off conditions include automatic power-off rainfall, humidity or rainfall information is acquired through a humidity sensor or rainfall sensor. This acquired humidity or rainfall information is then processed using a moving average filter to obtain filtered humidity or rainfall information. Local weather forecasts are received periodically (e.g., every half hour). Based on the rainfall predictions in the weather forecasts, it is determined whether rainfall will occur. If rainfall is determined based on the weather forecast, and the filtered humidity or rainfall information is greater than or equal to the automatic power-off rainfall threshold, then the humidity or rainfall information meets the automatic power-off condition. When determining whether the filtered humidity information is greater than or equal to the rainfall information, the equivalent rainfall amount obtained from the filtered humidity information is used to determine whether the filtered humidity information is greater than or equal to the automatic power-off rainfall threshold. Combining weather forecasts to determine whether humidity or rainfall information meets the automatic power-off rainfall threshold avoids misjudgments caused by sensor splashes, condensation, or brief showers, ensuring that power-off is only triggered in real, continuous rainfall scenarios, thus improving the robustness of the power-off logic and user experience.
[0033] In another embodiment, if it is determined from the weather forecast that there is no rainfall, but the time for which the filtered humidity information or the filtered rainfall information is greater than or equal to the automatic power-off rainfall exceeds a first preset time, the humidity information or rainfall information is determined to meet the automatic power-off condition.
[0034] In another embodiment, when it is determined from the weather forecast that there is no rainfall, but the time for which the filtered humidity information or filtered rainfall information is greater than or equal to the automatic power-off rainfall exceeds a second preset time, and the filtered humidity information or filtered rainfall information is greater than or equal to the safe rainfall, the humidity information or rainfall information is determined to meet the automatic power-off condition.
[0035] When the automatic power-off condition includes the automatic power-off temperature, temperature information is obtained through a temperature sensor, and the temperature information is processed by a moving average filter to obtain filtered temperature information. The filtered temperature information is compared with the automatic power-off temperature. If the filtered temperature information is greater than or equal to the automatic power-off temperature, it is determined that the temperature information meets the automatic power-off condition.
[0036] In one embodiment, the temperature sensor is at least one of a power battery temperature sensor, an external discharge battery temperature sensor, and an external discharge module temperature sensor; the temperature information from the power battery temperature sensor is first temperature information, the temperature information from the external discharge battery temperature sensor is second temperature information, and the temperature information from the external discharge module temperature sensor is third temperature information; the automatic power-off temperature includes a first automatic power-off temperature, a second automatic power-off temperature, and a third automatic power-off temperature; the first temperature information, the second temperature information, and the third temperature information are subjected to moving average filtering to obtain filtered first temperature information, filtered second temperature information, and... The filtered third temperature information is compared with the first automatic power-off temperature. If the filtered first temperature information is greater than or equal to the first automatic power-off temperature, then the first temperature information meets the automatic power-off condition. The filtered second temperature information is compared with the second automatic power-off temperature. If the filtered second temperature information is greater than or equal to the second automatic power-off temperature, then the second temperature information meets the automatic power-off condition. The filtered third temperature information is compared with the third automatic power-off temperature. If the filtered third temperature information is greater than or equal to the third automatic power-off temperature, then the third temperature information meets the automatic power-off condition.
[0037] In another embodiment, the automatic power-off temperature is a range value. If the filtered temperature information is greater than or equal to the maximum value among the automatic power-off temperatures, the temperature information is determined to meet the automatic power-off condition. If the filtered temperature information is equal to or less than the minimum value among the automatic power-off temperatures, the temperature information is also determined to meet the automatic power-off condition. By determining whether the temperature information meets the automatic power-off temperature, the external discharge output can be promptly disconnected in case of abnormal temperatures (too high or too low) during vehicle external discharge, preventing overheating of the external discharge module and external electrical appliances, and damage to the vehicle battery.
[0038] In one embodiment, if the time for which the filtered temperature information is greater than or equal to the automatic power-off temperature exceeds a third preset time, then it is confirmed that the filtered temperature information is greater than or equal to the automatic power-off temperature.
[0039] When the automatic power-off condition includes the automatic power-off charge level, the vehicle's power management module or in-vehicle infotainment system obtains the remaining battery charge information of the power battery or external discharge battery. This remaining charge information is compared with the automatic power-off charge level. If the remaining charge is less than or equal to the automatic power-off charge level, the automatic power-off condition is met. This ensures the vehicle retains necessary driving power during external discharge, preventing the vehicle from becoming unable to continue normal operation due to prolonged external discharge. It also manages the charge level of the external discharge battery to meet the user's subsequent power usage plans.
[0040] When the automatic power-off condition includes the automatic power-off power, the system communicates with the external discharge module to obtain its external discharge power. Instantaneous fluctuation filtering is applied to the external discharge power to obtain a filtered external discharge power. This filtered external discharge power is then compared with the automatic power-off power. If the filtered external discharge power is greater than or equal to the automatic power-off power, the power information is determined to meet the automatic power-off condition. This system can promptly disconnect the external output of the external discharge module in cases of abnormal power consumption or excessive load from external appliances, improving safety during external discharge.
[0041] When the automatic power-off conditions are met, a power-off command is sent to the external discharge module to control the vehicle's external discharge module to cut off power, and an external discharge power-off prompt message is sent to the corresponding mobile terminal and / or vehicle terminal. The external discharge module adopts dual-path power-off. The first path power-off is achieved by cutting off the positive output terminal of a MOSFET, and the second path power-off is achieved by mechanically isolating the output terminal of a relay through auxiliary power-off. The power-off response time of the external discharge module can be less than or equal to 20ms.
[0042] In one embodiment, the external discharge module plays an audio prompt and / or a light prompt when the power is off.
[0043] Figure 2 This is a flowchart of the automatic power-off method for external discharge of a vehicle according to the second embodiment of the present invention.
[0044] like Figure 2 As shown, the automatic power-off method for external vehicle discharge provided in this embodiment is applied to a terminal, which is a mobile terminal and / or an in-vehicle terminal. The automatic power-off method for external vehicle discharge includes the following steps: Step S21: Obtain the climate type of the location.
[0045] Specifically, the location information of the terminal is obtained, the location of the terminal is determined based on the location information, and the climate type corresponding to the location is queried to obtain the climate type of the location; the climate type includes at least one of temperate climate, cold climate, tropical climate, monsoon climate, and arid climate; in another embodiment, the climate type is further subdivided into humid, semi-humid, dry, high temperature, and high cold climate types.
[0046] Step S22: Determine the recommended setting range for power outage settings information based on the climate type.
[0047] Specifically, based on the climate type, the typical climate characteristics of the climate type are determined, and based on the typical climate characteristics, the recommended setting range for automatic power outage rainfall and the recommended setting range for automatic power outage temperature are determined.
[0048] In one embodiment, the vehicle's mileage to the nearest compatible charging station is obtained based on the location information; a recommended reserve mileage is obtained based on the mileage and a preset redundancy distance; a recommended reserve power level is obtained based on the vehicle parameter information; and the recommended reserve power level range for automatic power-off settings is determined based on the recommended reserve power level.
[0049] In one embodiment, the rated discharge power of the external discharge module is obtained based on the parameter information of the external discharge module, and the recommended setting range of the automatic power-off power of the power-off setting information is determined based on the rated discharge power.
[0050] Step S23: Display the recommended setting range, and in response to a confirmation command or adjustment command for the recommended setting range, confirm the power-off setting information according to the confirmation command or the adjustment command.
[0051] Specifically, the terminal displays the recommended setting range on the corresponding graphical interface and receives confirmation or adjustment commands input by the user for the recommended setting range. If a confirmation command is received, the default recommended value in the recommended setting range is confirmed as the power-off setting information. If an adjustment command is received, the power-off setting information is confirmed according to the adjusted parameter value.
[0052] Step S24: Send the power-off setting information to the corresponding signal module.
[0053] The automatic power-off method for vehicle external discharge provided by this invention, in response to power-off setting information, acquires automatic power-off conditions. The power-off setting information is remotely sent by a terminal connected to the vehicle. When the automatic power-off conditions are met, the method controls the vehicle's external discharge module to disconnect from the power supply. This invention provides a simple, safe, and convenient way to control the external discharge module to automatically disconnect from the power supply, significantly improving user experience, operational efficiency, and safety.
[0054] Figure 3 This is a schematic diagram of the structure of an automatic power-off system for external discharge of a vehicle according to an embodiment of the present invention.
[0055] like Figure 3 As shown, the automatic power-off system for external discharge of the vehicle includes a processor 31, a terminal 32, a first signal module 33, and an external discharge module 34.
[0056] Terminal 32 is used to obtain the local climate type, determine the recommended setting range of power outage setting information based on the climate type, display the recommended setting range, and respond to the confirmation command or adjustment command for the recommended setting range. Based on the confirmation command or adjustment command, it confirms the power outage setting information and sends the power outage setting information to the first signal module 33.
[0057] The first signal module 33 is used to receive the power-off setting information sent by the terminal 32 and send the power-off setting information to the processor 31.
[0058] The processor 31 receives the power-off setting information sent by the first signal module 33, and in response to the power-off setting information, obtains the automatic power-off conditions. When the automatic power-off conditions are met, the processor 31 sends a power-off command to the external discharge module 34 through the first signal module 33 to control the external discharge module 34 to power off.
[0059] The external discharge module 34 receives the power-off command sent by the processor 31 through the second signal module 341, and performs power-off upon receiving the power-off command.
[0060] The processor 31 receives information from other connected sensors and / or devices (not shown) to obtain any one of the following: current time, countdown time, humidity information, rainfall information, temperature information, remaining battery power information, and external discharge power.
[0061] The external discharge module 34 transmits the temperature information collected by the external discharge module temperature sensor to the processor 31 through the first signal module 33 via the second signal module 341.
[0062] When the automatic power-off conditions are met, the processor 31 sends an external discharge power-off prompt message to the terminal 32 through the first signal module 33.
[0063] The first signal module 33 and the second signal module 341 are any one of Bluetooth module, ZigBee module, WiFi module, 4G module, and 5G module; when the first signal module 33 and the second signal module 341 are Bluetooth modules, the first signal module 33 and the second signal module 341 send information through the BLE protocol, and the first signal module 33 and the processor 31 are connected to the same battery to obtain power.
[0064] The processor 31 can be any one of the following in the vehicle: MCU (Micro-Controller Unit), MPU (Micro-Processor Unit), DSP (Digital Signal Processor), or SoC (System on Chip). The processor 31 is preferably an MCU micro-controller unit.
[0065] The automatic power-off system for external vehicle discharge in this embodiment is used to implement the above-described automatic power-off method for external vehicle discharge. The functions of each module in the automatic power-off system for external vehicle discharge can be found in [reference needed]. Figures 1-2 The descriptions in the embodiments are not repeated here.
[0066] The present invention also provides a storage medium storing a computer program, which, when executed by a processor, implements the steps of the automatic power-off method for external discharge of a vehicle as described above.
[0067] The present invention provides an automatic power-off method, electronic device, and storage medium for vehicle external discharge. Responding to power-off setting information, it acquires automatic power-off conditions, wherein the power-off setting information is remotely sent by a terminal connected to the vehicle. When the automatic power-off conditions are met, the invention controls the vehicle's external discharge module to disconnect from the power supply. This invention provides a simple, safe, and convenient way to control the external discharge module to automatically disconnect from the power supply, significantly improving user experience, operational efficiency, and safety.
[0068] like Figure 4 As shown, the present invention also provides a computer device, which includes: a processor 40 and a memory 41 storing a computer program; wherein, Figure 4 The processor 40 shown in the diagram does not refer to a single processor 40, but rather to its positional relationship relative to other devices. In practical applications, there can be one or more processors 40. Figure 4 The memory 41 shown in the diagram has the same meaning, that is, it is only used to indicate the positional relationship of memory 41 relative to other devices. In practical applications, there can be one or more memories 41. When the processor 40 runs the computer program, the above-described automatic power-off method for external vehicle discharge is implemented.
[0069] The computer device may also include at least one network interface 42. Various components within the computer device are coupled together via a bus system 43. It is understood that the bus system 43 is used to implement communication between these components. In addition to a data bus, the bus system 43 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in… Figure 4 The general labeled all buses as Bus System 43.
[0070] The memory 41 can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memory 41 described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
[0071] In this embodiment of the invention, the memory 41 is used to store various types of data to support the operation of the computer device. Examples of such data include: any computer programs used to operate on the computer device, such as operating systems and applications; contact data; phonebook data; messages; pictures; videos, etc. The operating system includes various system programs, such as the framework layer, core library layer, driver layer, etc., used to implement various basic services and handle hardware-based tasks. Applications can include various applications, such as media players, browsers, etc., used to implement various application services. Here, the program implementing the automatic power-off method for external vehicle discharge according to this embodiment of the invention can be included in the application program.
[0072] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention in any way. Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the present invention. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the scope of the present invention.
Claims
1. An automatic power-off method for external discharge from a vehicle, characterized in that, The method includes: In response to power failure setting information, the automatic power failure condition is obtained, wherein the power failure setting information is remotely sent by a terminal connected to the vehicle; When the automatic power-off condition is met, the external discharge module of the vehicle is controlled to be powered off.
2. The automatic power-off method for external discharge of a vehicle as described in claim 1, characterized in that, The power outage setting information includes at least one of the following: power outage time information, power outage countdown information, power outage rainfall information, power outage temperature information, power outage electricity information, and power outage power information; The process of obtaining automatic power-off conditions in response to power-off setting information includes: Based on the power outage time information, determine the automatic power outage time; Based on the power outage countdown information, determine the automatic power outage countdown; Based on the power outage rainfall information, determine the automatic power outage rainfall amount; Based on the power-off temperature information, determine the automatic power-off temperature; Based on the power outage power information, determine the automatic power outage power. The automatic power outage power is determined based on the power outage power information.
3. The automatic power-off method for external discharge of a vehicle as described in claim 2, characterized in that, The method further includes: If the current time is greater than or equal to the automatic power-off time, then the automatic power-off condition is determined to be met. The countdown time is set according to the automatic power-off countdown. If the countdown time reaches zero, it is determined that the automatic power-off condition is met. If the humidity information or rainfall information is greater than or equal to the automatic power-off rainfall, then the automatic power-off condition is determined to be met. If the temperature information is greater than or equal to the automatic power-off temperature, then the automatic power-off condition is determined to be met. If the remaining battery power is less than or equal to the automatic power-off power level, then the automatic power-off condition is met. If the external discharge power is greater than or equal to the automatic power-off power, then the automatic power-off condition is determined to be met.
4. The automatic power-off method for external discharge of a vehicle as described in claim 3, characterized in that, If the humidity information or rainfall information is greater than or equal to the automatic power-off rainfall, then the automatic power-off condition is determined to be met, including: The received humidity information or rainfall information is subjected to moving average filtering to obtain filtered humidity information or filtered rainfall information. It periodically receives local weather forecast information and determines whether it will rain based on the weather forecast information; When rainfall is determined, and the filtered humidity information or the filtered rainfall information is greater than or equal to the automatic power-off rainfall, the automatic power-off condition is determined to be met.
5. The automatic power-off method for external discharge of a vehicle as described in claim 4, characterized in that, The method includes: Based on the filtered humidity information, the corresponding equivalent rainfall is obtained; Based on the equivalent rainfall, determine whether the filtered humidity information is greater than or equal to the automatic power-off rainfall.
6. The automatic power-off method for external discharge of a vehicle as described in claim 3, characterized in that, The countdown time is set according to the automatic power-off countdown. If the countdown time reaches zero, it is determined that the automatic power-off condition is met, including: Based on the automatic power-off countdown, set the countdown time of the countdown clock and control the countdown clock to start counting down; When the countdown time of the countdown clock reaches zero, it is determined that the automatic power-off condition is met; The countdown clock pauses when the vehicle is powered off or not discharging externally, and resumes counting down when the vehicle is powered on or discharging externally.
7. The automatic power-off method for external discharge of a vehicle as described in claim 1, characterized in that, The method further includes: The system receives power-off setting information remotely sent by a terminal connected to the vehicle via a signal module, wherein the signal module is any one of a Bluetooth module, a ZigBee module, or a WiFi module.
8. An automatic power-off method for external discharge in a vehicle, characterized in that, The application terminal, the method includes: Obtain the climate type of the location; Based on the climate type, determine the recommended setting range for power outage settings; Display the recommended setting range, and in response to a confirmation command or adjustment command for the recommended setting range, confirm the power-off setting information according to the confirmation command or the adjustment command; The power-off setting information is sent to the corresponding signal module.
9. An electronic device, characterized in that, It includes a memory and a processor, the processor being configured to execute a computer program stored in the memory to implement the steps of the automatic power-off method for external discharge of a vehicle as described in any one of claims 1 to 8.
10. A storage medium, characterized in that, The storage medium stores computer execution instructions, which, when executed by a processor, are used to implement the steps of the automatic power-off method for external discharge of a vehicle as described in any one of claims 1 to 8.