CN116424213B - Control method, device and equipment for vehicle indoor lamp and storage medium - Google Patents

Control method, device and equipment for vehicle indoor lamp and storage medium Download PDF

Info

Publication number
CN116424213B
CN116424213B CN202310693234.8A CN202310693234A CN116424213B CN 116424213 B CN116424213 B CN 116424213B CN 202310693234 A CN202310693234 A CN 202310693234A CN 116424213 B CN116424213 B CN 116424213B
Authority
CN
China
Prior art keywords
lamp
instruction
preset area
indoor lamp
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310693234.8A
Other languages
Chinese (zh)
Other versions
CN116424213A (en
Inventor
郭平
于海成
张辉
卢晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Jiefang Automotive Co Ltd
Original Assignee
FAW Jiefang Automotive Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Jiefang Automotive Co Ltd filed Critical FAW Jiefang Automotive Co Ltd
Priority to CN202310693234.8A priority Critical patent/CN116424213B/en
Publication of CN116424213A publication Critical patent/CN116424213A/en
Application granted granted Critical
Publication of CN116424213B publication Critical patent/CN116424213B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q3/00Arrangement of lighting devices for vehicle interiors; Lighting devices specially adapted for vehicle interiors
    • B60Q3/80Circuits; Control arrangements
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q3/00Arrangement of lighting devices for vehicle interiors; Lighting devices specially adapted for vehicle interiors
    • B60Q3/70Arrangement of lighting devices for vehicle interiors; Lighting devices specially adapted for vehicle interiors characterised by the purpose
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Arrangements Of Lighting Devices For Vehicle Interiors, Mounting And Supporting Thereof, Circuits Therefore (AREA)

Abstract

The application discloses a control method, a device, equipment and a storage medium for a vehicle indoor lamp, which relate to the vehicle lighting technology and comprise the following steps: judging whether a detection target exists in a preset area in the vehicle when the indoor lamp is started and the first condition is met; wherein the first condition includes a rotational speed of the engine being zero; judging whether the time length of the detected target leaving the preset area is greater than or equal to a first threshold value when the detected target does not exist in the preset area; and when the time length of the detected target leaving the preset area is greater than or equal to the first threshold value, sending a lamp turning-off instruction for turning off the indoor lamp for the nth time, wherein N is a positive integer. The embodiment of the application can automatically turn off the indoor lamp, avoid resource waste caused by the fact that the indoor lamp of the vehicle is always turned on when no person is in the vehicle cab, increase the use scene of the indoor lamp of the vehicle, promote the use experience of users, and solve the problems of single use scene and poor use experience of users of the existing indoor lamp of the vehicle.

Description

Control method, device and equipment for vehicle indoor lamp and storage medium
Technical Field
The present application relates to a vehicle lighting technology, and in particular, to a method, an apparatus, a device, and a storage medium for controlling a vehicle indoor lamp.
Background
With the development of the automobile industry and the improvement of people's economical strength, the pursuit of the automobile by users is not only superior in performance, but also an important measurement standard of purchasing the automobile. At present, commercial vehicles in the market are basically provided with indoor lamps for finding things, working, entertainment or prompting the state of a vehicle door in the vehicle, mainly the indoor lamps or the door opening alarm switch are used for opening and closing control, the use scene is single, and the user experience is low.
In the prior art, the indoor lamp is generally controlled to be turned on/off by comprehensively judging the state of the indoor lamp, the vehicle speed signal and the GPS signal, or a central control unit is provided for receiving the door control switch and the vehicle door state information through a local area network module to control the indoor lamp to be turned on and off, so that the use experience of various use scenes of a user is not considered.
Disclosure of Invention
The embodiment of the application provides a control method, a device, equipment and a storage medium for a vehicle indoor lamp, which can automatically turn off the indoor lamp, avoid resource waste caused by the fact that the vehicle indoor lamp is always turned on when no person is in a vehicle cab, and solve the problems that the existing vehicle indoor lamp is single in use scene and poor in user use experience.
In a first aspect, an embodiment of the present application provides a method for controlling an indoor lamp of a vehicle, including:
judging whether a detection target exists in a preset area in the vehicle when the indoor lamp is started and the first condition is met; wherein the first condition includes a rotational speed of the engine being zero;
judging whether the time length of the detected target leaving the preset area is greater than or equal to a first threshold value when the detected target does not exist in the preset area;
and when the time length of the detected target leaving the preset area is greater than or equal to the first threshold value, sending a lamp turning-off instruction for turning off the indoor lamp for the nth time, wherein N is a positive integer.
In a second aspect, an embodiment of the present application further provides a control device for a vehicle indoor lamp, including:
the detection target judging module is used for judging whether a detection target exists in a preset area in the vehicle when the indoor lamp is started and the first condition is met; wherein the first condition includes a rotational speed of the engine being zero;
the first threshold judging module is used for judging whether the time length of the detection target leaving the preset area is greater than or equal to a first threshold when the detection target does not exist in the preset area;
and the lamp-turning-off instruction sending module is used for sending a lamp-turning-off instruction for turning off the indoor lamp for the nth time when the time length of the detected target leaving the preset area is greater than or equal to the first threshold value, wherein N is a positive integer.
In a third aspect, an embodiment of the present application further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the program to implement the method for controlling a vehicle interior lamp according to the first aspect.
In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements the method for controlling a vehicle interior lamp according to the first aspect.
According to the application, whether a detection target exists in a preset area in a vehicle is judged by starting an indoor lamp and when a first condition is met; wherein the first condition includes a rotational speed of the engine being zero; judging whether the time length of the detected target leaving the preset area is greater than or equal to a first threshold value when the detected target does not exist in the preset area; and when the time length of the detected target leaving the preset area is greater than or equal to the first threshold value, sending a lamp turning-off instruction for turning off the indoor lamp for the nth time, wherein N is a positive integer. The indoor lamp is automatically turned off, so that resource waste caused by the fact that the indoor lamp of the vehicle is always turned on when no person is in the vehicle cab can be avoided. The indoor lamp of the vehicle is increased in use scene, user use experience is improved, and the problems that the existing indoor lamp of the vehicle is single in use scene and poor in user use experience are solved.
Drawings
Fig. 1 is a flowchart of a control method of a vehicle indoor lamp according to an embodiment of the present application;
FIG. 2 is a flowchart of another method for controlling a vehicle interior lamp according to an embodiment of the present application;
FIG. 3 is a flowchart of another method for controlling a vehicle interior lamp according to an embodiment of the present application;
FIG. 4 is a flowchart of a control method of a vehicle interior lamp according to another embodiment of the present application;
FIG. 5 is a flowchart of a control method of a vehicle interior lamp according to another embodiment of the present application;
FIG. 6 is a flowchart of a control method of a vehicle interior lamp according to another embodiment of the present application;
FIG. 7 is a flowchart of a control method of a vehicle interior lamp according to another embodiment of the present application;
fig. 8 is a block diagram of a control device for a vehicle indoor lamp according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a flowchart of a control method for a vehicle indoor lamp according to an embodiment of the present application, where the present embodiment is applicable to a situation where the vehicle indoor lamp is turned on or off in different situations, and is particularly applicable to a situation where the vehicle indoor lamp is turned on or off after a stop, and the method may be performed by a control device for the vehicle indoor lamp, where the method may be implemented by hardware and/or software, and may be generally integrated in a vehicle main controller.
As shown in fig. 1, the method specifically includes the following steps:
s110, judging whether a detection target exists in a preset area in the vehicle when the indoor lamp is started and the first condition is met.
Wherein the first condition includes a rotational speed of the engine being zero;
specifically, whether a detection target exists in a preset area in the vehicle can be detected through the vehicle-mounted camera, the preset area in the vehicle can be a cab in the vehicle, and the detection target can be a user.
It will be appreciated that when the indoor light is on and the rotational speed of the engine is zero, the camera detects whether a driver's cab is present in the vehicle.
And S120, judging whether the time length of the detected target leaving the preset area is greater than or equal to a first threshold value when the detected target does not exist in the preset area.
Specifically, the first threshold may be 0.5 minutes in length.
It is understood that when no person is present in the cab of the vehicle, it is determined whether the no person time is greater than or equal to the first threshold.
And S130, when the time length of the detection target leaving the preset area is greater than or equal to the first threshold value, sending a lamp turning-off instruction for turning off the indoor lamp for the nth time, wherein N is a positive integer.
Specifically, N may be 1. In other embodiments, N may also be other values greater than 1.
It can be understood that when the unmanned time of the cab in the vehicle is greater than or equal to the first threshold value, the turn-off instruction for turning off the indoor lamp is sent for the nth time, the indoor lamp is automatically turned off, and the problem that the indoor lamp of the vehicle is always turned on to cause resource waste when the unmanned cab of the vehicle is not operated can be avoided.
According to the technical scheme, whether a detection target exists in a preset area in a vehicle is judged by starting an indoor lamp and when a first condition is met; wherein the first condition includes a rotational speed of the engine being zero; judging whether the time length of the detected target leaving the preset area is greater than or equal to a first threshold value when the detected target does not exist in the preset area; and when the time length of the detected target leaving the preset area is greater than or equal to the first threshold value, sending a lamp turning-off instruction for turning off the indoor lamp for the nth time, wherein N is a positive integer. The indoor lamp is automatically turned off, so that resource waste caused by the fact that the indoor lamp of the vehicle is always turned on when no person is in the vehicle cab can be avoided. The indoor lamp of the vehicle is increased in use scene, user use experience is improved, and the problems that the existing indoor lamp of the vehicle is single in use scene and poor in user use experience are solved.
Fig. 2 is a flowchart of another control method for a vehicle interior lamp according to an embodiment of the present application, and optionally, referring to fig. 2, the control method for a vehicle interior lamp includes:
s210, judging whether a detection target exists in a preset area in the vehicle when the indoor lamp is started and the first condition is met.
S220, judging whether the time length of the indoor lamp on is larger than or equal to a second threshold value when a detection target exists in the preset area; wherein the second threshold is greater than the first threshold.
Specifically, the second threshold may be 5 minutes in length.
It is understood that when a person is present in the cab of the vehicle, it is determined whether the time for which the indoor lamp is turned on is greater than or equal to the second threshold. The second threshold is greater than the first threshold, allowing for a longer length of time for the indoor light to turn on when a person is in the cab than when no person is in the cab.
And S230, when the time length of the indoor lamp on is greater than or equal to a second threshold value, the lamp turn-off instruction is sent for the nth time.
According to the technical scheme, the problem that the user cannot perceive that the vehicle indoor lamp is always turned on to cause resource waste when the user does not have the use requirement of the vehicle indoor lamp can be avoided.
Fig. 3 is a flowchart of another control method for a vehicle interior lamp according to an embodiment of the present application, and on the basis of the above embodiment, referring to fig. 3, the control method for a vehicle interior lamp includes:
s310, judging whether a detection target exists in a preset area in the vehicle when the indoor lamp is started and the first condition is met.
And S320, judging whether the time length of the detected target leaving the preset area is greater than or equal to a first threshold value when the detected target does not exist in the preset area.
S330, when the time length of the detected target leaving the preset area is greater than or equal to the first threshold value, sending a lamp turning-off instruction for turning off the indoor lamp for the nth time, wherein N is a positive integer.
S340, judging whether a lamp-on trigger instruction for starting the indoor lamp is received within the time length of the third threshold value after the lamp-off instruction is sent for the Nth time.
Wherein the third threshold may be 0.5 minutes in length of time.
Specifically, the on-lamp trigger command may be a door on alarm on signal, an indoor lamp switch on command, a voice control indoor lamp on command, a remote control indoor lamp on command, or the like.
It will be appreciated that the door opening alarm on signal is generated when the door is opened, the indoor lamp switch on command is generated when the indoor lamp switch is opened, the voice control indoor lamp on command is generated when the user controls the indoor lamp to be opened through voice, and the remote control indoor lamp on command is generated when the user remotely controls the indoor lamp to be opened.
S350, when the lamp-on triggering instruction is received, sending a lamp-on instruction for starting the indoor lamp for the nth time.
It can be understood that when the lamp-on trigger instruction is received, the lamp-on instruction for starting the indoor lamp is sent for the nth time, and the indoor lamp of the vehicle is started.
According to the technical scheme, the problem that resource waste is caused by the fact that the vehicle indoor lamp is always turned on when no person exists in the vehicle cab can be avoided, the vehicle indoor lamp can be turned on when a user has the requirement of using the vehicle indoor lamp in preset time, the use scene of the vehicle indoor lamp is further increased, and the use experience of the user is improved.
Fig. 4 is a flowchart of another control method for a vehicle interior lamp according to an embodiment of the present application, and on the basis of the above embodiment, referring to fig. 4, the control method for a vehicle interior lamp includes:
s410, judging whether a detection target exists in a preset area in the vehicle when the indoor lamp is started and the first condition is met.
And S420, judging whether the time length of the detected target leaving the preset area is greater than or equal to a first threshold value when the detected target does not exist in the preset area.
And S430, when the time length of the detection target leaving the preset area is greater than or equal to the first threshold value, sending a lamp turning-off instruction for turning off the indoor lamp for the nth time, wherein N is a positive integer.
S440, judging whether a lamp-on trigger instruction for starting the indoor lamp is received within the time length of the third threshold value after the lamp-off instruction is sent for the Nth time.
S450, when the lamp-on trigger instruction is received, sending a lamp-on instruction for starting the indoor lamp for the nth time.
S460, judging whether the detection target exists in the preset area.
And S470, judging whether the time length of the detected target leaving the preset area is greater than or equal to the first threshold value when the detected target does not exist in the preset area.
And S480, when the time length of the detection target leaving the preset area is greater than or equal to the first threshold value, the lamp turning-off instruction is sent for the (n+1) th time.
It can be understood that when the lamp-on trigger instruction is received, the lamp-on instruction for starting the indoor lamp is sent for the nth time, after the indoor lamp of the vehicle is started, whether a driver cab in the vehicle is someone or not is judged again, if no person exists in the driver cab, whether the unmanned time of the driver cab in the vehicle is larger than or equal to a first threshold value is judged again, if yes, the lamp-off instruction for closing the indoor lamp is sent for the nth time, and the indoor lamp is automatically closed.
According to the technical scheme, not only can the problem that the indoor lamp of the vehicle is always turned on to cause resource waste when no person exists in the cab of the vehicle be avoided, but also the indoor lamp of the vehicle can be turned on when a user needs to use the indoor lamp of the vehicle in a preset time, after the indoor lamp is turned on, whether the cab in the vehicle is someone or not is judged again, if the cab is not someone, whether the unmanned time of the cab in the vehicle is larger than or equal to a first threshold value is judged again, if yes, the turn-off instruction of the indoor lamp is sent and turned off for the nth time, the indoor lamp is automatically turned off, the use scene of the indoor lamp of the vehicle is further increased, the use experience of the user is improved, and the problem that the indoor lamp of the vehicle is always turned on to cause resource waste when no person exists in the cab of the vehicle is avoided.
Fig. 5 is a flowchart of another control method for a vehicle interior lamp according to an embodiment of the present application, and optionally, referring to fig. 5, the control method for a vehicle interior lamp includes:
s510, judging whether a detection target exists in a preset area in the vehicle when the indoor lamp is started and the first condition is met.
And S520, judging whether the time length of the detected target leaving the preset area is greater than or equal to a first threshold value when the detected target does not exist in the preset area.
And S530, when the time length of the detection target leaving the preset area is greater than or equal to the first threshold value, sending a lamp turning-off instruction for turning off the indoor lamp for the nth time, wherein N is a positive integer.
S540, judging whether a lamp-on trigger instruction for starting the indoor lamp is received within the time length of the third threshold value after the lamp-off instruction is sent for the Nth time.
S550, when the lamp-on trigger instruction is received, sending a lamp-on instruction for starting the indoor lamp for the nth time.
S560, judging whether the detection target exists in the preset area.
S570, judging whether the time length of the indoor lamp on is larger than or equal to a fourth threshold value when a detection target exists in the preset area; wherein the fourth threshold is greater than the first and third thresholds.
Optionally, the fourth threshold is greater than the second threshold, allowing a longer length of time for the indoor light to turn on when someone is in the cab than when no person is in the cab. When someone is in the cab after parking, the indoor lamp can be allowed to be started after being started according to the instruction, and the time length of the indoor lamp which can be started is longer than the time length of the indoor lamp which can be allowed to be started before the indoor lamp is not started according to the instruction after parking. It can be understood that, as the number of times of turning on the indoor lamp according to the instruction is greater, the user will be more willing to use the indoor lamp after stopping the vehicle, and correspondingly, the embodiment of the application can set a longer time period for allowing the indoor lamp to be turned on.
S580, when the time length of the indoor lamp on is larger than or equal to a fourth threshold value, the lamp turning-off instruction is sent for the (n+1) th time.
It can be understood that when the lamp-on trigger instruction is received, an lamp-on instruction for starting the indoor lamp is sent for the nth time, after the indoor lamp of the vehicle is started, whether a cab in the vehicle is occupied or not is judged again, and if the cab is occupied, whether the time length for starting the indoor lamp is larger than or equal to a fourth threshold value is judged, wherein the fourth threshold value is larger than the first threshold value and the third threshold value; if yes, the (n+1) th time of sending the lamp turning-off instruction is carried out, and the indoor lamp is turned off.
The fourth threshold is set to be greater than the first threshold and the third threshold because when the on-lamp trigger instruction is received, and the user is indicated to have an indoor lamp use requirement when someone is in the cab, the requirement of the user can be met by setting longer on time, and when the on time of the indoor lamp is greater than or equal to the fourth threshold, the indoor lamp is turned off, so that the resource waste caused by the fact that the indoor lamp of the vehicle is always turned on can be avoided.
According to the technical scheme, not only can the problem that the indoor lamp of the vehicle is always turned on to cause resource waste when no person exists in the vehicle cab be avoided, but also the indoor lamp of the vehicle can be turned on when a user has the requirement of using the indoor lamp of the vehicle in preset time, after the indoor lamp is turned on, whether the cab in the vehicle is someone is judged again, if the cab is someone, whether the indoor lamp is turned on or not is judged to be longer than or equal to a fourth threshold value, if yes, the turn-off instruction of the indoor lamp is sent and turned off for the nth time, the indoor lamp is turned off automatically, the use scene of the indoor lamp of the vehicle is further increased, the use experience of the user is improved, and the problem that the indoor lamp of the vehicle is always turned on to cause resource waste when no person exists in the vehicle cab is avoided.
Fig. 6 is a flowchart of another control method for a vehicle interior lamp according to an embodiment of the present application, and referring to fig. 6, the control method for a vehicle interior lamp according to the above embodiment includes:
s610, judging whether a detection target exists in a preset area in the vehicle when the indoor lamp is started and the first condition is met.
And S620, judging whether the time length of the detected target leaving the preset area is greater than or equal to a first threshold value when the detected target does not exist in the preset area.
And S630, when the time length of the detection target leaving the preset area is greater than or equal to the first threshold value, sending a lamp turning-off instruction for turning off the indoor lamp for the nth time, wherein N is a positive integer.
And S640, judging whether a lamp-on trigger instruction for starting the indoor lamp is received within the time length of the third threshold value after the lamp-off instruction is sent for the Nth time.
S650, when the lamp-on trigger instruction is received, sending a lamp-on instruction for starting the indoor lamp for the nth time.
S660, judging whether the preset area has the detection target, if so, executing step S670, and if not, executing step S671.
S670, judging whether the time length of the indoor lamp on is larger than or equal to a fourth threshold value when a detection target exists in the preset area; wherein the fourth threshold is greater than the first and third thresholds; if yes, go to step S680.
S671, judging whether the time length of the detection target leaving the preset area is greater than or equal to the first threshold value, if so, executing step S680.
S680, the (n+1) th time of sending the lamp turn-off instruction.
S690, judging whether the lamp-on trigger instruction is received within the time length of the third threshold after the (N+1) th lamp-off instruction is sent.
S6100, when receiving the lamp turn-on trigger instruction, the (n+1) th time of sending the lamp turn-on instruction.
According to the technical scheme, on the basis of the embodiment, whether the lamp-on triggering instruction is received or not is judged again within the time length of the third threshold after the indoor lamp is closed, the indoor lamp of the vehicle is opened again when the user has the requirement of using the indoor lamp of the vehicle within the preset time, the use scene of the indoor lamp of the vehicle is further increased, and the use experience of the user is improved.
Fig. 7 is a flowchart of another control method for a vehicle interior lamp according to an embodiment of the present application, and referring to fig. 7, the control method for a vehicle interior lamp according to the above embodiment includes:
s710, judging whether a detection target exists in a preset area in the vehicle when the indoor lamp is started and the first condition is met.
S720, judging whether the time length of the detected target leaving the preset area is greater than or equal to a first threshold value when the detected target does not exist in the preset area.
And S730, when the time length of the detection target leaving the preset area is greater than or equal to the first threshold value, sending a lamp turning-off instruction for turning off the indoor lamp for the nth time, wherein N is a positive integer.
And S740, judging whether a lamp-on trigger instruction for starting the indoor lamp is received within the time length of the third threshold value after the lamp-off instruction is sent for the Nth time.
And S750, when the lamp-on trigger instruction is received, sending a lamp-on instruction for starting the indoor lamp for the nth time.
S760, judging whether the preset area has the detection target, if so, executing step S770, and if not, executing step S771.
S770, judging whether the time length of the indoor lamp on is larger than or equal to a fourth threshold value when a detection target exists in the preset area; wherein the fourth threshold is greater than the first and third thresholds; if yes, go to step S780.
S771, judging whether the time length of the detection target leaving the preset area is greater than or equal to the first threshold value, if so, executing step S780.
S780, the (n+1) th time of sending the lamp turning-off instruction.
S790, judging whether the lamp-on trigger instruction is received within the time length of the third threshold value after the (N+1) th lamp-off instruction is sent.
S7100, when the lamp-on trigger instruction is received, the lamp-on instruction is sent for the (n+1) th time.
S7110, judging whether the detection target exists in the preset area;
and S7120, when a detection target exists in the preset area, keeping the indoor lamp on until a lamp-off trigger instruction for closing the indoor lamp is received, and sending the lamp-off instruction.
Specifically, the light-off trigger instruction may be a door opening alarm closing signal, a voice control indoor light closing instruction, a remote control indoor light closing instruction, or the like.
It will be appreciated that the door opening alarm off signal is generated when the door is closed, the indoor lamp switch off command is generated when the indoor lamp switch is turned off, the voice control indoor lamp off command is generated when the user controls the indoor lamp to be turned off by voice, and the remote control indoor lamp off command is generated when the user remotely controls the indoor lamp to be turned off.
On the basis of the above embodiment, after the indoor lamp is turned on after the lamp-on trigger instruction is received, whether the cab is occupied or not is judged again, if occupied, the indoor lamp is required to be used by a user, the indoor lamp is always kept on at the moment until the lamp-off instruction is received, the indoor lamp is turned off, the use scene of the indoor lamp of the vehicle is further increased, and the use experience of the user is improved.
The present embodiment includes all the technical solutions of the foregoing embodiments, and has the same technical effects, and will not be described herein again.
In other embodiments, when the indoor lamp is turned on, the indoor lamp is turned on by long-pressing the indoor lamp switch, and after the indoor lamp brightness gradually increases from the current brightness to the percentage threshold 6 (for example, 80% of the maximum brightness), the indoor lamp brightness gradually decreases from the percentage threshold 6 to the percentage threshold 7 (for example, 60% of the maximum brightness), and then gradually increases from the percentage threshold 7 to the percentage threshold 6, and the cycle is repeated. After the indoor lamp switch is released, the indoor lamp brightness keeps the current brightness value. When the indoor lamp is lighted, the brightness bar on the vehicle-mounted terminal can be manually adjusted, and a brightness adjusting signal can be sent to the vehicle body controller, so that the brightness of the indoor lamp can be adjusted. Each time the indoor lamp is turned on, the brightness is the brightness value when the indoor lamp is turned off last time; if the brightness value memorized by the body controller at the last closing is erased, the default value is a percentage threshold value 8 of the maximum brightness (for example, 70% of the maximum brightness).
Fig. 8 is a schematic structural diagram of a control device for a vehicle interior lamp according to an embodiment of the present application, and referring to fig. 8, a control device 900 for a vehicle interior lamp includes:
the detection target judging module 910 is configured to judge whether a detection target exists in a preset area in the vehicle when the indoor lamp is turned on and the first condition is satisfied; wherein the first condition includes a rotational speed of the engine being zero;
a first threshold value judging module 920, configured to judge, when the preset area has no detected target, whether a time length of the detected target leaving the preset area is greater than or equal to a first threshold value;
and a light-off instruction sending module 930, configured to send a light-off instruction for turning off the indoor light for the nth time when the length of time that the detection target leaves the preset area is greater than or equal to the first threshold, where N is a positive integer.
The control device of the vehicle indoor lamp can execute the control method of the vehicle indoor lamp provided by any embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. Technical details not described in detail in the present embodiment may be referred to the control method of the vehicle interior lamp provided in any embodiment of the present application. Since the above-described control device for a vehicle interior lamp is a device capable of executing the control method for a vehicle interior lamp in the embodiment of the present application, based on the control method for a vehicle interior lamp in the embodiment of the present application, those skilled in the art will be able to understand the specific implementation of the control device for a vehicle interior lamp in the embodiment of the present application and various modifications thereof, so how the control device for a vehicle interior lamp realizes the control method for a vehicle interior lamp in the embodiment of the present application will not be described in detail herein. The device adopted by the method for controlling the vehicle indoor lamp in the embodiment of the application belongs to the scope of protection of the application as long as the person skilled in the art implements the method.
Fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application, and referring to fig. 9, the computer device 60 includes a memory 602, a processor 601, and a computer program stored in the memory 602 and capable of running on the processor, where the processor 601 implements the method in the above embodiment when executing the program. FIG. 9 illustrates a block diagram of an exemplary computer device suitable for use in implementing embodiments of the present application. The computer device 60 shown in fig. 9 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present application. As shown in fig. 9, the computer device 60 is in the form of a general purpose computing device. The components of the computer device 60 may include, but are not limited to: one or more processors 601, a system memory 602, and a bus 603 that connects the different system components (including the system memory 602 and the processor 601).
Bus 603 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 60 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 60 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 602 may include computer system readable media in the form of volatile memory such as Random Access Memory (RAM) 604 and/or cache memory 605. The computer device 60 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 606 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 9, commonly referred to as a "hard disk drive"). Although not shown in fig. 9, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 603 through one or more data medium interfaces. The system memory 602 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the embodiments of the application.
A program/utility 608 having a set (at least one) of program modules 607 may be stored in, for example, system memory 602, such program modules 607 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 607 generally perform the functions and/or methods of the described embodiments of the application.
The computer device 60 may also communicate with one or more external devices 609 (e.g., keyboard, pointing device, display 610, etc.), one or more devices that enable a user to interact with the device, and/or any devices (e.g., network card, modem, etc.) that enable the computer device 60 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 611. Moreover, the computer device 60 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 612. As shown in fig. 9, the network adapter 612 communicates with other modules of the computer device 60 over the bus 603. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with computer device 60, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processor 601 executes various functional applications and data processing by running programs stored in the system memory 602.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, can implement the method described in the above embodiment.
The computer storage media of embodiments of the application may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present application and the technical principle applied. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, and that various obvious changes, rearrangements, combinations, and substitutions can be made by those skilled in the art without departing from the scope of the application. Therefore, while the application has been described in connection with the above embodiments, the application is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the application, which is set forth in the following claims.

