Nothing Special   »   [go: up one dir, main page]

WO2021195899A1 - Vehicle lamp control method and apparatus - Google Patents

Vehicle lamp control method and apparatus Download PDF

Info

Publication number
WO2021195899A1
WO2021195899A1 PCT/CN2020/082221 CN2020082221W WO2021195899A1 WO 2021195899 A1 WO2021195899 A1 WO 2021195899A1 CN 2020082221 W CN2020082221 W CN 2020082221W WO 2021195899 A1 WO2021195899 A1 WO 2021195899A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
vehicle
light
relative
holding
Prior art date
Application number
PCT/CN2020/082221
Other languages
French (fr)
Chinese (zh)
Inventor
陈瑶
李明超
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN202080005006.1A priority Critical patent/CN112770937A/en
Priority to PCT/CN2020/082221 priority patent/WO2021195899A1/en
Publication of WO2021195899A1 publication Critical patent/WO2021195899A1/en

Links

Images

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
    • B60Q1/00Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
    • B60Q1/02Arrangement 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/04Arrangement 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/06Arrangement 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 adjustable, e.g. remotely-controlled from inside vehicle
    • B60Q1/08Arrangement 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 adjustable, e.g. remotely-controlled from inside vehicle automatically
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q1/00Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
    • B60Q1/02Arrangement 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/04Arrangement 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/14Arrangement 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/1415Dimming circuits
    • B60Q1/1423Automatic dimming circuits, i.e. switching between high beam and low beam due to change of ambient light or light level in road traffic
    • B60Q1/143Automatic dimming circuits, i.e. switching between high beam and low beam due to change of ambient light or light level in road traffic combined with another condition, e.g. using vehicle recognition from camera images or activation of wipers

