Vehicle control method, vehicle and storage medium

By combining in-vehicle scene status perception and local network management, key information about items or people inside the vehicle is identified, and electrical equipment is dynamically matched. This solves the problem of extensive energy management in the vehicle's temporary departure mode, realizes on-demand dynamic configuration and refined energy saving, and improves the system's safety and user experience.

CN121492833APending Publication Date: 2026-02-10GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511957402.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-23
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

Existing technologies in vehicle-off mode have crude energy management and rigid functional configurations, which cannot achieve refined energy consumption control, resulting in unnecessary energy consumption and safety hazards.

Method used

By combining in-vehicle scene status perception and local network management mechanisms, key information about items or people inside the vehicle is identified, necessary electrical equipment is dynamically matched and activated, network management configuration information is generated, and the output of the electrical equipment to be controlled is controlled, thereby achieving on-demand dynamic configuration and fine-grained control.

Benefits of technology

This enables a shift from fixed function combinations to dynamic configuration on demand, reducing unnecessary energy consumption, ensuring precise energy-saving control under safe conditions, and improving system robustness and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121492833A_ABST
    Figure CN121492833A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle control method, a vehicle and a storage medium, the method is applied to the field of vehicle electronic and electrical and network communication, and the method comprises the following steps: in response to a temporary departure instruction of the vehicle, identifying at least one piece of key information of an article or a person in the vehicle; based on the at least one piece of key information, matching at least one piece of to-be-controlled electric equipment of the vehicle; and generating network management configuration information according to the at least one to-be-controlled electric device, and sending the network management configuration information to a gateway of the vehicle to control the output of the at least one to-be-controlled electric device. According to the method, in-vehicle scene state perception and a local network management mechanism are combined, so that the problems of extensive energy management and rigid function configuration in a vehicle temporary departure mode in related technologies are solved, and conversion from fixed function combination to on-demand dynamic configuration is realized; and unnecessary energy consumption is further reduced while individual requirements are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle electronics and network communication, and more specifically, to vehicle control methods, vehicles, and storage media in the field of vehicle electronics and network communication. Background Technology

[0002] With the rapid development of vehicle intelligence and connectivity, users have placed higher demands on the comfort, safety, and convenience of vehicles when the vehicle is not in use. For example, when traveling with children or pets, users expect the vehicle to maintain suitable temperature and humidity, air circulation, and necessary monitoring functions even when locked—a requirement known as "absent mode." At the same time, the increasingly complex electronic and electrical architecture of vehicles and the surge in the number of in-vehicle controllers have led to severe challenges in managing the vehicle's static power consumption. Achieving extreme energy efficiency without compromising user experience has become a key issue in the field of vehicle electronics.

[0003] Among related technologies, a local network management method based on AUTOSAR (Automotive Open System Architecture) has been proposed. For example, by defining local network management messages, logical master nodes and grouping rules, the coordinated wake-up and sleep of a subset of controllers can be achieved.

[0004] However, the above methods are usually based on network topology or signal clusters for grouping, which results in a crude energy management and rigid function configuration when implementing the temporary disconnect mode, making it impossible to achieve fine energy consumption control, which urgently needs to be solved. Summary of the Invention

[0005] This application provides a vehicle control method, a vehicle, and a storage medium. This method combines in-vehicle scene state perception with a local network management mechanism to solve the problems of crude energy management and rigid function configuration in the vehicle's temporary departure mode in related technologies. It realizes the transformation from fixed function combination to dynamic configuration on demand, and further reduces unnecessary energy consumption while meeting personalized needs.

[0006] In a first aspect, a vehicle control method is provided, the method comprising: in response to a temporary departure command of the vehicle, identifying at least one key piece of information of an item or person inside the vehicle; matching at least one electrical device to be controlled in the vehicle based on the at least one key piece of information; generating network management configuration information according to the at least one electrical device to be controlled, and sending the network management configuration information to the gateway of the vehicle to control the output of the at least one electrical device to be controlled.

[0007] By identifying specific objects inside the vehicle (such as pets or children) and their states (such as being stationary or asleep), the system dynamically matches and wakes up only the necessary subset of controlled electrical devices. This eliminates redundant energy consumption caused by fixed function packages in related technologies, achieving a leap from device-level wake-up to scenario-level on-demand energy supply. Furthermore, by integrating key information such as user identity and item attributes into the control logic, the same temporary departure mode can generate differentiated execution strategies. This solves the problems of extensive energy management and rigid function configuration in vehicle temporary departure modes in related technologies, realizing a transformation from fixed function combinations to dynamic configuration on demand. This further reduces unnecessary energy consumption while meeting personalized needs.

[0008] In conjunction with the first aspect, in some possible implementations, identifying at least one key piece of information about an item or person inside the vehicle includes: acquiring an image of the item and extracting at least one attribute feature based on the image to match the at least one key piece of information based on the attribute feature; or, acquiring an image of the person and extracting at least one user identifier based on the image to determine the at least one key piece of information based on the at least one user identifier.

[0009] Through the above technical solution, by refining the identification of targets inside the vehicle, abstract user commands are transformed into the identity and status information of specific people or objects. This provides precise input for the subsequent dynamic and accurate matching and activation of the most necessary electrical equipment set, solving the problem of being unable to distinguish specific objects inside the vehicle and their differentiated needs, which leads to rigid control strategies and limited energy consumption optimization. Ultimately, it achieves the technical effect of moving from a "one-size-fits-all" functional package to a personalized, on-demand energy-saving approach that is tailored to each individual and each specific need.

[0010] In combination with the first aspect and the above implementation methods, in some possible implementation methods, before identifying at least one key piece of information about items or persons inside the vehicle, the method further includes: obtaining the current power state, current gear position, and current state of charge of the power battery of the vehicle; and generating the temporary departure command in response to the current power state being powered on, the current gear position being parked, the vehicle being in a high-voltage state, the vehicle being parked, the current state of charge being greater than a preset state of charge, or the temporary departure mode being enabled.