Claims (7)

1. A control method of a vehicle interior lamp, characterized by comprising:
judging whether a detection target exists in a preset area in the vehicle when the indoor lamp is started and the first condition is met; wherein the first condition includes a rotational speed of the engine being zero;
judging whether the time length of the detected target leaving the preset area is greater than or equal to a first threshold value when the detected target does not exist in the preset area;
when the time length of the detected target leaving the preset area is greater than or equal to the first threshold value, sending a lamp turning-off instruction for turning off the indoor lamp for the nth time, wherein N is a positive integer;
after judging whether a detection target exists in a preset area in the vehicle when the indoor lamp is started and the first condition is met, the method further comprises the following steps:
judging whether the time length of the indoor lamp on is larger than or equal to a second threshold value when a detection target exists in the preset area; wherein the second threshold is greater than the first threshold;
when the time length of the indoor lamp on is greater than or equal to a second threshold value, the lamp turn-off instruction is sent for the nth time;
after the nth sending of the lamp-off instruction for turning off the indoor lamp, the method further comprises:
judging whether a lamp-on trigger instruction for starting an indoor lamp is received within the time length of a third threshold value after the lamp-off instruction is sent for the Nth time;
when the lamp-on triggering instruction is received, sending a lamp-on instruction for starting the indoor lamp for the nth time;
after the nth sending of the lamp-on instruction for starting the indoor lamp, the method further comprises the following steps:
judging whether the detection target exists in the preset area or not;
judging whether the time length of the indoor lamp on is larger than or equal to a fourth threshold value when a detection target exists in the preset area; wherein the fourth threshold is greater than the first and third thresholds;
and when the time length of the indoor lamp on is greater than or equal to a fourth threshold value, the lamp-off instruction is sent for the (n+1) th time.
2. The method of claim 1, further comprising, after an nth transmission of a turn-on command to turn on the indoor light:
judging whether the detection target exists in the preset area or not;
judging whether the time length of the detected target leaving the preset area is greater than or equal to the first threshold value when the detected target does not exist in the preset area;
and when the time length of the detected target leaving the preset area is greater than or equal to the first threshold value, the (n+1) th time of sending the lamp turning-off instruction.
3. The method of claim 2, further comprising, after the n+1st transmission of the light-off instruction:
judging whether the lamp-on trigger instruction is received within the time length of a third threshold value after the lamp-off instruction is sent for the (N+1) th time;
and when the lamp-on trigger instruction is received, the lamp-on instruction is sent for the (n+1) th time.
4. A method according to claim 3, further comprising, after the n+1th transmission of the light-up instruction:
judging whether the detection target exists in the preset area or not;
and when a detection target exists in the preset area, keeping the indoor lamp on until a lamp-turning-off trigger instruction for turning off the indoor lamp is received, and sending the lamp-turning-off instruction.
5. An apparatus including the control method of the vehicle interior lamp according to claim 1, characterized by comprising:
the detection target judging module is used for judging whether a detection target exists in a preset area in the vehicle when the indoor lamp is started and the first condition is met; wherein the first condition includes a rotational speed of the engine being zero;
the first threshold judging module is used for judging whether the time length of the detection target leaving the preset area is greater than or equal to a first threshold when the detection target does not exist in the preset area;
and the lamp-turning-off instruction sending module is used for sending a lamp-turning-off instruction for turning off the indoor lamp for the nth time when the time length of the detected target leaving the preset area is greater than or equal to the first threshold value, wherein N is a positive integer.
6. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1-4 when the program is executed by the processor.
7. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-4.
CN202310693234.8A 2023-06-13 2023-06-13 Control method, device and equipment for vehicle indoor lamp and storage medium Active CN116424213B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310693234.8A CN116424213B (en) 2023-06-13 2023-06-13 Control method, device and equipment for vehicle indoor lamp and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310693234.8A CN116424213B (en) 2023-06-13 2023-06-13 Control method, device and equipment for vehicle indoor lamp and storage medium

