The present disclosure relates to the technical field of lamp control of vehicles, and particularly to a method, an apparatus and a system for a lamp control of a vehicle.
When a driver needs to use a vehicle, and the vehicle is just stopped at a dark place, for the security of the driver, it is necessary for the driver to use a lighting device such as a flashlight or a lighting function in the mobile phone to illuminate the road that the driver needs to walk on, so that an inconvenience is brought to the driver undoubtedly in real life, and a personal safety problem may even be caused.
An aspect relates to a method and an apparatus for a lamp control of a vehicle, and a system are provided in the embodiments of the present disclosure, which aims at solving a technical problem in the conventional art that it is inconvenient for the driver to walk into the vehicle in a dark place.
In order to achieve the aforesaid aspect, in the first aspect, a method for a lamp control of a vehicle is provided in the embodiments of the present disclosure, the method is applied to a vehicle controller terminal, and includes:
Furthermore, the generating the first information of the terminal device with respect to the vehicle includes:
Furthermore, said turning on the outer lamp of the vehicle corresponding to the location of the terminal device according to the first information includes:
Furthermore, said generating the first information of the terminal device with respect to the vehicle comprises:
Furthermore, said turning on the outer lamp of the vehicle corresponding to the location of the terminal device according to the first information includes:
Furthermore, the method further includes receiving information of turning on an outer lamp of the vehicle from the terminal device to enter a vehicle entry mode based on light guidance.
Furthermore, after said turning on the outer lamp of the vehicle corresponding to the location of the terminal device according to the first information, the method further includes: detecting whether a vehicle door is opened; and
turning off the turned-on outer lamp of the vehicle, and exiting the vehicle entry mode based on light guidance when the vehicle door is opened.
Compared with the conventional art, the embodiments of the present disclosure have the following beneficial effects: according to embodiments of the method for lamp control of the vehicle, the position information of the terminal device sent by the terminal device is received, the position information of the vehicle is obtained, and the distance between the terminal device and the vehicle is calculated according to the position information of the terminal device and the position information of the vehicle. When the distance is shorter than or equal to the preset distance threshold, the first information of the terminal device with respect to the vehicle is generated, and the outer lamp corresponding to the location of the terminal device is turned on according to the first information. In this way, the outer lamp of the vehicle corresponding to the location of the terminal device can be turned on when the terminal device is located within coverage distance of the outer lamp, intelligent illumination for road condition is provided to the driver in the vehicle entering process of the driver, a problem of inconvenience of the driver for walking to the location of the vehicle under relatively dark light is avoided, and an occurrence of personal safety problem is even avoided.
Some of the embodiments will be described in detail, with references to the following Figures, wherein like designations denote like members, wherein:
In the following descriptions, in order to describe but not intended to limit the present disclosure, concrete details including specific system structure and technique are proposed, so that a comprehensive understanding of the embodiments of the present disclosure is facilitated. However, a person of ordinarily skill in the art should understand thatthe present disclosure can also be implemented in some other embodiments from which these concrete details are excluded. In other conditions, detailed explanations of method, circuit, device and system well known to the public are omitted, so that unnecessary details which are disadvantageous to the understanding of the description of the present disclosure may be avoided.
For the illustration of the technical solutions of embodiments of the present disclosure, the technical solutions of the present disclosure are described in detail according to embodiments below:
At a step of S101, position information of a terminal device is received from the terminal device, and position information of the vehicle is obtained.
In some embodiments, the terminal device may be a vehicle key or a mobile electronic device, and the mobile electronic device may be a mobile phone, a tablet computer, or the like in embodiments of the present disclosure.
In one embodiment, as shown in
That is, when the terminal device receives an instruction for turning on the outer lamp of the vehicle as input by a driver, the terminal device send the information for turning on the outer lamp of the vehicle to the vehicle controller. It should be noted that, when an activation switch on the terminal device is pressed by the driver, the terminal device correspondingly receives the instruction for turning on the outer lamp of the vehicle input by the driver correspondingly, which indicates that the driver wishes to activate the vehicle entry mode based on light guidance. Here, “the vehicle entry mode based on light guidance” is merely a name of a mode indicating that the user wishes to turn on the outer lamp of the vehicle currently, and the name of the mode is not limited in the present disclosure. The driver may change the name of the mode by setting according to his/her requirement, preference, and the like.
In some embodiments, after the terminal device turns on the vehicle entry mode based on light guidance, the terminal device sends the position information of the terminal device to the vehicle controller, in order that the vehicle controller turns on the outer lamp in the orientation corresponding to the position information of the terminal device.
In some embodiments, the position information of the terminal device may be global positioning system (Global Positioning System, GPS) information of the terminal device, that is, a GPS information generation module is arranged on the terminal device, so that the corresponding GPS information can be generated in real time according to the movement of the terminal device.
Similarly, a GPS information generation module may also be arranged in the vehicle, so that the vehicle controller can obtain real-time GPS information of the vehicle according to the GPS information generation module.
In a step of S102, a distance between the terminal device and the vehicle is calculated according to the position information of the terminal device and the position information of the vehicle.
In some embodiments, this step can be implemented by generating the distance between the terminal device and the vehicle (i.e., the distance between a person and the vehicle) according to the GPS information of the terminal device and the GPS information of the vehicle.
In a step of S103, when the distance is shorter than or equal to a preset distance threshold, first orientation information of the terminal device with respect to the vehicle head orientation of the vehicle is generated, and an outer lamp of the vehicle corresponding to the position of the terminal device is turned on according to the first orientation information.
In one embodiment, as shown in
In one embodiment, firstly, third orientation information of the vehicle head orientation of the vehicle may be generated according to the position information of the vehicle, the third orientation information is a second included angle between a second straight line formed by a connection line between the vehicle head and the vehicle tail of the vehicle, and a horizontal coordinate axis or a longitudinal coordinate axis in a coordinate system established by taking the vehicle as the origin. In some embodiments, as shown in
The position information of the vehicle head of the vehicle and the position information of a parking spot of the vehicle are calculated according to the third orientation information and the position information of the vehicle. In some embodiments, when the position information of the vehicle head and the position information of the parking spot of the vehicle are calculated, this calculation may be performed according to the vehicle length of the general vehicle. For example, the vehicle length may be 5 meters, and the position information of the vehicle is the information of the center position of the vehicle, that is, the information of the position at the 2.5 meters length of the vehicle. Thus, the position information of the vehicle head and the vehicle tail may be calculated according to a deflection angle of the vehicle head.
A first distance between the terminal device and the vehicle head is calculated according to the position information of the terminal device and the position information of the vehicle head of the vehicle;
A second distance between the terminal device and the vehicle tail is calculated according to the position information of the terminal device and the position information of the parking spot of the vehicle. The first distance and the second distance are used as the first information.
In some embodiments, after the first distance and the second distance are calculated, when the first distance is shorter than the second distance, that is, the terminal device is closer to the vehicle head, the outer lamps corresponding to the vehicle head (i.e., the front-left-outer-lamp of the vehicle and the front-right-outer-lamp of the vehicle) is turned on.
When the first distance is greater than the second distance, that is, the terminal device is closer to the vehicle tail, the outer lamps corresponding to the vehicle tail (the rear left outer lamp and the rear right outer lamp of the vehicle) is turned on.
In order to further save the power consumption of the lamps of the vehicle, the lamp control of the vehicle may be performed in the following manner.
In one embodiment, as shown in
As shown in
As shown in
a difference value between the first included angle and the second included angle is calculated according to the second orientation information and the third orientation information, and the difference value is taken as the first orientation information.
In order to determine the outer lamp which should be turned on subsequently, it is necessary to confirm the orientation information of the terminal device with respect to the vehicle head. Thus, the relative angle between the first straight line and the second straight line needs to be calculated according to the determined second orientation information and the third orientation information, that is, the relative angle between the first straight line and the second straight line can be obtained by subtracting the second included angle from the first included angle. As shown in
As shown in
In some embodiments, when the terminal device is in the direction perpendicular to the direction of the vehicle body of the vertical, that is, when the terminal device is just located at a positive left direction or a positive right direction with respect to the vehicle head of the vehicle, the outer lamps close to the vehicle head (i.e., the front-left-outer-lamp and the front-right-outer-lamp) may be turned on, so that the driver can open a vehicle door directly and conveniently and enter the vehicle.
In one embodiment, as shown in
According to embodiments of the method for the lamp control of the vehicle, the position information of the terminal device sent by the terminal device is received, the position information of the vehicle is obtained, and the distance between the terminal device and the vehicle is calculated according to the position information of the terminal device and the position information of the vehicle. When the distance is shorter than or equal to the preset distance threshold, the first information of the terminal device with respect to the vehicle is generated, and the outer lamp corresponding to the location of the terminal device is turned on according to the first information. In this way, the outer lamp of the vehicle corresponding to the location of the terminal device can be turned on when the terminal device is located within coverage distance of the outer lamp, intelligent illumination for road condition is provided to the driver in the vehicle entering process of the driver, a problem of inconvenience of the driver for walking to the location of the vehicle under relatively dark light is avoided, and an occurrence of personal safety problem is even avoided.
It should be understood that the values of serial numbers of the steps in the aforesaid embodiments do not indicate an order of execution sequences of the steps. Instead, the execution sequences of the steps should be determined by functionalities and internal logic of the steps, and thus shouldn’t be regarded as limitation to an implementation process of the embodiment of the present disclosure.
The vehicle controller 600 can be a computing device such as a desktop computer, a laptop computer, a palm computer, a cloud server, etc. The vehicle controller 600 can include but is not limited to: a processor 601, the memory 602. A person of ordinary skill in the art can understand that
The so-called processor 601 may be central processing unit (Central Processing Unit, CPU), and can also be other general-purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field-programmable gate array (Field-Programmable Gate Array, FGPA), or some other programmable logic devices, discrete gate or transistor logic device, discrete hardware component, etc. The general-purpose processor may be a microprocessor, as an alternative, the processor can also be any conventional processor, or the like.
The memory 602 may be an internal storage unit of the vehicle controller 600, such as a hard disk or a memory of the vehicle controller 600. The memory 602 may also be an external storage device of the vehicle controller 600, such as a plug-in hard disk, a smart media card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card, FC) equipped on the vehicle controller 600. Furthermore, the memory 602 may not only include the internal storage unit of the vehicle controller 600, but also include the external memory of the vehicle controller 600. The memory 602 is configured to store the computer program and other procedures and data needed by the vehicle controller 600. The memory 602 can also be configured to store data that has been output or being ready to be output temporarily.
The person of ordinary skill in the art may understand clearly that, for the convenience of description and for conciseness, the dividing of the aforesaid various functional units and functional modules is merely described according to examples, in an actual application, the aforesaid functions may be assigned to different functional units and functional modules to be accomplished, that is, an inner structure of the device is divided into different functional units or modules, so that the whole or a part of functionalities described above can be accomplished. The various functional units and modules in the embodiments may be integrated into a processing unit, or each of the units exists independently and physically, or two or more than two of the units are integrated into a single unit. The aforesaid integrated unit may either by actualized in the form of hardware or in the form of software functional units. In addition, specific names of the various functional units and modules are only used to distinguish from each other conveniently, rather than being intended to limit the protection scope of the present disclosure. Regarding the specific working process of the units and modules in the aforesaid system, reference may be made to a corresponding process in the aforementioned method embodiments, this specific working process is not repeatedly described herein.
In the aforesaid embodiments, the descriptions of the various embodiments are emphasized respectively, regarding a part of one embodiment which has not been described or disclosed in detail, reference can be made to relevant descriptions in other embodiments.
The person of ordinary skill in the art may understand that the elements and algorithm steps of each of the examples described in connection with the embodiments disclosed herein may be implemented in electronic hardware, or in combination with computer software and electronic hardware. Whether these functions are implemented by hardware or software depends on the specific application and design constraints of the technical solution. The skilled people could use different methods to implement the described functions for each particular application, however, such implementations should not be considered as going beyond the scope of the present disclosure.
It should be understood that, in the embodiments of the present disclosure, the disclosed device/terminal device and method could be implemented in other ways. For example, the device described above are merely illustrative; for example, the division of the units is only a logical function division, and other division could be used in the actual implementation, for example, multiple units or components could be combined or integrated into another system, or some features may be ignored, or not performed. In another aspect, the coupling or direct coupling or communicating connection shown or discussed could be an indirect coupling or a communicating connection through some interfaces, devices or units, and the coupling or direct coupling or communicating connection could be electrical, mechanical, or in other form.
The units described as separate components can be or cannot be physically separate, the components shown as units can be or cannot be physical units, the components may be located in one place, or be distributed onto multiple network elements. Apart or a whole of the elements can be selected to achieve the objective of the technical solution of this embodiment according to the actual requirement.
In addition, the various functional units in each of the embodiments of the present disclosure may be integrated into a single processing unit, or exist individually and physically, or two or more than two units are integrated into a single unit. The aforesaid integrated unit can either be achieved by hardware, or be achieved in the form of software functional units.
When the integrated unit is achieved in the form of software functional units, and is sold or used as an independent product, the integrated unit may be stored in a computer readable storage medium. Based on this understanding, a whole or part of flow process for implementing the method in the embodiments of the present disclosure can also be accomplished in the manner of using computer program to instruct relevant hardware. When the computer program is executed by the processor, the steps in the various method embodiments described above may be implemented. The computer program includes computer program codes, which may be in the form of source code, object code, executable documents or some intermediate form, etc.
Although the present invention has been disclosed in the form of embodiments and variations thereon, it will be understood that numerous additional modifications and variations could be made thereto without departing from the scope of the invention.
For the sake of clarity, it is to be understood that the use of ‘a’ or ‘an’ throughout this application does not exclude a plurality, and ‘comprising’ does not exclude other steps or elements.
Number | Date | Country | Kind |
---|---|---|---|
202010530614.6 | Jun 2020 | CN | national |
This application claims priority to PCT/CN2021/099466, having a filing date of Jun. 10, 2021, which is based on Chinese Patent Application No. 202010530614.6, having a filing date of Jun. 11, 2020, the entire contents both of which are hereby incorporated by reference.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/099466 | 6/10/2021 | WO |