Pet-oriented vehicle light language control method, device, equipment and program product

By recognizing pet types and movement trends, the system adaptively adjusts light signal parameters, solving the problem that existing vehicle light signal systems cannot recognize pets and improving vehicle driving safety.

CN122165983APending Publication Date: 2026-06-09GAC HONDA AUTOMOBILE CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GAC HONDA AUTOMOBILE CO LTD
Filing Date
2026-04-29
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

Existing vehicle light signal systems cannot effectively recognize pets, causing the lights to startle the pets and posing a traffic safety hazard.

Method used

By recognizing pet type, distance, and relative movement trends, the system adaptively adjusts the flashing frequency, brightness, and color of the pet-related light signals, and determines whether to trigger the pet-related light signals based on vehicle operating conditions.

Benefits of technology

This method aims to effectively alert pets without frightening them, thereby improving vehicle safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122165983A_ABST
    Figure CN122165983A_ABST
Patent Text Reader

Abstract

The application discloses a pet-oriented vehicle light language control method, device, equipment and program product, and relates to the technical field of vehicle control. The method comprises the following steps: obtaining a pet type of a target pet, and a current distance and a relative motion trend of the target pet and a target vehicle according to environmental image information; determining a light language triggering distance according to a current vehicle working condition and the pet type, and judging whether to trigger pet light language according to the current distance, the relative motion trend and the light language triggering distance; when the pet light language is triggered, determining a corresponding basic flicker frequency, a basic light brightness and a light color according to the pet type; determining a target flicker frequency according to the relative motion trend and the basic flicker frequency, and determining a target light brightness according to a current environmental light intensity and the basic light brightness; and emitting a light language warning according to the target flicker frequency, the target light brightness and the light color. The application can avoid scaring the pet and effectively remind the pet at the same time, and improves the safety of vehicle driving, and can be applied to the technical field of vehicle control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle control technology, and in particular to a method, device, equipment, and program product for controlling vehicle lights for pets. Background Technology

[0002] Current vehicle light signal triggering schemes mainly target vehicles and pedestrians, and can be roughly divided into two categories: The first category is a general obstacle triggering scheme, such as the reversing radar system of traditional vehicles, which only detects obstacles at close range and triggers warning lights (such as 2Hz fast flashing), without distinguishing between pets and other objects. The fast flashing lights can easily frighten pets and cause traffic accidents. The second category is a pedestrian recognition and association scheme, which triggers light reminders after recognizing pedestrians through cameras. It cannot recognize pets and is not adapted to the visual characteristics of pets. Similarly, it cannot prevent pets from being frightened in advance, which poses a safety hazard.

[0003] The above problems urgently need to be addressed. Summary of the Invention

[0004] The purpose of this invention is to at least partially solve one of the technical problems existing in the prior art.

[0005] Therefore, one objective of this invention is to provide a vehicle light signal control method for pets. This method identifies the pet's pet type, distance from the vehicle, and relative movement trend. It determines the light signal trigger distance based on the vehicle's operating conditions to determine whether to trigger the pet light signal. The method also adaptively adjusts the flashing frequency, brightness, and color of the pet light signal to effectively remind the pet while avoiding startling it, thereby improving vehicle driving safety.

[0006] Another objective of this invention is to provide a vehicle light signal control device for pets.

[0007] To achieve the above-mentioned technical objectives, the technical solutions adopted in the embodiments of the present invention include: On one hand, embodiments of the present invention provide a vehicle light signal control method for pets, including the following steps: Acquire the target vehicle's current vehicle operating condition, current ambient light intensity, and environmental image information; The target pet's pet type, current distance, and relative movement trend between the target pet and the target vehicle are identified based on the environmental image information. The light signal trigger distance is determined based on the current vehicle operating condition and the pet type, and whether to trigger the pet light signal is determined based on the current distance, the relative motion trend, and the light signal trigger distance. When the pet light signal is triggered, the corresponding basic flashing frequency, basic light brightness, and light color are determined according to the pet type. The target flashing frequency is determined based on the relative motion trend and the base flashing frequency, and the target light brightness is determined based on the current ambient light intensity and the base light brightness. The target vehicle is controlled to emit a light warning signal based on the target flashing frequency, the target light brightness, and the light color.