[0011] Through the above technical solutions, a multi-dimensional and highly secure vehicle status collaborative judgment mechanism has been constructed. By anchoring intelligent perception and energy-saving control logic on the premise that multiple key systems such as vehicle power, transmission, braking, energy, and user intent are all in a safe and ready state, it ensures that any refined energy-saving control strategy is only activated under the premise that the vehicle is absolutely safe and has sufficient energy. This solves the problem that when implementing scenario-based refined energy-saving control, the function triggering conditions may not be rigorous enough, and it may be easily activated in an unsafe or inappropriate vehicle state, resulting in energy waste or safety hazards. It achieves the technical effect of fundamentally ensuring the safety and reliability of function triggering while pursuing ultimate energy saving.

[0012] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the step of generating network management configuration information based on the at least one controllable electrical device includes: identifying the local network control byte of the at least one controllable electrical device; configuring the target bit of the local network control byte of the at least one controllable electrical device as the first valid bit to obtain the network management configuration information.

[0013] By employing the above technical solution, and by manipulating the predefined control bits with specific semantics in the network management message, the complex device list information is encoded into a unified enable signal. This enables all controlled electrical devices to be woken up synchronously and without errors based on the same instruction, achieving a perfect combination between upper-layer strategy and lower-layer control. While ensuring control accuracy, it minimizes the bus communication load and system implementation complexity.

[0014] In combination with the first aspect and the above implementation methods, in some possible implementation methods, when controlling the output of the at least one controlled electrical device, the method further includes: in response to the current state of charge being less than a first preset state of charge, obtaining the priority of the at least one controlled electrical device; based on the priority of the at least one controlled electrical device, maintaining the current output power of electrical devices with higher than the preset priority, and reducing the current output power of electrical devices with lower than the preset priority to the preset power.

[0015] By implementing the above technical solution, intelligent management of awakened devices at the energy safety boundary is achieved. Priority is given to ensuring the continuous operation of high-priority devices (such as the temperature control core for maintaining life safety), while the power consumption of low-priority devices (such as the entertainment system) is restricted or reduced in an orderly manner. This solves the problem that when the vehicle's energy is limited, the temporary departure mode can only shut down all functions in a brute-force manner when there is insufficient energy, and it is impossible to achieve the optimal balance between ensuring core needs and extending the driving range. This not only maximizes the duration of the core functions of the temporary departure mode, but also improves the robustness of the system and the user's sense of security.

[0016] In combination with the first aspect and the above implementation methods, in some possible implementation methods, after controlling the output of the at least one controlled electrical device, the method further includes: in response to the vehicle's temporary departure command, configuring the target bit of the local network control byte of the at least one controlled electrical device as a second valid bit to update the network management configuration information; and sending the updated network management configuration information to the vehicle's gateway to control the output of the at least one controlled electrical device.

[0017] By using the above technical solution, the master node actively broadcasts a hibernation command with clear semantics, replacing passive and scattered timeout waiting. This achieves unified, real-time and reliable synchronous control of all participating nodes, ensuring that all controlled electrical equipment can respond quickly and consistently to the exit command and immediately enter a low-power state. This eliminates coordination delays and state inconsistencies during the exit process, thereby achieving high timeliness of function exit and thorough energy shutdown, further optimizing the overall energy-saving effect.

[0018] In combination with the first aspect and the above implementation, in some possible implementations, before configuring the target bit of the local network control byte of the at least one controlled electrical device as the second valid bit in response to the temporary departure command of the vehicle, the method further includes: identifying the continuous working duration of the at least one controlled electrical device; if the continuous working duration of the at least one controlled electrical device is longer than a preset duration, then generating the temporary departure command.

[0019] Through the above technical solution, an automatic safety protection mechanism based on runtime monitoring is established. By monitoring the cumulative running time of the function in real time, the system automatically triggers the exit process after exceeding the preset safety time. This adds an automatic safety boundary based on time to the function operation, which not only prevents serious problems such as vehicle failure to start and emergency rescue caused by energy depletion, but also protects the electrical equipment in the vehicle from the risks caused by long-term operation. This significantly improves the safety and reliability of the system and realizes autonomous safety management in unattended scenarios.

[0020] In combination with the first aspect and the above implementation methods, in some possible implementation methods, when controlling the output of the at least one controlled electrical device, the method further includes: generating power warning information in response to the current state of charge being less than a second preset state of charge, wherein the second preset state of charge is lower than the first preset state of charge; and sending the power warning information to a preset mobile terminal.

[0021] Through the above technical solution, a proactive and remote end-user early warning and intervention channel is constructed. By setting up a remote early warning contact point at the last line of defense for energy management, emergency status information is proactively pushed to the user's mobile terminal before the local energy-saving strategy fails and the vehicle is about to become completely inoperable due to energy depletion. This effectively avoids serious consequences such as people being trapped, property damage, or data loss that may be caused by the complete power loss of the vehicle, thereby greatly enhancing the safety, reliability, and user experience of the entire temporary departure mode function system.

[0022] Secondly, a vehicle control device is provided, the device comprising: The identification module is used to identify at least one key piece of information about items or people inside the vehicle in response to a temporary departure command from the vehicle. A matching module is used to match at least one controllable electrical device of the vehicle based on the at least one key information. The generation module is used to generate network management configuration information based on the at least one controllable electrical device, and send the network management configuration information to the vehicle's gateway to control the output of the at least one controllable electrical device.

[0023] In conjunction with the second aspect, in some possible implementations, the identification module is specifically used for: In response to a vehicle's temporary departure command, identify at least one key piece of information about items or persons inside the vehicle; Based on the at least one key piece of information, match at least one electrical device to be controlled in the vehicle; Network management configuration information is generated based on the at least one controlled electrical device, and the network management configuration information is sent to the vehicle's gateway to control the output of the at least one controlled electrical device.

[0024] In conjunction with the second aspect and the above implementation methods, in some possible implementation methods, before identifying at least one key piece of information about items or persons inside the vehicle, the identification module is further configured to: Obtain the vehicle's current power status, current gear, and current state of charge of the power battery; In response to the following conditions: the current power state is powered on, the current gear is in parking position, the vehicle is under high voltage, the vehicle is in parking position, the current state of charge is greater than the preset state of charge, and the temporary departure mode is enabled, the temporary departure command is generated.

[0025] In combination with the second aspect and the above implementation methods, in some possible implementations, the generation module is specifically used for: Identify the local network control bytes of the at least one controlled electrical device; Configure the target bit of the local network control byte of the at least one controlled electrical device as the first valid bit to obtain the network management configuration information.