Definitions

  • This application relates to the technical field of Internet of Vehicles, and in particular to a method and device for controlling vehicle lights.
  • Vehicle to Pedestrian is a technology for mutual communication between vehicles and pedestrians. Vehicles can interact with pedestrians in the driving range to obtain pedestrian behavior dynamics, thereby making the driving process safer. At the same time, Pedestrians can also obtain vehicle information to provide protection for the safety of pedestrians.
  • the lights can be turned on or off by remote control to provide lighting for users to go home, or to provide lighting for users to find a car.
  • the lighting control system that provides users with lighting includes the following two methods:
  • the first is a lighting control system for home lighting, that is, a lighting control system based on delay settings.
  • a lighting control system based on delay settings.
  • BMW's Intelligent Drive (IDRIVE) system Exemplarily, set the delay time first. After the vehicle is turned off, the IDRIVE system will automatically turn off the headlights after the delay time, so that the headlights can be used for the user to return to the user during the period from when the vehicle is turned off to turning off the headlights.
  • Home provides lighting.
  • the second type is a light control system used for home lighting or car search at night, that is, a light control system based on a remote key.
  • the user can adjust the headlight switch of the vehicle to the automatic headlight position, and after the vehicle is turned off, through the lighting button on the remote control key, the headlights of the vehicle can be controlled to automatically light up, providing the user to go home or find the car at night. illumination.
  • the existing lighting control system has a single way of turning on the lights when going home to illuminate or search for a car at night, with low intelligence, and it is difficult to meet the actual needs of users.
  • the embodiments of the present application provide a method and device for controlling vehicle lights to improve the degree of intelligence of vehicle light control.
  • an embodiment of the present application provides a method for controlling vehicle lights, which is applied to vehicle-end equipment, including:
  • the first relative distance is greater than the third threshold and less than the second threshold, that is, in the case where the relative distance between the user and the first vehicle is relatively long, it is determined that the type of light that provides illumination for the user is high beam; In a case where the first relative distance is greater than the first threshold and greater than the first threshold, it is determined that the type of light that provides illumination for the user is a low beam.
  • the first relative direction when the first relative direction is forward, that is, when the user is in front of the first vehicle, the light angle that provides illumination for the user is determined to be the front lamp; when the first relative direction is rear, that is, When the user is behind the first vehicle, the light angle that provides illumination for the user is determined to be the rear light; when the first relative direction is the left side, the light angle that provides illumination for the user is determined to be the left side light ; In the case that the first relative direction is the right side, it is determined that the light angle that provides illumination for the user is the right side car light.
  • the first relative distance and the first relative direction between the user and the first vehicle are determined according to the user's first position information, and the first relative distance and the first relative direction are determined as The user provides illumination, and when providing illumination for the user, the light type is determined according to the first relative distance, and the light angle is determined according to the first relative reverse.
  • the light type and the light angle are determined according to the relative distance and relative direction of the user and the vehicle, instead of simply turning on the headlights and low beam lights, thereby increasing the turning on of the lights.
  • the diversity of the vehicle lights to provide users with lighting and the light type of the vehicle lights meet the actual needs of users, improve the degree of intelligence of the vehicle light control system, and avoid light pollution and waste of light energy.
  • the determining according to the first relative distance and the first relative direction to provide illumination for a user holding the user-end device includes:
  • the first request message further includes user identification information
  • the method further includes:
  • the determining according to the user identification information to provide lighting for the user holding the user terminal device includes:
  • the identity verification of the user terminal device is performed first, and only when the verification is passed, the user is provided with lighting to avoid illegally turning on the vehicle lights and improve the security of the lighting control system.
  • the method further includes:
  • the environmental brightness it is determined to provide lighting for the user holding the user terminal device.
  • the determining according to the environmental brightness to provide lighting for the user holding the user terminal device includes: determining that the environmental brightness is less than a first brightness threshold; and determining to provide lighting for the user holding the user terminal device.
  • the method further includes: determining, according to the environmental brightness, the brightness of the light that provides illumination for the user holding the user-end device.
  • the brightness of the light provided for illumination is determined according to the brightness of the environment, so that the brightness of the illumination is matched with the brightness of the environment, and the intelligence of the lighting control system is improved.
  • an embodiment of the present application provides a vehicle light control device, including:
  • the transceiver module is configured to receive a first request message sent by a user-end device, the first request message is used to request a first vehicle to provide lighting for a user holding the user-end device, and the first request message includes a first location information;
  • a processing module configured to determine a first relative distance and a first relative direction of the user with respect to the first vehicle according to the first location information
  • the processing module is further configured to determine, according to the first relative distance and the first relative direction, to provide lighting for the user holding the user equipment;
  • the processing module is further configured to determine a light type to provide illumination for the user holding the user terminal device according to the first relative distance;
  • the processing module is further configured to determine, according to the first relative direction, a light angle that provides illumination for the user holding the user-end device.
  • the processing module is specifically configured to:
  • the first request message further includes user identification information
  • the processing module is further configured to determine, according to the user identification information, to provide lighting for the user holding the user terminal device.
  • the processing module is further configured to determine according to the ambient brightness to provide lighting for the user holding the user terminal device.
  • the processing module is further configured to determine, according to the environmental brightness, the brightness of the light that provides illumination for the user holding the user-end device.
  • an embodiment of the present application provides a method for controlling vehicle lights, which is applied to user equipment, including:
  • the first request message is used to request the first vehicle to provide lighting for the user holding the user equipment, the first request message includes first location information, and The first position information is used to determine a first relative distance and a first relative direction of the user with respect to the first vehicle.
  • the first relative distance and the first relative direction between the user and the first vehicle are determined according to the first location information, and the first relative distance and the first relative direction are determined to provide the user with Lighting improves the intelligence of the car light control system, avoids light pollution and waste of light energy, and improves user experience.
  • an embodiment of the present application provides a vehicle light control device, including: a sending module, configured to send a first request message to a first vehicle, and the first request message is used to request the first vehicle to hold
  • the user of the user terminal device provides lighting
  • the first request message includes first position information
  • the first position information is used to determine a first relative distance and a first relative direction of the user with respect to the first vehicle.
  • an embodiment of the present application provides a vehicle light control device, including a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer stored in the memory A program to make the device execute the method described in any one of the above-mentioned first aspect or third aspect.
  • an embodiment of the present application provides a vehicle light control device, including a processor and a memory, where the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the The device executes the method described in any one of the above-mentioned first aspect or third aspect.
  • an embodiment of the present application provides a vehicle light control device, including a processor and a communication interface, and the processor is configured to execute a computer program so that the device executes any one of the first aspect or the third aspect described above. The method described in the embodiment.
  • the vehicle light control device of the embodiment of the present application is a user-side vehicle light control device
  • the vehicle light control device includes, but is not limited to, a mobile terminal, components, chips, or subsystems in the mobile terminal.
  • the vehicle light control device in the embodiment of the present application is a vehicle light control device
  • the vehicle light control device includes but is not limited to the vehicle itself, an on-board device installed in the vehicle, components, chips, or subsystems in the vehicle.
  • an embodiment of the present application provides a chip, which is characterized in that it includes a processor and an interface;
  • the processor is configured to read instructions to execute the method described in any one of the above-mentioned first aspect or third aspect.
  • an embodiment of the present application provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and when the computer program is run, it implements the first aspect or the first aspect described above. The method described in any one of the three aspects.
  • an embodiment of the present application provides a computer program product, the computer program product includes instructions, and when the instructions are executed, the method as described in any one of the first aspect or the third aspect is implemented .
  • FIG. 1 is a schematic diagram of a vehicle light control system provided by an embodiment of the application
  • FIG. 2 is a schematic flowchart of a method for controlling vehicle lights according to an embodiment of the application
  • FIG. 3 is a schematic flowchart of another vehicle lamp control method provided by an embodiment of the application.
  • FIG. 4 is a schematic structural diagram of a vehicle light control device provided by an embodiment of the application.
  • Fig. 5 is a schematic structural diagram of another vehicle light control device provided by an embodiment of the application.
  • the user-end equipment involved in the embodiments of the present application may be User Equipment (UE).
  • UE User Equipment
  • the UE may be a device that provides voice and/or data connectivity to the user.
  • UE may include a handheld device with a wireless connection function or a processing device connected to a wireless modem.
  • UE can include wireless user equipment, mobile user equipment, device-to-device (D2D) user equipment, vehicle-to-everything (V2X) user equipment, machine-to-machine/machine-type communication ( machine-to-machine/machine-type communications, M2M/MTC) user equipment, Internet of things (IoT) user equipment, subscriber unit (subscriber unit), subscriber station (subscriber station), mobile station (mobile station) , Remote station (remote station), access point (access point, AP), remote terminal (remote terminal), access terminal (access terminal), user terminal (user terminal), user agent (user agent), or user equipment (user device) and so on.
  • IoT Internet of things
  • subscriber unit subscriber unit
  • subscriber station subscriber station
  • mobile station mobile station
  • Remote station remote station
  • access point access point
  • AP remote terminal
  • remote terminal remote terminal
  • access terminal access terminal
  • user terminal user terminal
  • user agent user agent
  • user equipment user device
  • it may include mobile phones (or “cellular” phones), computers with mobile user equipment, portable, pocket-sized, hand-held, mobile devices built into computers, and the like.
  • PCS personal communication service
  • SIP session initiation protocol
  • WLL wireless local loop
  • PDA personal digital assistants
  • restricted devices such as devices with low power consumption, or devices with limited storage capabilities, or devices with limited computing capabilities. Examples include barcodes, radio frequency identification (RFID), sensors, global positioning system (GPS), laser scanners and other information sensing equipment.
  • RFID radio frequency identification
  • GPS global positioning system
  • laser scanners and other information sensing equipment.
  • the UE may also be a wearable device.
  • Wearable devices can also be called wearable smart devices or smart wearable devices, etc. It is a general term for using wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes Wait.
  • a wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. Wearable devices are not only a kind of hardware device, but also realize powerful functions through software support, data interaction, and cloud interaction.
  • wearable smart devices include full-featured, large-sized, complete or partial functions that can be achieved without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, and need to cooperate with other devices such as smart phones.
  • Use such as all kinds of smart bracelets, smart helmets, smart jewelry, etc. for physical sign monitoring.
  • the various UEs introduced above if they are located on the vehicle (for example, placed in the vehicle or installed in the vehicle), they can all be considered as vehicle-mounted user equipment, such as a car key; for another example, the vehicle-mounted user equipment is also called a vehicle-mounted unit ( On-board unit, OBU), this embodiment of the application does not limit this.
  • vehicle-mounted user equipment such as a car key
  • OBU On-board unit
  • the lighting control system 10 includes a user terminal device 100 and a vehicle terminal device 200.
  • the user-end device 100 sends first request information to the vehicle-end device 200, where the first request information is used to request the first vehicle to provide lighting for the user holding the user-end device 100 ,
  • the first request information includes first location information;
  • the vehicle-end device 200 determines the first relative distance and the first relative direction of the user relative to the first vehicle according to the first location information, and according to the first relative distance and The first relative direction is determined to provide illumination for the user holding the user terminal device 100, that is, the user is allowed to provide illumination; then, according to the first relative distance, the light type for providing illumination for the user holding the user terminal 100 is determined; And according to the first relative direction, the light angle for providing illumination for the user holding the user terminal 100 is determined.
  • the car-end device 200 determines the first relative distance and the first relative direction between the user and the first vehicle according to the user's first position information, so that the first relative distance and the first relative direction are determined according to the first relative distance and the first relative direction.
  • the relative direction is determined to provide illumination for the user, and when providing illumination for the user, the light type is determined according to the first relative distance, and the light angle is determined according to the first relative direction.
  • the light type and the light angle are determined according to the relative distance and relative direction of the user and the vehicle, instead of simply turning on the headlights and low beam lights, thereby increasing the turning on of the lights.
  • the diversity of the vehicle lights to provide users with lighting and the light type of the vehicle lights meet the actual needs of users, improve the degree of intelligence of the vehicle light control system, and avoid light pollution and waste of light energy.
  • FIG. 2 is a schematic flowchart of a method for controlling vehicle lights according to an embodiment of the application.
  • the method includes but is not limited to the following steps:
  • the user-end device sends a first request message to the vehicle-end device, where the first request message is used to request the first vehicle to provide lighting for a user holding the user terminal, and the first request message includes first location information.
  • the vehicle-end device is the vehicle-end device of the first vehicle
  • the first location information is the geographic location when the user holding the user terminal sends the first request message
  • the geographic location can be determined by the positioning of the user terminal Module acquisition.
  • the user terminal device may be a common user device, such as a mobile phone, or a car key, and so on.
  • the first position information can be obtained through the existing positioning module, and sent to the vehicle equipment through the existing communication module
  • the first request information in the case that the user terminal device is a car key, the car key has a communication module and a positioning module added to the existing car key. Therefore, the vehicle key can obtain the first location information through the newly added positioning module, and send the first request information to the vehicle terminal device through the newly added communication module.
  • the vehicle terminal device determines the first relative distance and the first relative direction of the user with respect to the first vehicle according to the first location information.
  • the vehicle terminal device obtains the location information of the first vehicle through its own positioning module, and determines the first relative distance of the user with respect to the first vehicle according to the location information and the first location information.
  • the car-end device can establish a coordinate system with its own geographic location as the origin of coordinates, and the direction of the head of the car as the positive direction of the X-axis, and then project the first position information in the coordinate system to determine the first relative direction of the user relative to the first vehicle .
  • the vehicle terminal device determines to provide lighting for the user holding the user terminal device according to the first relative distance and the first relative direction.
  • the vehicle-end device determines that the user is in possession of the user The user of the end device provides lighting, that is, it is allowed to turn on the car lights to provide lighting for the user holding the user end device.
  • the first relative distance is not between the first distance threshold and the second distance threshold, that is, the first relative distance is less than the first distance threshold or greater than the second distance threshold, that is, the distance between the user and the first vehicle
  • the first relative distance is less than the first distance threshold or greater than the second distance threshold, that is, the distance between the user and the first vehicle
  • the first request is turned off when the user holding the user-end device does not need to provide lighting The lights that have been turned on before the news to provide users with lighting.
  • the vehicle-end device determines, according to the first relative distance, a light type that provides illumination for the user holding the user-end device.
  • the vehicle-end device determines the light type that provides illumination for the user holding the user-end device according to the corresponding relationship between the relative distance and the type of the vehicle lamp, and the first relative distance.
  • the first relative distance is greater than the third distance threshold and less than the second distance threshold, that is, in the case where the relative distance between the user and the first vehicle is relatively long
  • the type of light provided by the user for illumination is high beam
  • the type of light that is determined to provide illumination for the user holding the user terminal device is a low beam.
  • the vehicle-end device determines, according to the first relative direction, a light angle that provides illumination for the user holding the user-end device.
  • the vehicle-end device determines the light angle for the user who holds the user-end device to provide illumination according to the corresponding relationship between the relative direction and the light angle, and the first relative direction. That is, the target vehicle light is determined according to the first relative direction, and the target vehicle light includes a front light, a rear light, a left side light, and a right side light.
  • the target vehicle light provided with illumination for the user holding the user terminal is the headlight; when the first relative direction is the rear, it is determined The target vehicle lamp that provides illumination for the user holding the user terminal is the rear light; in the case of the left side of the first relative direction, the target vehicle lamp that provides illumination for the user holding the user terminal is determined to be the left vehicle Light; In the case of the right side of the first relative direction, it is determined that the target vehicle light for the user who holds the user terminal to provide illumination is the right vehicle light.
  • the vehicle-end equipment controls the target vehicle light according to the determined light type to provide illumination for the user holding the user terminal.
  • the currently determined target vehicle light itself is in the on state, it is only necessary to determine whether the currently turned on light type of the target vehicle light is consistent with the determined light type.
  • the light type of the lamp is switched to the determined light type. If it is the same, it is only necessary to continue to maintain the current on state of the target vehicle light.
  • the vehicle-end device determines the first relative distance and the first relative direction between the user and the first vehicle according to the user's first position information, so that the first relative distance and the first relative direction are determined according to the first relative distance and the first relative direction.
  • the direction is determined to provide illumination for the user, and when providing illumination for the user, the light type is determined according to the first relative distance, and the light angle is determined according to the first relative direction.
  • the light type and the light angle are determined according to the relative distance and relative direction of the user and the vehicle, instead of simply turning on the headlights and turning on the low beam, thus increasing the opening
  • the diversity of car lights makes the car lights that provide users with lighting and the light type of the car lights meet the actual needs of users, improves the intelligence of the car light control system, and avoids light pollution and waste of light energy.
  • the first request message further includes user identification information
  • the vehicle terminal device may also determine, according to the user identification information, to provide lighting for the user holding the user terminal device. That is, perform identity verification for the user holding the client device according to the user identification information. If the identity verification is passed, it is determined to provide lighting for the user holding the client device, and if the verification is not passed, the client device is ignored.
  • User identification information is used to verify the identity of the user terminal device to prevent some illegal users from turning on the lights.
  • the user identification information may be the International Mobile Equipment Identity (IMEI) of the user terminal.
  • IMEI International Mobile Equipment Identity
  • the vehicle-end device may also determine to provide lighting for the user holding the user-end device according to the brightness of the environment. That is, the current environment brightness is acquired, and when the current environment brightness is less than the first brightness threshold, that is, when the current environment brightness is relatively dark, it is determined to provide lighting for the user holding the client device. In addition, in a case where the current environmental brightness is greater than the first brightness threshold, it is determined not to provide lighting for the user holding the client device. Similarly, if the user holding the user-end device has been provided with lighting before the current ambient brightness is obtained, the vehicle lights that have been turned on for the user need to be turned off. According to the environmental brightness, it is judged whether it is necessary to provide lighting, so as to avoid turning on the car lights when the environmental brightness is bright, to avoid the waste of light energy, and to improve the intelligence of lighting.
  • the method further includes: the vehicle-end device determines, according to the ambient brightness, the brightness of the light that provides illumination for the user holding the user-end device.
  • the car-end equipment determines the light brightness to provide illumination for the user according to the corresponding relationship between the ambient brightness and the light brightness, and the ambient brightness.
  • the ambient brightness when the ambient brightness is greater than the second brightness threshold and less than the first brightness threshold, determine the light brightness as a(cd/m 2 ); in the case where the ambient brightness is greater than the third brightness threshold and less than the second brightness threshold Next, determine the brightness of the light as b(cd/m 2 ), where a ⁇ b.
  • the method further includes: if a request message sent by the user terminal is not received after a preset period of time, the request message is used to request to provide lighting for the user holding the user terminal device, then turning off Previously, the user was provided with lights with the lighting turned on. In the case that the request message sent by the user is not received for a long time, the car lights are automatically turned off, and no lighting is provided for the user, so as to avoid the waste of lighting resources.
  • the method further includes: the vehicle-end device receives a shutdown instruction sent by the user-end device, the shutdown instruction is used to request the vehicle-end device to turn off the lights that have been turned on, and the vehicle-end device turns off the turned-on lights according to the shutdown instruction Headlights.
  • the user sends a turn-off instruction to the car-end device through the turn-off button of the car key and car lights. In this way, it is possible to actively turn off the car lights without providing lighting, and to improve the intelligence of the car light control system.
  • the user equipment may not need to interact with the vehicle equipment.
  • the user terminal device may send the above-mentioned first request information to the server, and the first request information further includes a vehicle identification, for example, a license plate number.
  • the server determines the light type and light angle according to the first request information, and then sends a lighting instruction to the vehicle-end device, and the vehicle-end device with the vehicle identification is instructed by the lighting instruction to hold the user end according to the light type and light angle.
  • the user of the device provides lighting.
  • FIG. 3 is a schematic flowchart of another vehicle light control method provided by an embodiment of the application.
  • the vehicle-end device includes an environment brightness detection module, a transceiver module, a processing module, and a lighting module.
  • the content of this embodiment is the same as that of the embodiment shown in FIG. 2, and the description will not be repeated here.
  • the method includes but is not limited to the following steps:
  • the user-end device sends a first request message to the transceiver module of the vehicle-end device, where the first request message is used to request the first vehicle to provide lighting for the user holding the user-end device, and the first request message includes The first location information and user identification information.
  • the processing module performs identity verification on the user terminal device according to the user identification information, and determines that the verification is passed.
  • the brightness detection module sends the environment brightness to the processing module.
  • the processing module determines that the environmental brightness is less than the first brightness threshold.
  • the processing module determines the first relative distance and the first relative direction of the user with respect to the first vehicle according to the first location information.
  • the processing module determines, according to the first relative distance and the first relative direction, to provide lighting for the user holding the client device.
  • the processing module determines, according to the first relative distance, a light type to provide illumination for the user holding the user-end device.
  • the processing module determines, according to the first relative direction, a light angle that provides illumination for the user holding the user-end device.
  • the processing module sends an illumination instruction to the light module, where the illumination instruction is used for the indicator light module to provide illumination for the user holding the user terminal device according to the light type and the light angle.
  • the lighting module provides lighting for the user holding the client device according to the lighting type and the lighting angle.
  • the first relative distance and the first relative direction between the user and the first vehicle are determined according to the user's first position information, and the first relative distance and the first relative direction are determined as The user provides illumination, and when providing illumination for the user, the light type is determined according to the first relative distance, and the light angle is determined according to the first relative reverse.
  • the light type and the light angle are determined according to the relative distance and relative direction of the user and the vehicle, instead of simply turning on the headlights and turning on the low beam, thus increasing the opening
  • the diversity of car lights makes the car lights that provide users with lighting and the light type of the car lights meet the actual needs of users, improves the intelligence of the car light control system, and avoids light pollution and waste of light energy.
  • FIG. 4 is a schematic structural diagram of a vehicle light control device provided by an embodiment of the application.
  • the vehicle light control device 400 includes a transceiver module 401 and a processing module 402; among them:
  • the transceiver module 401 is configured to receive a first request message sent by a user-end device, the first request message is used to request a first vehicle to provide lighting for a user holding the user-end device, and the first request message includes the first request message A location information;
  • the processing module 402 is configured to determine a first relative distance and a first relative direction of the user with respect to the first vehicle according to the first position information;
  • the processing module 402 is further configured to determine, according to the first relative distance and the first relative direction, to provide lighting for the user holding the user equipment;
  • the processing module 402 is further configured to determine, according to the first relative distance, a light type to provide illumination for the user holding the user-end device;
  • the processing module 402 is further configured to determine, according to the first relative direction, a light angle to provide illumination for the user holding the user-end device.
  • the processing module is specifically configured to:
  • the first request message further includes user identification information
  • the processing module 402 is further configured to determine, according to the user identification information, to provide lighting for the user holding the user terminal device.
  • the processing module 402 is further configured to determine according to the environmental brightness to provide lighting for the user holding the user terminal device.
  • the processing module 402 is further configured to determine, according to the environmental brightness, the brightness of the light that provides illumination for the user holding the user-end device.
  • the software or firmware includes but is not limited to computer program instructions or codes, and can be executed by a hardware processor.
  • the hardware includes, but is not limited to, various integrated circuits, such as a central processing unit (CPU), a digital signal processor (DSP), a field programmable gate array (FPGA), or an application specific integrated circuit (ASIC).
  • CPU central processing unit
  • DSP digital signal processor
  • FPGA field programmable gate array
  • ASIC application specific integrated circuit
  • FIG. 5 is a schematic structural diagram of another vehicle light control device provided by an embodiment of the application.
  • the vehicle light control device 500 includes a memory 501, a processor 502, and a transceiver 503. They are connected by a bus 504 between them.
  • the memory 501 is used to store related instructions and data, and can transmit the stored data to the processor 502.
  • the processor 502 is configured to read related instructions in the memory 501 to perform the following operations:
  • the control transceiver 503 receives a first request message sent by the user-end device, the first request message is used to request the first vehicle to provide lighting for the user holding the user-end device, and the first request message includes the first position information;
  • the foregoing processor 502 may be the processing module 402 of the vehicle-end device 400 in the embodiment shown in FIG. 4, and the foregoing transceiver 503 may be the transceiver module 401 of the vehicle-end device 400 in the embodiment shown in FIG. 4.
  • the embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored.
  • the program When the program is executed by a processor, it can realize the process related to the vehicle-end device in the vehicle light control method provided in the foregoing method embodiment.
  • the embodiment of the present application also provides a computer program product, which when running on a computer or a processor, causes the computer or the processor to execute one or more steps in any of the above-mentioned vehicle light control methods. If each component module of the aforementioned equipment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in the computer readable storage medium.
  • the processor mentioned in the embodiment of the present application may be a central processing unit (Central Processing Unit, CPU), or may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), and application-specific integrated circuits (Central Processing Unit, CPU).
  • CPU Central Processing Unit
  • DSPs Digital Signal Processors
  • CPU Application Specific Integrated Circuit
  • ASIC Application Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), and electrically available Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be a random access memory (Random Access Memory, RAM), which is used as an external cache.
  • RAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • DDR SDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • Enhanced SDRAM, ESDRAM Enhanced Synchronous Dynamic Random Access Memory
  • Synchronous Link Dynamic Random Access Memory Synchronous Link Dynamic Random Access Memory
  • DR RAM Direct Rambus RAM
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component
  • the memory storage module
  • the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
  • the modules in the device of the embodiment of the present application may be combined, divided, and deleted according to actual needs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Lighting Device Outwards From Vehicle And Optical Signal (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

A vehicle lamp control method, comprising: receiving request information sent by customer premises equipment, wherein the request information is used for requesting that a vehicle provides illumination for a user having the customer premises equipment, and the request information comprises location information; determining, according to the location information, a relative distance and a relative direction of the user relative to the vehicle; determining, according to the relative distance, the type of lamplight that provides illumination; and determining, according to the relative direction, the angle of the lamplight that provides illumination. Further discloses are a vehicle lamp control apparatus, a computer program product, and a computer storage medium.

Description

车灯控制方法和装置Vehicle lamp control method and device 技术领域Technical field
本申请涉及车联网技术领域,具体涉及一种车灯控制方法和装置。This application relates to the technical field of Internet of Vehicles, and in particular to a method and device for controlling vehicle lights.
背景技术Background technique
车到行人(Vehicle to Pedestrian,V2P)是一种车辆与行人之间进行相互通信的技术,车辆可以与行驶范围内的行人进行交互,获得行人的行为动态,从而使行驶过程更加安全,同时,行人也能获得车辆的信息,为行人的安全提供保障。Vehicle to Pedestrian (V2P) is a technology for mutual communication between vehicles and pedestrians. Vehicles can interact with pedestrians in the driving range to obtain pedestrian behavior dynamics, thereby making the driving process safer. At the same time, Pedestrians can also obtain vehicle information to provide protection for the safety of pedestrians.
随着V2P技术的发展,可通过远程控制车灯开启或关闭,以便为用户回家提供照明,或者,为用户寻车提供照明。目前,为用户提供照明的灯光控制系统包括以下两种方式:With the development of V2P technology, the lights can be turned on or off by remote control to provide lighting for users to go home, or to provide lighting for users to find a car. At present, the lighting control system that provides users with lighting includes the following two methods:
第一种,用于回家照明的灯光控制系统,即基于延迟设置的灯光控制系统。例如,宝马的智能驾驶控制(Intelligent Drive,IDRIVE)系统。示例性的,先设置好延迟时间,车辆熄火后,在该延迟时间之后IDRIVE系统自动关闭车大灯,以在车辆熄火到关闭车大灯的这段时间内,可以使用车大灯为用户回家提供照明。The first is a lighting control system for home lighting, that is, a lighting control system based on delay settings. For example, BMW's Intelligent Drive (IDRIVE) system. Exemplarily, set the delay time first. After the vehicle is turned off, the IDRIVE system will automatically turn off the headlights after the delay time, so that the headlights can be used for the user to return to the user during the period from when the vehicle is turned off to turning off the headlights. Home provides lighting.
第二种,用于回家照明或者夜间寻车的灯光控制系统,即基于遥控钥匙的灯光控制系统。示例性的,用户可以将车辆大灯开关调至自动大灯档,并在车辆熄火后,通过遥控钥匙上的照明按键,控制车辆车大灯自动亮起,为用户回家或者夜间寻车提供照明。The second type is a light control system used for home lighting or car search at night, that is, a light control system based on a remote key. Exemplarily, the user can adjust the headlight switch of the vehicle to the automatic headlight position, and after the vehicle is turned off, through the lighting button on the remote control key, the headlights of the vehicle can be controlled to automatically light up, providing the user to go home or find the car at night. illumination.
可以理解,在回家照明或者夜间寻车时,现有的灯光控制系统开启车灯的方式单一,智能程度低,难以符合用户的实际需求。It can be understood that the existing lighting control system has a single way of turning on the lights when going home to illuminate or search for a car at night, with low intelligence, and it is difficult to meet the actual needs of users.
发明内容Summary of the invention
本申请实施例提供了一种车灯控制方法和装置,以提高车灯控制的智能化程度。The embodiments of the present application provide a method and device for controlling vehicle lights to improve the degree of intelligence of vehicle light control.
第一方面,本申请实施例提供一种车灯控制方法,应用于车端设备,包括:In the first aspect, an embodiment of the present application provides a method for controlling vehicle lights, which is applied to vehicle-end equipment, including:
接收用户端设备发送的第一请求消息,所述第一请求消息用于请求第一车辆为持有所述用户端设备的用户提供照明,所述第一请求消息包括第一位置信息;Receiving a first request message sent by a user-end device, where the first request message is used to request a first vehicle to provide lighting for a user holding the user-end device, and the first request message includes first location information;
根据所述第一位置信息确定用户相对于所述第一车辆的第一相对距离和第一相对方向;Determining a first relative distance and a first relative direction of the user relative to the first vehicle according to the first location information;
根据所述第一相对距离和所述第一相对方向确定为持有所述用户端设备的用户提供照明;Determining, according to the first relative distance and the first relative direction, to provide lighting for the user holding the user equipment;
根据所述第一相对距离确定为持有所述用户端设备的用户提供照明的灯光类型;Determining, according to the first relative distance, a light type to provide illumination for the user holding the user-end device;
根据所述第一相对方向确定为持有所述用户端设备的用户提供照明的灯光角度。Determine, according to the first relative direction, a light angle that provides illumination for the user holding the user terminal device.
其中,在第一相对距离大于第三阈值且小于第二阈值的情况下,即该用户与第一车辆的相对距离较远的情况下,确定为该用户提供照明的灯光类型为远光灯;在第一相对距离大于第一阈值且大于第一阈值的情况下,确定为该用户提供照明的灯光类型为近光灯。Wherein, in the case where the first relative distance is greater than the third threshold and less than the second threshold, that is, in the case where the relative distance between the user and the first vehicle is relatively long, it is determined that the type of light that provides illumination for the user is high beam; In a case where the first relative distance is greater than the first threshold and greater than the first threshold, it is determined that the type of light that provides illumination for the user is a low beam.
其中,在第一相对方向为前方的情况下,即用户位于第一车辆的前方的情况下,确定为用户提供照明的灯光角度为前车灯;在第一相对方向为后方的情况下,即用户位于第一车辆的后方的情况下,确定为用户提供照明的灯光角度为后车灯;在第一相对方向为左侧 方的情况下,确定为用户提供照明的灯光角度为左侧车灯;在第一相对方向为右侧方的情况下,确定为用户提供照明的灯光角度为右侧车灯。Among them, when the first relative direction is forward, that is, when the user is in front of the first vehicle, the light angle that provides illumination for the user is determined to be the front lamp; when the first relative direction is rear, that is, When the user is behind the first vehicle, the light angle that provides illumination for the user is determined to be the rear light; when the first relative direction is the left side, the light angle that provides illumination for the user is determined to be the left side light ; In the case that the first relative direction is the right side, it is determined that the light angle that provides illumination for the user is the right side car light.
可以看出,在本实施例中,根据用户的第一位置信息,确定出用户与第一车辆的第一相对距离和第一相对方向,从而根据该第一相对距离和第一相对方向确定为用户提供照明,并在为用户提供照明时,根据该第一相对距离确定灯光类型,根据第一相对反向确定灯光角度。由于,在控制车灯为用户提供照明的情况下,根据用户与车辆的相对距离和相对方向分别确定灯光类型和灯光角度,不是单纯的开启车大灯以及近光灯,从而增加了开启车灯的多样性,使为用户提供照明的车灯以及该车灯的灯光类型符合用户的实际需求,提高了车灯控制系统的智能化程度,避免光污染和光能源的浪费。It can be seen that in this embodiment, the first relative distance and the first relative direction between the user and the first vehicle are determined according to the user's first position information, and the first relative distance and the first relative direction are determined as The user provides illumination, and when providing illumination for the user, the light type is determined according to the first relative distance, and the light angle is determined according to the first relative reverse. Because, in the case of controlling the car lights to provide illumination for the user, the light type and the light angle are determined according to the relative distance and relative direction of the user and the vehicle, instead of simply turning on the headlights and low beam lights, thereby increasing the turning on of the lights The diversity of the vehicle lights to provide users with lighting and the light type of the vehicle lights meet the actual needs of users, improve the degree of intelligence of the vehicle light control system, and avoid light pollution and waste of light energy.
在一些可能的实施方式中,所述根据所述第一相对距离和所述第一相对方向确定为持有所述用户端设备的用户提供照明,包括:In some possible implementation manners, the determining according to the first relative distance and the first relative direction to provide illumination for a user holding the user-end device includes:
确定所述第一相对距离大于第一距离阈值且小于第二距离阈值;Determining that the first relative distance is greater than a first distance threshold and less than a second distance threshold;
确定所述第一相对方向大于第一角度阈值且小于第二角度阈值;Determining that the first relative direction is greater than a first angle threshold and less than a second angle threshold;
确定为持有所述用户端设备的用户提供照明。It is determined to provide lighting for the user holding the user equipment.
可以看出,在本实施方式中,当用户与车辆的第一相对距离在第一距离阈值和第二距离阈值之间,即用户与第一车辆的相对距离适中的情况下,才会为该用户提供照明,不会直接开启灯光,提高了灯光控制系统的智能化程度,且避免光能源浪费。It can be seen that in this embodiment, when the first relative distance between the user and the vehicle is between the first distance threshold and the second distance threshold, that is, when the relative distance between the user and the first vehicle is moderate, this The user provides lighting and does not directly turn on the light, which improves the intelligence of the lighting control system and avoids the waste of light energy.
在一些可能的实施方式中,所述第一请求消息还包括用户标识信息,所述方法还包括:In some possible implementation manners, the first request message further includes user identification information, and the method further includes:
根据所述用户标识信息确定为持有所述用户端设备的用户提供照明。It is determined according to the user identification information to provide lighting for the user holding the user terminal device.
所述根据所述用户标识信息确定为持有所述用户端设备的用户提供照明,包括:The determining according to the user identification information to provide lighting for the user holding the user terminal device includes:
根据所述用户标识信息对所述用户端设备进行身份校验;确定身份校验通过;确定为持有所述用户端设备的用户提供照明。Perform identity verification on the user terminal device according to the user identification information; determine that the identity verification is passed; determine to provide lighting for the user holding the user terminal device.
可以看出,在本实施方式中,先对用户端设备进行身份校验,在校验通过的情况下,才为用户提供照明,避免非法开启车灯,提高灯光控制系统的安全性。It can be seen that, in this embodiment, the identity verification of the user terminal device is performed first, and only when the verification is passed, the user is provided with lighting to avoid illegally turning on the vehicle lights and improve the security of the lighting control system.
在一些可能的实施方式中,所述方法还包括:In some possible implementation manners, the method further includes:
根据环境亮度确定为持有所述用户端设备的用户提供照明。According to the environmental brightness, it is determined to provide lighting for the user holding the user terminal device.
所述根据环境亮度确定为持有所述用户端设备的用户提供照明,包括:确定环境亮度小于第一亮度阈值;确定为持有所述用户端设备的用户提供照明。The determining according to the environmental brightness to provide lighting for the user holding the user terminal device includes: determining that the environmental brightness is less than a first brightness threshold; and determining to provide lighting for the user holding the user terminal device.
可以看出,在本实施方式中,在环境亮度小于第一亮度阈值的情况下,才允许为用户提供照明,而不是直接为用户提供照明,避免光能源浪费。It can be seen that in this embodiment, only when the ambient brightness is less than the first brightness threshold, the user is allowed to provide illumination instead of directly providing the user with illumination, so as to avoid the waste of light energy.
在一些可能的实施方式中,所述方法还包括:根据环境亮度确定为持有所述用户端设备的用户提供照明的灯光亮度。In some possible implementation manners, the method further includes: determining, according to the environmental brightness, the brightness of the light that provides illumination for the user holding the user-end device.
可以看出,在本实施方式中,根据环境亮度确定提供照明的灯光亮度,从而使照明亮度与环境亮度匹配,提高灯光控制系统的智能化程度。It can be seen that, in this embodiment, the brightness of the light provided for illumination is determined according to the brightness of the environment, so that the brightness of the illumination is matched with the brightness of the environment, and the intelligence of the lighting control system is improved.
第二方面,本申请实施例提供一种车灯控制装置,包括:In a second aspect, an embodiment of the present application provides a vehicle light control device, including:
收发模块,用于接收用户端设备发送的第一请求消息,所述第一请求消息用于请求第一车辆为持有所述用户端设备的用户提供照明,所述第一请求消息包括第一位置信息;The transceiver module is configured to receive a first request message sent by a user-end device, the first request message is used to request a first vehicle to provide lighting for a user holding the user-end device, and the first request message includes a first location information;
处理模块,用于根据所述第一位置信息确定用户相对于所述第一车辆的第一相对距离 和第一相对方向;A processing module, configured to determine a first relative distance and a first relative direction of the user with respect to the first vehicle according to the first location information;
所述处理模块,还用于根据所述第一相对距离和所述第一相对方向确定为持有所述用户端设备的用户提供照明;The processing module is further configured to determine, according to the first relative distance and the first relative direction, to provide lighting for the user holding the user equipment;
所述处理模块,还用于根据所述第一相对距离确定为持有所述用户端设备的用户提供照明的灯光类型;The processing module is further configured to determine a light type to provide illumination for the user holding the user terminal device according to the first relative distance;
所述处理模块,还用于根据所述第一相对方向确定为持有所述用户端设备的用户提供照明的灯光角度。The processing module is further configured to determine, according to the first relative direction, a light angle that provides illumination for the user holding the user-end device.
在一些可能的实施方式中,在根据所述第一相对距离和所述第一相对方向确定为持有所述用户端设备的用户提供照明方面,所述处理模块,具体用于:In some possible implementation manners, in terms of determining to provide lighting for the user holding the user-end device according to the first relative distance and the first relative direction, the processing module is specifically configured to:
确定所述第一相对距离大于第一距离阈值且小于第二距离阈值;Determining that the first relative distance is greater than a first distance threshold and less than a second distance threshold;
确定所述第一相对方向大于第一角度阈值且小于第二角度阈值;Determining that the first relative direction is greater than a first angle threshold and less than a second angle threshold;
确定为持有所述用户端设备的用户提供照明。It is determined to provide lighting for the user holding the user equipment.
在一些可能的实施方式中,所述第一请求消息还包括用户标识信息,所述处理模块,还用于根据所述用户标识信息确定为持有所述用户端设备的用户提供照明。In some possible implementation manners, the first request message further includes user identification information, and the processing module is further configured to determine, according to the user identification information, to provide lighting for the user holding the user terminal device.
在一些可能的实施方式中,所述处理模块,还用于根据环境亮度确定为持有所述用户端设备的用户提供照明。In some possible implementation manners, the processing module is further configured to determine according to the ambient brightness to provide lighting for the user holding the user terminal device.
在一些可能的实施方式中,所述处理模块,还用于根据环境亮度确定为持有所述用户端设备的用户提供照明的灯光亮度。In some possible implementation manners, the processing module is further configured to determine, according to the environmental brightness, the brightness of the light that provides illumination for the user holding the user-end device.
第三方面,本申请实施例提供一种车灯控制方法,应用于用户端设备,包括:In a third aspect, an embodiment of the present application provides a method for controlling vehicle lights, which is applied to user equipment, including:
向第一车辆发送第一请求消息,所述第一请求消息用于请求所述第一车辆为持有所述用户端设备的用户提供照明,所述第一请求消息包括第一位置信息,所述第一位置信息用于确定用户相对于所述第一车辆的第一相对距离和第一相对方向。Send a first request message to the first vehicle, the first request message is used to request the first vehicle to provide lighting for the user holding the user equipment, the first request message includes first location information, and The first position information is used to determine a first relative distance and a first relative direction of the user with respect to the first vehicle.
可以看出,在本实施例中,根据第一位置信息,确定出用户与第一车辆的第一相对距离和第一相对方向,从而根据该第一相对距离和第一相对方向确定为用户提供照明,提高了车灯控制系统的智能化程度,避免光污染和光能源的浪费,提高了用户体验。It can be seen that in this embodiment, the first relative distance and the first relative direction between the user and the first vehicle are determined according to the first location information, and the first relative distance and the first relative direction are determined to provide the user with Lighting improves the intelligence of the car light control system, avoids light pollution and waste of light energy, and improves user experience.
第四方面,本申请实施例提供一种车灯控制装置,包括:发送模块,用于向第一车辆发送第一请求消息,所述第一请求消息用于请求所述第一车辆为持有所述用户端设备的用户提供照明,所述第一请求消息包括第一位置信息,所述第一位置信息用于确定用户相对于所述第一车辆的第一相对距离和第一相对方向。In a fourth aspect, an embodiment of the present application provides a vehicle light control device, including: a sending module, configured to send a first request message to a first vehicle, and the first request message is used to request the first vehicle to hold The user of the user terminal device provides lighting, and the first request message includes first position information, and the first position information is used to determine a first relative distance and a first relative direction of the user with respect to the first vehicle.
第五方面,本申请实施例提供一种车灯控制装置,包括处理器,所述处理器与存储器相连,所述存储器用于存储计算机程序,所述处理器用于执行所述存储器中存储的计算机程序,以使得所述装置执行如上述第一方面或第三方面中任一实施例所述的方法。In a fifth aspect, an embodiment of the present application provides a vehicle light control device, including a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer stored in the memory A program to make the device execute the method described in any one of the above-mentioned first aspect or third aspect.
第六方面,本申请实施例提供一种车灯控制装置,包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于执行所述存储器中存储的计算机程序,以使得所述装置执行如上述第一方面或第三方面中任一实施例所述的方法。In a sixth aspect, an embodiment of the present application provides a vehicle light control device, including a processor and a memory, where the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the The device executes the method described in any one of the above-mentioned first aspect or third aspect.
第七方面,本申请实施例提供一种车灯控制装置,包括处理器和通信接口,所述处理器用于执行计算机程序,以使得所述装置执行如上述第一方面或第三方面中任一实施例所述的方法。In a seventh aspect, an embodiment of the present application provides a vehicle light control device, including a processor and a communication interface, and the processor is configured to execute a computer program so that the device executes any one of the first aspect or the third aspect described above. The method described in the embodiment.
本申请实施例的车灯控制装置为用户侧的车灯控制装置时,所述车灯控制装置包括但不限于移动终端、移动终端内的部件、芯片或子系统。When the vehicle light control device of the embodiment of the present application is a user-side vehicle light control device, the vehicle light control device includes, but is not limited to, a mobile terminal, components, chips, or subsystems in the mobile terminal.
本申请实施例的车灯控制装置为车辆侧的车灯控制装置时,所述车灯控制装置包括但不限于车辆自身、设置于车辆内的车载装置、车辆内的部件、芯片或子系统。When the vehicle light control device in the embodiment of the present application is a vehicle light control device, the vehicle light control device includes but is not limited to the vehicle itself, an on-board device installed in the vehicle, components, chips, or subsystems in the vehicle.
第八方面,本申请实施例提供一种芯片,其特征在于,包括处理器和接口;In an eighth aspect, an embodiment of the present application provides a chip, which is characterized in that it includes a processor and an interface;
所述处理器用于读取指令以执如上述第一方面或第三方面中任一实施例所述的方法。The processor is configured to read instructions to execute the method described in any one of the above-mentioned first aspect or third aspect.
第九方面,本申请实施例提供一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,当所述计算机程序被运行时,实现如上述第一方面或第三方面中任一实施例所述的方法。In a ninth aspect, an embodiment of the present application provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and when the computer program is run, it implements the first aspect or the first aspect described above. The method described in any one of the three aspects.
第十方面,本申请实施例提供一种计算机程序产品,所述计算机程序产品包括指令,当所述指令被运行时,实现如上述第一方面或第三方面中任一实施例所述的方法。In a tenth aspect, an embodiment of the present application provides a computer program product, the computer program product includes instructions, and when the instructions are executed, the method as described in any one of the first aspect or the third aspect is implemented .
附图说明Description of the drawings
图1为本申请实施例提供的一种车灯控制系统的示意图;FIG. 1 is a schematic diagram of a vehicle light control system provided by an embodiment of the application;
图2为本申请实施例提供的一种车灯控制方法的流程示意图;2 is a schematic flowchart of a method for controlling vehicle lights according to an embodiment of the application;
图3为本申请实施例提供的另一种车灯控制方法的流程示意图;3 is a schematic flowchart of another vehicle lamp control method provided by an embodiment of the application;
图4为本申请实施例提供的一种车灯控制装置的结构示意图;4 is a schematic structural diagram of a vehicle light control device provided by an embodiment of the application;
图5为本申请实施例提供的另一种车灯控制装置的结构示意图。Fig. 5 is a schematic structural diagram of another vehicle light control device provided by an embodiment of the application.
具体实施方式Detailed ways
本申请实施例涉及的用户端设备,例如,可以为用户设备(User Equipment,UE)。该UE可以为向用户提供语音和/或数据连通性的设备,例如可以包括具有无线连接功能的手持式设备、或连接到无线调制解调器的处理设备。UE可以包括无线用户设备、移动用户设备、设备到设备通信(device-to-device,D2D)用户设备、车到一切(vehicle-to-everything,V2X)用户设备、机器到机器/机器类通信(machine-to-machine/machine-type communications,M2M/MTC)用户设备、物联网(internet of things,IoT)用户设备、订户单元(subscriber unit)、订户站(subscriber station),移动站(mobile station)、远程站(remote station)、接入点(access point,AP)、远程终端(remote terminal)、接入终端(access terminal)、用户终端(user terminal)、用户代理(user agent)、或用户装备(user device)等。例如,可以包括移动电话(或称为“蜂窝”电话),具有移动用户设备的计算机,便携式、袖珍式、手持式、计算机内置的移动装置等。例如,个人通信业务(personal communication service,PCS)电话、无绳电话、会话发起协议(session initiation protocol,SIP)话机、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、等设备。还包括受限设备,例如功耗较低的设备,或存储能力有限的设备,或计算能力有限的设备等。例如包括条码、射频识别(radio frequency identification,RFID)、传感器、全球定位系统(global positioning system,GPS)、激光扫描器等信息传感设备。The user-end equipment involved in the embodiments of the present application, for example, may be User Equipment (UE). The UE may be a device that provides voice and/or data connectivity to the user. For example, it may include a handheld device with a wireless connection function or a processing device connected to a wireless modem. UE can include wireless user equipment, mobile user equipment, device-to-device (D2D) user equipment, vehicle-to-everything (V2X) user equipment, machine-to-machine/machine-type communication ( machine-to-machine/machine-type communications, M2M/MTC) user equipment, Internet of things (IoT) user equipment, subscriber unit (subscriber unit), subscriber station (subscriber station), mobile station (mobile station) , Remote station (remote station), access point (access point, AP), remote terminal (remote terminal), access terminal (access terminal), user terminal (user terminal), user agent (user agent), or user equipment (user device) and so on. For example, it may include mobile phones (or "cellular" phones), computers with mobile user equipment, portable, pocket-sized, hand-held, mobile devices built into computers, and the like. For example, personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants, PDA), and other equipment. It also includes restricted devices, such as devices with low power consumption, or devices with limited storage capabilities, or devices with limited computing capabilities. Examples include barcodes, radio frequency identification (RFID), sensors, global positioning system (GPS), laser scanners and other information sensing equipment.
作为示例而非限定,在本申请实施例中,该UE还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备或智能穿戴式设备等,是应用穿戴式技术对日常穿戴进行智能化 设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能头盔、智能首饰等。As an example and not a limitation, in the embodiment of the present application, the UE may also be a wearable device. Wearable devices can also be called wearable smart devices or smart wearable devices, etc. It is a general term for using wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes Wait. A wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. Wearable devices are not only a kind of hardware device, but also realize powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include full-featured, large-sized, complete or partial functions that can be achieved without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, and need to cooperate with other devices such as smart phones. Use, such as all kinds of smart bracelets, smart helmets, smart jewelry, etc. for physical sign monitoring.
而如上介绍的各种UE,如果位于车辆上(例如放置在车辆内或安装在车辆内),都可以认为是车载用户设备,例如,车钥匙;再如,车载用户设备也称为车载单元(on-board unit,OBU),本申请实施例对此不作限定。And the various UEs introduced above, if they are located on the vehicle (for example, placed in the vehicle or installed in the vehicle), they can all be considered as vehicle-mounted user equipment, such as a car key; for another example, the vehicle-mounted user equipment is also called a vehicle-mounted unit ( On-board unit, OBU), this embodiment of the application does not limit this.
参阅图1,图1为本申请实施例提供的一种车灯控制系统的示意图。灯光控制系统10包括用户端设备100和车端设备200。Refer to FIG. 1, which is a schematic diagram of a vehicle light control system provided by an embodiment of the application. The lighting control system 10 includes a user terminal device 100 and a vehicle terminal device 200.
基于图1所示的车灯控制系统,用户端设备100向车端设备200发送第一请求信息,其中,该第一请求信息用于请求第一车辆为持有用户端设备100的用户提供照明,该第一请求信息包括第一位置信息;车端设备200根据该第一位置信息确定该用户相对于该第一车辆的第一相对距离和第一相对方向,并根据该第一相对距离和该第一相对方向确定为持有该用户端设备100的用户提供照明,即允许为该用户提供照明;然后,根据该第一相对距离确定为持有用户终端100的用户提供照明的灯光类型;以及根据该第一相对方向确定为持有用户终端100的用户提供照明的灯光角度。Based on the vehicle light control system shown in FIG. 1, the user-end device 100 sends first request information to the vehicle-end device 200, where the first request information is used to request the first vehicle to provide lighting for the user holding the user-end device 100 , The first request information includes first location information; the vehicle-end device 200 determines the first relative distance and the first relative direction of the user relative to the first vehicle according to the first location information, and according to the first relative distance and The first relative direction is determined to provide illumination for the user holding the user terminal device 100, that is, the user is allowed to provide illumination; then, according to the first relative distance, the light type for providing illumination for the user holding the user terminal 100 is determined; And according to the first relative direction, the light angle for providing illumination for the user holding the user terminal 100 is determined.
可以看出,在本实施例中,车端设备200根据用户的第一位置信息,确定出用户与第一车辆的第一相对距离和第一相对方向,从而根据该第一相对距离和第一相对方向确定为用户提供照明,并在为用户提供照明时,根据该第一相对距离确定灯光类型,根据第一相对方向确定灯光角度。由于,在控制车灯为用户提供照明的情况下,根据用户与车辆的相对距离和相对方向分别确定灯光类型和灯光角度,不是单纯的开启车大灯以及近光灯,从而增加了开启车灯的多样性,使为用户提供照明的车灯以及该车灯的灯光类型符合用户的实际需求,提高了车灯控制系统的智能化程度,避免光污染和光能源的浪费。It can be seen that, in this embodiment, the car-end device 200 determines the first relative distance and the first relative direction between the user and the first vehicle according to the user's first position information, so that the first relative distance and the first relative direction are determined according to the first relative distance and the first relative direction. The relative direction is determined to provide illumination for the user, and when providing illumination for the user, the light type is determined according to the first relative distance, and the light angle is determined according to the first relative direction. Because, in the case of controlling the car lights to provide illumination for the user, the light type and the light angle are determined according to the relative distance and relative direction of the user and the vehicle, instead of simply turning on the headlights and low beam lights, thereby increasing the turning on of the lights The diversity of the vehicle lights to provide users with lighting and the light type of the vehicle lights meet the actual needs of users, improve the degree of intelligence of the vehicle light control system, and avoid light pollution and waste of light energy.
参阅图2,图2为本申请实施例提供的一种车灯控制方法的流程示意图。该方法包括但不限于以下步骤:Refer to FIG. 2, which is a schematic flowchart of a method for controlling vehicle lights according to an embodiment of the application. The method includes but is not limited to the following steps:
201:用户端设备向车端设备发送第一请求消息,该第一请求消息用于请求第一车辆为持有该用户终端的用户提供照明,该第一请求消息包括第一位置信息。201: The user-end device sends a first request message to the vehicle-end device, where the first request message is used to request the first vehicle to provide lighting for a user holding the user terminal, and the first request message includes first location information.
其中,该车端设备为该第一车辆的车端设备,该第一位置信息为持有该用户终端的用户发送该第一请求消息时的地理位置,该地理位置可通过该用户终端的定位模块获取。Wherein, the vehicle-end device is the vehicle-end device of the first vehicle, the first location information is the geographic location when the user holding the user terminal sends the first request message, and the geographic location can be determined by the positioning of the user terminal Module acquisition.
其中,该用户端设备可以为常见的用户设备,例如,手机,也可以是车钥匙,等等。Among them, the user terminal device may be a common user device, such as a mobile phone, or a car key, and so on.
在用户端设备为常见的用户设备的情况下,由于用户设备已有定位模块和通信模块,则可以通过已有的定位模块获取第一位置信息,并通过已有的通信模块向车端设备发送第一请求信息;在用户端设备为车钥匙的情况下,该车钥匙相比现有的车钥匙,新增了通信模块和定位模块。因此,车钥匙可以通过新增的定位模块获取第一位置信息,并通过新增的通信模块向车端设备发送第一请求信息。In the case that the user equipment is a common user equipment, since the user equipment already has a positioning module and a communication module, the first position information can be obtained through the existing positioning module, and sent to the vehicle equipment through the existing communication module The first request information; in the case that the user terminal device is a car key, the car key has a communication module and a positioning module added to the existing car key. Therefore, the vehicle key can obtain the first location information through the newly added positioning module, and send the first request information to the vehicle terminal device through the newly added communication module.
202:车端设备根据第一位置信息确定用户相对于第一车辆的第一相对距离和第一相对方向。202: The vehicle terminal device determines the first relative distance and the first relative direction of the user with respect to the first vehicle according to the first location information.
示例性的,车端设备通过自身的定位模块获取第一车辆的位置信息,根据该位置信息和第一位置信息确定用户相对于第一车辆的第一相对距离。车端设备可以以自身所在的地理位置为坐标原点,车头方向为X轴正方向建立坐标系,然后,将该第一位置信息投影在该坐标系中确定用户相对第一车辆的第一相对方向。Exemplarily, the vehicle terminal device obtains the location information of the first vehicle through its own positioning module, and determines the first relative distance of the user with respect to the first vehicle according to the location information and the first location information. The car-end device can establish a coordinate system with its own geographic location as the origin of coordinates, and the direction of the head of the car as the positive direction of the X-axis, and then project the first position information in the coordinate system to determine the first relative direction of the user relative to the first vehicle .
203:车端设备根据第一相对距离和第一相对方向确定为持有所述用户端设备的用户提供照明。203: The vehicle terminal device determines to provide lighting for the user holding the user terminal device according to the first relative distance and the first relative direction.
在确定该第一相对距离大于第一距离阈值且小于第二距离阈值,且该第一相对方向大于第一角度阈值且小于第二角度阈值的情况下,车端设备确定为持有所述用户端设备的用户提供照明,即允许开启车灯为持有所述用户端设备的用户提供照明。In the case where it is determined that the first relative distance is greater than the first distance threshold and less than the second distance threshold, and the first relative direction is greater than the first angle threshold and less than the second angle threshold, the vehicle-end device determines that the user is in possession of the user The user of the end device provides lighting, that is, it is allowed to turn on the car lights to provide lighting for the user holding the user end device.
需要说明,若该第一相对距离不在第一距离阈值和第二距离阈值之间,即该第一相对距离小于该第一距离阈值或者大于该第二距离阈值,即用户与该第一车辆的相对距离过远或者过近的情况下,确定不为该用户端设备的用户提供照明。可以理解,若在发送该第一请求消息之前,已为持有该用户端设备的用户提供照明,则在无需为持有所述用户端设备的用户提供照明的情况下,关闭发送第一请求消息之前已开启的为用户提供照明的车灯。It should be noted that if the first relative distance is not between the first distance threshold and the second distance threshold, that is, the first relative distance is less than the first distance threshold or greater than the second distance threshold, that is, the distance between the user and the first vehicle When the relative distance is too far or too close, it is determined not to provide lighting for the user of the user-end device. It can be understood that if lighting has been provided for the user holding the user-end device before sending the first request message, the first request is turned off when the user holding the user-end device does not need to provide lighting The lights that have been turned on before the news to provide users with lighting.
204:车端设备根据所述第一相对距离确定为持有所述用户端设备的用户提供照明的灯光类型。204: The vehicle-end device determines, according to the first relative distance, a light type that provides illumination for the user holding the user-end device.
车端设备根据相对距离与车灯类型的对应关系,以及该第一相对距离确定为持有所述用户端设备的用户提供照明的灯光类型。The vehicle-end device determines the light type that provides illumination for the user holding the user-end device according to the corresponding relationship between the relative distance and the type of the vehicle lamp, and the first relative distance.
示例性的,在该第一相对距离大于第三距离阈值且小于第二距离阈值的情况下,即用户与该第一车辆的相对距离较远的情况下,则确定为持有该用户终端设备的用户提供照明的灯光类型为远光灯;在该第一相对距离大于第一阈值,且小于该第三阈值的情况下,即用户与该第一车辆的相对距离较近的情况下,则确定为持有该用户终端设备的用户提供照明的灯光类型为近光灯。Exemplarily, in the case where the first relative distance is greater than the third distance threshold and less than the second distance threshold, that is, in the case where the relative distance between the user and the first vehicle is relatively long, it is determined to hold the user terminal device The type of light provided by the user for illumination is high beam; when the first relative distance is greater than the first threshold and less than the third threshold, that is, when the relative distance between the user and the first vehicle is relatively short, then The type of light that is determined to provide illumination for the user holding the user terminal device is a low beam.
205:车端设备根据所述第一相对方向确定为持有所述用户端设备的用户提供照明的灯光角度。205: The vehicle-end device determines, according to the first relative direction, a light angle that provides illumination for the user holding the user-end device.
车端设备根据相对方向与灯光角度的对应关系,以及该第一相对方向确定为持有所述用户端设备的用户提供照明的灯光角度。即根据该第一相对方向确定目标车灯,该目标车灯包括车前灯、车后灯、左侧车灯和右侧车灯。The vehicle-end device determines the light angle for the user who holds the user-end device to provide illumination according to the corresponding relationship between the relative direction and the light angle, and the first relative direction. That is, the target vehicle light is determined according to the first relative direction, and the target vehicle light includes a front light, a rear light, a left side light, and a right side light.
示例性的,在该第一相对方向为前方的情况下,则确定为持有用户终端的用户提供照明的目标车灯为车前灯;在该第一相对方向为后方的情况下,则确定为持有用户终端的用户提供照明的目标车灯为车后灯;在该第一相对方向左侧方的情况下,则确定为持有用户终端的用户提供照明的目标车灯为左侧车灯;在该第一相对方向右侧方的情况下,则确定为持有用户终端的用户提供照明的目标车灯为右侧车灯。Exemplarily, in the case that the first relative direction is forward, it is determined that the target vehicle light provided with illumination for the user holding the user terminal is the headlight; when the first relative direction is the rear, it is determined The target vehicle lamp that provides illumination for the user holding the user terminal is the rear light; in the case of the left side of the first relative direction, the target vehicle lamp that provides illumination for the user holding the user terminal is determined to be the left vehicle Light; In the case of the right side of the first relative direction, it is determined that the target vehicle light for the user who holds the user terminal to provide illumination is the right vehicle light.
车端设备按照确定出的灯光类型控制目标车灯为持有用户终端的用户提供照明。The vehicle-end equipment controls the target vehicle light according to the determined light type to provide illumination for the user holding the user terminal.
需要说明,若当前确定出的目标车灯本身就处于开启状态,则只需确定该目标车灯当前开起的灯光类型与确定出的灯光类型是否一致,若不一致,则只需将该目标车灯的灯光 类型切换为该确定出的灯光类型,若一致,则只需继续保持该目标车灯当前的开启状态。It should be noted that if the currently determined target vehicle light itself is in the on state, it is only necessary to determine whether the currently turned on light type of the target vehicle light is consistent with the determined light type. The light type of the lamp is switched to the determined light type. If it is the same, it is only necessary to continue to maintain the current on state of the target vehicle light.
可以看出,在本实施方式中,车端设备根据用户的第一位置信息,确定出用户与第一车辆的第一相对距离和第一相对方向,从而根据该第一相对距离和第一相对方向确定为用户提供照明,并在为用户提供照明时,根据该第一相对距离确定灯光类型,根据第一相对方向确定灯光角度。由于,在控制车灯为用户提供照明的情况下,根据用户与车辆的相对距离和相对方向分别确定灯光类型和灯光角度,而不是单纯的开启车大灯以及开启近光灯,从而增加了开启车灯的多样性,使为用户提供照明的车灯以及该车灯的灯光类型符合用户的实际需求,提高了车灯控制系统的智能化程度,避免光污染和光能源的浪费。It can be seen that, in this embodiment, the vehicle-end device determines the first relative distance and the first relative direction between the user and the first vehicle according to the user's first position information, so that the first relative distance and the first relative direction are determined according to the first relative distance and the first relative direction. The direction is determined to provide illumination for the user, and when providing illumination for the user, the light type is determined according to the first relative distance, and the light angle is determined according to the first relative direction. Because, in the case of controlling the car lights to provide illumination for the user, the light type and the light angle are determined according to the relative distance and relative direction of the user and the vehicle, instead of simply turning on the headlights and turning on the low beam, thus increasing the opening The diversity of car lights makes the car lights that provide users with lighting and the light type of the car lights meet the actual needs of users, improves the intelligence of the car light control system, and avoids light pollution and waste of light energy.
在一些可能的实施方式中,该第一请求消息还包括用户标识信息,车端设备还可根据该用户标识信息确定为持有所述用户端设备的用户提供照明。即根据该用户标识信息为持有该用户端设备的用户进行身份验证,若通过身份验证,则确定为持有所述用户端设备的用户提供照明,若未通过验证,则忽略该用户端设备发送的第一请求信息。通过用户标识信息对用户端设备进行身份验证,避免一些不合法用户开启车灯。In some possible implementation manners, the first request message further includes user identification information, and the vehicle terminal device may also determine, according to the user identification information, to provide lighting for the user holding the user terminal device. That is, perform identity verification for the user holding the client device according to the user identification information. If the identity verification is passed, it is determined to provide lighting for the user holding the client device, and if the verification is not passed, the client device is ignored. The first request message sent. User identification information is used to verify the identity of the user terminal device to prevent some illegal users from turning on the lights.
示例性的,该用户标识信息可以为该用户终端的国际移动设备识别码(International Mobile Equipment Identity,IMEI)。Exemplarily, the user identification information may be the International Mobile Equipment Identity (IMEI) of the user terminal.
在一些可能的实施方式中,车端设备还可根据环境亮度确定为持有该用户端设备的用户提供照明。即获取当前的环境亮度,在当前的环境亮度小于第一亮度阈值的情况下,即当前的环境亮度较暗的情况下,确定为持有该用户端设备的用户提供照明。此外,在当前的环境亮度大于第一亮度阈值的情况下,则确定不为持有该用户端设备的用户提供照明。同样,若在获取当前的环境亮度之前,已为持有该用户端设备的用户提供照明,则需要关闭之前为该用户提供照明已开启的车灯。根据环境亮度判断是否需要提供照明,以免在环境亮度较亮的情况下开启车灯,避免光能源的浪费,提高提供照明的智能化程度。In some possible implementation manners, the vehicle-end device may also determine to provide lighting for the user holding the user-end device according to the brightness of the environment. That is, the current environment brightness is acquired, and when the current environment brightness is less than the first brightness threshold, that is, when the current environment brightness is relatively dark, it is determined to provide lighting for the user holding the client device. In addition, in a case where the current environmental brightness is greater than the first brightness threshold, it is determined not to provide lighting for the user holding the client device. Similarly, if the user holding the user-end device has been provided with lighting before the current ambient brightness is obtained, the vehicle lights that have been turned on for the user need to be turned off. According to the environmental brightness, it is judged whether it is necessary to provide lighting, so as to avoid turning on the car lights when the environmental brightness is bright, to avoid the waste of light energy, and to improve the intelligence of lighting.
在一些可能的实施方式中,该方法还包括:车端设备根据环境亮度确定为持有该用户端设备的用户提供照明的灯光亮度。In some possible implementation manners, the method further includes: the vehicle-end device determines, according to the ambient brightness, the brightness of the light that provides illumination for the user holding the user-end device.
车端设备根据环境亮度与灯光亮度的对应关系,以及该环境亮度确定为用户提供照明的灯光亮度。The car-end equipment determines the light brightness to provide illumination for the user according to the corresponding relationship between the ambient brightness and the light brightness, and the ambient brightness.
示例性的,在环境亮度大于第二亮度阈值且小于第一亮度阈值的情况下,确定灯光亮度为a(cd/m 2);在环境亮度大于第三亮度阈值且小于第二亮度阈值的情况下,确定灯光亮度为b(cd/m 2),其中,a<b。 Exemplarily, when the ambient brightness is greater than the second brightness threshold and less than the first brightness threshold, determine the light brightness as a(cd/m 2 ); in the case where the ambient brightness is greater than the third brightness threshold and less than the second brightness threshold Next, determine the brightness of the light as b(cd/m 2 ), where a<b.
在一些可能的实施方式中,该方法还包括:若在预设时间段后未接收到用户端发送的请求消息,该请求消息用于请求为持有该用户端设备的用户提供照明,则关闭之前为该用户提供照明已开启的车灯。在长时间未接收到用户端发送的请求消息的情况下,自动关闭车灯,不再为用户提供照明,避免灯光资源的浪费。In some possible implementation manners, the method further includes: if a request message sent by the user terminal is not received after a preset period of time, the request message is used to request to provide lighting for the user holding the user terminal device, then turning off Previously, the user was provided with lights with the lighting turned on. In the case that the request message sent by the user is not received for a long time, the car lights are automatically turned off, and no lighting is provided for the user, so as to avoid the waste of lighting resources.
在一些可能的实施方式中,该方法还包括:车端设备接收用户端设备发送的关闭指令,关闭指令用于请求车端设备关闭已开启的车灯,车端设备根据该关闭指令关闭已开启的车灯。例如,用户通过车钥匙车灯关闭按键,向车端设备发送关闭指令。从而实现无需提供照明的情况下,主动关闭车灯,提高车灯控制系统的智能程度。In some possible implementation manners, the method further includes: the vehicle-end device receives a shutdown instruction sent by the user-end device, the shutdown instruction is used to request the vehicle-end device to turn off the lights that have been turned on, and the vehicle-end device turns off the turned-on lights according to the shutdown instruction Headlights. For example, the user sends a turn-off instruction to the car-end device through the turn-off button of the car key and car lights. In this way, it is possible to actively turn off the car lights without providing lighting, and to improve the intelligence of the car light control system.
此外,在实际应用中,用户端设备可以不用和车端设备进行信息交互。In addition, in practical applications, the user equipment may not need to interact with the vehicle equipment.
示例性的,用户端设备可以将上述第一请求信息发送给服务器,该第一请求信息还包括车辆标识,例如,车牌号。服务器根据第一请求信息确定出灯光类型和灯光角度,然后,向车端设备发送照明指令,通过该照明指令指示与该车辆标识的车端设备按照该灯光类型和灯光角度为持有该用户端设备的用户提供照明。Exemplarily, the user terminal device may send the above-mentioned first request information to the server, and the first request information further includes a vehicle identification, for example, a license plate number. The server determines the light type and light angle according to the first request information, and then sends a lighting instruction to the vehicle-end device, and the vehicle-end device with the vehicle identification is instructed by the lighting instruction to hold the user end according to the light type and light angle. The user of the device provides lighting.
参阅图3,图3为本申请实施例提供的另一种车灯控制方法的流程示意图,在本实施例中车端设备包括环境亮度检测模块、收发模块、处理模块和灯光模块。本实施例与图2所示的实施例相同的内容,在此不再重复描述。该方法包括但不限于以下步骤:Referring to FIG. 3, FIG. 3 is a schematic flowchart of another vehicle light control method provided by an embodiment of the application. In this embodiment, the vehicle-end device includes an environment brightness detection module, a transceiver module, a processing module, and a lighting module. The content of this embodiment is the same as that of the embodiment shown in FIG. 2, and the description will not be repeated here. The method includes but is not limited to the following steps:
301:用户端设备向车端设备的收发模块发送第一请求消息,其中,该第一请求消息用于请求第一车辆为持有所述用户端设备的用户提供照明,该第一请求消息包括第一位置信息和用户标识信息。301: The user-end device sends a first request message to the transceiver module of the vehicle-end device, where the first request message is used to request the first vehicle to provide lighting for the user holding the user-end device, and the first request message includes The first location information and user identification information.
302:处理模块根据用户标识信息对用户端设备进行身份校验,确定校验通过。302: The processing module performs identity verification on the user terminal device according to the user identification information, and determines that the verification is passed.
303:亮度检测模块向处理模块发送环境亮度。303: The brightness detection module sends the environment brightness to the processing module.
304:处理模块确定环境亮度小于第一亮度阈值。304: The processing module determines that the environmental brightness is less than the first brightness threshold.
305:处理模块根据第一位置信息确定用户相对于第一车辆的第一相对距离和第一相对方向。305: The processing module determines the first relative distance and the first relative direction of the user with respect to the first vehicle according to the first location information.
306:处理模块根据第一相对距离和第一相对方向确定为持有用户端设备的用户提供照明。306: The processing module determines, according to the first relative distance and the first relative direction, to provide lighting for the user holding the client device.
307:处理模块根据第一相对距离确定为持有用户端设备的用户提供照明的灯光类型。307: The processing module determines, according to the first relative distance, a light type to provide illumination for the user holding the user-end device.
308:处理模块根据第一相对方向确定为持有用户端设备的用户提供照明的灯光角度。308: The processing module determines, according to the first relative direction, a light angle that provides illumination for the user holding the user-end device.
309:处理模块向灯光模块发送照明指令,所述照明指令用于指示灯光模块按照该灯光类型和该灯光角度为持有用户端设备的用户提供照明。309: The processing module sends an illumination instruction to the light module, where the illumination instruction is used for the indicator light module to provide illumination for the user holding the user terminal device according to the light type and the light angle.
310:灯光模块按照该灯光类型和该灯光角度为持有用户端设备的用户提供照明。310: The lighting module provides lighting for the user holding the client device according to the lighting type and the lighting angle.
可以看出,在本实施方式中,根据用户的第一位置信息,确定出用户与第一车辆的第一相对距离和第一相对方向,从而根据该第一相对距离和第一相对方向确定为用户提供照明,并在为用户提供照明时,根据该第一相对距离确定灯光类型,根据第一相对反向确定灯光角度。由于,在控制车灯为用户提供照明的情况下,根据用户与车辆的相对距离和相对方向分别确定灯光类型和灯光角度,而不是单纯的开启车大灯以及开启近光灯,从而增加了开启车灯的多样性,使为用户提供照明的车灯以及该车灯的灯光类型符合用户的实际需求,提高了车灯控制系统的智能化程度,避免光污染和光能源的浪费。另外,在为用户提供照明前,先进行身份验证以及环境亮度的验证,从而提高为用户提供照明的准确度。It can be seen that, in this embodiment, the first relative distance and the first relative direction between the user and the first vehicle are determined according to the user's first position information, and the first relative distance and the first relative direction are determined as The user provides illumination, and when providing illumination for the user, the light type is determined according to the first relative distance, and the light angle is determined according to the first relative reverse. Because, in the case of controlling the car lights to provide illumination for the user, the light type and the light angle are determined according to the relative distance and relative direction of the user and the vehicle, instead of simply turning on the headlights and turning on the low beam, thus increasing the opening The diversity of car lights makes the car lights that provide users with lighting and the light type of the car lights meet the actual needs of users, improves the intelligence of the car light control system, and avoids light pollution and waste of light energy. In addition, before providing users with lighting, first perform identity verification and environmental brightness verification, thereby improving the accuracy of lighting for users.
参阅图4,图4为本申请实施例提供的一种车灯控制装置的结构示意图。车灯控制装置400包括收发模块401和处理模块402;其中:Referring to FIG. 4, FIG. 4 is a schematic structural diagram of a vehicle light control device provided by an embodiment of the application. The vehicle light control device 400 includes a transceiver module 401 and a processing module 402; among them:
收发模块401,用于接收用户端设备发送的第一请求消息,所述第一请求消息用于请求第一车辆为持有所述用户端设备的用户提供照明,所述第一请求消息包括第一位置信息;The transceiver module 401 is configured to receive a first request message sent by a user-end device, the first request message is used to request a first vehicle to provide lighting for a user holding the user-end device, and the first request message includes the first request message A location information;
处理模块402,用于根据所述第一位置信息确定用户相对于所述第一车辆的第一相对距离和第一相对方向;The processing module 402 is configured to determine a first relative distance and a first relative direction of the user with respect to the first vehicle according to the first position information;
处理模块402,还用于根据所述第一相对距离和所述第一相对方向确定为持有所述用户端设备的用户提供照明;The processing module 402 is further configured to determine, according to the first relative distance and the first relative direction, to provide lighting for the user holding the user equipment;
处理模块402,还用于根据所述第一相对距离确定为持有所述用户端设备的用户提供照明的灯光类型;The processing module 402 is further configured to determine, according to the first relative distance, a light type to provide illumination for the user holding the user-end device;
处理模块402,还用于根据所述第一相对方向确定为持有所述用户端设备的用户提供照明的灯光角度。The processing module 402 is further configured to determine, according to the first relative direction, a light angle to provide illumination for the user holding the user-end device.
在一些可能的实施方式中,在根据所述第一相对距离和所述第一相对方向确定为持有所述用户端设备的用户提供照明方面,所述处理模块,具体用于:In some possible implementation manners, in terms of determining to provide lighting for the user holding the user-end device according to the first relative distance and the first relative direction, the processing module is specifically configured to:
确定所述第一相对距离大于第一距离阈值且小于第二距离阈值;Determining that the first relative distance is greater than a first distance threshold and less than a second distance threshold;
确定所述第一相对方向大于第一角度阈值且小于第二角度阈值;Determining that the first relative direction is greater than a first angle threshold and less than a second angle threshold;
确定为持有所述用户端设备的用户提供照明。It is determined to provide lighting for the user holding the user equipment.
在一些可能的实施方式中,所述第一请求消息还包括用户标识信息,处理模块402,还用于根据所述用户标识信息确定为持有所述用户端设备的用户提供照明。In some possible implementation manners, the first request message further includes user identification information, and the processing module 402 is further configured to determine, according to the user identification information, to provide lighting for the user holding the user terminal device.
在一些可能的实施方式中,处理模块402,还用于根据环境亮度确定为持有所述用户端设备的用户提供照明。In some possible implementation manners, the processing module 402 is further configured to determine according to the environmental brightness to provide lighting for the user holding the user terminal device.
在一些可能的实施方式中,处理模块402,还用于根据环境亮度确定为持有所述用户端设备的用户提供照明的灯光亮度。In some possible implementation manners, the processing module 402 is further configured to determine, according to the environmental brightness, the brightness of the light that provides illumination for the user holding the user-end device.
以上图4中的各个模块的只一个或多个可以软件、硬件、固件或其结合实现。所述软件或固件包括但不限于计算机程序指令或代码,并可以被硬件处理器所执行。所述硬件包括但不限于各类集成电路,如中央处理单元(CPU)、数字信号处理器(DSP)、现场可编程门阵列(FPGA)或专用集成电路(ASIC)。Only one or more of the modules in FIG. 4 above can be implemented by software, hardware, firmware or a combination thereof. The software or firmware includes but is not limited to computer program instructions or codes, and can be executed by a hardware processor. The hardware includes, but is not limited to, various integrated circuits, such as a central processing unit (CPU), a digital signal processor (DSP), a field programmable gate array (FPGA), or an application specific integrated circuit (ASIC).
参阅图5,图5为本申请实施例提供的另一种车灯控制装置的结构示意图。车灯控制装置500包括存储器501、处理器502和收发器503。它们之间通过总线504连接。存储器501用于存储相关指令和数据,并可与将存储的数据传输给处理器502。Referring to FIG. 5, FIG. 5 is a schematic structural diagram of another vehicle light control device provided by an embodiment of the application. The vehicle light control device 500 includes a memory 501, a processor 502, and a transceiver 503. They are connected by a bus 504 between them. The memory 501 is used to store related instructions and data, and can transmit the stored data to the processor 502.
处理器502用于读取存储器501中的相关指令执行以下操作:The processor 502 is configured to read related instructions in the memory 501 to perform the following operations:
控制收发器503接收用户端设备发送的第一请求消息,所述第一请求消息用于请求第一车辆为持有所述用户端设备的用户提供照明,所述第一请求消息包括第一位置信息;The control transceiver 503 receives a first request message sent by the user-end device, the first request message is used to request the first vehicle to provide lighting for the user holding the user-end device, and the first request message includes the first position information;
根据所述第一位置信息确定用户相对于所述第一车辆的第一相对距离和第一相对方向;Determining a first relative distance and a first relative direction of the user relative to the first vehicle according to the first location information;
根据所述第一相对距离和所述第一相对方向确定为持有所述用户端设备的用户提供照明;Determining, according to the first relative distance and the first relative direction, to provide lighting for the user holding the user equipment;
根据所述第一相对距离确定为持有所述用户端设备的用户提供照明的灯光类型;Determining, according to the first relative distance, a light type to provide illumination for the user holding the user-end device;
根据所述第一相对方向确定为持有所述用户端设备的用户提供照明的灯光角度。Determine, according to the first relative direction, a light angle that provides illumination for the user holding the user terminal device.
具体地,上述处理器502可以为图4所示的实施例的车端设备400的处理模块402,上述收发器503可为图4所述的实施例的车端设备400的收发模块401。Specifically, the foregoing processor 502 may be the processing module 402 of the vehicle-end device 400 in the embodiment shown in FIG. 4, and the foregoing transceiver 503 may be the transceiver module 401 of the vehicle-end device 400 in the embodiment shown in FIG. 4.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处 理器执行时可以实现上述方法实施例提供的车灯控制方法中与车端设备相关的流程。The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, it can realize the process related to the vehicle-end device in the vehicle light control method provided in the foregoing method embodiment.
本申请实施例还提供了一种计算机程序产品,当其在计算机或处理器上运行时,使得计算机或处理器执行上述任一个车灯控制方法中的一个或多个步骤。上述所涉及的设备的各组成模块如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在所述计算机可读取存储介质中。The embodiment of the present application also provides a computer program product, which when running on a computer or a processor, causes the computer or the processor to execute one or more steps in any of the above-mentioned vehicle light control methods. If each component module of the aforementioned equipment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in the computer readable storage medium.
应理解,本申请实施例中提及的处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the processor mentioned in the embodiment of the present application may be a central processing unit (Central Processing Unit, CPU), or may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), and application-specific integrated circuits (Central Processing Unit, CPU). Application Specific Integrated Circuit (ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
还应理解,本申请实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), and electrically available Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be a random access memory (Random Access Memory, RAM), which is used as an external cache. By way of exemplary but not restrictive description, many forms of RAM are available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, DDR SDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), Synchronous Link Dynamic Random Access Memory (Synchlink DRAM, SLDRAM) ) And Direct Rambus RAM (DR RAM).
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)集成在处理器中。It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, the memory (storage module) is integrated in the processor.
应注意,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be noted that the memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.
还应理解,本文中涉及的第一、第二、第三、第四以及各种数字编号仅为描述方便进行的区分,并不用来限制本申请的范围。It should also be understood that the first, second, third, fourth, and various numerical numbers involved in this specification are only for easy distinction for description, and are not used to limit the scope of the present application.
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" in this article is only an association relationship describing the associated objects, which means that there can be three types of relationships, for example, A and/or B, which can mean that A alone exists, and both A and B exist. , There are three cases of B alone. In addition, the character "/" in this text generally indicates that the associated objects before and after are in an "or" relationship.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that in the various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application. The implementation process constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装 置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
本申请实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method in the embodiment of the present application can be adjusted, merged, and deleted in order according to actual needs.
本申请实施例装置中的模块可以根据实际需要进行合并、划分和删减。The modules in the device of the embodiment of the present application may be combined, divided, and deleted according to actual needs.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the embodiments are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims (13)

  1. 一种车灯控制方法,其特征在于,应用于车端设备,包括:A method for controlling vehicle lights, characterized in that it is applied to vehicle-end equipment, and includes:
    接收用户端设备发送的第一请求消息,所述第一请求消息用于请求第一车辆为持有所述用户端设备的用户提供照明,所述第一请求消息包括第一位置信息;Receiving a first request message sent by a user-end device, where the first request message is used to request a first vehicle to provide lighting for a user holding the user-end device, and the first request message includes first location information;
    根据所述第一位置信息确定用户相对于所述第一车辆的第一相对距离和第一相对方向;Determining a first relative distance and a first relative direction of the user relative to the first vehicle according to the first location information;
    根据所述第一相对距离和所述第一相对方向确定为持有所述用户端设备的用户提供照明;Determining, according to the first relative distance and the first relative direction, to provide lighting for the user holding the user equipment;
    根据所述第一相对距离确定为持有所述用户端设备的用户提供照明的灯光类型;Determining, according to the first relative distance, a light type to provide illumination for the user holding the user-end device;
    根据所述第一相对方向确定为持有所述用户端设备的用户提供照明的灯光角度。Determine, according to the first relative direction, a light angle that provides illumination for the user holding the user terminal device.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述第一相对距离和所述第一相对方向确定为持有所述用户端设备的用户提供照明,包括:The method according to claim 1, wherein the determining according to the first relative distance and the first relative direction to provide illumination for a user holding the user-end device comprises:
    确定所述第一相对距离大于第一距离阈值且小于第二距离阈值;Determining that the first relative distance is greater than a first distance threshold and less than a second distance threshold;
    确定所述第一相对方向大于第一角度阈值且小于第二角度阈值;Determining that the first relative direction is greater than a first angle threshold and less than a second angle threshold;
    确定为持有所述用户端设备的用户提供照明。It is determined to provide lighting for the user holding the user equipment.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一请求消息还包括用户标识信息,所述方法还包括:The method according to claim 1 or 2, wherein the first request message further includes user identification information, and the method further includes:
    根据所述用户标识信息确定为持有所述用户端设备的用户提供照明。It is determined according to the user identification information to provide lighting for the user holding the user terminal device.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-3, wherein the method further comprises:
    根据环境亮度确定为持有所述用户端设备的用户提供照明。According to the environmental brightness, it is determined to provide lighting for the user holding the user terminal device.
  5. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-3, wherein the method further comprises:
    根据环境亮度确定为持有所述用户端设备的用户提供照明的灯光亮度。The brightness of the light that provides illumination for the user holding the user-end device is determined according to the brightness of the environment.
  6. 一种车灯控制装置,其特征在于,包括:A vehicle light control device, characterized in that it comprises:
    收发模块,用于接收用户端设备发送的第一请求消息,所述第一请求消息用于请求第一车辆为持有所述用户端设备的用户提供照明,所述第一请求消息包括第一位置信息;The transceiver module is configured to receive a first request message sent by a user-end device, the first request message is used to request a first vehicle to provide lighting for a user holding the user-end device, and the first request message includes a first location information;
    处理模块,用于根据所述第一位置信息确定用户相对于所述第一车辆的第一相对距离和第一相对方向;A processing module, configured to determine a first relative distance and a first relative direction of the user with respect to the first vehicle according to the first location information;
    所述处理模块,还用于根据所述第一相对距离和所述第一相对方向确定为持有所述用户端设备的用户提供照明;The processing module is further configured to determine, according to the first relative distance and the first relative direction, to provide lighting for the user holding the user equipment;
    所述处理模块,还用于根据所述第一相对距离确定为持有所述用户端设备的用户提供照明的灯光类型;The processing module is further configured to determine a light type to provide illumination for the user holding the user terminal device according to the first relative distance;
    所述处理模块,还用于根据所述第一相对方向确定为持有所述用户端设备的用户提供照明的灯光角度。The processing module is further configured to determine, according to the first relative direction, a light angle that provides illumination for the user holding the user-end device.
  7. 根据权利要求6所述的设备,其特征在于,The device according to claim 6, wherein:
    在根据所述第一相对距离和所述第一相对方向确定为持有所述用户端设备的用户提供照明方面,所述处理模块,具体用于:In terms of determining to provide lighting for the user holding the user-end device according to the first relative distance and the first relative direction, the processing module is specifically configured to:
    确定所述第一相对距离大于第一距离阈值且小于第二距离阈值;Determining that the first relative distance is greater than a first distance threshold and less than a second distance threshold;
    确定所述第一相对方向大于第一角度阈值且小于第二角度阈值;Determining that the first relative direction is greater than a first angle threshold and less than a second angle threshold;
    确定为持有所述用户端设备的用户提供照明。It is determined to provide lighting for the user holding the user equipment.
  8. 根据权利要求6或7所述的设备,其特征在于,The device according to claim 6 or 7, characterized in that:
    所述第一请求消息还包括用户标识信息,所述处理模块,还用于根据所述用户标识信息确定为持有所述用户端设备的用户提供照明。The first request message further includes user identification information, and the processing module is further configured to determine, according to the user identification information, to provide lighting for the user holding the user terminal device.
  9. 根据权利要求6-8任一项所述的设备,其特征在于,The device according to any one of claims 6-8, wherein:
    所述处理模块,还用于根据环境亮度确定为持有所述用户端设备的用户提供照明。The processing module is further configured to determine to provide lighting for the user holding the user terminal device according to the environmental brightness.
  10. 根据权利求6-8任一项所述的设备,其特征在于,The device according to any one of claims 6-8, characterized in that:
    所述处理模块,还用于根据环境亮度确定为持有所述用户端设备的用户提供照明的灯光亮度。The processing module is further configured to determine the brightness of the light that provides illumination for the user holding the user-end device according to the brightness of the environment.
  11. 一种车灯控制装置,包括处理器,所述处理器与存储器相连,所述存储器用于存储计算机程序,所述处理器用于执行所述存储器中存储的计算机程序,以使得所述车灯控制装置执行如权利要求1至5中任一项所述的方法。A vehicle light control device includes a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to make the vehicle light control The device executes the method according to any one of claims 1 to 5.
  12. 一种计算机程序产品,其特征在于,所述计算机程序产品在处理器上运行时,使得所述车灯控制装置执行如权利要求1-5任一项所述的方法。A computer program product, characterized in that, when the computer program product runs on a processor, the vehicle light control device executes the method according to any one of claims 1-5.
  13. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在被处理器运行时,使得所述车灯控制装置执行如权利要求1-5任一项所述的方法。A computer storage medium, characterized by comprising computer instructions, when the computer instructions are executed by a processor, cause the vehicle light control device to execute the method according to any one of claims 1-5.