[0008] Furthermore, in one embodiment of the present invention, the step of identifying the pet type of the target pet and the current distance and relative movement trend between the target pet and the target vehicle based on the environmental image information specifically includes: The environmental image information is input into a pre-trained pet detection model to obtain the species category of the target pet and its corresponding bounding box. The pet size of the target pet is determined based on the size of the bounding box, and the pet type is determined based on the species category and the pet size; The current distance between the target pet and the target vehicle is determined based on the bounding box, and the relative motion trend between the target pet and the target vehicle is determined based on the bounding boxes corresponding to multiple consecutive frames of environmental image information.

[0009] Furthermore, in one embodiment of the present invention, determining the light signal trigger distance based on the current vehicle operating condition and the pet type specifically includes: Determine the corresponding basic trigger distance based on the current vehicle operating condition; Determine the corresponding pet correction factor based on the pet type; The light signal trigger distance is determined based on the base trigger distance and the pet correction coefficient.

[0010] Furthermore, in one embodiment of the present invention, the step of determining whether to trigger a pet light signal based on the current distance, the relative movement trend, and the light signal trigger distance specifically includes: Determine whether the current distance is less than or equal to the light signal trigger distance, and determine whether the relative motion trend is a trend of approaching. When the current distance is less than or equal to the light signal trigger distance, and the relative movement trend is a moving closer trend, the pet light signal is triggered.

[0011] Furthermore, in one embodiment of the present invention, determining the target flashing frequency based on the relative motion trend and the base flashing frequency, and determining the target light brightness based on the current ambient light intensity and the base light brightness, specifically includes: The approach speed between the target pet and the target vehicle is determined based on the relative motion trend; The corresponding frequency adjustment coefficient is determined based on the approach speed, and the target flashing frequency is determined based on the base flashing frequency and the frequency adjustment coefficient. The corresponding light brightness ratio is determined based on the current ambient light intensity, and the target light brightness is determined based on the base light brightness and the light brightness ratio.

[0012] Furthermore, in one embodiment of the present invention, controlling the target vehicle to emit a light warning signal based on the target flashing frequency, the target light brightness, and the light color specifically includes: The corresponding RGB color ratio is determined based on the light color, and the RGB brightness ratio is determined based on the target light brightness and the RGB color ratio. A target PWM control signal is generated based on the RGB brightness ratio and the target flashing frequency, and the pet lights of the target vehicle are controlled to emit light warning signals based on the target PWM control signal.

[0013] Furthermore, in one embodiment of the present invention, after controlling the target vehicle to issue a light warning based on the target flashing frequency, the target light brightness, and the light color, the method further includes: Identify the target pet's reaction behavior based on the continuously acquired environmental image information; When the reaction behavior is active avoidance, the flashing frequency and brightness of the light warning are reduced until the distance between the target pet and the target vehicle is greater than the light warning trigger distance, and then the light warning is stopped. When the reaction behavior is to remain stationary, increase the flashing frequency and brightness of the warning lights; When the reaction behavior is a stress approach, the light and signal warnings stop, and the target vehicle is controlled to emit an audible warning.

[0014] On the other hand, embodiments of the present invention provide a vehicle light signal control device for pets, comprising: The data acquisition module is used to acquire the target vehicle's current vehicle operating condition, current ambient light intensity, and environmental image information; The pet recognition module is used to identify the pet type of the target pet and the current distance and relative movement trend between the target pet and the target vehicle based on the environmental image information. The light signal triggering judgment module is used to determine the light signal triggering distance based on the current vehicle operating conditions and the pet type, and to determine whether to trigger the pet light signal based on the current distance, the relative movement trend, and the light signal triggering distance. The basic parameter determination module is used to determine the corresponding basic flashing frequency, basic light brightness, and light color based on the pet type when the pet light signal is triggered. The light signal parameter adjustment module is used to determine the target flashing frequency based on the relative motion trend and the basic flashing frequency, and to determine the target light brightness based on the current ambient light intensity and the basic light brightness. The light signal warning control module is used to control the target vehicle to emit light signal warnings based on the target flashing frequency, the target light brightness, and the light color.