[0026] In conjunction with the second aspect and the above implementation methods, in some possible implementation methods, when controlling the output of the at least one controlled electrical device, the generation module is further configured to: In response to the current state of charge being less than a first preset state of charge, the priority of the at least one controlled electrical device is obtained; Based on the priority of the at least one controlled electrical device, the electrical devices with a higher priority maintain their current output power, and the electrical devices with a lower priority reduce their current output power to the preset power.

[0027] In conjunction with the second aspect and the above implementation methods, in some possible implementation methods, after controlling the output of the at least one controlled electrical device, the generation module further includes: An update unit is configured, in response to a temporary departure command of the vehicle, to configure the target bit of the local network control byte of the at least one controlled electrical device as a second valid bit, so as to update the network management configuration information; The sending unit is used to send the updated network management configuration information to the vehicle's gateway in order to control the output of the at least one controlled electrical device.

[0028] In conjunction with the second aspect and the above implementation, in some possible implementations, before configuring the target bit of the local network control byte of the at least one controlled electrical device as the second valid bit in response to the vehicle's temporary departure command, the updating unit is further configured to: Identify the continuous operating duration of the at least one controlled electrical device; If the duration of continuous operation of the at least one controlled electrical device exceeds a preset duration, the temporary exit command is generated.

[0029] In conjunction with the second aspect and the above implementation methods, in some possible implementation methods, when controlling the output of the at least one controlled electrical device, the generation module is further configured to: In response to the current state of charge being less than a second preset state of charge, a power warning message is generated, wherein the second preset state of charge is lower than the first preset state of charge. Send the battery warning information to a preset mobile terminal.

[0030] Thirdly, a vehicle is provided, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the program to implement the vehicle control method of the first aspect or any possible implementation thereof.

[0031] Fourthly, a computer program product is provided, comprising: computer program code, which, when run on a computer, causes the computer to execute the vehicle control method of the first aspect or any possible implementation thereof.

[0032] Fifthly, a computer-readable storage medium is provided that stores computer program code, which, when executed on a computer, causes the computer to perform the vehicle control method of the first aspect or any possible implementation thereof. Attached Figure Description

[0033] Figure 1 A schematic flowchart illustrating the vehicle control method provided in this application embodiment; Figure 2 This is a schematic diagram illustrating the implementation logic of a vehicle control method according to an embodiment of this application; Figure 3 This is a schematic diagram of network management configuration information according to one embodiment of this application; Figure 4 A block diagram of a vehicle control device provided in an embodiment of this application; Figure 5 This is a schematic diagram of the vehicle structure according to an embodiment of this application. Detailed Implementation

[0034] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0035] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0036] In related technologies, functional control for vehicle-off-vehicle scenarios mainly achieves precise on-demand wake-up by extending the AUTOSAR network management message format, adding "local network management parameter groups," and defining logical master nodes and grouping rules according to functional scenarios. That is, only relevant functional nodes are woken up, while irrelevant nodes remain dormant. This significantly reduces vehicle static power consumption while meeting user needs and supports flexible expansion of functional scenarios.

[0037] However, the above methods still have fundamental limitations in terms of management granularity and intelligent strategy: The underlying technology essentially adds local network management parameter groups to standard NM (Network Management Message) messages and combines them with a pre-defined network segment-node-scenario mapping table to achieve wake-up management on a logical function cluster basis. This design solidifies network grouping rules in the software configuration, resulting in a static binding between the network topology and functional logic. This makes it impossible to achieve dynamic energy efficiency scheduling at the subtask or device level, and redundant power consumption due to "full wake-up" still exists within the cluster.

[0038] Therefore, based on the aforementioned problems, the vehicle control method proposed in this application combines in-vehicle scene state perception and local network management mechanisms to solve the problems of crude energy management and rigid function configuration in related technologies during vehicle temporary departure modes. It achieves a shift from fixed function combinations to dynamic configuration on demand, further reducing unnecessary energy consumption while meeting personalized needs.

[0039] Figure 1 This is a schematic flowchart of a vehicle control method provided in an embodiment of this application.

[0040] For example, such as Figure 1 As shown, the vehicle control method includes the following steps: In step S101, in response to the vehicle's temporary departure command, at least one key piece of information about the items or people inside the vehicle is identified.

[0041] Understandably, "items" can refer to various abandoned items such as pets, suitcases, and electronic products; "personnel" refers to occupants of different ages, including adults, children, and infants. Key information refers to the core features or attributes extracted from perceived data that determine differentiated control strategies. For example, for items, this might be their type (e.g., a pet dog), state (e.g., stationary or active), or environmental sensitivity (e.g., electronic products require constant temperature); for personnel, it might be their identification (using facial recognition to determine user identity) or category attributes (e.g., children).

[0042] In other words, in response to a temporary departure command indicating the user's intention to activate the vehicle's temporary departure mode, the system can initiate a multi-dimensional perception and analysis process of the in-vehicle environment. For example, it can collect raw data through an onboard sensor network (such as in-cabin cameras, millimeter-wave radar, and seat pressure sensors), and process and analyze it using algorithms such as computer vision and pattern recognition to identify key information about items or people inside the vehicle. This transforms vague user commands into precise digital scene descriptions that can be processed by subsequent control logic, thus laying the perceptual foundation for on-demand energy efficiency management.

[0043] In step S102, at least one controllable electrical device of the vehicle is matched based on at least one key piece of information.

[0044] Specifically, based on at least one key piece of information identified in step S101, the system can execute an intelligent mapping decision, namely, matching at least one electrical device to be controlled in the vehicle. Here, matching is a core decision-making process, referring to the system transforming the specific scenario requirements defined by the key information into a specific set of electrical devices to be awakened and controlled, according to preset or learned scenario-device policy mapping rules. Electrical devices can refer to all actuators or subsystems on the vehicle whose working state can be controlled by electrical signals, such as air conditioning compressors (for temperature regulation), ventilation blowers, seat heating / ventilation modules, infotainment displays, in-cabin monitoring cameras, air purifiers, and high-voltage power distribution units (for maintaining system power supply), etc.

[0045] The above operation aims to dynamically select a minimum necessary subset from the entire pool of controlled electrical equipment resources in the vehicle, so that when this subset works together, it can just meet the needs of the currently identified scenario (e.g., providing basic ventilation and temperature control for pets without waking up the large-screen entertainment system), thereby realizing the transformation from scenario recognition to precise resource scheduling, and providing a clear list of target objects for subsequent refined energy-saving control.