Publications (2)

Publication Number Publication Date
CN116424213A CN116424213A (en) 2023-07-14
CN116424213B true CN116424213B (en) 2023-08-15

Family

ID=87083617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310693234.8A Active CN116424213B (en) 2023-06-13 2023-06-13 Control method, device and equipment for vehicle indoor lamp and storage medium

Country Status (1)

Country Link
CN (1) CN116424213B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970037756A (en) * 1995-12-29 1997-07-24 김태구 Vehicle interior light lighting control device
KR19990027438A (en) * 1997-09-30 1999-04-15 양재신 Headlight and light auto-off device
KR19990048724A (en) * 1997-12-10 1999-07-05 홍종만 Automatic light off device and method for headlamps in automobiles
JP2004196028A (en) * 2002-12-16 2004-07-15 Yazaki Corp Vehicular interior lighting device and vehicular interior lighting method
JP2010070058A (en) * 2008-09-18 2010-04-02 Denso Corp Vehicular automatic light device
WO2022036945A1 (en) * 2020-08-17 2022-02-24 广州橙行智动汽车科技有限公司 Vehicle light control method and control apparatus, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970037756A (en) * 1995-12-29 1997-07-24 김태구 Vehicle interior light lighting control device
KR19990027438A (en) * 1997-09-30 1999-04-15 양재신 Headlight and light auto-off device
KR19990048724A (en) * 1997-12-10 1999-07-05 홍종만 Automatic light off device and method for headlamps in automobiles
JP2004196028A (en) * 2002-12-16 2004-07-15 Yazaki Corp Vehicular interior lighting device and vehicular interior lighting method
JP2010070058A (en) * 2008-09-18 2010-04-02 Denso Corp Vehicular automatic light device
WO2022036945A1 (en) * 2020-08-17 2022-02-24 广州橙行智动汽车科技有限公司 Vehicle light control method and control apparatus, and storage medium