[0015] On the other hand, embodiments of the present invention provide an electronic device, including: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the above-described pet-oriented vehicle light control method.

[0016] On the other hand, embodiments of the present invention also provide a computer-readable storage medium storing a processor-executable computer program that, when executed by a processor, implements the above-described pet-oriented vehicle light signal control method.

[0017] On the other hand, embodiments of the present invention also provide a computer program product, including a computer program that, when executed by a processor, implements the above-described pet-oriented vehicle light signal control method.

[0018] The advantages and beneficial effects of the present invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention: This invention acquires the current vehicle operating condition, current ambient light intensity, and environmental image information of the target vehicle. Based on the environmental image information, it identifies the pet type of the target pet, as well as the current distance and relative movement trend between the target pet and the target vehicle. It determines the light signal trigger distance based on the current vehicle operating condition and pet type, and then determines whether to trigger the pet light signal based on the current distance, relative movement trend, and trigger distance. When the pet light signal is triggered, it determines the corresponding basic flashing frequency, basic light brightness, and light color based on the pet type. It determines the target flashing frequency based on the relative movement trend and basic flashing frequency, and the target light brightness based on the current ambient light intensity and basic light brightness. Finally, it controls the target vehicle to emit a light signal warning based on the target flashing frequency, target light brightness, and light color. This invention identifies the pet type, distance, and relative movement trend between the pet and the vehicle, determines the light signal trigger distance based on the vehicle operating condition, and thus determines whether to trigger the pet light signal. It also adaptively adjusts the flashing frequency, light brightness, and light color of the pet light signal, effectively alerting the pet while avoiding startling it, thereby improving vehicle driving safety. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments of the present invention are described below. It should be understood that the drawings described below are only for the convenience of clearly describing some embodiments of the technical solutions of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 A flowchart illustrating the steps of a pet-oriented vehicle light signal control method provided in an embodiment of the present invention; Figure 2 A structural block diagram of a pet-oriented vehicle light signal control device provided in an embodiment of the present invention; Figure 3 This is a structural block diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0021] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of this invention; they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this invention as detailed in the appended claims.

[0022] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to limit the invention.

[0023] The pet-oriented vehicle light signal control method provided in this invention can be applied to a terminal, a server, or software running on either a terminal or a server. In some embodiments, the terminal can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, or in-vehicle terminal, but is not limited to these. The server can be configured as an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network. The software can be an application implementing the pet-oriented vehicle light signal control method, but is not limited to the above forms.

[0024] This invention can be used in a wide variety of general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This invention can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This invention can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0025] It should be noted that in various specific embodiments of the present invention, when processing data related to user identity or characteristics, such as user information, user behavior data, user historical data, and user parking space location information, user permission or consent is obtained first. Furthermore, the collection, use, and processing of this data comply with relevant laws, regulations, and standards. In addition, when embodiments of the present invention require access to sensitive personal information of users, separate permission or consent from the user is obtained through pop-ups or redirection to a confirmation page. Only after obtaining the user's separate permission or consent is the necessary user-related data for the normal operation of the embodiments of the present invention acquired.