[0046] In step S103, network management configuration information is generated based on at least one controlled electrical device, and the network management configuration information is sent to the vehicle's gateway to control the output of at least one controlled electrical device.

[0047] Specifically, after identifying the electrical equipment to be controlled in the current scenario, the system can generate network management configuration information and execute communication commands. The network configuration management information refers to the core control messages within the vehicle controller's local area network used to coordinate the sleep and wake-up states of controller nodes, typically following an AUTOSAR NM or similar protocol format.

[0048] This network management configuration information can be sent to the vehicle's gateway, which is the core hub node in the vehicle's network architecture responsible for message routing, forwarding, and protocol conversion between different bus subnets (such as Powertrain CAN (Controller Area Network), Body CAN, and Infotainment Ethernet). Upon receiving this network management configuration information, the gateway can broadcast it to the relevant bus networks. Controllers of the controlled electrical devices that have been configured with the same local network identifier during the initialization phase can recognize that they have been awakened and begin operation based on this message.

[0049] Thus, by converting environmental perception data into executable network management commands in real time, a qualitative leap has been achieved from fixed-function wake-up to dynamic scene transformation. This enables the system to dynamically and minimally wake up a subset of specific controllable electrical devices that are strongly related to the scene, based on the identified objects and their states. At the same time, standardized network management protocols ensure the wake-up process is fast, reliable, and coordinated. This achieves the technical effect of reducing the vehicle's static power consumption to the theoretical minimum while ensuring safety and core comfort requirements in off-vehicle scenarios, thus achieving a unity of extremely refined energy saving and a highly personalized user experience.

[0050] In one possible implementation, in some embodiments, identifying at least one key piece of information about an item or person inside a vehicle includes: acquiring an image of an item and extracting at least one attribute feature from the item image to match at least one key piece of information based on the attribute feature; or, acquiring an image of a person and extracting at least one user identifier from the person image to determine at least one key piece of information based on the at least one user identifier.

[0051] Specifically, identifying at least one key piece of information about an object or person inside a vehicle can be achieved through vision-based intelligent perception technology. For objects, the system can capture images of the object using an onboard camera and extract at least one attribute feature from the image using computer vision algorithms. These attribute features are digital descriptions of the object's visual attributes, such as shape and outline (to distinguish between a suitcase and a pet carrier), texture patterns (such as the texture of a pet's fur), color distribution, or key point structure. The system can then compare (match) these extracted attribute features with feature templates in a pre-trained model or database to determine at least one key piece of information, such as identifying the object's type as a "Labrador Retriever" and its state as "lying still." Recognizing the key information of a "lying pet dog" can trigger a strategy of maintaining only basic ventilation and mild temperature control.

[0052] For example, a pre-trained model or feature template in a database refers to an algorithmic model trained on a large amount of data that can understand the core features of objects. In other words, it's a set of digital rules that teaches computers what a dog looks like, what a cat looks like, and what a suitcase looks like. It doesn't store a specific dog photo, but rather stores mathematical rules (i.e., model parameters or feature vectors) abstracted from massive amounts of images to distinguish different categories of objects. When the vehicle enters temporary departure mode, the cabin camera activates and takes a picture showing a furry object curled up in the back seat. The pre-trained object detection model (e.g., trained based on architectures like YOLO (You Only Look Once) or SSD (SingleShot MultiBox Detector)) runs first. This model analyzes the image's pixels, identifies the region of interest (i.e., a bounding box), and preliminarily determines that the object within that region belongs to the broad category of "animal." Subsequently, a more refined animal classification model or feature comparison database is invoked. This model or database has been pre-learned from thousands of labeled images and has learned statistically significant combinations of features. For example, feature template A is a combination of features learned from Golden Retrievers, such as large dog outline and long, dense golden fur. Feature template B is a combination of features learned from Bulldogs, such as small, compact body, bat-like erect ears, and flat face. The system can calculate the similarity between the features extracted from the current image and the feature templates (e.g., calculating the cosine similarity of feature vectors). Assuming the template with the highest similarity to the Golden Retriever, far exceeding other categories, the system outputs the key information: [Type: Golden Retriever, Confidence: 92%].

[0053] For personnel, the system can capture images of people (e.g., through a facial recognition camera) and extract at least one user identifier. This user identifier is a biometric code that uniquely or with a high probability points to a specific individual, such as a facial feature vector. By comparing this feature vector with a registered user database, the system can determine at least one key piece of information, such as identifying the occupant as "User A (preset to child mode)." Recognizing the key information of "child" can trigger strategies such as child lock activation, maintaining air purification, and providing gentle entertainment.

[0054] For example, after a vehicle enters temporary departure mode, the facial recognition camera captures the facial image of the front passenger. The system immediately preprocesses this image, including face detection (locating the face region in the image), alignment (rotating the tilted face to face the camera), and illumination normalization (eliminating the influence of lighting). The preprocessed facial image is then input into a deep neural network facial recognition model (e.g., trained using algorithms such as Arc Face (Additive Angular Margin Loss for DeepFace Recognition) and FaceNet (A Unified Embedding for Face Recognition and Clustering)). This model acts as a feature extractor, compressing a 1024x768 pixel facial image into a 512-bit numeric vector (e.g., [0.12, -0.45, 0.78, ..., 0.03]). This 512-bit numeric vector is the user identifier or facial feature vector. This vector does not contain reproducible portrait information, but it uniquely represents the features of the face, namely, the mathematical encoding of features such as eyebrow spacing, nose bridge curvature, and lip shape. The system compares the newly extracted 512-bit feature vector one by one with the registered user feature database securely stored locally or in the cloud. For example, the feature vector of user "Ms. Wang" is [0.15, -0.41, 0.75, ..., 0.05], and the feature vector of user "Mr. Li" is [-0.22, 0.67, 0.33, ..., -0.11]. The system calculates the similarity between this new feature vector and the vector of user "Ms. Wang" to be 0.98 (very close to 1), and the similarity with the vector of Mr. Li to be 0.12 (very different). Since the similarity exceeds a preset threshold (e.g., 0.85), the system can determine that the current person is "Ms. Wang". Subsequently, the system retrieved the user preference settings linked to the "Ms. Wang" account and found that she had preset "when the presence of the person is detected and the temporary absence mode is activated, the default association is 'baby care mode'". Therefore, the system ultimately output the key information as {Identity: Registered User - Ms. Wang, Association Preference: Baby Mode}.

