CN115257526A - Vehicle scene control method and system, electronic device and storage medium - Google Patents
Vehicle scene control method and system, electronic device and storage medium Download PDFInfo
- Publication number
- CN115257526A CN115257526A CN202210675030.7A CN202210675030A CN115257526A CN 115257526 A CN115257526 A CN 115257526A CN 202210675030 A CN202210675030 A CN 202210675030A CN 115257526 A CN115257526 A CN 115257526A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- target vehicle
- scene
- mode
- acquiring
- 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.)
- Pending
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q1/00—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
- B60Q1/02—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments
- B60Q1/04—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments the devices being headlights
- B60Q1/18—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments the devices being headlights being additional front lights
- B60Q1/20—Fog lights
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q1/00—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q1/00—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
- B60Q1/02—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q1/00—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
- B60Q1/02—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments
- B60Q1/04—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments the devices being headlights
- B60Q1/14—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments the devices being headlights having dimming means
- B60Q1/1415—Dimming circuits
- B60Q1/1423—Automatic dimming circuits, i.e. switching between high beam and low beam due to change of ambient light or light level in road traffic
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q1/00—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
- B60Q1/26—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q1/00—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
- B60Q1/26—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic
- B60Q1/32—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic for indicating vehicle sides, e.g. clearance lights
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q5/00—Arrangement or adaptation of acoustic signal devices
- B60Q5/005—Arrangement or adaptation of acoustic signal devices automatically actuated
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q5/00—Arrangement or adaptation of acoustic signal devices
- B60Q5/005—Arrangement or adaptation of acoustic signal devices automatically actuated
- B60Q5/006—Arrangement or adaptation of acoustic signal devices automatically actuated indicating risk of collision between vehicles or with pedestrians
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q2300/00—Indexing codes for automatically adjustable headlamps or automatically dimmable headlamps
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q2300/00—Indexing codes for automatically adjustable headlamps or automatically dimmable headlamps
- B60Q2300/30—Indexing codes relating to the vehicle environment
- B60Q2300/31—Atmospheric conditions
- B60Q2300/314—Ambient light
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Traffic Control Systems (AREA)
Abstract
The invention provides a vehicle scene control method, a vehicle scene control system, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring the equipment state of a sunlight sensor of a running target vehicle; when the equipment state is a normal state, acquiring first sunlight intensity of the outside through a sunlight sensor; when the first sunlight intensity is lower than a preset threshold value, acquiring a scene starting mode of a target vehicle; and when the scene starting mode is the automatic foggy day mode, starting the light and/or warning equipment corresponding to the target vehicle. According to the invention, whether the target vehicle is in a fog environment or not is automatically judged by acquiring the sunlight intensity, and then the corresponding light and/or warning equipment is automatically started, so that the condition that the driving danger and even the driving accident are caused by short time distraction caused by the fact that the driver needs to turn on the light and/or warning equipment one by one is avoided, and the safety of the driver in the driving process is greatly improved.
Description
Technical Field
The present invention relates to the field of automotive control technologies, and in particular, to a method and a system for controlling a vehicle scene, an electronic device, and a storage medium.
Background
The automatic vehicle control is to apply some automatic control techniques to the traffic system, and the original improvement of mechanical performance is developed to assist or partially or completely replace the manipulation of people, so as to achieve the aims of reducing accidents caused by the limitation of people, lightening the driving strength and improving the traffic efficiency.
With the improvement of living standard and the depression of urban life, most people can start to choose the step-down mode of mountain travel, but when the people travel in the mountain area, the people can encounter various severe weather conditions, such as sudden heavy fog, heavy rain, heavy snow and other extreme weather, which brings with the extreme weather that the visibility is reduced sharply, and particularly when the vehicles travel at high speed, the people are very easy to be dangerous.
The driver is in order to improve visibility, light needs to open fast to improve the illumination condition, reach the purpose of suggestion back car, but when the driver opened light, also can cause self distraction, thereby cause the dangerous condition, so, how help the driver to open light and the warning that corresponds under the extreme weather fast in the vehicle driving process is the problem that awaits a urgent need to solve.
Disclosure of Invention
The invention provides a vehicle scene control method, a vehicle scene control system, electronic equipment and a storage medium, aiming at the technical problems in the prior art, and solves the problem of how to help a driver to quickly turn on corresponding light and alarm in extreme weather during the driving process of a vehicle.
According to a first aspect of the present invention, there is provided a vehicle scene control method, comprising:
acquiring the equipment state of a sunlight sensor of a running target vehicle;
when the equipment state is a normal state, acquiring first external sunlight intensity through the sunlight sensor;
when the first sunlight intensity is lower than a preset threshold value, acquiring a scene starting mode of the target vehicle;
and when the scene starting mode is the automatic foggy day mode, starting the light and/or warning equipment corresponding to the target vehicle.
On the basis of the technical scheme, the invention can be improved as follows.
Optionally, the step of turning on the light and/or warning device corresponding to the target vehicle includes:
acquiring first running states of a front fog light, a rear fog light, a dipped headlight and a position light of the target vehicle;
when the first running state is off, generating a light starting instruction;
and opening the front fog light, the rear fog light, the dipped headlight and the position light of the target vehicle through an abstract API of atomic service calling equipment according to the light opening instruction.
Optionally, the step of turning on the light and/or warning device corresponding to the target vehicle further includes:
acquiring a second running state of the Avas pedestrian warning device;
when the second running state is closed, generating a pedestrian warning starting instruction;
and opening the Avas pedestrian warning indicator through an atomic service calling equipment abstract API according to the pedestrian warning opening instruction.
Optionally, when the scene starting mode is the automatic foggy day mode, after the step of turning on the light and/or warning device corresponding to the target vehicle, the method further includes the step of turning on the light and/or warning device corresponding to the target vehicle
Acquiring the solar light sensor a second solar light intensity of (a);
and when the second sunlight intensity is not lower than the preset threshold value, the light and/or the warning equipment corresponding to the target vehicle are/is turned off.
Optionally, the vehicle scene control method further includes:
when the first sunlight intensity is not lower than a preset threshold value, acquiring a third sunlight intensity of an adjacent preset time period;
calculating the slope of the third sunlight intensity in the preset time period, and acquiring a scene starting mode of the target vehicle when the slope is greater than a preset slope;
and when the scene starting mode is the manual foggy day mode, starting the automatic foggy day mode of the target vehicle, generating a mode switching prompt and sending the mode switching prompt to a central control system of the target vehicle, so that the central control system can carry out message prompt according to the mode switching prompt.
Optionally, the vehicle scene control method further includes:
generating a fault message prompt when the equipment state is a fault state;
and sending the fault message prompt to a central control system of the target vehicle so as to enable the central control system to carry out message prompt.
Optionally, the vehicle scene control method further includes:
when the scene starting mode is a manual foggy day mode, generating a foggy day early warning message;
and sending the fog warning message to a central control system of the target vehicle so as to enable the central control system to carry out message reminding.
According to a second aspect of the present invention, there is provided a vehicle scene control system comprising:
the state acquisition module is used for acquiring the equipment state of a sunlight sensor of a running target vehicle;
the intensity acquisition module is used for acquiring first external sunlight intensity through the sunlight sensor when the equipment state is a normal state;
the mode acquisition module is used for acquiring a scene starting mode of the target vehicle when the first sunlight intensity is lower than a preset threshold value;
and the mode starting module is used for starting the light and/or the warning equipment corresponding to the target vehicle when the scene starting mode is the automatic foggy day mode.
According to a third aspect of the present invention, there is provided an electronic device, comprising a memory, and a processor, wherein the processor is configured to implement the steps of the vehicle scene control method according to any one of the first aspect when executing a computer management program stored in the memory.
According to a fourth aspect of the present invention, there is provided a computer-readable storage medium having stored thereon a computer management-like program which, when executed by a processor, implements the steps of any of the vehicle scene control methods of the first aspect described above.
The invention provides a vehicle scene control method, a system, electronic equipment and a storage medium, wherein the method comprises the steps of acquiring the equipment state of a sunlight sensor of a running target vehicle; when the equipment state is a normal state, acquiring first external sunlight intensity through the sunlight sensor; when the first sunlight intensity is lower than a preset threshold value, acquiring a scene starting mode of the target vehicle; and when the scene starting mode is the automatic foggy day mode, starting the light and/or warning equipment corresponding to the target vehicle. The method comprises the steps of comparing the acquired first sunlight intensity with a preset threshold value, setting the current external scene as a foggy day scene when the first sunlight intensity is lower than the preset threshold value, and automatically starting all the light and/or warning equipment corresponding to the foggy day scene of the target vehicle when the scene starting mode of the target vehicle is in an automatic foggy day mode, so that the condition that driving dangers and even driving accidents are caused due to the fact that drivers need to turn on the light and/or warning equipment one by one to cause short time distraction is avoided, and the safety of the drivers in the driving process is greatly improved.
Drawings
FIG. 1 is a flow chart of a vehicle scene control method provided by the present invention;
FIG. 2 is a timing diagram of vehicle scene control provided by the present invention;
FIG. 3 is a schematic diagram of a vehicle scene control system according to the present invention;
FIG. 4 is a schematic diagram of a hardware structure of a possible electronic device provided in the present invention;
fig. 5 is a schematic diagram of a hardware structure of a possible computer-readable storage medium provided in the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
Fig. 1 is a flowchart of a vehicle scene control method provided by the present invention, and as shown in fig. 1, the method includes:
step S100: acquiring the equipment state of a sunlight sensor of a running target vehicle;
it should be noted that the main body of the method in this embodiment may be a computer terminal device with data processing, network communication and program running functions, for example: vehicle-mounted computers, tablet computers, and the like; the server device may also be a server device with the same similar function, or may also be a cloud server with the similar function, which is not limited in this embodiment. For convenience of understanding, the present embodiment and the following embodiments will be described by taking an in-vehicle computer as an example.
It is understood that the device status of the solar sensor may be a current availability status of the solar sensor, wherein the availability status may include, but is not limited to: normal, fault, no response, etc.
In a specific implementation, the vehicle-mounted computer firstly acquires the equipment state of the sunlight sensor of the vehicle when judging that the vehicle is in a running state, and does not acquire the equipment state of the sunlight sensor of the vehicle when the vehicle is not in the running state.
Step S200: when the equipment state is a normal state, acquiring first external sunlight intensity through the sunlight sensor;
the outside may be an environment outside the target vehicle.
It can be understood that the sunlight intensity may be illumination intensity, and the illumination may be sunlight, light at two sides of a road, or other artificial light, which is not limited in this embodiment.
In a specific implementation, when the equipment state of the obtained sunlight sensor is a normal state, the vehicle-mounted computer obtains the illumination intensity of the external environment of the vehicle through the sunlight sensor; and when the equipment state of the sunlight sensor is abnormal, sending alarm information to remind a driver of checking the state of the sunlight sensor.
Step S300: when the first sunlight intensity is lower than a preset threshold value, acquiring a scene starting mode of the target vehicle;
it should be noted that the preset threshold may be set by a manufacturer when the vehicle leaves a factory, may be set by a system when the vehicle-mounted system is initialized, or may be manually adjusted by the driver according to the driving road section condition, which is not limited in this embodiment. The preset threshold may be generally: 5 to 100LX.
It is understood that the scene starting mode may be a starting state of a vehicle light scene mode set by a touch key on the in-vehicle center screen, where the starting mode may include, but is not limited to: automatic, manual, and/or abnormal, etc.
In a specific implementation, when the acquired sunlight intensity is lower than a preset threshold, the scene starting mode of the target vehicle is acquired.
Step S400: and when the scene starting mode is the automatic foggy day mode, starting the light and/or warning equipment corresponding to the target vehicle.
It should be noted that the automatic foggy day mode may refer to a light scene mode in a vehicle, and may be understood as an automatic starting foggy day mode.
It is understood that the light corresponding to the target vehicle may include, but is not limited to: front fog lights, rear fog lights, outline marker lights, low beam lights, and/or position lights.
It will be appreciated that the warning device described above may be a device for sounding an alarm.
In specific implementation, when the vehicle is in an automatic foggy day mode at present and the acquired sunlight intensity is lower than a preset value, warning light and warning equipment of the vehicle are started.
It can be appreciated that, based on the drawbacks of the background art, the embodiment of the present invention provides a vehicle scene control method. The method comprises the steps of acquiring the equipment state of a sunlight sensor of a running target vehicle; when the equipment state is a normal state, acquiring first external sunlight intensity through the sunlight sensor; when the first sunlight intensity is lower than a preset threshold value, acquiring a scene starting mode of the target vehicle; and when the scene starting mode is an automatic foggy day mode, starting the light and/or warning equipment corresponding to the target vehicle. The method comprises the steps of comparing the acquired first sunlight intensity with a preset threshold value, setting the current external scene as a foggy day scene when the first sunlight intensity is lower than the preset threshold value, and automatically starting all the light and/or warning equipment corresponding to the foggy day scene of the target vehicle when the scene starting mode of the target vehicle is in an automatic foggy day mode, so that the condition that driving dangers and even driving accidents are caused due to the fact that drivers need to turn on the light and/or warning equipment one by one to cause short time distraction is avoided, and the safety of the drivers in the driving process is greatly improved.
In a possible embodiment, for easy understanding, the step of turning on the light and/or warning device corresponding to the target vehicle includes:
step S401: acquiring first running states of a front fog light, a rear fog light, a dipped headlight and a position light of the target vehicle;
step S402: when the first running state is off, generating a light starting instruction;
step S403: and opening the front fog light, the rear fog light, the dipped headlight and the position light of the target vehicle through an abstract API of atomic service calling equipment according to the light opening instruction.
It should be noted that the atomic service is a packaged program interface, and is used for a program to directly call the atomic service interface and control a corresponding controllable component on the vehicle through the device abstraction API.
In the method, the running state of the light on the target vehicle is obtained firstly, and when the running state is closed, the starting instruction is sent to start the light, so that the condition of light flicker caused by issuing of repeated instructions can be effectively avoided, the equipment damage of the vehicle light due to improper use is reduced, the reliability of the vehicle is enhanced, and the use experience of a user is improved.
In a possible embodiment, for ease of understanding, the step of turning on the light and/or warning device corresponding to the target vehicle further includes:
step S404: acquiring a second running state of the Avas pedestrian warning device;
step S405: when the second running state is off, generating a pedestrian warning starting instruction;
step S406: and opening the Avas pedestrian warning indicator through an atomic service calling equipment abstract API according to the pedestrian warning opening instruction.
In the method, the running state of the alarm on the target vehicle is obtained firstly, and when the running state is off, the alarm is turned on to perform vehicle running early warning, so that the condition that voice broadcast of the alarm is discontinuous due to issuing of repeated instructions can be effectively avoided, equipment damage caused by improper use of the alarm is reduced, the reliability of the vehicle is enhanced, and the use experience of a user is improved.
In a possible embodiment, a mode closed loop is further formed, and after the step of turning on the lighting and/or warning device corresponding to the target vehicle when the scene starting mode is the automatic foggy day mode, the method further includes:
step S501: acquiring a second sunlight intensity of the sunlight sensor;
step S502: and when the second sunlight intensity is not lower than the preset threshold value, the light and/or the warning equipment corresponding to the target vehicle are/is turned off.
In the method, after the foggy day mode is started, the external illumination intensity of the current vehicle is continuously acquired, and after the external illumination intensity is recovered to be normal, the foggy day mode of the target vehicle is closed, so that a driver does not need to manually adjust the light mode of the vehicle, the driver can concentrate on driving safety in the high-speed driving process, the driving safety of the vehicle is improved, and the driving experience of the driver is further improved.
In a possible embodiment, in order to further reasonably determine whether the current environment is in the foggy day mode, so that the foggy day mode needs to be started in advance, the vehicle scene control method further includes:
step S301: when the first sunlight intensity is not lower than a preset threshold value, acquiring a third sunlight intensity of an adjacent preset time period;
it should be noted that the preset time period may be set by a manufacturer when the vehicle leaves a factory, may be set by a system when the vehicle-mounted system is initialized, and may also be manually adjusted by the driver according to the driving road section condition, which is not limited in this embodiment. The general settings can be: 1 minute, 5 minutes, or 10 minutes.
It is to be understood that, the step of obtaining the third sunlight intensity of the adjacent preset time period may be obtaining the sunlight intensity data of the adjacent preset time period from a history database, and the history data may be stored in the host vehicle computer or in a corresponding cloud server, which is not limited in this embodiment.
Step S302: calculating the slope of third sunlight intensity in the preset time period, and acquiring a scene starting mode of the target vehicle when the slope is greater than a preset slope;
it should be noted that the preset slope may be set by the system for initializing the vehicle-mounted system, or may be automatically adjusted by the system of the destination location area selected by the user, which is not limited in this embodiment.
In a specific implementation, the third sunlight intensity of the preset time period is mapped into a coordinate system, the slope of the sunlight intensity in the coordinate system is calculated, and when the slope is greater than a preset slope, the scene starting mode of the vehicle is acquired.
Step S303: and when the scene starting mode is the manual foggy day mode, starting the automatic foggy day mode of the target vehicle, generating a mode switching prompt and sending the mode switching prompt to a central control system of the target vehicle, so that the central control system can carry out message prompt according to the mode switching prompt.
In the method, whether the fog day mode of the vehicle needs to be started or not can be judged in advance by acquiring the historical data of the current sunlight intensity in adjacent time periods and calculating the slope of the historical data, so that the driver is prevented from starting the fog day mode only after the driver is in a foggy environment, and the safety of the driving process is improved.
In a possible implementation manner, the vehicle scene control method further includes:
step S201: when the equipment state is a fault state, generating a fault message prompt;
step S202: and sending the fault message reminding to a central control system of the target vehicle so as to enable the central control system to carry out message reminding.
In the method, when the sunlight sensor is in the fault state, the central control system sends the fault message to remind the user to check the state of the sunlight sensor, so that the driver is reminded to manually start the foggy day mode, the condition that the driver cannot use the method due to equipment faults is avoided, and the driving experience of the driver is effectively improved.
In a possible embodiment, the vehicle scene control method further includes:
step S407: when the scene starting mode is a manual foggy day mode, generating a foggy day early warning message;
step S408: and sending the foggy day early warning message to a central control system of the target vehicle so as to enable the central control system to carry out message reminding.
In the method, when the scene starting mode is the manual mode, the driver is informed of the foggy day early warning information, so that a foggy day alarm is sent to the driver in advance, driving danger caused by the fact that the driver is not in time to take measures due to sudden extreme weather is avoided, safety in the driving process is improved, and driving experience of the driver is improved.
In one possible application scenario, referring to fig. 2, fig. 2 is a timing diagram of the vehicle scenario control provided by the present invention.
In the scene, a driver is a driver of a target vehicle, the vehicle scene control method is deployed in a central control system, a vehicle-mounted system is a control system of a sunlight sensor, a vehicle light and a warning device, the driver starts an automatic foggy day mode when the vehicle is started, the central control system acquires the current running state of the sunlight sensor, when the sensor is judged to be in normal running, the sunlight sensor acquires the current illumination intensity outside the vehicle, when the illumination intensity is lower than a preset threshold value, the foggy day scene starting mode of the vehicle is acquired, and when the starting mode is the automatic mode, the light and/or the warning device is turned on.
In a possible application scenario, the vehicle scene control method can be deployed in a cloud service, and interacts with a vehicle-mounted central control system and a vehicle-mounted system through a wireless network to execute the vehicle scene control method.
In a possible application scenario, when the sunlight sensor of the target vehicle is in an abnormal state, the target vehicle can be connected with nearby vehicles in a Bluetooth mode, so that the external weather condition of the vehicle is acquired, and the vehicle scene control method can be executed.
Fig. 3 is a structural diagram of a vehicle scene control system according to an embodiment of the present invention, and as shown in fig. 3, the vehicle scene control system includes a state obtaining module 100, an intensity obtaining module 200, a mode obtaining module 300, and a mode starting module 400, where:
a state acquisition module 100 for acquiring a device state of a solar sensor of a traveling target vehicle; the intensity obtaining module 200 is configured to obtain, by the sunlight sensor, a first sunlight intensity of the outside when the device state is a normal state; a mode obtaining module 300, configured to obtain a scene starting mode of the target vehicle when the first sunlight intensity is lower than a preset threshold; and the mode starting module 400 is configured to start the light and/or warning device corresponding to the target vehicle when the scene starting mode is the automatic foggy day mode.
It can be understood that the vehicle scene control system provided by the present invention corresponds to the vehicle scene control methods provided by the foregoing embodiments, and the relevant technical features of the vehicle scene control system may refer to the relevant technical features of the vehicle scene control method, which is not described herein again.
Referring to fig. 4, fig. 4 is a schematic view of an embodiment of an electronic device according to an embodiment of the invention. As shown in fig. 4, an embodiment of the present invention provides an electronic device, which includes a memory 1310, a processor 1320, and a computer program 1311 stored in the memory 1310 and executable on the processor 1320, where the processor 1320 executes the computer program 1311 to implement the following steps: acquiring the equipment state of a sunlight sensor of a running target vehicle; when the equipment state is a normal state, acquiring first sunlight intensity of the outside through the sunlight sensor; when the first sunlight intensity is lower than a preset threshold value, acquiring a scene starting mode of the target vehicle; and when the scene starting mode is the automatic foggy day mode, starting the light and/or warning equipment corresponding to the target vehicle.
The invention provides a vehicle scene control electronic device which is used for executing the method, and the method acquires the device state of a sunlight sensor of a running target vehicle; when the equipment state is a normal state, acquiring first external sunlight intensity through the sunlight sensor; when the first sunlight intensity is lower than a preset threshold value, acquiring a scene starting mode of the target vehicle; and when the scene starting mode is the automatic foggy day mode, starting the light and/or warning equipment corresponding to the target vehicle. The method comprises the steps of obtaining the equipment state of a sunlight sensor, determining whether the basic condition executed by the method meets the requirement or not, and improving the reliability of the method, wherein the obtained first sunlight intensity is compared with a preset threshold value, when the first sunlight intensity is lower than the preset threshold value, the current external scene is set as a foggy day scene, and when the scene starting mode of the target vehicle is in an automatic foggy day mode, the light and/or the warning equipment corresponding to the foggy day scene of the target vehicle are automatically and completely started, so that the condition that the driver needs to turn on the light and/or the warning equipment one by one to cause short time distraction, the driving danger is caused, and even the driving accident is caused is avoided, and the safety of the driver in the driving process is greatly improved.
Referring to fig. 5, fig. 5 is a schematic diagram of an embodiment of a computer-readable storage medium according to the present invention. As shown in fig. 5, the present embodiment provides a computer-readable storage medium 1400, on which a computer program 1411 is stored, which computer program 1411, when executed by a processor, implements the steps of: acquiring the equipment state of a sunlight sensor of a running target vehicle; when the equipment state is a normal state, acquiring first external sunlight intensity through the sunlight sensor; when the first sunlight intensity is lower than a preset threshold value, acquiring a scene starting mode of the target vehicle; and when the scene starting mode is the automatic foggy day mode, starting the light and/or warning equipment corresponding to the target vehicle.
The invention provides a vehicle scene control method, a system, electronic equipment and a storage medium, wherein the method comprises the steps of acquiring the equipment state of a sunlight sensor of a running target vehicle; when the equipment state is a normal state, acquiring first external sunlight intensity through the sunlight sensor; when the first sunlight intensity is lower than a preset threshold value, acquiring a scene starting mode of the target vehicle; and when the scene starting mode is the automatic foggy day mode, starting the light and/or warning equipment corresponding to the target vehicle. The method comprises the steps of obtaining the equipment state of a sunlight sensor, determining whether the basic condition executed by the method meets the requirement or not, and improving the reliability of the method, wherein the obtained first sunlight intensity is compared with a preset threshold value, when the first sunlight intensity is lower than the preset threshold value, the current external scene is set as a foggy day scene, and when the scene starting mode of the target vehicle is in an automatic foggy day mode, the light and/or the warning equipment corresponding to the foggy day scene of the target vehicle are automatically and completely started, so that the condition that the driver needs to turn on the light and/or the warning equipment one by one to cause short time distraction, the driving danger is caused, and even the driving accident is caused is avoided, and the safety of the driver in the driving process is greatly improved.
It should be noted that, in the foregoing embodiments, the description of each embodiment has an emphasis, and reference may be made to the related description of other embodiments for a part that is not described in detail in a certain embodiment.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A vehicle scene control method, characterized in that the method comprises:
acquiring the equipment state of a sunlight sensor of a running target vehicle;
when the equipment state is a normal state, acquiring first sunlight intensity of the outside through the sunlight sensor;
when the first sunlight intensity is lower than a preset threshold value, acquiring a scene starting mode of the target vehicle;
and when the scene starting mode is the automatic foggy day mode, starting the light and/or warning equipment corresponding to the target vehicle.
2. The vehicle scene control method according to claim 1, wherein the step of turning on a light and/or warning device corresponding to the target vehicle comprises:
acquiring first running states of a front fog light, a rear fog light, a dipped headlight and a position light of the target vehicle;
when the first running state is off, generating a light starting instruction;
and according to the light starting instruction, a front fog light, a rear fog light, a dipped headlight and a position light of the target vehicle are turned on through an abstract API of atomic service call equipment.
3. The vehicle scene control method according to claim 1, wherein the step of turning on a light and/or warning device corresponding to the target vehicle further comprises:
acquiring a second running state of the Avas pedestrian warning device;
when the second running state is closed, generating a pedestrian warning starting instruction;
and opening the Avas pedestrian warning indicator through an atomic service calling equipment abstract API according to the pedestrian warning opening instruction.
4. The vehicle scene control method according to claim 1, wherein after the step of turning on the lighting and/or warning device corresponding to the target vehicle when the scene starting mode is the automatic foggy day mode, the method further comprises:
acquiring a second sunlight intensity of the sunlight sensor;
and when the second sunlight intensity is not lower than the preset threshold value, closing the light and/or warning equipment corresponding to the target vehicle.
5. The vehicle scene control method according to claim 1, characterized by further comprising:
when the first sunlight intensity is not lower than a preset threshold value, acquiring a third sunlight intensity of an adjacent preset time period;
calculating the slope of third sunlight intensity in the preset time period, and acquiring a scene starting mode of the target vehicle when the slope is greater than a preset slope;
and when the scene starting mode is the manual foggy day mode, starting the automatic foggy day mode of the target vehicle, generating a mode switching prompt and sending the mode switching prompt to a central control system of the target vehicle, so that the central control system can carry out message prompt according to the mode switching prompt.
6. The vehicle scene control method according to claim 1, characterized by further comprising:
generating a fault message prompt when the equipment state is a fault state;
and sending the fault message prompt to a central control system of the target vehicle so as to enable the central control system to carry out message prompt.
7. The vehicle scene control method according to claim 1, characterized by further comprising:
when the scene starting mode is a manual foggy day mode, generating a foggy day early warning message;
and sending the foggy day early warning message to a central control system of the target vehicle so as to enable the central control system to carry out message reminding.
8. A vehicle scene control system is characterized by comprising
The state acquisition module is used for acquiring the equipment state of a sunlight sensor of a running target vehicle;
the intensity acquisition module is used for acquiring first external sunlight intensity through the sunlight sensor when the equipment state is a normal state;
the mode acquisition module is used for acquiring a scene starting mode of the target vehicle when the first sunlight intensity is lower than a preset threshold value;
and the mode starting module is used for starting the light and/or the warning equipment corresponding to the target vehicle when the scene starting mode is the automatic foggy day mode.
9. An electronic device, comprising a memory, a processor for implementing the steps of the vehicle scene control method according to any one of claims 1-7 when executing a computer management class program stored in the memory.
10. A computer-readable storage medium, having stored thereon a computer management-like program which, when executed by a processor, carries out the steps of the vehicle scene control method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210675030.7A CN115257526A (en) | 2022-06-14 | 2022-06-14 | Vehicle scene control method and system, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210675030.7A CN115257526A (en) | 2022-06-14 | 2022-06-14 | Vehicle scene control method and system, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115257526A true CN115257526A (en) | 2022-11-01 |
Family
ID=83761337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210675030.7A Pending CN115257526A (en) | 2022-06-14 | 2022-06-14 | Vehicle scene control method and system, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115257526A (en) |
-
2022
- 2022-06-14 CN CN202210675030.7A patent/CN115257526A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109895696B (en) | Driver warning system and method | |
CN107415956B (en) | System and method for detecting and communicating slippage of an unconnected vehicle | |
CN112644511A (en) | Intelligent upgrade strategy for autonomous vehicles | |
CN109311416B (en) | Imaging system with adaptive high beam control | |
CN110316045B (en) | Safe driving reminding equipment, intelligent driving system and method | |
US20130335984A1 (en) | Method and Device for Operating a Headlamp for a Motor Vehicle | |
CN110576808B (en) | Vehicle, vehicle machine equipment and scene information pushing method based on artificial intelligence | |
US10850740B2 (en) | Driving assistance method and driving assistance device | |
CN109249853B (en) | Weather-based automobile signal lamp control method and device, storage medium and terminal | |
CN113119894A (en) | Vehicle auxiliary driving method and vehicle | |
CN115009292B (en) | Risk prompt method and device for automatic driving vehicle and automatic driving vehicle | |
CN114103793A (en) | Vehicle lamp control method and system, electronic equipment and computer storage medium | |
CA3053968A1 (en) | Vehicular headlight detection and reaction system | |
CN114572206A (en) | Daylight handling for autonomous vehicle control | |
CN115246355A (en) | Vehicle light switching method and device, electronic equipment and storage medium | |
CN114590255A (en) | Dual mode cruise control | |
CN106274645A (en) | Control method for vehicle, device and server | |
CN115092078B (en) | Vehicle body service calling method and device | |
CN110435663B (en) | Automobile gear reminding method, system and device and automobile | |
CN115257526A (en) | Vehicle scene control method and system, electronic device and storage medium | |
CN112835351B (en) | Control method and related equipment | |
CN112009353B (en) | LED headlamp control method, LED headlamp controller and vehicle | |
CN115027466A (en) | Vehicle speed limit control method and system and vehicle | |
CN113771742A (en) | Control method and control system for controlling high beam of vehicle | |
CN110737213A (en) | Control method and system for automatic switching mode, navigation terminal and 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 |