[0026] Reference Figure 1 This invention provides a method for controlling vehicle lights for pets, specifically including the following steps: S101. Obtain the target vehicle's current operating condition, current ambient light intensity, and environmental image information; S102. Based on environmental image information, identify the pet type of the target pet and the current distance and relative motion trend between the target pet and the target vehicle; S103. Determine the light signal trigger distance based on the current vehicle operating condition and pet type, and determine whether to trigger the pet light signal based on the current distance, relative movement trend, and light signal trigger distance. S104. When the pet light signal is triggered, determine the corresponding basic flashing frequency, basic light brightness, and light color according to the pet type. S105. Determine the target flashing frequency based on the relative motion trend and the basic flashing frequency, and determine the target light brightness based on the current ambient light intensity and the basic light brightness. S106. Control the target vehicle to emit light warning signals based on the target flashing frequency, target light brightness, and light color.

[0027] This invention identifies the pet's pet type, distance from the vehicle, and relative movement trend. It then determines the trigger distance for the pet's light signal based on the vehicle's operating conditions, thereby determining whether to trigger the pet's light signal. The invention also adaptively adjusts the flashing frequency, brightness, and color of the pet's light signal to effectively alert the pet without startling it, thus improving vehicle safety.

[0028] This invention reads real-time vehicle operating data via the vehicle's CAN bus, including current vehicle speed, parking status (P gear / handbrake), turn signal status, and accelerator / brake pedal position; utilizes a light sensor above the vehicle's windshield to obtain real-time ambient light intensity values; covers driving / reversing scenarios with front and rear cameras, and focuses on the door opening safety area with left and right rearview mirror cameras, achieving 360° coverage of the vehicle body without blind spots. Simultaneously, the infrared supplementary lighting module automatically activates when the ambient brightness L < 30 lux, without affecting the pet's vision, while ensuring image recognition accuracy.

[0029] As a further optional implementation, the target pet's pet type, current distance, and relative movement trend between the target pet and the target vehicle are identified based on environmental image information, specifically including: S1021. Input the environmental image information into the pre-trained pet detection model to obtain the species category of the target pet and its corresponding bounding box; S1022. Determine the pet size of the target pet based on the size of the bounding box, and determine the pet type based on the species category and pet size; S1023. Determine the current distance between the target pet and the target vehicle based on the bounding box, and determine the relative motion trend between the target pet and the target vehicle based on the bounding boxes corresponding to the environmental image information of multiple consecutive frames.

[0030] Specifically, the acquired images undergo denoising, enhancement, and distortion correction. An AI image segmentation algorithm separates the foreground (pet) from the background (ground / obstacles). The pre-processed images are then input into a trained pet detection model to identify the pet's species (dog / cat / other) and categorize pets into small (≤30cm), medium (30-60cm), and large (>60cm) based on bounding box size, providing a basis for subsequent adjustment of signal parameters. For example, CBAM (Convolutional Block Attention Module) can be introduced on top of YOLOv12 to enhance the extraction of key features such as the pet's face and limbs through channel attention and spatial attention, thereby improving the accuracy of pet species identification. Finally, the pet type is determined based on the species and size, such as small cat or large dog.

[0031] By combining the parallax calculation of binocular cameras and millimeter-wave radar data, the real-time distance between the pet and the vehicle is accurately calculated. Then, by analyzing the changes in the pet's pixel position in five consecutive frames of images, the relative motion trend between the two is calculated. When the distance decreases at a speed greater than 0.5 m / s, it indicates a rapid approach trend; when 0 < the distance decreases at a speed ≤ 0.5 m / s, it indicates a slow approach trend; and when the distance remains constant or increases, it indicates a stationary or moving away trend.

[0032] As a further optional implementation, the light signal trigger distance is determined based on the current vehicle operating condition and pet type, specifically including: S1031. Determine the corresponding basic trigger distance based on the current vehicle operating conditions; S1032. Determine the corresponding pet correction coefficient based on the pet type; S1033. Determine the trigger distance of the light signal based on the base trigger distance and the pet correction coefficient.