[0055] Thus, by transforming general-purpose sensing hardware into input for intelligent decision-making, the system can not only determine whether there are living beings inside the vehicle, but also accurately identify "who / what" and "what state" they are in. It transforms abstract user commands into specific identity and status information of people or objects, thereby providing precise input for the subsequent dynamic and accurate matching and activation of the most necessary electrical equipment set, and realizing multi-dimensional refined control based on object and status recognition.

[0056] Optionally, in some embodiments, before identifying at least one key piece of information about items or persons inside the vehicle, the method further includes: obtaining the vehicle's current power state, current gear position, and current state of charge of the power battery; and generating a temporary departure command in response to the current power state being powered on, the current gear being in parking gear, the vehicle being in a high-voltage state, the vehicle being in a parking state, the current state of charge being greater than a preset state of charge, or the temporary departure mode being enabled.

[0057] Specifically, such as Figure 2 As shown, before generating a temporary departure command, a multi-dimensional vehicle safety and status coordination verification process needs to be executed as an absolute prerequisite for triggering all intelligent sensing and control logic. The current power status refers to whether the vehicle's low-voltage electrical system is in the ON position (i.e., powered on), meaning whether the instrument panel is lit and the body controller is activated. This is the basic power supply guarantee for all electronic control functions. For example, if the vehicle is completely powered off (OFF position), no function should be activated. The current gear refers to the parking gear, usually P gear, whose mechanical or electronic mechanism can lock the transmission system, serving as the first line of defense against accidental vehicle movement. The current state of charge of the power battery refers to the remaining percentage of charge in the power battery, which must be greater than the preset state of charge (e.g., 30%). This ensures that the temporary departure mode can continue to operate for a reasonable period without depleting the battery's energy reserves. The vehicle being in a high-voltage state means that the high-voltage battery system supplying high-power loads such as the drive motor and air conditioning compressor has completed safety interlocking and is connected to the main circuit. High voltage is the energy guarantee for maintaining core comfort functions such as powerful air conditioning cooling / heating. For example, in a hybrid vehicle in "READY" mode but with the engine not started, the high-pressure system is activated. "Away mode" being enabled means the user has explicitly issued an activation command via a physical switch, touchscreen, or mobile app; this is the final confirmation of the user's intention. "Parking mode" means the parking brake system (such as an electronic parking brake) has been applied and is clamping the wheels.

[0058] In other words, the system synchronously collects and analyzes the vehicle's key operating states, including the low-voltage power supply status ensuring the electronic systems are powered on (i.e., the current power supply status is powered on), the transmission system's parking gear and parking brake application status to prevent vehicle movement (i.e., the current gear is parking, and the vehicle is in a parked state), the high-voltage system activation status supplying power to high-power functions (i.e., the vehicle is in a high-voltage state), and the power battery's state of charge, which determines the continuity of functions (i.e., the current state of charge is greater than the preset state of charge). Only when all of the above conditions are met simultaneously will the system generate a valid temporary departure command.

[0059] For example, even if the user presses the temporary departure mode activation button, the temporary departure command will not be generated if the vehicle is not in P gear or the handbrake is not engaged; or, even if all safety conditions are met, but the power battery charge is only 5% (less than the preset state of charge), the system will not generate a temporary departure command to avoid the vehicle from being completely disabled.

[0060] Therefore, by anchoring intelligent perception and energy-saving control logic on the premise that multiple key systems such as vehicle power, transmission, braking, energy and user intent are in a safe and ready state, it is ensured that any refined energy-saving control strategy will only be activated under the premise that the vehicle is absolutely safe and has sufficient energy. This achieves the technical effect of fundamentally ensuring the safety and reliability of function triggering while pursuing ultimate energy saving.

[0061] As one possible implementation, in some embodiments, generating network management configuration information based on at least one controlled electrical device includes: identifying at least one local network control byte of the controlled electrical device; configuring the target bit of the local network control byte of the at least one controlled electrical device as a first valid bit to obtain network management configuration information.

[0062] It is understandable that a local network control byte refers to a specific data byte in network management messages conforming to standards such as AUTOSAR NM, specifically used to control the state of a particular functional subnet (i.e., a local network). The target bit refers to a predefined binary bit within this byte with specific semantics; changes in its value can indicate instructions to activate or deactivate the local network. The first valid bit indicates the enable state value, representing an activation instruction.

[0063] Specifically, based on the list of controlled electrical devices, the system locates the local network control byte (e.g., byte 1 in the message) dedicated to managing a specific functional subnet, and identifies the predefined target bit (e.g., bit 6) that characterizes the activation state of that subnet. Subsequently, the system sets the value of this bit to the first valid bit representing the enable state (e.g., setting the target bit to 1), thereby generating a complete network management configuration information frame containing a clear wake-up command, i.e., the network management configuration information. Figure 3As shown, the network management configuration information consists of 8 bytes (64 bits) from Byte7 to Byte0. Bytes 7 to Byte5 are used to identify the functional group or role of the controller in the network. For example, different function numbers may correspond to the powertrain system, body control, infotainment system, etc. Bytes 4 to Byte2 are reserved fields, indicating that these bytes are not currently defined and are reserved for future function expansion. Byte1 is the local network control field, where each bit controls different network management functions: Bit7 is a reserved field, unused (undefined); Bit6 is the CANPN (CAN part network) enable flag field, used to control whether the node participates in part network communication; Bit5 is a reserved field, unused (undefined); Bit4 is the active wake-up flag, used to identify whether the node has the ability to actively wake up the network; Bits 3 to 1 are reserved fields, unused (undefined); Bit0 is the repeat message request, used to request retransmission or perform network management diagnostics. Byte0 is the controller ID field, which refers to the unique identifier (node ​​address) of the controller in the local network, usually used for addressing and distinguishing different electrical devices in the network.

[0064] For example, suppose the system determines that it needs to wake up the air conditioning controller and seat ventilation module to execute "pet mode". When generating the temporary departure command, the system will locate the control byte (e.g., Byte1) that manages the dedicated local network for "pet mode" and configure its predefined target bit (e.g., Bit6) from the default 0 (sleep command) to 1 (activation command). The result of this operation is a message containing the correct network identifier and this activation bit, which is the network management configuration information. This information can be broadcast periodically (e.g., every 500ms). All controllers of the controlled electrical equipment (air conditioning, seat) configured with the same local network number can synchronously receive the wake-up command and start working by parsing this bit.

[0065] Therefore, by manipulating the predefined control bits with specific semantics in the network management message, the complex device list information is encoded into a unified enable signal, enabling all controlled electrical devices to be woken up synchronously and without errors based on the same instruction. This achieves a perfect combination between upper-layer strategy and lower-layer control, ensuring control accuracy while minimizing bus communication load and system implementation complexity.

[0066] Furthermore, in some embodiments, when controlling the output of at least one controlled electrical device, the method further includes: in response to the current state of charge being less than a first preset state of charge, obtaining the priority of at least one controlled electrical device; based on the priority of at least one controlled electrical device, maintaining the current output power of electrical devices with higher than preset priorities, and reducing the current output power of electrical devices with lower than preset priorities to a preset power.

[0067] Specifically, when the system detects that the current state of charge (i.e., the remaining percentage of battery power) of the power battery is lower than a pre-set safety threshold (i.e., the first preset state of charge, for example, 20% of battery power), it will trigger an intelligent power hierarchical management mechanism. That is, the system can first query a predefined strategy table to obtain the priority of each operating device to be controlled. This priority can be divided according to the core importance of the device in maintaining life-saving environmental safety. For example, high priority corresponds to the core module of the air conditioning compressor (maintaining basic temperature control), the ventilation system (ensuring air circulation), etc., while low priority corresponds to seat massage, large-size entertainment displays, ambient lighting, etc. Based on this priority division, the system can perform differentiated power control: for devices with higher than the preset priority, maintain their current output power to ensure that the core functions of life safety are not affected; for devices with lower than the preset priority, reduce their current output power to a lower power level (i.e., preset power, for example, adjust the display brightness to the lowest level and turn off seat massage).

[0068] For example, suppose the vehicle is in "pet mode" and the air conditioning, ventilation, and rear entertainment screen are running. When the battery charge drops to 18% (below the first preset threshold of 20%), the system determines that it is entering an energy alert state. At this time, according to the priority strategy, the power of the air conditioning and ventilation (high priority) can be maintained, but the brightness of the rear entertainment screen (low priority) is reduced to the minimum and the audio is turned off. This significantly reduces non-core energy consumption while ensuring the pet's living environment, and extends the duration of the mode as much as possible.

[0069] Therefore, by intelligently managing the awakened devices at the energy safety boundary, the continuous operation of high-priority devices is prioritized, while the power consumption of low-priority devices is restricted or reduced in an orderly manner. This avoids the situation where, under conditions of limited vehicle energy, the temporary departure mode faces insufficient energy and can only abruptly shut down the functions, failing to achieve the optimal balance between ensuring core needs and extending the driving range. This not only maximizes the duration of the core functions of the temporary departure mode, but also improves the robustness of the system and the user's sense of security.

[0070] Optionally, in some embodiments, after controlling the output of at least one controlled electrical device, the method further includes: in response to a temporary departure command from the vehicle, configuring the target bit of the local network control byte of at least one controlled electrical device as a second valid bit to update the network management configuration information; and sending the updated network management configuration information to the vehicle's gateway to control the output of at least one controlled electrical device.

[0071] Specifically, when the system receives a temporary disconnect command, it does not directly cut off the power. Instead, it generates a clear hibernation network command. That is, in the same network management configuration information message frame previously used to wake up the controlled devices, the system finds the local network control byte (e.g., Byte1) dedicated to controlling this function's subnet, and reconfigures its target bit (e.g., Bit6), which was previously set to 1 (the first valid bit, representing activation), to 0 (the second valid bit, representing hibernation), thus completing the command update. Subsequently, this updated message is sent to the gateway, which can periodically (e.g., every 500ms) broadcast this hibernation command to the relevant bus network. All operating controlled device controllers (e.g., air conditioning, entertainment systems), upon parsing the temporary disconnect command, will synchronously initiate a standard power-down hibernation procedure, thereby quickly and neatly stopping operation and entering a low-power state.

[0072] For example, after receiving a temporary exit command, the system will not directly cut off the power to the air conditioner. Instead, it will change the previously periodically sent wake-up message with Bit6=1 of Byte1 to a message with Bit6=0 of Byte1. After this message is forwarded by the gateway, the air conditioner controller and ventilation module will simultaneously receive the hibernation command, and then stop the compressor and fan, and enter network hibernation mode.

[0073] Therefore, by having the master node actively broadcast a hibernation command with clear semantics, the passive and scattered timeout waiting is replaced, realizing unified, real-time and reliable synchronous control of all participating nodes. This ensures that all controlled electrical devices can respond quickly and consistently to the exit command and immediately enter a low-power state, eliminating coordination delays and state inconsistencies during the exit process. This achieves high timeliness of function exit and thoroughness of energy shutdown, further optimizing the overall energy-saving effect.

[0074] Optionally, in some embodiments, before configuring the target bit of the local network control byte of at least one controlled electrical device as the second valid bit in response to the vehicle's temporary departure command, the method further includes: identifying the continuous operating time of at least one controlled electrical device; and generating a temporary departure command if the continuous operating time of at least one controlled electrical device is longer than a preset time.

[0075] Specifically, in addition to being triggered by the user, the system can continuously identify and accumulate the continuous operating time of each controlled electrical device (i.e., all devices simultaneously awakened and operating, such as air conditioners and screens). This time can be accumulated from the moment the device is awakened. The system compares this actual operating time with a preset time (e.g., 30 minutes). This preset time is the maximum allowable operating time set based on the vehicle's battery capacity, device power consumption, and safety redundancy to prevent excessive battery discharge. If the detected actual continuous operating time exceeds the preset time, the system will automatically generate a temporary exit command regardless of user operation, thereby triggering the subsequent network hibernation process.