PCT/CN2020/082221 2020-03-30 2020-03-30 Vehicle lamp control method and apparatus WO2021195899A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080005006.1A CN112770937A (en) 2020-03-30 2020-03-30 Vehicle lamp control method and device
PCT/CN2020/082221 WO2021195899A1 (en) 2020-03-30 2020-03-30 Vehicle lamp control method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/082221 WO2021195899A1 (en) 2020-03-30 2020-03-30 Vehicle lamp control method and apparatus

Publications (1)

Publication Number Publication Date
WO2021195899A1 true WO2021195899A1 (en) 2021-10-07

Family

ID=75699478

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/082221 WO2021195899A1 (en) 2020-03-30 2020-03-30 Vehicle lamp control method and apparatus

Country Status (2)

Country Link
CN (1) CN112770937A (en)
WO (1) WO2021195899A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114347895A (en) * 2021-12-16 2022-04-15 岚图汽车科技有限公司 Control method of automobile lamp
CN115042698A (en) * 2022-06-23 2022-09-13 重庆长安汽车股份有限公司 Vehicle headlamp control method and system, electronic device and storage medium
CN117355006A (en) * 2023-12-04 2024-01-05 茂迪太阳能科技(东莞)有限公司 Method and device for illuminating solar flashlight, solar flashlight and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112874433B (en) * 2020-06-11 2022-07-12 长城汽车股份有限公司 Method, device and system for controlling vehicle light

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060133100A1 (en) * 2004-12-08 2006-06-22 Toshihisa Hayami Vehicle headlamp
JP2009220631A (en) * 2008-03-13 2009-10-01 Koito Mfg Co Ltd Head lamp device for vehicle
DE102011081396A1 (en) * 2011-08-23 2013-02-28 Robert Bosch Gmbh Method for adjusting directional characteristic of headlamp of vehicle, particularly passenger car, truck or motorcycle, involves identifying highlighted position or highlighted object in image which represents environment of vehicle
US9505339B2 (en) * 2011-06-16 2016-11-29 Robert Bosch Gmbh Method and control unit for activating at least one headlight of a vehicle using a traffic density
US9731645B1 (en) * 2016-04-07 2017-08-15 Valeo North America, Inc. Cooperative adaptive lighting system using vehicle to target or object communication
CN109318789A (en) * 2017-08-01 2019-02-12 上海海拉电子有限公司 A kind of Vehicular illumination system and the vehicle with the Vehicular illumination system
CN110126713A (en) * 2019-05-15 2019-08-16 大茂伟瑞柯车灯有限公司 A method of car bulb is controlled based on wireless telecommunications

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140042378A (en) * 2012-09-28 2014-04-07 현대자동차주식회사 Headlamp control system for vehicle
KR20150123646A (en) * 2014-04-25 2015-11-04 한국단자공업 주식회사 Vehicle illumination system and method based on user location
JP2016068897A (en) * 2014-10-01 2016-05-09 株式会社デンソー Control system
CN107042786B (en) * 2015-11-04 2020-06-16 通用汽车环球科技运作有限责任公司 Vehicle lighting system following user
AT519864B1 (en) * 2017-08-10 2018-11-15 Zkw Group Gmbh Vehicle headlight and vehicle control
JP2019202588A (en) * 2018-05-22 2019-11-28 株式会社小糸製作所 Lighting control device for vehicle lamp fitting

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060133100A1 (en) * 2004-12-08 2006-06-22 Toshihisa Hayami Vehicle headlamp
JP2009220631A (en) * 2008-03-13 2009-10-01 Koito Mfg Co Ltd Head lamp device for vehicle
US9505339B2 (en) * 2011-06-16 2016-11-29 Robert Bosch Gmbh Method and control unit for activating at least one headlight of a vehicle using a traffic density
DE102011081396A1 (en) * 2011-08-23 2013-02-28 Robert Bosch Gmbh Method for adjusting directional characteristic of headlamp of vehicle, particularly passenger car, truck or motorcycle, involves identifying highlighted position or highlighted object in image which represents environment of vehicle
US9731645B1 (en) * 2016-04-07 2017-08-15 Valeo North America, Inc. Cooperative adaptive lighting system using vehicle to target or object communication
CN109318789A (en) * 2017-08-01 2019-02-12 上海海拉电子有限公司 A kind of Vehicular illumination system and the vehicle with the Vehicular illumination system
CN110126713A (en) * 2019-05-15 2019-08-16 大茂伟瑞柯车灯有限公司 A method of car bulb is controlled based on wireless telecommunications

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114347895A (en) * 2021-12-16 2022-04-15 岚图汽车科技有限公司 Control method of automobile lamp
CN114347895B (en) * 2021-12-16 2023-10-13 岚图汽车科技有限公司 Control method for automobile lamp
CN115042698A (en) * 2022-06-23 2022-09-13 重庆长安汽车股份有限公司 Vehicle headlamp control method and system, electronic device and storage medium
CN117355006A (en) * 2023-12-04 2024-01-05 茂迪太阳能科技(东莞)有限公司 Method and device for illuminating solar flashlight, solar flashlight and storage medium
CN117355006B (en) * 2023-12-04 2024-03-19 茂迪太阳能科技(东莞)有限公司 Method and device for illuminating solar flashlight, solar flashlight and storage medium