[0033] Specifically, a base trigger distance is pre-set based on the vehicle's operating conditions. For example, the base trigger distances for different operating conditions such as parking and opening doors, reversing into a parking space, low-speed driving, and idling are 1.5m, 2m, 3m, and 2.5m, respectively. Simultaneously, a corresponding pet correction coefficient is pre-set based on different pet types, such as a pet correction coefficient of 1.6 for small cats and 1.2 for large dogs. The base trigger distance is determined based on the current vehicle operating conditions obtained from the previous steps, and the pet correction coefficient is determined based on the pet type obtained from the previous steps. Multiplying the two together yields the light signal trigger distance for the current scene.

[0034] As a further optional implementation, the decision to trigger the pet light signal is made based on the current distance, relative movement trend, and light signal trigger distance, specifically including: S1034. Determine whether the current distance is less than or equal to the light signal trigger distance, and determine whether the relative motion trend is a trend of approaching. S1035. When the current distance is less than or equal to the light signal trigger distance, and the relative movement trend is toward approaching, the pet light signal is triggered.

[0035] Specifically, this embodiment of the invention dynamically triggers pet light signals based on both distance and relative movement trend, avoiding false triggering. The pet light signal is triggered when the current distance is less than or equal to the signal triggering distance calculated in the preceding steps, and the relative movement trend is an approaching trend.

[0036] After determining that the pet light signal needs to be triggered, the corresponding basic flashing frequency, basic light brightness, and light color are determined according to the pet type. For example, when the pet type is a small cat, the corresponding basic flashing frequency is 2Hz, the basic light brightness is 1000nit, and the light color is warm yellow. When the pet type is a large dog, the corresponding basic flashing frequency is 1.5Hz, the basic light brightness is 1200nit, and the light color is amber.

[0037] As a further optional implementation, the target flashing frequency is determined based on the relative motion trend and the basic flashing frequency, and the target light brightness is determined based on the current ambient light intensity and the basic light brightness, specifically including: S1051. Determine the approach speed between the target pet and the target vehicle based on the relative motion trend; S1052. Determine the corresponding frequency adjustment coefficient based on the approach speed, and determine the target flashing frequency based on the basic flashing frequency and the frequency adjustment coefficient; S1053. Determine the corresponding light brightness ratio based on the current ambient light intensity, and determine the target light brightness based on the base light brightness and the light brightness ratio.

[0038] Specifically, in this embodiment of the invention, the basic flashing frequency and basic light brightness are adaptively adjusted according to the relative motion trend and the current ambient light intensity; the approach speed of the target pet and the target vehicle is determined according to the relative motion trend. If the pet approaches quickly, the basic frequency is increased by 50%; if it approaches slowly, the basic frequency is increased by 20%; and the basic frequency is maintained when the pet is stationary; the corresponding light brightness ratio is determined according to the current ambient light intensity. When the ambient light intensity is >5000 lux, the brightness is reduced by 20%; and when the light intensity is <100 lux, the brightness is increased by 10%.

[0039] As a further optional implementation, the target vehicle is controlled to emit a light warning signal based on the target flashing frequency, target headlight brightness, and headlight color, specifically including: S1061. Determine the corresponding RGB color ratio based on the light color, and determine the RGB brightness ratio based on the target light brightness and the RGB color ratio; S1062. Generate a target PWM control signal based on the RGB brightness ratio and the target flashing frequency, and control the pet lights of the target vehicle to emit light warnings based on the target PWM control signal.

[0040] Specifically, when the pet light signal is triggered, the vehicle ECU calls the corresponding RGB parameters based on the determined light color, and determines the brightness ratio of red, green, and blue based on the target light brightness (e.g., warm yellow corresponds to 100% red, 80% green, and 0% blue). Then, based on the RGB brightness ratio and the target flashing frequency, a target PWM control signal is generated. The ECU sends the PWM control signal to the light control module through the CAN bus to control the power supply duty cycle of the three LED beads (red, green, and blue) respectively, thereby adjusting the brightness ratio of each color and mixing to create the target color.

[0041] It should be noted that in this embodiment of the invention, a pet light is added to the vehicle to issue a pet light warning. If multiple pets of different sizes are detected at the same time, the ECU will select the color according to the principle of "large pets first", or alternately display the corresponding colors at 1-second intervals to ensure that all pets can be warned.

[0042] Pet lights can be installed at: below the front bumper or in the grille area, directly in front of the vehicle where the pet may be active; below the side mirrors on both sides of the vehicle, covering the blind spots on both sides of the vehicle; above the rear bumper, covering the area behind the vehicle.

[0043] As a further optional implementation, after controlling the target vehicle to issue a light warning based on the target flashing frequency, target light brightness, and light color, the method further includes: S201. Identify the target pet's reaction behavior based on continuously acquired environmental image information; S202. When the reaction behavior is active avoidance, reduce the flashing frequency and brightness of the light warning until the distance between the target pet and the target vehicle is greater than the light warning trigger distance, then stop the light warning. S203. When the reaction behavior is to remain stationary, increase the flashing frequency and brightness of the warning lights. S204. When the reaction behavior is a stressful approach, stop the light and signal warnings and control the target vehicle to emit an audible warning.

[0044] Specifically, based on continuously acquired environmental image information, the target pet's reaction behavior is identified and divided into three categories: active avoidance, i.e., the pet stops approaching and moves away from the vehicle, or runs away quickly; no obvious reaction, i.e. the pet continues to approach at the original speed, or stays in place and observes; and stress approach, i.e. the pet becomes excited due to light stimulation and instead speeds up to approach the vehicle.

[0045] When the pet's reaction is to actively avoid the vehicle, reduce the flashing frequency and brightness of the warning lights until the distance between the target pet and the target vehicle is greater than the trigger distance of the warning lights, then stop the warning lights. When the pet's reaction is to remain still, increase the flashing frequency and brightness of the warning lights, and add dynamic modes such as light gradients and breathing lights to attract the pet's attention. When the pet's reaction is to approach in response to stress, stop the warning lights and control the target vehicle to emit an audible warning, such as a low-volume, short-duration alert sound, in conjunction with the lights to guide the pet away.

[0046] The method steps of the embodiments of the present invention have been described above. It can be understood that the embodiments of the present invention identify the pet's pet type, distance from the vehicle, and relative movement trend, determine the trigger distance for the pet light signal based on the vehicle's operating conditions, thereby determining whether to trigger the pet light signal, and adaptively adjusting the flashing frequency, brightness, and color of the pet light signal. This avoids startling the pet while effectively reminding it, improving vehicle driving safety.

[0047] Reference Figure 2 This invention provides a vehicle light signal control device for pets, comprising: The data acquisition module is used to acquire the target vehicle's current vehicle operating condition, current ambient light intensity, and environmental image information; The pet recognition module is used to identify the pet type of the target pet, as well as the current distance and relative movement trend between the target pet and the target vehicle, based on environmental image information. The light signal trigger judgment module is used to determine the light signal trigger distance based on the current vehicle operating conditions and pet type, and to determine whether to trigger the pet light signal based on the current distance, relative movement trend, and light signal trigger distance. The basic parameter determination module is used to determine the corresponding basic flashing frequency, basic light brightness, and light color based on the pet type when the pet light signal is triggered. The light signal parameter adjustment module is used to determine the target flashing frequency based on the relative motion trend and the basic flashing frequency, and to determine the target light brightness based on the current ambient light intensity and the basic light brightness. The light signal warning control module is used to control the target vehicle to emit light signal warnings based on the target flashing frequency, target light brightness, and light color.

[0048] It is understood that the content of the above method embodiments is applicable to the present device embodiments. The specific functions implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0049] Reference Figure 3 This invention provides an electronic device, comprising: At least one processor; At least one memory for storing at least one program; When the above-mentioned at least one program is executed by the above-mentioned at least one processor, the above-mentioned at least one processor implements the above-mentioned pet-oriented vehicle light signal control method.

[0050] It is understood that the content of the above method embodiments is applicable to this device embodiment. The specific functions implemented by this device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0051] This invention also provides a computer-readable storage medium storing a processor-executable computer program that, when executed by a processor, implements the above-described pet-oriented vehicle light signal control method.

[0052] This invention provides a computer-readable storage medium that can execute a pet-oriented vehicle light signal control method provided in the method embodiment of this invention. It can execute any combination of the implementation steps of the method embodiment and has the corresponding functions and beneficial effects of the method.

[0053] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described pet-oriented vehicle light signal control method.

[0054] It is understood that the content of the above method embodiments is applicable to the embodiments of this program product. The specific functions implemented by the embodiments of this program product are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0055] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0056] The embodiments described in this invention are for the purpose of more clearly illustrating the technical solutions of the embodiments of this invention, and do not constitute a limitation on the technical solutions provided by the embodiments of this invention. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this invention are also applicable to similar technical problems.

[0057] The terms "first," "second," "third," "fourth," etc. (if present) in the specification and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0058] In some alternative embodiments, the functions / operations mentioned in the block diagrams may not occur in the order shown in the operation diagrams. For example, depending on the functions / operations involved, two consecutively shown blocks may actually be executed substantially simultaneously, or the aforementioned blocks may sometimes be executed in reverse order. Furthermore, the embodiments presented and described in the flowcharts of this invention are provided by way of example to provide a more comprehensive understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed and sub-operations described as part of a larger operation are executed independently.

[0059] Furthermore, although the invention has been described in the context of functional modules, it should be understood that, unless otherwise stated, one or more of the aforementioned functions and / or features may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the invention. Rather, given the properties, functions, and internal relationships of the various functional modules in the apparatus disclosed herein, the actual implementation of the module will be understood within the scope of conventional skill of an engineer. Therefore, those skilled in the art can implement the invention as set forth in the claims using ordinary techniques without excessive experimentation. It is also understood that the specific concepts disclosed are merely illustrative and not intended to limit the scope of the invention, which is determined by the full scope of the appended claims and their equivalents.

[0060] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0061] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-including system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.

[0062] More specific examples (a non-exhaustive list) of computer-readable media include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which the aforementioned program can be printed, because the aforementioned program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.

[0063] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0064] In the foregoing description of this specification, references to terms such as "one embodiment," "another embodiment," or "some embodiments" indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of the present invention. In this specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0065] Although embodiments of the invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

[0066] The above is a detailed description of the preferred embodiments of the present invention. However, the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. All such equivalent modifications or substitutions are included within the scope defined by the claims of the present invention.

Claims

1. A method for controlling vehicle lights for pets, characterized in that, Includes the following steps: Acquire the target vehicle's current vehicle operating condition, current ambient light intensity, and environmental image information; The target pet's pet type, current distance, and relative movement trend between the target pet and the target vehicle are identified based on the environmental image information. The light signal trigger distance is determined based on the current vehicle operating condition and the pet type, and whether to trigger the pet light signal is determined based on the current distance, the relative motion trend, and the light signal trigger distance. When the pet light signal is triggered, the corresponding basic flashing frequency, basic light brightness, and light color are determined according to the pet type. The target flashing frequency is determined based on the relative motion trend and the base flashing frequency, and the target light brightness is determined based on the current ambient light intensity and the base light brightness. The target vehicle is controlled to emit a light warning signal based on the target flashing frequency, the target light brightness, and the light color.

2. The vehicle light signal control method for pets according to claim 1, characterized in that, The step of identifying the pet type of the target pet and the current distance and relative movement trend between the target pet and the target vehicle based on the environmental image information specifically includes: The environmental image information is input into a pre-trained pet detection model to obtain the species category of the target pet and its corresponding bounding box. The pet size of the target pet is determined based on the size of the bounding box, and the pet type is determined based on the species category and the pet size; The current distance between the target pet and the target vehicle is determined based on the bounding box, and the relative motion trend between the target pet and the target vehicle is determined based on the bounding boxes corresponding to multiple consecutive frames of environmental image information.