[0076] For example, when the vehicle activates the "away temperature control" mode, the air conditioning and seat heating are activated. The system's preset duration is 45 minutes. If, after 46 minutes of continuous operation, no user-triggered temporary exit command is detected, the system recognizes that the continuous operation time has exceeded the preset duration and automatically generates a temporary exit command. Subsequently, the system sets the control bit (Bit 6 of Byte 1) in the network packet to 0 and periodically broadcasts this command through the gateway, ordering the air conditioning and seat heating to shut down synchronously. This effectively prevents battery drain due to the user forgetting to turn them off, ensuring the vehicle's basic starting capability.

[0077] It should be noted that, in addition to generating a temporary exit command when the duration of continuous operation of the controlled electrical equipment exceeds the preset duration, or when the user actively turns off the physical button of the temporary exit mode, a temporary exit command can also be automatically generated when any of the following conditions are met: For new energy vehicles, some comfort functions (such as air conditioning compressors) require high-voltage system power supply. If the high-voltage system cannot be maintained or is unexpectedly powered off due to faults or safety strategies, the controlled electrical equipment that relies on high voltage will not be able to work normally.

[0078] Therefore, by monitoring the cumulative running time of the real-time monitoring function, the system will automatically trigger the exit process after exceeding the preset safety time, adding a time-based automatic safety boundary to the function operation. This not only prevents serious problems such as the vehicle being unable to start or emergency rescue caused by energy depletion, but also protects the electrical equipment in the vehicle from the risks of long-term operation, thereby significantly improving the safety and reliability of the system and realizing autonomous safety management in unattended scenarios.

[0079] Optionally, in some embodiments, when controlling the output of at least one controlled electrical device, the method further includes: generating power warning information in response to the current state of charge being less than a second preset state of charge, wherein the second preset state of charge is lower than a first preset state of charge; and sending the power warning information to a preset mobile terminal.

[0080] Specifically, even after the system has implemented tiered power management (such as reducing the power of low-priority devices), it continues to monitor the current state of charge (i.e., the remaining battery power). The system has two preset thresholds: a first preset state of charge (e.g., 20%, triggering device load reduction) and a lower second preset state of charge (e.g., 10%). In response to the battery level dropping below this second preset state of charge (i.e., entering a dangerous charge range), the system can generate a battery warning message containing a serious warning (e.g., "Vehicle battery power is extremely low, away mode will be forcibly shut down soon!"). This message can be sent via the vehicle networking module (T-Box (Telematics Box, remote information processing control unit)) to a pre-bound preset mobile terminal (e.g., a mobile app) of the user.

[0081] For example, when the vehicle is operating in "Pet Mode," the battery level continuously decreases from 21%. When the battery level drops to 20% (triggering the first threshold), the system automatically reduces the brightness of the entertainment screen (tiered load reduction). If the battery level continues to decrease to 9% (falling below the second preset state of charge), the system determines that the energy is about to be depleted, immediately generates a warning message, and sends it to the owner's mobile phone. After receiving the message, the owner can remotely end the mode early or return to the vehicle in time, thus avoiding extreme risks such as the vehicle being unable to start due to a completely depleted battery or the pet being trapped.

[0082] Therefore, by setting up a remote early warning contact point as the last line of defense for energy management, emergency status information is proactively pushed to the user's mobile terminal before the local energy-saving strategy fails and the vehicle is about to become completely inoperable due to energy depletion. This effectively avoids serious consequences such as people being trapped, property damage, or data loss that may occur due to the complete power loss of the vehicle, thereby greatly enhancing the safety, reliability, and user experience of the entire temporary departure mode function system.

[0083] In summary, the vehicle control method according to the embodiments of this application identifies at least one key piece of information about items or people inside the vehicle in response to a temporary departure command; matches at least one controllable electrical device in the vehicle based on the at least one key piece of information; generates network management configuration information based on the at least one controllable electrical device, and sends the network management configuration information to the vehicle's gateway to control the output of the at least one controllable electrical device. This method, by combining in-vehicle scene state perception with a local network management mechanism, solves the problems of inefficient energy management and rigid function configuration in related technologies during vehicle temporary departure mode, realizing a shift from fixed function combinations to dynamic configuration on demand, further reducing unnecessary energy consumption while meeting personalized needs.

[0084] Figure 4 This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of this application.

[0085] For example, such as Figure 4 As shown, the vehicle control device 10 may include: an identification module 100, a matching module 200, and a generation module 300.

[0086] The identification module 100 is used to identify at least one key piece of information about items or people inside the vehicle in response to a vehicle temporary departure command. Matching module 200 is used to match at least one controllable electrical device of the vehicle based on at least one key piece of information; The generation module 300 is used to generate network management configuration information based on at least one controllable electrical device, and send the network management configuration information to the vehicle's gateway to control the output of at least one controllable electrical device.

[0087] Optionally, in one embodiment of this application, the identification module 100 is specifically used for: In response to a vehicle's temporary departure command, identify at least one key piece of information about items or people inside the vehicle; Based on at least one key piece of information, match at least one electrical device to be controlled in the vehicle; Network management configuration information is generated based on at least one controlled electrical device, and the network management configuration information is sent to the vehicle's gateway to control the output of at least one controlled electrical device.

[0088] Optionally, in one embodiment of this application, before identifying at least one key piece of information about an item or person inside the vehicle, the identification module 100 is further configured to: Obtain the vehicle's current power status, current gear, and current state of charge of the power battery; In response to the following conditions: the current power state is powered on, the current gear is parked, the vehicle is under high voltage, the vehicle is parked, the current state of charge is greater than the preset state of charge, or the temporary departure mode is enabled, a temporary departure command is generated.

[0089] Optionally, in one embodiment of this application, the generation module 300 is specifically used for: Identify at least one local network control byte of the electrical device to be controlled; Configure the target bit of the local network control byte of at least one device under control as the first valid bit to obtain network management configuration information.

[0090] Optionally, in one embodiment of this application, when controlling the output of at least one controlled electrical device, the generation module 300 is further configured to: In response to the current state of charge being less than a first preset state of charge, the priority of at least one controlled electrical device is obtained; Based on the priority of at least one controlled electrical device, the electrical devices with higher priority maintain their current output power, while the current output power of electrical devices with lower priority is reduced to the preset power.

[0091] Optionally, in one embodiment of this application, after controlling the output of at least one controlled electrical device, the generation module 300 further includes: An update unit is used to update the network management configuration information by configuring the target bit of the local network control byte of at least one controlled electrical device as the second valid bit in response to a temporary departure command of the vehicle. The sending unit is used to send the updated network management configuration information to the vehicle's gateway in order to control the output of at least one controlled electrical device.

[0092] Optionally, in one embodiment of this application, before configuring the target bit of the local network control byte of at least one controlled electrical device to the second valid bit in response to a vehicle's temporary departure command, the updating unit is further configured to: Identify the continuous operating time of at least one controlled electrical device; If at least one controlled electrical device operates continuously for a duration longer than a preset duration, a temporary exit command is generated.

[0093] Optionally, in one embodiment of this application, when controlling the output of at least one controlled electrical device, the generation module 300 is further configured to: In response to the current state of charge being less than the second preset state of charge, a power warning message is generated, wherein the second preset state of charge is lower than the first preset state of charge. Send battery warning messages to preset mobile terminals.

[0094] In summary, the vehicle control device according to the embodiments of this application identifies at least one key piece of information about items or people inside the vehicle in response to a temporary departure command; matches at least one controllable electrical device in the vehicle based on the at least one key piece of information; generates network management configuration information based on the at least one controllable electrical device, and sends the network management configuration information to the vehicle's gateway to control the output of the at least one controllable electrical device. This method, by combining in-vehicle scene state perception with a local network management mechanism, solves the problems of inefficient energy management and rigid function configuration in related technologies during vehicle temporary departure mode, realizing a shift from fixed function combinations to dynamic configuration on demand, further reducing unnecessary energy consumption while meeting personalized needs.

[0095] Figure 5 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application.

[0096] It should be understood that the methods described above can be applied to... Figure 5 In the vehicle with the structure shown.

[0097] like Figure 5 As shown, the vehicle may include a memory 501 and a processor 502. The memory 501 stores executable program code, and the processor 502 is used to call and execute the executable program code to perform the vehicle control method provided in the embodiments of this application.

[0098] Furthermore, the vehicle also includes a communication interface 503 for communication between the memory 501 and the processor 502.

[0099] This embodiment can divide the vehicle into functional modules based on the above method example. For example, each module can correspond to a separate function module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0100] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0101] It should be understood that the vehicle provided in this embodiment is used to execute the vehicle control method described above, and therefore can achieve the same effect as the implementation method described above.

[0102] When using integrated units, the vehicle may include a processing module and a storage module. When applied to a vehicle, the processing module can be used to control and manage the vehicle's movements. The storage module can be used to support the vehicle in executing program code, etc.

[0103] The processing module may be a processor 502 or a controller, which may implement or execute various exemplary logic blocks, modules, and circuits as disclosed in this application. The processor 502 may also be a combination of computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and microprocessors, etc., and the storage module may be a memory 501.

[0104] In addition, the vehicle provided in the embodiments of this application may specifically be a chip, component or module. The chip may include a connected processor 502 and a memory 501. The memory 501 is used to store instructions. When the processor calls and executes the instructions, the chip can execute the vehicle control method provided in the above embodiments.

[0105] This embodiment also provides a computer-readable storage medium storing computer program code. When the computer program code is run on a computer, the computer executes the above-described related method steps to implement a vehicle control method provided in the above embodiment.

[0106] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement a vehicle control method provided in the above embodiment.

[0107] In this embodiment, the vehicle, computer-readable storage medium, computer program product, or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0108] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0109] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0110] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for controlling a vehicle, characterized in that, Includes the following steps: In response to a vehicle's temporary departure command, identify at least one key piece of information about items or persons inside the vehicle; Based on the at least one key piece of information, match at least one electrical device to be controlled in the vehicle; Network management configuration information is generated based on the at least one controlled electrical device, and the network management configuration information is sent to the vehicle's gateway to control the output of the at least one controlled electrical device.

2. The method according to claim 1, characterized in that, The key information for identifying items or people inside the vehicle includes: Acquire an image of the item and extract at least one attribute feature from the image to match the at least one key information based on the attribute feature; Alternatively, a person image of the person can be captured, and at least one user identifier can be extracted from the person image to determine the at least one key information based on the at least one user identifier.

3. The method according to claim 1, characterized in that, Prior to identifying at least one key piece of information about items or persons inside the vehicle, the method also includes: Obtain the vehicle's current power status, current gear, and current state of charge of the power battery; In response to the following conditions: the current power state is powered on, the current gear is in parking position, the vehicle is under high voltage, the vehicle is in parking position, the current state of charge is greater than the preset state of charge, and the temporary departure mode is enabled, the temporary departure command is generated.

4. The method according to claim 1, characterized in that, The step of generating network management configuration information based on the at least one controlled electrical device includes: Identify the local network control bytes of the at least one controlled electrical device; Configure the target bit of the local network control byte of the at least one controlled electrical device as the first valid bit to obtain the network management configuration information.

5. The method according to claim 1, characterized in that, When controlling the output of the at least one controlled electrical device, the method further includes: In response to the current state of charge being less than a first preset state of charge, the priority of the at least one controlled electrical device is obtained; Based on the priority of the at least one controlled electrical device, the electrical devices with a higher priority maintain their current output power, and the electrical devices with a lower priority reduce their current output power to the preset power.

6. The method according to claim 1, characterized in that, After controlling the output of the at least one controlled electrical device, the method further includes: In response to the vehicle's temporary departure command, the target bit of the local network control byte of the at least one controlled electrical device is configured as the second valid bit to update the network management configuration information; The updated network management configuration information is sent to the vehicle's gateway to control the output of the at least one controlled electrical device.

7. The method according to claim 6, characterized in that, Before configuring the target bit of the local network control byte of the at least one controlled electrical device as the second valid bit in response to the temporary departure command of the vehicle, the method further includes: Identify the continuous operating duration of the at least one controlled electrical device; If the duration of continuous operation of the at least one controlled electrical device exceeds a preset duration, the temporary exit command is generated.

8. The method according to claim 5, characterized in that, When controlling the output of the at least one controlled electrical device, the method further includes: In response to the current state of charge being less than a second preset state of charge, a power warning message is generated, wherein the second preset state of charge is lower than the first preset state of charge. Send the battery warning information to a preset mobile terminal.

9. A vehicle, characterized in that, The vehicle includes: a memory, a processor, and a computer program stored in the memory and capable of running on the processor, the processor executing the program to implement the vehicle control method as described in any one of claims 1-8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, implements the vehicle control method as described in any one of claims 1-8.