Also Published As

Publication number Publication date
CN112770937A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
WO2021195899A1 (en) Vehicle lamp control method and apparatus
US11930455B2 (en) Method for controlling network connection, terminal and non-transitory storage medium
ES2768175T3 (en) Method, apparatus and software product for intuitive power management of a short-range communication transceiver associated with a mobile terminal
EP3127352B1 (en) Power efficient proximity detection
CN113055873B (en) Method and device for identifying devices, electronic device and storage medium
KR101995251B1 (en) Apparatus and method for controlling a power in near field communication device
US8830889B2 (en) Systems for remotely waking up application processor of mobile device
US20160299754A1 (en) Method for Updating Application Program, and Terminal
US20130259230A1 (en) Bluetooth Low Energy Privacy
RU2579761C2 (en) Method and systems for saving power by controlling first radio communication unit based on second radio communication unit
CN107205218B (en) Pairing method and system of Bluetooth equipment
US20190261270A1 (en) Method and device for reducing power consumption of terminal, and smart card
US8909152B2 (en) Automatic-switching wireless communication system and method
CN103491526B (en) The method of attachment of a kind of nfc apparatus and system
US10165427B1 (en) Remote internet communication with RF network devices
US9418257B2 (en) Offline mode for tag transmission reports
KR102056119B1 (en) Assistant method and system for retrieving wireless signals for mobile devices
US20230226969A1 (en) Method, apparatus and system for lamp control of vehicle
CN112153558A (en) Communication method and device
KR20150128081A (en) Method For Managing Key And Electronic Device Using The Same
WO2022183939A1 (en) V2x communication method and apparatus
CN114826463A (en) Time synchronization method and vehicle-mounted equipment
US20200187095A1 (en) Wi-fi hotspot sharing method for terminal, and terminal
CN105763255A (en) Communication connection establishment method applied to intelligent terminal, intelligent terminal and server
CN113179487A (en) Working mode control method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20928142

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20928142

Country of ref document: EP

Kind code of ref document: A1