3. The vehicle light signal control method for pets according to claim 1, characterized in that, The step of determining the light signal trigger distance based on the current vehicle operating condition and the pet type specifically includes: Determine the corresponding basic trigger distance based on the current vehicle operating condition; Determine the corresponding pet correction factor based on the pet type; The light signal trigger distance is determined based on the base trigger distance and the pet correction coefficient.

4. A vehicle light signal control method for pets according to claim 1, characterized in that, The step of determining whether to trigger a pet light signal based on the current distance, the relative movement trend, and the light signal trigger distance specifically includes: Determine whether the current distance is less than or equal to the light signal trigger distance, and determine whether the relative motion trend is a trend of approaching. When the current distance is less than or equal to the light signal trigger distance, and the relative movement trend is a moving closer trend, the pet light signal is triggered.

5. A vehicle light signal control method for pets according to claim 1, characterized in that, The step of determining the target flashing frequency based on the relative motion trend and the basic flashing frequency, and determining the target light brightness based on the current ambient light intensity and the basic light brightness, specifically includes: The approach speed between the target pet and the target vehicle is determined based on the relative motion trend; The corresponding frequency adjustment coefficient is determined based on the approach speed, and the target flashing frequency is determined based on the base flashing frequency and the frequency adjustment coefficient. The corresponding light brightness ratio is determined based on the current ambient light intensity, and the target light brightness is determined based on the base light brightness and the light brightness ratio.

6. A vehicle light signal control method for pets according to claim 1, characterized in that, The method of controlling the target vehicle to emit a light warning signal based on the target flashing frequency, the target light brightness, and the light color specifically includes: The corresponding RGB color ratio is determined based on the light color, and the RGB brightness ratio is determined based on the target light brightness and the RGB color ratio. A target PWM control signal is generated based on the RGB brightness ratio and the target flashing frequency, and the pet lights of the target vehicle are controlled to emit light warning signals based on the target PWM control signal.

7. A vehicle light signal control method for pets according to any one of claims 1 to 6, characterized in that, After controlling the target vehicle to emit a light warning signal based on the target flashing frequency, the target light brightness, and the light color, the method further includes: Identify the target pet's reaction behavior based on the continuously acquired environmental image information; When the reaction behavior is active avoidance, the flashing frequency and brightness of the light warning are reduced until the distance between the target pet and the target vehicle is greater than the light warning trigger distance, and then the light warning is stopped. When the reaction behavior is to remain stationary, increase the flashing frequency and brightness of the warning lights; When the reaction behavior is a stress approach, the light and signal warnings stop, and the target vehicle is controlled to emit an audible warning.

8. A vehicle light signal control device for pets, characterized in that, include: The data acquisition module is used to acquire the target vehicle's current vehicle operating condition, current ambient light intensity, and environmental image information; The pet recognition module is used to identify the pet type of the target pet and the current distance and relative movement trend between the target pet and the target vehicle based on the environmental image information. The light signal triggering judgment module is used to determine the light signal triggering distance based on the current vehicle operating conditions and the pet type, and to determine whether to trigger the pet light signal based on the current distance, the relative movement trend, and the light signal triggering distance. The basic parameter determination module is used to determine the corresponding basic flashing frequency, basic light brightness, and light color based on the pet type when the pet light signal is triggered. The light signal parameter adjustment module is used to determine the target flashing frequency based on the relative motion trend and the basic flashing frequency, and to determine the target light brightness based on the current ambient light intensity and the basic light brightness. The light signal warning control module is used to control the target vehicle to emit light signal warnings based on the target flashing frequency, the target light brightness, and the light color.

9. An electronic device, characterized in that, include: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements a pet-oriented vehicle light signal control method as described in any one of claims 1 to 7.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements a pet-oriented vehicle light signal control method as described in any one of claims 1 to 7.