Also Published As

Publication number Publication date
CN116424213A (en) 2023-07-14

Similar Documents

Publication Publication Date Title
CN109353345B (en) Vehicle control method, device, equipment, medium and vehicle
CN109240107B (en) Control method and device of electrical equipment, electrical equipment and medium
CN109795505A (en) Automatic Pilot method of discrimination, device, computer equipment and storage medium
CN110949183B (en) Direct current charging heating control method, device, circuit, vehicle and storage medium
CN116424213B (en) Control method, device and equipment for vehicle indoor lamp and storage medium
CN112109644B (en) Vehicle control method, device, equipment and storage medium
CN109903422A (en) A kind of vehicle-running recording system
CN114475475B (en) Vehicle storage battery management method and device and electronic equipment
WO2023051315A1 (en) Application control method and apparatus, electronic device, and storage medium
WO2023072028A1 (en) Music caching method and apparatus, and electronic device and storage medium
WO2021115110A1 (en) Engine control method, system, and vehicle
CN113709954B (en) Control method and device of atmosphere lamp, electronic equipment and storage medium
CN113580936B (en) Automobile control method and device and computer storage medium
CN114148269A (en) Method, device and equipment for processing vehicle abnormity and storage medium
CN113044031A (en) Self-adaptive cruise control system and method based on constant-speed cruise
CN110696807A (en) Engine shutdown control method and system under traffic jam condition, vehicle and storage medium
CN110758394B (en) Engine starting control method and system under traffic jam working condition, vehicle and storage medium
CN115277413B (en) Upgrading method and device of vehicle controller, vehicle and storage medium
CN111399405A (en) Control method and device for vehicle-mounted electronic equipment, storage medium and electronic equipment
CN114889552B (en) Control method and system applied to vehicle, electronic device and storage medium
CN109649168A (en) A kind of delay accelerated method, device, equipment and storage medium
CN112489660A (en) Vehicle-mounted voice recognition method, device, equipment and storage medium
CN110794735A (en) Remote control device and method
US20230379991A1 (en) In-vehicle terminal, information processing method and vehicle
CN114670748B (en) Method, device and equipment for controlling atmosphere lamp by steering wheel and read-storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant