Vehicle light control method, device, electronic device, vehicle and computer medium
By obtaining the user's real-time location in the vehicle's lighting and car search function and controlling the headlights based on the location, the problem of insufficient automatic headlight control in the existing technology is solved, and more flexible and effective lighting management is achieved.
Patent Information
- Application Number
- CN202110650964.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-09
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2041-06-09
AI Technical Summary
In the existing technology, the automatic headlight control of the function of going home and looking for a car is not flexible enough to be adjusted according to different environments and situations.
By obtaining the user's real-time position after the first preset time of the car light being turned on, and controlling the working state of the car light according to the position, including sending an inquiry message to the user terminal within a specific distance to determine whether to turn off the car light.
It realizes flexible adjustment of the light status according to the user's location, meets the usage needs in different situations, and reduces the incomplete lighting mode function caused by the short opening time of the light.
Smart Images

Figure CN114801974B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular, to a vehicle light control method, device, electronic equipment, vehicle and computer medium. Background Art
[0002] In the prior art, vehicles equipped with light sensors and automatic headlights can realize the function of "lighting my way home" (i.e., the low beam, position light, and license plate light turn on after the vehicle is locked) and the function of "lighting my way to find the vehicle" (i.e., the low beam, position light, and license plate light turn on after the vehicle is unlocked).
[0003] The light is detected by the light sensor, and when it is determined to be night or a dark environment, the above-mentioned "light me home" and "light me to find my car" functions are realized after certain prerequisites are met (such as the automatic headlight switch is turned on).
[0004] However, the existing technical solutions have the following disadvantages:
[0005] When using the "Drive me home" and "Drive me to find my car" functions, the vehicle's automatic headlights are controlled to light up for the preset time according to the preset program. After the timing ends, the headlights are immediately turned off and cannot be flexibly adjusted according to different situations. Summary of the invention
[0006] The present invention provides a vehicle light control method, device, electronic device, vehicle and computer medium to solve the problem in the prior art that the functions of "lighting me home" and "lighting me to find my car" are not flexible enough.
[0007] In order to achieve the above-mentioned object, the present disclosure provides a vehicle light control method according to a first aspect, the method comprising:
[0008] After the vehicle lights are turned on according to a preset lighting mode, if the on-time of the vehicle lights reaches a first preset time, the real-time position of the user is obtained, wherein the lighting mode is a leaving vehicle lighting mode or a finding vehicle lighting mode, and the first preset time corresponds to the lighting mode;
[0009] The vehicle lights are controlled to operate according to the real-time position.
[0010] Optionally, the method further comprises:
[0011] When the opening time reaches the first preset time, judging whether the distance between the user and the vehicle is greater than a first preset distance threshold and less than a second preset distance threshold according to the real-time position;
[0012] If the distance is greater than the first preset distance threshold and less than the second preset distance threshold, sending an inquiry message to the user's terminal to inquire whether to turn off the vehicle light;
[0013] The step of controlling the vehicle light to operate according to the real-time position includes:
[0014] If the instruction sent by the terminal for indicating whether to turn off the vehicle lights is not received within a second preset time period, the vehicle lights are controlled to operate according to the real-time position, wherein the second preset time period corresponds to the lighting mode.
[0015] Optionally, the method further comprises:
[0016] If the instruction is received within the second preset time period, the vehicle light is controlled to operate according to the instruction and the real-time position.
[0017] Optionally, controlling the vehicle light to operate according to the instruction and the real-time position includes:
[0018] If the instruction indicates not to turn off the vehicle light, the vehicle light is controlled to operate according to the real-time position.
[0019] Optionally, controlling the vehicle light to operate according to the instruction and the real-time position further includes:
[0020] If the instruction instructs to turn off the vehicle light, the vehicle light is controlled to be turned off.
[0021] Optionally, controlling the vehicle light to operate according to the real-time position includes:
[0022] According to the real-time position, determining whether the distance between the user and the vehicle is greater than a first preset distance threshold and less than a second preset distance threshold;
[0023] If the distance is greater than the first preset distance threshold and less than the second preset distance threshold, repeating the step of determining whether the distance between the user and the vehicle is greater than the first preset distance threshold and less than the second preset distance threshold based on the real-time position;
[0024] If the distance is less than or equal to the first preset distance threshold, or the distance is greater than or equal to the second preset distance threshold, the vehicle light is controlled to be turned off.
[0025] A second aspect of the present disclosure provides a vehicle light control device, the device comprising:
[0026] an acquisition module, configured to acquire the real-time position of the user after the vehicle lights are turned on according to a preset lighting mode, if the on-time of the vehicle lights reaches a first preset time, wherein the lighting mode is a leaving vehicle lighting mode or a finding vehicle lighting mode, and the first preset time corresponds to the lighting mode;
[0027] The control module is configured to control the operation of the vehicle light according to the real-time position.
[0028] Optionally, the device further comprises:
[0029] A judgment module is configured to judge, when the opening time reaches the first preset time, whether the distance between the user and the vehicle is greater than a first preset distance threshold and less than a second preset distance threshold according to the real-time position;
[0030] a sending module configured to send an inquiry message to the user's terminal for inquiring whether to turn off the vehicle light if the distance is greater than the first preset distance threshold and less than the second preset distance threshold;
[0031] The control module is configured to control the operation of the vehicle lights according to the real-time position if no instruction is received from the terminal within a second preset time period to indicate whether to turn off the vehicle lights, wherein the second preset time period corresponds to the lighting mode.
[0032] Optionally, the control module is further configured to: if the instruction is received within the second preset time period, control the vehicle light to operate according to the instruction and the real-time position.
[0033] Optionally, the control module is configured to control the operation of the vehicle light according to the instruction and the real-time position in the following manner:
[0034] If the instruction is received within the second preset time period, the vehicle light is controlled to operate according to the instruction and the real-time position.
[0035] Optionally, the control module is configured to control the operation of the vehicle light according to the instruction and the real-time position in the following manner:
[0036] If the instruction indicates not to turn off the vehicle light, the vehicle light is controlled to operate according to the real-time position.
[0037] Optionally, the control module is configured to control the operation of the vehicle light according to the instruction and the real-time position in the following manner:
[0038] If the instruction instructs to turn off the vehicle light, the vehicle light is controlled to be turned off.
[0039] The control module may be configured to control the operation of the vehicle light according to the real-time position in the following manner:
[0040] According to the real-time position, determining whether the distance between the user and the vehicle is greater than a first preset distance threshold and less than a second preset distance threshold;
[0041] If the distance is greater than the first preset distance threshold and less than the second preset distance threshold, repeating the step of determining whether the distance between the user and the vehicle is greater than the first preset distance threshold and less than the second preset distance threshold based on the real-time position;
[0042] If the distance is less than or equal to the first preset distance threshold, or the distance is greater than or equal to the second preset distance threshold, the vehicle light is controlled to be turned off.
[0043] A third aspect of the present disclosure provides an electronic device, including:
[0044] a memory having a computer program stored thereon;
[0045] A processor is used to execute the computer program in the memory to implement the steps of the method provided in the first aspect of the present disclosure.
[0046] A fourth aspect of the present disclosure provides a vehicle, comprising the device provided by the second aspect of the present disclosure.
[0047] The fifth aspect of the present disclosure provides a non-temporary computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, can implement the steps of the method provided in the first aspect of the present disclosure.
[0048] Through the above technical solution, after the car lights are turned on for the first preset time, the operation of the car lights can be controlled according to the user's position, which can meet the user's usage needs in different situations and reduce the situation where the lighting mode function is incomplete due to the car lights being turned on for too short a time.
[0049] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0051] Figure 1 is a flow chart of a vehicle light control method provided by an exemplary embodiment of the present disclosure;
[0052] Figure 2 is a schematic diagram of an application scenario of a vehicle light control method provided by an exemplary embodiment of the present disclosure;
[0053] Figure 3 is a structural block diagram of a vehicle light control device provided by an exemplary embodiment of the present disclosure;
[0054] Figure 4 is a block diagram of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0055] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.
[0056] In the present disclosure, unless otherwise stated, directional words such as "front" and "rear" are usually defined according to the direction of the vehicle in normal driving state, with the front direction of the vehicle being the front and the rear direction being the rear. The terms "first", "second" and the like are used to distinguish one element from another, without specifying the order and importance. In addition, when the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements.
[0057] First, possible application scenarios of the present disclosure are described.
[0058] In the prior art, vehicles equipped with light sensors and automatic headlights can realize the function of "lighting my way home" (i.e., the low beam, position light, and license plate light turn on after the vehicle is locked) and the function of "lighting my way to find the vehicle" (i.e., the low beam, position light, and license plate light turn on after the vehicle is unlocked).
[0059] The light is detected by the light sensor, and when it is determined to be night or a dark environment, the above-mentioned "light me home" and "light me to find my car" functions are realized after certain prerequisites are met (such as the automatic headlight switch is turned on).
[0060] When using the "Drive me home" and "Drive me to find my car" functions, the vehicle's automatic headlights are controlled to light up for a preset time according to a preset program. After the timing ends, the headlights are immediately turned off and cannot be flexibly adjusted according to different scenarios.
[0061] For example, in low light conditions, when a user uses the “light me home” function, if the countdown ends and the user is still a short distance away from the vehicle, the vehicle’s lights are turned off, and the user still has difficulty finding the vehicle. Alternatively, in low light conditions, when a user uses the “light me home” function, if the countdown ends and the user is still relatively close to the vehicle, the vehicle can still illuminate, but the lights are turned off, making the “light me home” function incomplete.
[0062] Figure 1 is a flow chart of a vehicle light control method provided by an exemplary embodiment of the present disclosure. Figure 1 In order to solve the above technical problems, an embodiment of the first aspect of the present disclosure provides a vehicle light control method, which may include step S11 and step S12.
[0063] In step S11, after the vehicle lights are controlled to turn on according to a preset lighting mode, if the vehicle lights are turned on for a first preset time, the user's real-time location is obtained, wherein the lighting mode is a leaving vehicle lighting mode or a searching vehicle lighting mode, and the first preset time corresponds to the lighting mode.
[0064] In this step, after the vehicle lights are turned on according to the preset lighting mode, the vehicle lights remain on for a first preset time period to achieve the function of the vehicle leaving lighting mode (light me home mode) or the vehicle finding lighting mode (light me find car mode). After the vehicle lights are turned on for the first preset time period, the user's real-time location is obtained.
[0065] For example, the vehicle can locate the key held by the user to obtain the user's real-time location. The vehicle can locate the key's BLE (Bluetooth Low Energy) signal / UWB (Ultra Wide Band) signal through multiple methods such as RSSI (Received Signal Strength Indication) and TOF (Time of flight) to obtain the key's location.
[0066] In another possible implementation, the vehicle may also locate the user's terminal to obtain the user's real-time location. Alternatively, the vehicle may receive location information sent by the user's terminal to obtain the user's real-time location. For example, the vehicle may receive location information sent by the user's terminal and compare the location information of the user's terminal with the location information of the vehicle to determine the relative position of the user's terminal and the vehicle, and further determine the relative position of the user and the vehicle.
[0067] In step S12, the vehicle lights are controlled to operate according to the real-time position.
[0068] It can be understood that the user's real-time location can reflect the user's demand for vehicle lighting. For example, in the vehicle-leaving lighting mode, if the user is close to the vehicle after the vehicle lights are turned on for a first preset time, the user still has a vehicle-leaving lighting demand; in the vehicle-finding lighting mode, if the user is still a certain distance away from the vehicle after the vehicle lights are turned on for a first preset time, the user still has a vehicle-finding lighting demand.
[0069] Therefore, after obtaining the user's real-time location, the car lights are controlled according to the user's real-time location, so that they can be flexibly adjusted according to different situations, reducing the situation where the user's normal use is affected by the short time the car lights are turned on.
[0070] Exemplarily, the method may further include: when the on-time reaches a first preset time, judging whether the distance between the user and the vehicle is greater than a first preset distance threshold and less than a second preset distance threshold according to the user's real-time location; if the distance is greater than the first preset distance threshold and less than the second preset distance threshold, sending an inquiry message to the user's terminal to inquire whether to turn off the lights; the step of controlling the operation of the lights according to the real-time location may include: if an instruction sent by the terminal to indicate whether to turn off the lights is not received within the second preset time, controlling the operation of the lights according to the real-time location, wherein the second preset time corresponds to the lighting mode.
[0071] In this solution, when the distance between the user and the vehicle is greater than the first preset distance threshold and less than the second preset distance threshold, the distance between the user and the vehicle is moderate. If the lights are turned off directly at this time, the function of the vehicle-leaving lighting mode or the vehicle-finding lighting mode may be affected. Therefore, an inquiry message for asking whether to turn off the lights is sent to the user's terminal to ask the user whether to turn off the lights.
[0072] In this way, users can choose whether to turn off the car lights on their own, thereby increasing the flexibility of the leaving-car lighting mode or the searching-car lighting mode and increasing the user's initiative.
[0073] If the instruction sent by the terminal for indicating whether to turn off the car lights is not received within the second preset time period, the car lights are controlled according to the real-time location of the user to meet the user's usage needs in different situations.
[0074] In another possible implementation, the method may include: if no instruction sent by the terminal for indicating whether to turn off the vehicle lights is received within a second preset time period, controlling the vehicle lights to turn off.
[0075] In this way, the vehicle's electricity can be saved and unnecessary energy loss of the vehicle can be reduced.
[0076] Exemplarily, the method may further include: if an instruction sent by the terminal for indicating whether to turn off the vehicle lights is received within a second preset time period, controlling the vehicle lights to operate according to the instruction and the real-time position.
[0077] Exemplarily, the step of controlling the operation of the vehicle lights according to the instruction and the real-time position may include: if the instruction indicates not to turn off the vehicle lights, controlling the operation of the vehicle lights according to the real-time position.
[0078] In this solution, if the user instructs not to turn off the lights, the lights are controlled according to the user's real-time location to fully realize the functions of the leaving vehicle lighting mode or the searching vehicle lighting mode.
[0079] Exemplarily, the step of controlling the operation of the vehicle lights according to the instruction and the real-time position may further include: if the instruction indicates to turn off the vehicle lights, controlling the vehicle lights to turn off.
[0080] Exemplarily, the step of controlling the operation of the vehicle lights according to the real-time position may include: judging whether the distance between the user and the vehicle is greater than a first preset distance threshold and less than a second preset distance threshold according to the real-time position; if the distance is greater than the first preset distance threshold and less than the second preset distance threshold, repeating the step of judging whether the distance between the user and the vehicle is greater than the first preset distance threshold and less than the second preset distance threshold according to the real-time position; if the distance is less than or equal to the first preset distance threshold, or the distance is greater than or equal to the second preset distance threshold, controlling the vehicle lights to be turned off.
[0081] In this solution, when the distance between the user and the vehicle is less than or equal to the first preset distance threshold, the user has entered the vehicle; when the distance between the user and the vehicle is greater than or equal to the second preset distance threshold, the user is far away from the vehicle. In both cases, the user no longer needs the vehicle exit lighting or vehicle search lighting, so the vehicle lights are controlled to be turned off at this time to reduce unnecessary power consumption of the vehicle.
[0082] Figure 2 FIG. 1 is a schematic diagram of an application scenario of a vehicle light control method provided by an exemplary embodiment of the present disclosure. Figure 2 , area A, area B, area C and area D can be pre-set. For example, area A can be the driving area inside the vehicle, area B can be the vehicle key unlocking / locking effective area, area C can be the vehicle key connection effective but unlocking / locking invalid area (outside vehicle welcome area), and area D can be the vehicle key connection invalid area. The distance between area B, area C and area D and the vehicle gradually increases. The first preset distance threshold can correspond to the boundary between area A and area B, and the second preset distance threshold can correspond to the boundary between area C and area D.
[0083] For example, the lighting mode may be turned on or off in advance by a user on the vehicle.
[0084] When the lighting mode includes the away-car lighting mode and the lighting mode is turned on in advance, the lights can be controlled to turn on when the following conditions are met:
[0085] The vehicle power is off, the rain and light sensor configuration is valid, the headlights are in automatic on / off mode, the off-vehicle lighting mode configuration word is valid, the vehicle is locked successfully, and the ambient brightness detected by the rain and light sensor is lower than the preset brightness value.
[0086] When all the above conditions are met, the rain light sensor can request to turn on the lights, and then the vehicle can control the lights to turn on (for example, the vehicle's low beam lights, position lights and license plate lights can be turned on).
[0087] When the on-time of the vehicle lights reaches a first preset time (eg, T1) corresponding to the off-vehicle lighting mode, the real-time location of the user is obtained.
[0088] When the distance between the user and the vehicle is greater than or equal to the second preset distance threshold (i.e., the user is located in area D) determined based on the user's real-time location, the user is far away from the vehicle and it is difficult to provide effective lighting for the user, so the car lights can be controlled to turn off.
[0089] When it is determined according to the real-time location of the user that the distance between the user and the vehicle is greater than the first preset distance threshold and less than the second preset distance threshold (i.e., the user is located in area B or area C), an inquiry message for inquiring whether to turn off the vehicle lights may be sent to the user's terminal;
[0090] If no instruction is received from the terminal indicating whether to turn off the lights within a second preset time period (eg, T2) corresponding to the off-vehicle lighting mode, the lights may be controlled to turn off to reduce unnecessary power consumption of the vehicle.
[0091] Alternatively, in order to reduce the situation where the headlights are turned off against the user's will because the user does not notice the display information corresponding to the inquiry message displayed on the terminal, when no instruction sent by the terminal to indicate whether to turn off the headlights is received within T2, the headlights can be controlled according to the user's real-time location to facilitate the full implementation of the off-vehicle lighting mode function.
[0092] The car lights are controlled according to the user's real-time location. For example, if the user is determined to be in area B or area C according to the user's real-time location, the car lights are kept on; if the user is determined to be in area D according to the user's real-time location, the car lights are controlled to be turned off.
[0093] For example, after the vehicle lights are turned on, if an unlocking command of the vehicle is received and the user has no intention of leaving the vehicle, the vehicle lights can be controlled to be turned off.
[0094] In another possible real-time manner, a third preset distance threshold may be set, and the third preset distance threshold may be greater than the first preset distance threshold and less than the second preset distance threshold. For example, the third preset distance threshold may correspond to Figure 2 The boundary between region B and region C.
[0095] According to the user's real-time location, the steps of controlling the operation of the vehicle lights may include:
[0096] If it is determined based on the user's real-time location that the user is located in area B (i.e., the distance between the user and the vehicle is greater than the first preset distance threshold and less than or equal to the third preset distance threshold), the vehicle can be controlled to remain on to continuously illuminate the user when the user is close to the vehicle.
[0097] If it is determined based on the user's real-time location that the user is located in area C (i.e., the distance between the user and the vehicle is greater than the third preset distance threshold and less than the second preset distance threshold), an inquiry message for inquiring whether to turn off the lights can be sent to the user's terminal. If an instruction sent by the terminal for indicating whether to turn off the lights is received, the lights are controlled to work according to the instruction. If the instruction is not received within the second preset time (T2), the lights can be controlled to turn off to reduce unnecessary power consumption of the vehicle.
[0098] For example, refer to Figure 2 , when the lighting mode includes the vehicle-searching lighting mode and the lighting mode is turned on in advance, the vehicle lights can be controlled to turn on when the following conditions are met:
[0099] The vehicle power is off, the rain and light sensor configuration is valid, the headlights are in automatic on / off mode, the vehicle search lighting mode configuration word is valid, the vehicle is connected to the key, and the ambient brightness detected by the rain and light sensor is lower than the preset brightness value.
[0100] When all the above conditions are met, the rain light sensor can request to turn on the lights, and then the vehicle can control the lights to turn on (for example, the vehicle's low beam lights, position lights and license plate lights can be turned on).
[0101] It can be understood that when the vehicle establishes a connection with the key, the user is at least in area C.
[0102] When the on-time of the vehicle lights reaches a first preset time (for example, T3) corresponding to the vehicle-finding lighting mode, the real-time location of the user is obtained.
[0103] When it is determined based on the user's real-time location that the distance between the user and the vehicle is greater than the second preset distance threshold, the user is now farther away from the vehicle relative to the moment when the key and the vehicle establish a connection, and the key can no longer establish a connection with the vehicle. It can be determined that the user has no intention of finding the vehicle, and the vehicle finding lighting function can hardly provide effective instructions to the user, so the vehicle lights can be controlled to turn off.
[0104] When it is determined according to the real-time location of the user that the distance between the user and the vehicle is greater than the first preset distance threshold and less than the second preset distance threshold (i.e., the user is located in area B or area C), an inquiry message for inquiring whether to turn off the vehicle lights may be sent to the user's terminal;
[0105] If the instruction for instructing whether to turn off the lights is not received from the terminal within the second preset time (for example, T4) corresponding to the vehicle search lighting mode, the lights can be controlled to be turned off to reduce unnecessary power consumption of the vehicle.
[0106] Alternatively, in order to reduce the situation where the headlights are turned off against the user's will because the user does not notice the display information corresponding to the inquiry message displayed on the terminal, when no instruction sent by the terminal to indicate whether to turn off the headlights is received within T4, the headlights can be controlled according to the user's real-time location to facilitate the complete implementation of the car search lighting mode function.
[0107] The car lights are controlled according to the user's real-time location. For example, if the user is determined to be in area B or area C according to the user's real-time location, the car lights are kept on; if the user is determined to be in area D according to the user's real-time location, that is, the distance between the user and the vehicle is greater than the second preset distance threshold, the car lights are controlled to be turned off; if the user is determined to be in area A according to the user's real-time location, that is, the distance between the user and the vehicle is less than or equal to the first preset distance threshold, the user has completed the search for the vehicle and the car lights can be controlled to be turned off.
[0108] For example, after the vehicle lights are turned on, if a vehicle locking command is received and the user intends to leave the vehicle, the vehicle lights can be controlled to be turned off.
[0109] It should be noted that all thresholds involved in the present disclosure can be calibrated in advance, and there is no restriction on the value of each threshold.
[0110] Figure 3 is a structural block diagram of a vehicle light control device provided by an exemplary embodiment of the present disclosure. Figure 3 Based on the same inventive concept, the present disclosure also provides a vehicle light control device 400 , which may include an acquisition module 401 and a control module 402 .
[0111] The acquisition module 401 is configured to acquire the real-time position of the user if the on-time of the vehicle lights reaches a first preset time after the vehicle lights are turned on according to a preset lighting mode, wherein the lighting mode is a vehicle leaving lighting mode or a vehicle finding lighting mode, and the first preset time corresponds to the lighting mode;
[0112] The control module 402 is configured to control the operation of the vehicle lights according to the real-time position.
[0113] In this way, after the headlights are turned on for the first preset time, the headlights can be controlled according to the user's position, which can meet the user's usage needs in different situations and reduce the situation where the lighting mode function is incomplete due to the headlights being turned on for too short a time.
[0114] Optionally, the device 400 may also include: a judgment module, configured to judge whether the distance between the user and the vehicle is greater than a first preset distance threshold and less than a second preset distance threshold according to the real-time position when the turn-on time reaches a first preset time; a sending module, configured to send an inquiry message to the user's terminal to inquire whether to turn off the headlights if the distance is greater than the first preset distance threshold and less than the second preset distance threshold; and a control module configured to control the operation of the headlights according to the real-time position if an instruction sent by the terminal to indicate whether to turn off the headlights is not received within the second preset time, wherein the second preset time corresponds to the lighting mode.
[0115] Optionally, the control module 402 may also be configured to: if an instruction is received within a second preset time period, control the vehicle lights to operate according to the instruction and the real-time position.
[0116] Optionally, the control module 402 may be configured to control the operation of the vehicle lights according to the instruction and the real-time position in the following manner: if the instruction is received within a second preset time period, the vehicle lights are controlled to operate according to the instruction and the real-time position.
[0117] Optionally, the control module 402 may be configured to control the operation of the vehicle lights according to the instructions and the real-time position in the following manner: if the instructions indicate not to turn off the vehicle lights, then the vehicle lights are controlled to operate according to the real-time position.
[0118] Optionally, the control module 402 may be configured to control the operation of the vehicle lights according to the instructions and the real-time position in the following manner: if the instructions indicate to turn off the vehicle lights, then the vehicle lights are controlled to turn off.
[0119] The control module 402 may be configured to control the operation of the vehicle lights according to the real-time position in the following manner:
[0120] Based on the real-time position, determine whether the distance between the user and the vehicle is greater than a first preset distance threshold and less than a second preset distance threshold; if the distance is greater than the first preset distance threshold and less than the second preset distance threshold, repeat the step of determining whether the distance between the user and the vehicle is greater than the first preset distance threshold and less than the second preset distance threshold based on the real-time position; if the distance is less than or equal to the first preset distance threshold, or the distance is greater than or equal to the second preset distance threshold, control the vehicle lights to be turned off.
[0121] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0122] An embodiment of the present disclosure further provides a vehicle, comprising the device provided by the above embodiment of the present disclosure.
[0123] Figure 4 FIG. 7 is a block diagram of an electronic device 700 provided by an exemplary embodiment of the present disclosure. Figure 4 As shown, the electronic device 700 may include: a processor 701 and a memory 702. The electronic device 700 may also include one or more of a multimedia component 703, an input / output (I / O) interface 704, and a communication component 705.
[0124] The processor 701 is used to control the overall operation of the electronic device 700 to complete all or part of the steps in the above-mentioned vehicle light control method. The memory 702 is used to store various types of data to support the operation of the electronic device 700, and these data may include, for example, instructions for any application or method used to operate on the electronic device 700, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. The multimedia component 703 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 702 or sent through the communication component 705. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 704 provides an interface between the processor 701 and other interface modules, and the other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, is not limited here. Therefore, the corresponding communication component 705 may include: Wi-Fi module, Bluetooth module, NFC module, etc.
[0125] In an exemplary embodiment, the electronic device 700 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned vehicle light control method.
[0126] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned vehicle light control method are implemented. For example, the computer-readable storage medium may be the above-mentioned memory 702 including program instructions, and the above-mentioned program instructions may be executed by the processor 701 of the electronic device 700 to complete the above-mentioned vehicle light control method.
[0127] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.
[0128] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.
[0129] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.
Claims
1. A vehicle light control method, characterized in that: include: After the vehicle lights are turned on according to a preset lighting mode, if the duration of the vehicle lights being turned on reaches a first preset duration, the real-time location of the user is obtained by locating the key held by the user, wherein the lighting mode is a vehicle leaving lighting mode or a vehicle finding lighting mode, and the first preset duration corresponds to the lighting mode; When the opening time reaches the first preset time, judging whether the distance between the user and the vehicle is greater than a first preset distance threshold and less than a second preset distance threshold according to the real-time position; If the distance is greater than the first preset distance threshold and less than the second preset distance threshold, sending an inquiry message to the user's terminal to inquire whether to turn off the vehicle light; If the instruction sent by the terminal for indicating whether to turn off the vehicle lights is not received within a second preset time period, the vehicle lights are controlled to operate according to the real-time position, wherein the second preset time period corresponds to the lighting mode.
2. The method according to claim 1, characterized in that The method further comprises: If the instruction is received within the second preset time period, the vehicle light is controlled to operate according to the instruction and the real-time position.
3. The method according to claim 2, characterized in that The step of controlling the vehicle light to operate according to the instruction and the real-time position includes: If the instruction indicates not to turn off the vehicle light, the vehicle light is controlled to operate according to the real-time position.
4. The method according to claim 3, characterized in that The controlling the vehicle light to work according to the instruction and the real-time position further includes: If the instruction instructs to turn off the vehicle light, the vehicle light is controlled to be turned off.
5. A vehicle light control device, characterized in that: include: an acquisition module, configured to acquire the real-time position of the user by locating a key held by the user after the vehicle lights are turned on according to a preset lighting mode, if the on-time of the vehicle lights reaches a first preset time, wherein the lighting mode is a vehicle leaving lighting mode or a vehicle finding lighting mode, and the first preset time corresponds to the lighting mode; A judgment module is configured to judge, when the opening time reaches the first preset time, whether the distance between the user and the vehicle is greater than a first preset distance threshold and less than a second preset distance threshold according to the real-time position; a sending module configured to send an inquiry message to the user's terminal for inquiring whether to turn off the vehicle light if the distance is greater than the first preset distance threshold and less than the second preset distance threshold; The control module is configured to control the operation of the vehicle lights according to the real-time position if no instruction is received from the terminal within a second preset time period to indicate whether to turn off the vehicle lights, wherein the second preset time period corresponds to the lighting mode.
6. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 4.
7. A vehicle, characterized in that: Comprising the device as claimed in claim 5.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 4 can be implemented.
Citation Information
Patent Citations
Vehicle lamp intelligent control system and control method
CN112622745A